package: boost1.55
version: 1.55.0+dfsg-1
severity: important
x-debbugs-cc: [email protected]

boost1.55 failed to build on arm64 with an internal compiler error. In an attempt to fix this I disabled pch using the patch attatched in boost1.55.debdiff (note: this patch disables it unconditionally, if applying it in debian you would probablly want to make it architecture conditional).

Disabling pch made the package compile without internal compiler errors. Unfortunately it then failed with errors from dpkg-shlibdeps.

Unfortunately I don't have a log of the failed build itself (and I'm not rerunning the whole build, it took ages iwith qemu and I don't have access to real hardware at this point) but I do have a log from rerunning debian/rules binary after the failure (attatched as boost-binary.log) and it contained the following errors.

dpkg-shlibdeps: error: couldn't find library libboost_mpi_python.so.1.55.0 needed by debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so (ELF format: 'elf64-littleaarch64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libboost_python.so.1.55.0 needed by debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so (ELF format: 'elf64-littleaarch64'; RPATH: '')

Any thoughts on what the problem is? (I still have the build tree from the failed build if anyone wants me to dig anything out of it)

I'm on holiday right now so if wookey or someone else wants to take over this issue that would be great. Boost now seems to be one of the biggest blockers for getting debian arm64 into a sane state.

P.S. ubuntu split boost1.55 into two source packages (as part of their main/universe split iirc), over there the main boost1.55 source package built successfully on arm64 but the latest version of the boost-mpi-source1.55 source package failed with an internal compiler error. I'll go file a bug there when I get a bug number for this bug.

P.P.S. other versions of boost also FTBFS on debian arm64 but I have not investigated why
diff -Nru boost1.55-1.55.0+dfsg/debian/changelog 
boost1.55-1.55.0+dfsg/debian/changelog
--- boost1.55-1.55.0+dfsg/debian/changelog      2014-05-11 00:22:15.000000000 
+0000
+++ boost1.55-1.55.0+dfsg/debian/changelog      2014-06-03 10:55:47.000000000 
+0000
@@ -1,3 +1,9 @@
+boost1.55 (1.55.0+dfsg-1+arm64) unreleased; urgency=medium
+
+  * Disable pch to avoid ICE
+
+ -- Peter Michael Green <[email protected]>  Tue, 03 Jun 2014 10:55:09 +0000
+
 boost1.55 (1.55.0+dfsg-1) unstable; urgency=medium
 
   * Convert debian/copyright to copyright-format 1.0.
diff -Nru boost1.55-1.55.0+dfsg/debian/rules boost1.55-1.55.0+dfsg/debian/rules
--- boost1.55-1.55.0+dfsg/debian/rules  2014-05-11 00:22:06.000000000 +0000
+++ boost1.55-1.55.0+dfsg/debian/rules  2014-06-03 10:54:59.000000000 +0000
@@ -52,11 +52,11 @@
 override_dh_auto_configure: user-config.jam make-debhelper
 
 override_dh_auto_build: $(bjam) debian/bjam.1
-       $(JAM) $(JAM_WITHOUT) --without-python
+       $(JAM) $(JAM_WITHOUT) --without-python pch=off
        for pyver in $(pyversions); do \
                pyid=$$(echo $$pyver | tr -d .); \
                echo "Building Boost.Python for python version $$pyver"; \
