Bug#1086535: openblas: FTBFS: Fixed the undefined reference to 'blas_set_parameter'
zhangdandan
zhangdandan at loongson.cn
Fri Nov 1 03:25:46 GMT 2024
Source: openblas
Version: 0.3.28+ds-2
Severity: normal
Tags: ftbfs patch
User: debian-loongarch at lists.debian.org
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openblas-Fixed-undefined-reference-to-blas_set_parameter.patch
Type: text/x-patch
Size: 1023 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20241101/5daaec51/attachment.bin>
More information about the debian-science-maintainers
mailing list