[Python-modules-team] Bug#949829: pythonmagick: FTBFS against current libboost-python

Adrian Bunk bunk at debian.org
Sun Feb 23 10:22:05 GMT 2020


On Sat, Jan 25, 2020 at 03:45:31PM +0100, Andreas Beckmann wrote:
> Source: pythonmagick
> Version: 0.9.19-5
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> 
> Hi,
> 
> pythonmagick FTBFS against the current version of libboost-python:
> 
> https://buildd.debian.org/status/package.php?p=pythonmagick
> 
> make[2]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pythonmagick/build'
> /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.8 -avoid-version -module -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o _PythonMagick.la -rpath /usr/lib/python3.8/site-packages/PythonMagick  pythonmagick_src/libpymagick.la helpers_src/libhelper.la -L/usr/lib/x86_64-linux-gnu -l-lboost_python3-py37 -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16  
> libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o  -Wl,--whole-archive pythonmagick_src/.libs/libpymagick.a helpers_src/.libs/libhelper.a -Wl,--no-whole-archive  -L/usr/lib/x86_64-linux-gnu -l-lboost_python3-py37 /usr/lib/x86_64-linux-gnu/libMagick++-6.Q16.so /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now   -fopenmp -pthread -Wl,-soname -Wl,_PythonMagick.so -o .libs/_PythonMagick.so
> /usr/bin/ld: cannot find -l-lboost_python3-py37
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:554: _PythonMagick.la] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pythonmagick/build'
> 
> There is as extra -l and it is trying to link against python3.7 while
> building for python3.8
>...

The Ubuntu diff (linked from tracker) seems to contain a fix.

cu
Adrian



More information about the Python-modules-team mailing list