Bug#841285: freemat: FTBFS (cannot find -lclangTidyReadabilityModule)

Santiago Vila sanvila at debian.org
Wed Oct 19 10:45:00 UTC 2016


Package: src:freemat
Version: 4.2+dfsg1-3
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=cmake --builddirectory=/<<BUILDDIR>>/freemat-4.2+dfsg1/debian/build --parallel
   dh_testdir -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/freemat-4.2\+dfsg1/debian/build -O--parallel
   dh_update_autotools_config -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/freemat-4.2\+dfsg1/debian/build -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/freemat-4.2+dfsg1'
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DRESOURCEDIR=/usr/share/freemat -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security" -DCMAKE_C_FLAGS_DEBUG="-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security" -DCMAKE_C_FLAGS_RELEASE="-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG" -DCMAKE_SKIP_RPATH=ON -DUSE_LLVM=ON -DFORCE_BUNDLED_PCRE=OFF -DFORCE_BUNDLED_UMFPACK=OFF -DFORCE_BUNDLED_PORTAUDIO=OFF -DFORCE_BUNDLED_ZLIB=OFF -DFORCE_BUNDLED_AMD=OFF
	cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_PREFIX=/usr -DRESOURCEDIR=/usr/share/freemat -DCMAKE_BUILD_TYPE=Release "-DCMAKE_C_FLAGS=-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security" "-DCMAKE_C_FLAGS_DEBUG=-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security" "-DCMAKE_C_FLAGS_RELEASE=-Wall -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG" -DCMAKE_SKIP_RPATH=ON -DUSE_LLVM=ON -DFORCE_BUNDLED_PCRE=OFF -DFORCE_BUNDLED_UMFPACK=OFF -DFORCE_BUNDLED_PORTAUDIO=OFF -DFORCE_BUNDLED_ZLIB=OFF -DFORCE_BUNDLED_AMD=OFF
-- The CXX compiler identification is GNU 6.2.0
-- The C compiler identification is GNU 6.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info

[... snipped ...]

