Your message dated Fri, 08 Nov 2024 14:36:50 +0000
with message-id <[email protected]>
and subject line Bug#1086535: fixed in openblas 0.3.28+ds-3
has caused the Debian Bug report #1086535,
regarding openblas: FTBFS: Fixed the undefined reference to 'blas_set_parameter'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1086535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openblas
Version: 0.3.28+ds-2
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: loong64

Hi maintainers,

Compiling the openblas failed for loong64 in the Debian Package Auto-Building environment.
The build error log is as follows,
```
......
/usr/bin/ld: ../libopenblasp-r0.3.28.so: undefined reference to 'blas_set_parameter'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:208: ../libopenblasp-r0.3.28.so] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/0-openmp/exports'
make[3]: *** [Makefile:144: shared] Error 2
......
```
The full log can be found at https://buildd.debian.org/status/logs.php?pkg=openblas&ver=0.3.28%2Bds-2&arch=loong64.

The above question(undefined reference to 'blas_set_parameter') has been fixed in upstream.
Please check https://github.com/OpenMathLib/OpenBLAS/pull/4877.
You can also consider the patch attached(pull from upstream).
I have built openblas 0.3.28+ds-2 successfully in my local ENV and all test cases passed.
```
......
dpkg-deb: building package 'libopenblas64-0-pthread' in '../libopenblas64-0-pthread_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0-pthread-dbgsym' in '../libopenblas64-0-pthread-dbgsym_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas-serial-dev' in '../libopenblas-serial-dev_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0' in '../libopenblas64-0_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0-openmp' in '../libopenblas64-0-openmp_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0-serial' in '../libopenblas64-0-serial_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0-openmp-dbgsym' in '../libopenblas64-0-openmp-dbgsym_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-0-serial-dbgsym' in '../libopenblas64-0-serial-dbgsym_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-dev' in '../libopenblas64-dev_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-pthread-dev' in '../libopenblas64-pthread-dev_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-openmp-dev' in '../libopenblas64-openmp-dev_0.3.28+ds-2+loong64_loong64.deb'. dpkg-deb: building package 'libopenblas64-serial-dev' in '../libopenblas64-serial-dev_0.3.28+ds-2+loong64_loong64.deb'.  dpkg-genbuildinfo --build=binary -O../openblas_0.3.28+ds-2+loong64_loong64.buildinfo  dpkg-genchanges --build=binary -O../openblas_0.3.28+ds-2+loong64_loong64.changes
```

Best regards,
Dandan Zhang

Description: Fixed the undefined reference to blas_set_parameter 
 .
 openblas (0.3.28+ds-2+loong64) unreleased; urgency=medium
 .
   * Fixed the undefined reference to blas_set_parameter
     Signed-Off-By: XiWeiGu
Author: Dandan Zhang <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Applied-Upstream: <0.3.29>, <https://github.com/OpenMathLib/OpenBLAS/pull/4877> 
Last-Update: 2024-11-01

--- openblas-0.3.28+ds.orig/driver/others/blas_server_omp.c
+++ openblas-0.3.28+ds/driver/others/blas_server_omp.c
@@ -114,9 +114,11 @@ void goto_set_num_threads(int num_thread
 
   adjust_thread_buffers();
 #if defined(ARCH_MIPS64) || defined(ARCH_LOONGARCH64)
+#ifndef DYNAMIC_ARCH
   //set parameters for different number of threads.
   blas_set_parameter();
+#endif
 #endif
 
 }
 void openblas_set_num_threads(int num_threads) {

--- End Message ---
--- Begin Message ---
Source: openblas
Source-Version: 0.3.28+ds-3
Done: Gianfranco Costamagna <[email protected]>

We believe that the bug you reported is fixed in the latest version of
openblas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated openblas 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 08 Nov 2024 14:59:11 +0100
Source: openblas
Built-For-Profiles: noudeb
Architecture: source
Version: 0.3.28+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1086535
Changes:
 openblas (0.3.28+ds-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Dandan Zhang <[email protected]> ]
   * Add upstream merged patch to fix undefined reference to
     blas_set_parameter (Closes: #1086535)
Checksums-Sha1:
 eaecb4d71265028ed9eff9fd0c79b1525f7c5801 4553 openblas_0.3.28+ds-3.dsc
 bb18a82da51e696e7b3d226a6d4ba3f0f783fcd0 25396 
openblas_0.3.28+ds-3.debian.tar.xz
 afa6494b184d58f067dd888fb4f77f87d37bcc8e 7636 
openblas_0.3.28+ds-3_source.buildinfo
Checksums-Sha256:
 aab06f824141868bb9c7cd23905b9e544cf1702bab61cd429a0d2a0b8b849d9a 4553 
openblas_0.3.28+ds-3.dsc
 7130a66a063750aa4c6766082baf2bc880c884847a159f53d73b67ecefe58fb8 25396 
openblas_0.3.28+ds-3.debian.tar.xz
 6b2ff2252c9fe1a50e0c213b29849b630f316e1512e003cad36607971474b474 7636 
openblas_0.3.28+ds-3_source.buildinfo
Files:
 f2465382e6c2514f9eaba92f934d6244 4553 devel optional openblas_0.3.28+ds-3.dsc
 166fe167acda3e652154aebe606f857f 25396 devel optional 
openblas_0.3.28+ds-3.debian.tar.xz
 21a16ea7a93c2db30229da18375571a5 7636 devel optional 
openblas_0.3.28+ds-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmcuGYYACgkQ808JdE6f
XdlBORAAte+5vP1PlK16tOe3aIuA2uhb4Nrxxq7bWi25LcrU+Vd4Ahx3B3wowR1e
TW3h34etzy72jQs7ek3FzpmgxZLGWV/yIBx3xydJFKN8bwWgPOjD1tAsrIX+vnjv
IKrOKbcQNlCweKtURlLYso1vgpzkOqkkQFIo3x+MDilbLukbSaoIAsdpExlLDP9Y
RcC7cqSB3pVTQRkVuQMIKIU33mLpFW5i0Q8Gx2UXtFLOuNJbw9ga0GzZfzpwScQL
qks4xNH3BGpL5JlESQTI/gYpkulJtTw9pzYVhuYGsuU7pP94rFbfcdLm4EzBa2Ug
qxpp7hvQyF+0b5V2Jp8WkyBA3hgTSCMc/uUNn3bT7PC2fgtYmzA8S0iGoIi4X+k2
gYgGc9nbQn5Stxmvw6c6oUZblV0Onl8MyqSu61sjfXcwQ4uuyeIqeezRQMOp9bny
KGuby+c91HvnscqI9R9uhdZHkfOn2O9lw3G7K8F+gHuSTn2WI5/IdpZ/9SYFHd1s
rMkFzUXzX/ekwXQIL2zMWzclpaHWlJvFhLQ/DR0lFGCD5M3RnD7r4VzQNgA1G4lA
njMbrTSxMmQYCnpmmatrsQwQFdR/IgwJ8lnmn60OcvUGQufFX9R4qdry22MuzAmy
nh7H10E5KpoOf8wVbmkyCAcLws1PFKWOe4yzc8zwVoQfAAe7Eik=
=mZyO
-----END PGP SIGNATURE-----

Attachment: pgpHlOiDMProf.pgp
Description: PGP signature


--- End Message ---

Reply via email to