[Python-modules-team] Bug#843196: pythonmagick: FTBFS: can't identify Python 3 support library
Aaron M. Ucko
amu at alum.mit.edu
Fri Nov 4 20:07:23 UTC 2016
Source: pythonmagick
Version: 0.9.14-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Automated builds of pythonmagick have been failing; for some reason,
configure hasn't been able to identify an appropriate Boost.Python
support library for Python 3.5, leading to a linker error. It may be
relevant that the autobuilders are using Boost 1.62 (the current
default in unstable), whereas your original amd64 build was against
Boost 1.61.
Could you please take a look?
Thanks!
Here's excerpted build output from arm64:
I: pybuild base:184: dh_auto_configure --buildsystem=autoconf --builddirectory="/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build" -- --disable-silent-rules --disable-static --with-python-min-version=3.5
../../../configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --disable-static --with-python-min-version=3.5
[...]
checking for Python library path... -L/usr/lib -lpython3.5m
[...]
checking whether the Boost::Python library is available... yes
checking for exit in -lboost_python-py27... no
checking for exit in -lboost_python-py27... (cached) no
checking for exit in -lboost_python-py27... (cached) no
checking for exit in -lboost_python-py35... no
checking for exit in -lboost_python-py35... (cached) no
checking for exit in -lboost_python-py35... (cached) no
checking for exit in -lboost_python... no
checking for exit in -lboost_python... (cached) no
checking for exit in -lboost_python... (cached) no
checking for exit in -lboost_python... (cached) no
[...]
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python3.5m -avoid-version -module -L/usr/lib/aarch64-linux-gnu -Wl,-z,relro -o _PythonMagick.la -rpath /usr/lib/python3.5/site-packages/PythonMagick pythonmagick_src/libpymagick.la helpers_src/libhelper.la -L/usr/lib/aarch64-linux-gnu -l -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/aarch64-linux-gnu/6/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/6/crtbeginS.o -Wl,--whole-archive pythonmagick_src/.libs/libpymagick.a helpers_src/.libs/libhelper.a -Wl,--no-whole-archive -L/usr/lib/aarch64-linux-gnu -l /usr/lib/aarch64-linux-gnu/libMagick++-6.Q16.so /usr/lib/aarch64-linux-gnu/libMagickWand-6.Q16.so /usr/lib/aarch64-linux-gnu/libMagickCore-6.Q16.so -L/usr/lib/gcc/aarch64-linux-gnu/6 -L/usr/lib/gcc/aarch64-linux-gnu/6/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/6/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/6/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/6/../../../aarch64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -fopenmp -pthread -Wl,-soname -Wl,_PythonMagick.so -o .libs/_PythonMagick.so
/usr/bin/ld: cannot find -l/usr/lib/aarch64-linux-gnu/libMagick++-6.Q16.so
collect2: error: ld returned 1 exit status
Makefile:555: recipe for target '_PythonMagick.la' failed
make[2]: *** [_PythonMagick.la] Error 1
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the Python-modules-team
mailing list