Package: src:llvm-toolchain-3.7 Version: 1:3.7.1-3 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with ocaml dh_testdir -i dh_update_autotools_config -i debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' for f in debian/*.in; do \ f2=$(echo $f | sed 's/\.in$//;s/X\.Y/3.7/'); \ echo "$f => $f2"; \ sed -e 's|@DEB_HOST_MULTIARCH@|x86_64-linux-gnu|g' \ -e "s|@OCAML_STDLIB_DIR@|/usr/lib/ocaml|g" \ -e "s|@LLVM_VERSION_FULL@|3.7.1|g" \ -e "s|@LLVM_VERSION@|3.7|g" $f > $f2; \ done [... snipped ...] LLVM :: ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll LLVM :: ExecutionEngine/MCJIT/eh-lg-pic.ll LLVM :: ExecutionEngine/MCJIT/eh-sm-pic.ll LLVM :: ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll LLVM :: ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll LLVM :: ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll LLVM :: ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll LLVM :: ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll LLVM :: ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll LLVM :: ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll LLVM :: ExecutionEngine/OrcMCJIT/eh-lg-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/eh-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll LLVM :: ExecutionEngine/OrcMCJIT/remote/cross-module-sm-pic-a.ll LLVM :: ExecutionEngine/OrcMCJIT/remote/multi-module-sm-pic-a.ll LLVM :: ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll LLVM :: ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll ******************** Failing Tests (2): LLVM-Unit :: ADT/Release/ADTTests/APIntTest.LargeAPIntConstruction LLVM-Unit :: ADT/Release/ADTTests/APIntTest.nearestLogBase2 Expected Passes : 13858 Expected Failures : 97 Unsupported Tests : 209 Unexpected Passes : 22 Unexpected Failures: 2 Makefile:103: recipe for target 'check-local' failed make[3]: *** [check-local] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm/test' /<<PKGBUILDDIR>>/Makefile.rules:1792: recipe for target 'check' failed make[2]: *** [check] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm' debian/rules:413: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:134: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- I've put several of my build logs here: https://people.debian.org/~sanvila/build-logs/llvm-toolchain-3.7/ but this also happens in the reproducible builds autobuilders: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/llvm-toolchain-3.7.html Apparently, this has been happening since 2016-11. Note: Yes, I see that this package has been requested to be removed in Bug #836602, but apparently ghc still needs it, so I don't really know if that will be done or not. Thanks.