Bug#906678: newmat: FTBFS in buster/sid (ld: cannot find -lnewmat)

Santiago Vila sanvila at debian.org
Sun Aug 19 17:36:41 BST 2018


Package: src:newmat
Version: 1.10.4-6
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
QUILT_PATCHES=debian/patches \
	quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch newmat-1.10.4-msvc.diff
patching file newmat.dsp
patching file example.dsp

[... snipped ...]

touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g  -O2 -std=gnu++98 -MT example.o -MD -MP -MF .deps/example.Tpo -c -o example.o example.cpp
mv -f .deps/example.Tpo .deps/example.Po
/bin/bash ./libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g  -O2 -std=gnu++98 -lnewmat -Wl,-z,relro -Wl,-z,now -o example example.o  
libtool: link: x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -std=gnu++98 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o example example.o  -lnewmat
/usr/bin/ld: cannot find -lnewmat
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:570: example] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:428: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:56: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/newmat.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list