-               $(JAM) --with-python $(with_mpi) --python-buildid=py$$pyid 
python=$$pyver; \
+               $(JAM) --with-python $(Awith_mpi) --python-buildid=py$$pyid 
python=$$pyver; pch=off \
                mv stage/lib/mpi.so stage/lib/mpi-py$$pyid.so || true; \
        done
 
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --with python2 --with python3
   dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost1.55-tools-dev/usr/bin/bcp debian/libboost1.55-tools-dev/usr/bin/inspect were not linked against libicudata.so.52 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost1.55-tools-dev/usr/bin/bcp debian/libboost1.55-tools-dev/usr/bin/inspect were not linked against libicui18n.so.52 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost1.55-tools-dev/usr/bin/bcp debian/libboost1.55-tools-dev/usr/bin/inspect were not linked against libicuuc.so.52 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-atomic1.55.0/usr/lib/aarch64-linux-gnu/libboost_atomic.so.1.55.0 was not linked against libpthread.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-atomic1.55.0/usr/lib/aarch64-linux-gnu/libboost_atomic.so.1.55.0 was not linked against libstdc++.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-atomic1.55.0/usr/lib/aarch64-linux-gnu/libboost_atomic.so.1.55.0 was not linked against libgcc_s.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-atomic1.55.0/usr/lib/aarch64-linux-gnu/libboost_atomic.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-chrono1.55.0/usr/lib/aarch64-linux-gnu/libboost_chrono.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-date-time1.55.0/usr/lib/aarch64-linux-gnu/libboost_date_time.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-filesystem1.55.0/usr/lib/aarch64-linux-gnu/libboost_filesystem.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph.so.1.55.0 was not linked against libicudata.so.52 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph.so.1.55.0 was not linked against libicui18n.so.52 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph.so.1.55.0 was not linked against libicuuc.so.52 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph-parallel1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph_parallel.so.1.55.0 was not linked against libmpichcxx.so.12 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph-parallel1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph_parallel.so.1.55.0 was not linked against libmpl.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph-parallel1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph_parallel.so.1.55.0 was not linked against libopa.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-graph-parallel1.55.0/usr/lib/aarch64-linux-gnu/libboost_graph_parallel.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-iostreams1.55.0/usr/lib/aarch64-linux-gnu/libboost_iostreams.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-locale1.55.0/usr/lib/aarch64-linux-gnu/libboost_locale.so.1.55.0 was not linked against libicudata.so.52 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-locale1.55.0/usr/lib/aarch64-linux-gnu/libboost_locale.so.1.55.0 was not linked against libboost_chrono.so.1.55.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-locale1.55.0/usr/lib/aarch64-linux-gnu/libboost_locale.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log.so.1.55.0 debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log_setup.so.1.55.0 were not linked against libboost_chrono.so.1.55.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log.so.1.55.0 debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log_setup.so.1.55.0 were not linked against libboost_date_time.so.1.55.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log.so.1.55.0 debian/libboost-log1.55.0/usr/lib/aarch64-linux-gnu/libboost_log_setup.so.1.55.0 were not linked against librt.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-math1.55.0/usr/lib/aarch64-linux-gnu/libboost_math_tr1.so.1.55.0 debian/libboost-math1.55.0/usr/lib/aarch64-linux-gnu/libboost_math_tr1f.so.1.55.0 debian/libboost-math1.55.0/usr/lib/aarch64-linux-gnu/libboost_math_c99f.so.1.55.0 debian/libboost-math1.55.0/usr/lib/aarch64-linux-gnu/libboost_math_c99.so.1.55.0 were not linked against librt.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi.so.1.55.0 was not linked against libopa.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi.so.1.55.0 was not linked against libmpl.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi.so.1.55.0 was not linked against librt.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi.so.1.55.0 was not linked against libmpichcxx.so.12 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: symbol PyUnicode_Type used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyImport_ImportModule used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyEval_CallFunction used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Py_NoneStruct used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyLong_FromLong used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyImport_ImportModule used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyEval_CallFunction used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyString_Type used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Py_NoneStruct used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyInt_FromLong used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: error: couldn't find library libboost_mpi_python.so.1.55.0 needed by debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so (ELF format: 'elf64-littleaarch64'; RPATH: '')
dpkg-shlibdeps: error: couldn't find library libboost_python.so.1.55.0 needed by debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so (ELF format: 'elf64-littleaarch64'; RPATH: '')
dpkg-shlibdeps: warning: symbol PyLong_FromLong used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyEval_CallFunction used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Py_NoneStruct used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyImport_ImportModule used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol PyUnicode_Type used by debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 found in none of the libraries
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against libutil.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against librt.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against libmpichcxx.so.12 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against libmpl.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against libopa.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 were not linked against libdl.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: error: cannot continue due to the errors listed above
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/libboost-mpi-python1.55.0.substvars debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py33.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py34.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/aarch64-linux-gnu/libboost_mpi_python-py27.so.1.55.0 debian/libboost-mpi-python1.55.0/usr/lib/python2.7/dist-packages/boost/mpi.aarch64-linux-gnu.so returned exit code 2
debian/rules:50: recipe for target 'binary' failed
make: *** [binary] Error 2

Reply via email to