[Debian-med-packaging] Bug#835416: imagevis3d: FTBFS: singleton.hpp:131: undefined reference to `boost::serialization::singleton_module::is_locked()'
peter green
plugwash at p10link.net
Tue Sep 20 09:45:10 UTC 2016
>
> 1. It's failing in the doc/genlua stuff, which is an internal tool meant
> to generate documentation that is currently unfinished. Arguably it
> should be removed from source releases anyway. So a simple fix is for
> debian to just remove this directory from SUBDIRS in TuvokSubdirs.pro.
I don't see a file called TuvokSubdirs.pro , I guess you mean
Tuvok/Tuvok.pro ?
Anyway I removed doc/genlua from SUBDIRS in Tuvok/Tuvok.pro and tried a
build in raspbian stretch.
Unfortunately it failed with
g++ -fopenmp -Wl,-z,relro -o ../Build/ImageVis3D
../Build/objects/BrowseData.o ../Build/objects/ImageVis3D.o
../Build/objects/ImageVis3D_Capturing.o
../Build/objects/ImageVis3D_Progress.o
../Build/objects/ImageVis3D_1DTransferFunction.o
../Build/objects/ImageVis3D_2DTransferFunction.o
../Build/objects/ImageVis3D_FileHandling.o
../Build/objects/ImageVis3D_WindowHandling.o
../Build/objects/ImageVis3D_DebugWindow.o
../Build/objects/ImageVis3D_Settings.o
../Build/objects/ImageVis3D_Locking.o
../Build/objects/ImageVis3D_Stereo.o ../Build/objects/ImageVis3D_Help.o
../Build/objects/ImageVis3D_I3M.o ../Build/objects/PleaseWait.o
../Build/objects/Welcome.o ../Build/objects/MDIRenderWin.o
../Build/objects/MetadataDlg.o ../Build/objects/AboutDlg.o
../Build/objects/URLDlg.o ../Build/objects/FTPDialog.o
../Build/objects/BugRepDlg.o ../Build/objects/LODDlg.o
../Build/objects/QTransferFunction.o
../Build/objects/Q1DTransferFunction.o
../Build/objects/Q2DTransferFunction.o
../Build/objects/QDataRadioButton.o ../Build/objects/QLightPreview.o
../Build/objects/RenderWindowGL.o ../Build/objects/RenderWindow.o
../Build/objects/BasicSettingsDlg.o ../Build/objects/SettingsDlg.o
../Build/objects/RAWDialog.o ../Build/objects/MIPRotDialog.o
../Build/objects/MergeDlg.o ../Build/objects/CrashDetDlg.o
../Build/objects/ScaleAndBiasDlg.o ../Build/objects/QTOut.o
../Build/objects/QTLabelOut.o ../Build/objects/DialogConverter.o
../Build/objects/main.o ../Build/objects/DebugScriptWindow.o
../Build/objects/moc_SettingsDlg.o
../Build/objects/moc_BasicSettingsDlg.o
../Build/objects/moc_BrowseData.o ../Build/objects/moc_ImageVis3D.o
../Build/objects/moc_PleaseWait.o ../Build/objects/moc_FTPDialog.o
../Build/objects/moc_QTransferFunction.o
../Build/objects/moc_Q1DTransferFunction.o
../Build/objects/moc_Q2DTransferFunction.o
../Build/objects/moc_QLightPreview.o
../Build/objects/moc_RenderWindowGL.o ../Build/objects/moc_RAWDialog.o
../Build/objects/moc_MIPRotDialog.o ../Build/objects/moc_Welcome.o
../Build/objects/moc_MetadataDlg.o ../Build/objects/moc_AboutDlg.o
../Build/objects/moc_URLDlg.o ../Build/objects/moc_BugRepDlg.o
../Build/objects/moc_LODDlg.o ../Build/objects/moc_MergeDlg.o
../Build/objects/moc_CrashDetDlg.o
../Build/objects/moc_ScaleAndBiasDlg.o
../Build/objects/moc_DebugScriptWindow.o
../Build/objects/qrc_ImageVis3D.o -L../Tuvok/Build
-L../Tuvok/IO/expressions -L/usr/lib/arm-linux-gnueabihf
-L/usr/X11R6/lib -lTuvok -ltuvokexpr -lz -llua5.2 -lGLEW -ltiff -lbz2
-fopenmp -llz4 -lGLU -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL -lpthread
../Tuvok/Build/libTuvok.a(SysTools.o): In function
`SysTools::GetTempDirectory(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)':
./Tuvok/Basics/SysTools.cpp:1060: warning: the use of `tmpnam' is
dangerous, better use `mkstemp'
../Build/objects/ImageVis3D_WindowHandling.o: In function
`boost::serialization::singleton<tuvok::MasterController>::get_mutable_instance()':
/usr/include/boost/serialization/singleton.hpp:131: undefined reference
to `boost::serialization::singleton_module::is_locked()'
/usr/include/boost/serialization/singleton.hpp:131: undefined reference
to `boost::serialization::singleton_module::is_locked()'
/usr/include/boost/serialization/singleton.hpp:131: undefined reference
to `boost::serialization::singleton_module::is_locked()'
/usr/include/boost/serialization/singleton.hpp:131: undefined reference
to `boost::serialization::singleton_module::is_locked()'
/usr/include/boost/serialization/singleton.hpp:131: undefined reference
to `boost::serialization::singleton_module::is_locked()'
../Build/objects/ImageVis3D_WindowHandling.o:/usr/include/boost/serialization/singleton.hpp:131:
more undefined references to
`boost::serialization::singleton_module::is_locked()' follow
collect2: error: ld returned 1 exit status
Makefile:233: recipe for target '../Build/ImageVis3D' failed
make[2]: *** [../Build/ImageVis3D] Error 1
make[2]: Leaving directory '/imagevis3d-3.1.0/ImageVis3D'
Makefile:80: recipe for target 'sub-ImageVis3D-make_default-ordered' failed
make[1]: *** [sub-ImageVis3D-make_default-ordered] Error 2
make[1]: Leaving directory '/imagevis3d-3.1.0'
dh_auto_build: make -j4 returned exit code 2
debian/rules:5: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Debian-med-packaging
mailing list