Source: boost1.62 Version: 1.62.0+dfsg-5.1 Severity: serious Justification: fails to build from source (but built successfully in the past) Control: block 902582 by -1
boost1.62 fails to build when binNMU'd against python3.7. This example build log is from amd64, but other architectures seem to be the same: https://buildd.debian.org/status/fetch.php?pkg=boost1.62&arch=amd64&ver=1.62.0%2Bdfsg-5.1%2Bb1&stamp=1530275308&raw=0 common.copy /<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/libboost_mpi_python-py37.a cp "build-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi/libboost_mpi_python-py37.a" "/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/libboost_mpi_python-py37.a" gcc.compile.c++ build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi/converter/builtin_converters.o "x86_64-linux-gnu-g++-6" -ftemplate-depth-128 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/boost1.62-1.62.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-local-typedefs -O3 -finline-functions -Wno-inline -Wall -g -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/include/python3.7m" -c -o "build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi/converter/builtin_converters.o" "libs/python/src/converter/builtin_converters.cpp" libs/python/src/converter/builtin_converters.cpp: In function 'void* boost::python::converter::{anonymous}::convert_to_cstring(PyObject*)': libs/python/src/converter/builtin_converters.cpp:51:35: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0; ...failed gcc.compile.c++ build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi/converter/builtin_converters.o... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_python-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>converter/builtin_converters.o... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_python-py37.so.1.62.0... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python-py37.so for lack of <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python-py37.so.1.62.0... ...skipped <pbuild-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_mpi_python-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_python-py37.so.1.62.0... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_mpi_python-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_mpi_python-py37.so.1.62.0... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_mpi_python-py37.so for lack of <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_mpi_python-py37.so.1.62.0... ...skipped <pbuild-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>mpi.so for lack of <pbuild-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_mpi_python-py37.so.1.62.0... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>mpi.so for lack of <pbuild-3.7/boost/bin.v2/libs/mpi/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>mpi.so... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_python3-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>converter/builtin_converters.o... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python3-py37.so.1.62.0 for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/threading-multi>libboost_python3-py37.so.1.62.0... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python3-py37.so for lack of <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python3-py37.so.1.62.0... gcc.compile.c++ build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi/converter/builtin_converters.o "x86_64-linux-gnu-g++-6" -ftemplate-depth-128 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/boost1.62-1.62.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-local-typedefs -O3 -finline-functions -Wno-inline -Wall -g -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/include/python3.7m" -c -o "build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi/converter/builtin_converters.o" "libs/python/src/converter/builtin_converters.cpp" libs/python/src/converter/builtin_converters.cpp: In function 'void* boost::python::converter::{anonymous}::convert_to_cstring(PyObject*)': libs/python/src/converter/builtin_converters.cpp:51:35: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0; ...failed gcc.compile.c++ build-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi/converter/builtin_converters.o... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python-py37.a(clean) for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>converter/builtin_converters.o... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python-py37.a for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>converter/builtin_converters.o... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python-py37.a for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python-py37.a... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python3-py37.a(clean) for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>converter/builtin_converters.o... ...skipped <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python3-py37.a for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>converter/builtin_converters.o... ...skipped <p/<<BUILDDIR>>/boost1.62-1.62.0+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu>libboost_python3-py37.a for lack of <pbuild-3.7/boost/bin.v2/libs/python/build/gcc-6.4.0/release/debug-symbols-on/link-static/threading-multi>libboost_python3-py37.a... ...failed updating 2 targets... ...skipped 17 targets... ...updated 1 target... and later on: dh_install: Cannot find (any matches for) "debian/tmp/usr/lib/x86_64-linux-gnu/libboost_mpi_python-py37.so.1.62.0" (tried in ., debian/tmp) dh_install: libboost-mpi-python1.62.0 missing files: debian/tmp/usr/lib/x86_64-linux-gnu/libboost_mpi_python-py37.so.1.62.0 dh_install: missing files, aborting Regards, smcv