[Debichem-devel] Bug#856350: qutemol: FTBFS (#error This file requires compiler and library support)

Santiago Vila sanvila at debian.org
Tue Feb 28 11:23:28 UTC 2017


Package: src:qutemol
Version: 0.4.1~cvs20081111-6
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -B"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
test -x debian/rules
mkdir -p "."
/usr/bin/make -C . CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-DPKGDATADIR='\"/usr/share/qutemol\"' -Ivcg -Isrc -I. `wx-config --cppflags` -DNDEBUG `dpkg-buildflags --get CXXFLAGS` -std=gnu++98" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" 
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/AO.o src/AO.cpp
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/AOgpu.o src/AOgpu.cpp
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/AtomColor.o src/AtomColor.cpp
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/CgUtil.o src/CgUtil.cpp
src/CgUtil.cpp: In member function 'bool CgUtil::Load(const char*)':
src/CgUtil.cpp:42:345: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
        ,&P_light_base,&P_lighting,&P_phong,&P_phong_size,&P_col_atoms_sat,&P_col_atoms_bri,&P_texture,&P_border_inside,&P_border_outside,&P_depth_full,&P_sem_effect,&P_halo_size,&P_halo_col,&P_halo_str,&P_halo_aware,&P_fog,&P_capping,&P_shadowstrenght,&P_bg_color_R,&P_bg_color_G,&P_bg_color_B,&auto_normalize,&P_double_shadows,&P_border_fixed);
                                                                                                                                                                                                                                                                                                                                                         ^
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/Common.o src/Common.cpp
src/Common.cpp: In function 'Byte* GetSnapshot(int, int, bool)':
src/Common.cpp:155:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla]
   Byte* res=new(Byte[sx*sy*4]);
                              ^
src/Common.cpp: In function 'bool LoadImagePPM(const char*, std::vector<unsigned char>&)':
src/Common.cpp:1177:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(&(im[k++]),1,1,fp);
                             ^
src/Common.cpp:1178:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(&(im[k++]),1,1,fp);
                             ^
src/Common.cpp:1179:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(&(im[k++]),1,1,fp);
                             ^
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/HardSettings.o src/HardSettings.cpp
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/Mol.o src/Mol.cpp
g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/MyTab.o src/MyTab.cpp
In file included from /usr/include/c++/6/type_traits:35:0,
                 from /usr/include/wx-3.0/wx/strvararg.h:25,
                 from /usr/include/wx-3.0/wx/string.h:46,
                 from /usr/include/wx-3.0/wx/memory.h:15,
                 from /usr/include/wx-3.0/wx/object.h:19,
                 from /usr/include/wx-3.0/wx/wx.h:15,
                 from src/MyTab.cpp:2:
/usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^~~~~
In file included from /usr/include/wx-3.0/wx/string.h:46:0,
                 from /usr/include/wx-3.0/wx/memory.h:15,
                 from /usr/include/wx-3.0/wx/object.h:19,
                 from /usr/include/wx-3.0/wx/wx.h:15,
                 from src/MyTab.cpp:2:
/usr/include/wx-3.0/wx/strvararg.h:350:18: error: 'is_enum' in namespace 'std' does not name a template type
     typedef std::is_enum<T> is_enum;
                  ^~~~~~~
/usr/include/wx-3.0/wx/strvararg.h:354:54: error: 'is_enum' was not declared in this scope
     enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value };
                                                      ^~~~~~~
/usr/include/wx-3.0/wx/strvararg.h:354:68: error: template argument 1 is invalid
     enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value };
                                                                    ^
<builtin>: recipe for target 'src/MyTab.o' failed
make[1]: *** [src/MyTab.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/cdbs/1/class/makefile.mk:77: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------

I can reproduce this on several different autobuilders, and it also happens here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/qutemol.html

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 Debichem-devel mailing list