Bug#645475: autogen FTBFS: cannot find the library `/usr/lib/libgmp.la'
Jonathan Nieder
jrnieder at gmail.com
Sun Oct 16 04:16:58 UTC 2011
Package: libgmp-dev
Version: 2:5.0.2+dfsg-1
Severity: serious
Justification: ftbfs
Affects: src:autogen
Hi,
Trying to build autogen, I get:
| /bin/sh ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -std=gnu99 -O2 -export-dynamic -Wl,--as-needed -o autogen autogen-ag.o ../autoopts/libopts.la ../snprintfv/libsnprintfv.la -lguile -lltdl -lgmp -lcrypt -lm -lltdl -lm -ldl
| libtool: link: cannot find the library `/usr/lib/libgmp.la' or unhandled argument `/usr/lib/libgmp.la'
| make[4]: *** [autogen] Error 1
The cause:
| $ grep /usr/lib/libgmp /usr/lib/*.la
| /usr/lib/libguile.la:dependency_libs=' /usr/lib/libgmp.la -lcrypt -lm /usr/lib/libltdl.la -ldl'
| $ dpkg-query -S /usr/lib/libguile.la
| guile-1.8-dev: /usr/lib/libguile.la
| $ dpkg-query -W guile-1.8-dev
| guile-1.8-dev 1.8.7+1-3
Possible fixes:
A. install a symlink at /usr/lib/libgmp.la to make sure rdeps keep building
B. update guile-1.8-dev (ideally by clearing dependency_libs, if that works)
and any other packages that might have been relying on the old .la file,
then add a versioned Breaks
Obviously I prefer (B).
Thoughts?
More information about the debian-science-maintainers
mailing list