[Debichem-devel] Bug#778044: openbabel: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:35:19 UTC 2015


Package: src:openbabel
Version: 2.3.2+dfsg-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/openbabel_2.3.2+dfsg-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichirvr3.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichirvr3.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 28
[ 11%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/inchi_dll_main.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/inchi_dll_main.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/inchi_dll_main.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 11%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichiread.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichiread.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichiread.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 11%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichimap1.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichimap1.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichimap1.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 11%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichinorm.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichinorm.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichinorm.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 29
[ 12%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichi_bns.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichi_bns.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichi_bns.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 12%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/util.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/util.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/util.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 12%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichitaut.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichitaut.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichitaut.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 30
[ 13%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichiprt1.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichiprt1.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichiprt1.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 13%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/ichiisot.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/ichiisot.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/ichiisot.c
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles 
[ 13%] Building C object src/formats/libinchi/CMakeFiles/inchi.dir/sha2.o
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fopenmp -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/«BUILDDIR»/openbabel-2.3.2+dfsg/build/include -I/«BUILDDIR»/openbabel-2.3.2+dfsg/data -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include -I/usr/include/eigen3 -I/usr/include/cairo -I/«BUILDDIR»/openbabel-2.3.2+dfsg/include/inchi    -DOB_MODULE_PATH="\"/usr/lib/openbabel/2.3.2\"" -fPIC -o CMakeFiles/inchi.dir/sha2.o   -c /«BUILDDIR»/openbabel-2.3.2+dfsg/src/formats/libinchi/sha2.c
Linking C static library libinchi.a
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cmake -P CMakeFiles/inchi.dir/cmake_clean_target.cmake
cd /«BUILDDIR»/openbabel-2.3.2+dfsg/build/src/formats/libinchi && /usr/bin/cmake -E cmake_link_script CMakeFiles/inchi.dir/link.txt --verbose=1
/usr/bin/ar cr libinchi.a  CMakeFiles/inchi.dir/inchi_dll.o CMakeFiles/inchi.dir/ikey_base26.o CMakeFiles/inchi.dir/runichi.o CMakeFiles/inchi.dir/ichisort.o CMakeFiles/inchi.dir/inchi_dll_a2.o CMakeFiles/inchi.dir/ichiprt2.o CMakeFiles/inchi.dir/ichimake.o CMakeFiles/inchi.dir/ichiqueu.o CMakeFiles/inchi.dir/strutil.o CMakeFiles/inchi.dir/ichirvr1.o CMakeFiles/inchi.dir/ichicans.o CMakeFiles/inchi.dir/ichimap2.o CMakeFiles/inchi.dir/ichimap4.o CMakeFiles/inchi.dir/ichirvr4.o CMakeFiles/inchi.dir/ichicano.o CMakeFiles/inchi.dir/ichiring.o CMakeFiles/inchi.dir/ichican2.o CMakeFiles/inchi.dir/ikey_dll.o CMakeFiles/inchi.dir/ichiprt3.o CMakeFiles/inchi.dir/ichi_io.o CMakeFiles/inchi.dir/ichiparm.o CMakeFiles/inchi.dir/inchi_dll_a.o CMakeFiles/inchi.dir/ichirvr7.o CMakeFiles/inchi.dir/ichirvr6.o CMakeFiles/inchi.dir/ichirvr2.o CMakeFiles/inchi.dir/ichimak2.o CMakeFiles/inchi.dir/ichirvr5.o CMakeFiles/inchi.dir/ichister.o CMakeFiles/inchi.dir/ichilnct.o CMakeFiles/inchi.dir/ichirvr3.o CMakeFiles/inchi.dir/inchi_dll_main.o CMakeFiles/inchi.dir/ichiread.o CMakeFiles/inchi.dir/ichimap1.o CMakeFiles/inchi.dir/ichinorm.o CMakeFiles/inchi.dir/ichi_bns.o CMakeFiles/inchi.dir/util.o CMakeFiles/inchi.dir/ichitaut.o CMakeFiles/inchi.dir/ichiprt1.o CMakeFiles/inchi.dir/ichiisot.o CMakeFiles/inchi.dir/sha2.o
/usr/bin/ranlib libinchi.a
make[4]: Leaving directory '/«BUILDDIR»/openbabel-2.3.2+dfsg/build'
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/openbabel-2.3.2+dfsg/build/CMakeFiles  19 20 21 22 23 24 25 26 27 28 29 30
[ 13%] Built target inchi
make[3]: Leaving directory '/«BUILDDIR»/openbabel-2.3.2+dfsg/build'
make[2]: *** [all] Error 2
Makefile:130: recipe for target 'all' failed
make[2]: Leaving directory '/«BUILDDIR»/openbabel-2.3.2+dfsg/build'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:31: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«BUILDDIR»/openbabel-2.3.2+dfsg'
make: *** [build-arch] Error 2
debian/rules:25: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debichem-devel mailing list