[100%] Linking CXX executable FreeMat
cd /<<BUILDDIR>>/freemat-4.2+dfsg1/debian/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/FreeMat.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/freemat-4.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG   -Wl,-z,relro CMakeFiles/FreeMat.dir/application.moc.cpp.o CMakeFiles/FreeMat.dir/application.cpp.o CMakeFiles/FreeMat.dir/FuncMode.moc.cpp.o CMakeFiles/FreeMat.dir/ScriptMode.moc.cpp.o CMakeFiles/FreeMat.dir/FuncMode.cpp.o CMakeFiles/FreeMat.dir/ScriptMode.cpp.o CMakeFiles/FreeMat.dir/FuncTerminal.cpp.o CMakeFiles/FreeMat.dir/MainApp.moc.cpp.o CMakeFiles/FreeMat.dir/MainApp.cpp.o CMakeFiles/FreeMat.dir/main.cpp.o CMakeFiles/FreeMat.dir/DumbTerminal.moc.cpp.o CMakeFiles/FreeMat.dir/DumbTerminal.cpp.o CMakeFiles/FreeMat.dir/Terminal.moc.cpp.o CMakeFiles/FreeMat.dir/Loader.cpp.o CMakeFiles/FreeMat.dir/Terminal.cpp.o CMakeFiles/FreeMat.dir/qrc_FreeMat.cxx.o CMakeFiles/FreeMat.dir/dummy.f.o  -o FreeMat  -L/usr/lib/llvm-3.6/lib -rdynamic ../libs/libCore/libCore.a ../libs/libFN/libFN.a ../libs/libGraphics/libGraphics.a ../libs/libFreeMat/libFreeMatlib.a ../libs/libXP/libXP.a ../libs/libMex/libMex.a ../libs/libMatC/libMatC.a ../libs/libFN/levmar-2.3/liblevmar.a ../libs/libMath/libLAPACK_C/liblapack_c.a ../libs/libMath/libDynBlas/libdynblas.a ../libs/libMath/libBLAS_C/libblasref.a -lQtCore -lQtGui -lQtNetwork -lQtOpenGL -lQtXml -lQtSvg -lGLU -lGL -lncurses -lpcre -lfftw3 -lfftw3f -lz -larpack ../libs/libMath/libLAPACK_C/liblapack_c.a -lffi -lportaudio -lboost_math_c99 -lclang -lclangAnalysis -lclangApplyReplacements -lclangARCMigrate -lclangAST -lclangASTMatchers -lclangBasic -lclangCodeGen -lclangDriver -lclangDynamicASTMatchers -lclangEdit -lclangFormat -lclangFrontend -lclangFrontendTool -lclangIndex -lclangLex -lclangParse -lclangQuery -lclangRename -lclangRewrite -lclangRewriteFrontend -lclangSema -lclangSerialization -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangStaticAnalyzerFrontend -lclangTidy -lclangTidyGoogleModule -lclangTidyLLVMModule -lclangTidyMiscModule -lclangTidyReadabilityModule -lclangTidyUtils -lclang /usr/lib/llvm-3.6/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.6/lib/libLLVMOption.a /usr/lib/llvm-3.6/lib/libLLVMIRReader.a /usr/lib/llvm-3.6/lib/libLLVMLTO.a /usr/lib/llvm-3.6/lib/libLLVMInterpreter.a /usr/lib/llvm-3.6/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.6/lib/libLLVMX86Desc.a /usr/lib/llvm-3.6/lib/libLLVMX86Info.a /usr/lib/llvm-3.6/lib/libLLVMAsmParser.a /usr/lib/llvm-3.6/lib/libLLVMBitReader.a /usr/lib/llvm-3.6/lib/libLLVMBitWriter.a /usr/lib/llvm-3.6/lib/libLLVMCodeGen.a /usr/lib/llvm-3.6/lib/libLLVMipo.a /usr/lib/llvm-3.6/lib/libLLVMLinker.a /usr/lib/llvm-3.6/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.6/lib/libLLVMInstrumentation.a -lclangAnalysis -lclangApplyReplacements -lclangARCMigrate -lclangAST -lclangASTMatchers -lclangBasic -lclangCodeGen -lclangDriver -lclangDynamicASTMatchers -lclangEdit -lclangFormat -lclangFrontend -lclangFrontendTool -lclangIndex -lclangLex -lclangParse -lclangQuery -lclangRename -lclangRewrite -lclangRewriteFrontend -lclangSema -lclangSerialization -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangStaticAnalyzerFrontend -lclangTidy -lclangTidyGoogleModule -lclangTidyLLVMModule -lclangTidyMiscModule -lclangTidyReadabilityModule -lclangTidyUtils /usr/lib/llvm-3.6/lib/libLLVMVectorize.a /usr/lib/llvm-3.6/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.6/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.6/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.6/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.6/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.6/lib/libLLVMCodeGen.a /usr/lib/llvm-3.6/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.6/lib/libLLVMInstCombine.a /usr/lib/llvm-3.6/lib/libLLVMProfileData.a /usr/lib/llvm-3.6/lib/libLLVMObject.a /usr/lib/llvm-3.6/lib/libLLVMBitReader.a /usr/lib/llvm-3.6/lib/libLLVMMCParser.a /usr/lib/llvm-3.6/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.6/lib/libLLVMX86Utils.a /usr/lib/llvm-3.6/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.6/lib/libLLVMipa.a /usr/lib/llvm-3.6/lib/libLLVMAnalysis.a /usr/lib/llvm-3.6/lib/libLLVMTarget.a /usr/lib/llvm-3.6/lib/libLLVMCore.a /usr/lib/llvm-3.6/lib/libLLVMMC.a /usr/lib/llvm-3.6/lib/libLLVMSupport.a -lz -lpthread -lffi -ledit -ltinfo -ldl -lm -lgfortran -lquadmath 
/usr/bin/ld: cannot find -lclangTidyReadabilityModule
/usr/bin/ld: cannot find -lclangTidyReadabilityModule
collect2: error: ld returned 1 exit status
src/CMakeFiles/FreeMat.dir/build.make:655: recipe for target 'src/FreeMat' failed
make[3]: *** [src/FreeMat] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/freemat-4.2+dfsg1/debian/build'
CMakeFiles/Makefile2:1059: recipe for target 'src/CMakeFiles/FreeMat.dir/all' failed
make[2]: *** [src/CMakeFiles/FreeMat.dir/all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/freemat-4.2+dfsg1/debian/build'
Makefile:163: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/freemat-4.2+dfsg1/debian/build'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

It also fails here, in testing:

https://tests.reproducible-builds.org/debian/rb-pkg/testing/amd64/freemat.html

Perhaps some build-depend should be versioned?

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the page for
this package.

Thanks.



More information about the debian-science-maintainers mailing list