Hi,
This failure was first reported against gcc-15, but further analysis
showed that it is not a GCC bug.
The issue lies in the package’s build system, which does not correctly
handle runtime library linking with newer GCC versions.
Therefore, this report tracks the issue against the package itself.
Thanks,
Trupti
On 2026-02-07 01:33, Trupti wrote:
Package: newmat
Version: 1.10.4-9
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: ppc64el
X-Debbugs-Cc: [email protected]
Dear Newmat Maintainers,
Nemat(1.10.4-9) is FTBFS on ppc64el architecture with below error:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/build/reproducible-path/newmat-1.10.4=.
-fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98
-c newfft.cpp -o newfft.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2
-ffile-prefix-map=/build/reproducible-path/newmat-1.10.4=.
-fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98
-version-info 10:0:0 -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o
libnewmat.la -rpath /usr/lib/powerpc64le-linux-gnu newmat1.lo
newmat2.lo newmat3.lo newmat4.lo newmat5.lo newmat6.lo newmat7.lo
newmat8.lo newmatex.lo bandmat.lo submat.lo myexcept.lo cholesky.lo
evalue.lo fft.lo hholder.lo jacobi.lo newfft.lo sort.lo svd.lo
newmatrm.lo newmat9.lo
libtool: link: g++ -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/crti.o
/usr/lib/gcc/powerpc64le-linux-gnu/15/crtbeginS.o .libs/newmat1.o
.libs/newmat2.o .libs/newmat3.o .libs/newmat4.o .libs/newmat5.o
.libs/newmat6.o .libs/newmat7.o .libs/newmat8.o .libs/newmatex.o
.libs/bandmat.o .libs/submat.o .libs/myexcept.o .libs/cholesky.o
.libs/evalue.o .libs/fft.o .libs/hholder.o .libs/jacobi.o
.libs/newfft.o .libs/sort.o .libs/svd.o .libs/newmatrm.o
.libs/newmat9.o -L/usr/lib/gcc/powerpc64le-linux-gnu/15
-L/usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu
-L/usr/lib/gcc/powerpc64le-linux-gnu/15/../../../../lib
-L/lib/powerpc64le-linux-gnu -L/lib/../lib
-L/usr/lib/powerpc64le-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/powerpc64le-linux-gnu/15/../../.. -L/lib -L/usr/lib
-lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/powerpc64le-linux-gnu/15/crtendS.o
/usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/crtn.o
-g -O2 -ffile-prefix-map=/build/reproducible-path/newmat-1.10.4=.
-fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro
-Wl,-z -Wl,now -Wl,-z -Wl,defs -Wl,-soname -Wl,libnewmat.so.10 -o
.libs/libnewmat.so.10.0.0
/usr/bin/ld:
/usr/lib/gcc/powerpc64le-linux-gnu/15/libgcc.a(float128-ifunc.o):(.data+0x0):
undefined reference to `__parse_hwcap_and_convert_at_platform'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:699: libnewmat.la] Error 1
make[2]: Leaving directory '/build/reproducible-path/newmat-1.10.4'
make[1]: *** [Makefile:608: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/newmat-1.10.4'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:23: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess failed
with exit status 2
Here is full build log for reference
https://buildd.debian.org/status/fetch.php?pkg=newmat&arch=ppc64el&ver=1.10.4-9%2Bb1&stamp=1768632273&raw=0
Note: Previously built with gcc 14 now falling with gcc 15.
Thanks,
Trupti