Package: src:imview Version: 1.1.9h-3 Severity: normal Tags: sid bookworm User: [email protected] Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release] 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The severity of this report will be raised before the bookworm release, so nothing has to be done for the bullseye release. The full build log can be found at: http://people.debian.org/~doko/logs/20210228/filtered/gcc11/imview_1.1.9h-3_unstable_gcc11.log The last lines of the build log are at the end of this report. To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are 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-11/porting_to.html GCC 11 defaults to the GNU++17 standard. If your package installs header files in /usr/include, please don't work around C++17 issues by choosing a lower C++ standard for the package build, but fix these issues to build with the C++17 standard. [...] from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6595, from /usr/include/c++/11/string:55, from imview.hxx:53, from profileBox.cxx:45: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c progressInfo.cxx machine.cxx: In function ‘const char* myDirName(const char*)’: machine.cxx:173:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 173 | char *retval = "."; // default return value | ^~~ machine.cxx: In function ‘void imtempnam(char*)’: machine.cxx:120:15: warning: ignoring return value of ‘char* tmpnam(char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | tmpnam(filename); | ~~~~~~^~~~~~~~~~ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c rawImage.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c StatusBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c annotatePoints.cxx StatusBox.cxx: In member function ‘void StatusBox::warning(const char*, ...)’: StatusBox.cxx:134:41: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] 134 | snprintf(s1, LINELENGTH, "@B%d@C%d@.%s", FL_BLACK, FL_YELLOW, s2); | ^~ ~~ In file included from /usr/include/stdio.h:867, from StatusBox.cxx:52: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 11 and 1034 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StatusBox.cxx: In member function ‘void StatusBox::error(const char*, ...)’: StatusBox.cxx:149:43: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] 149 | snprintf(s1, LINELENGTH, "@m@B%d@C%d@.%s", FL_BLACK, FL_RED, s2); | ^~ ~~ In file included from /usr/include/stdio.h:867, from StatusBox.cxx:52: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 13 and 1036 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c toolbar.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunction.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunctionBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBHistoBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c sliceSlider.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c view3d.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c simpleViewer.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -I/<<PKGBUILDDIR>>/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c registerSequence.cxx transferRGBBox.cxx: In member function ‘void myTransferRGBBox::findRGBExtremes(double*, double*, double*, double*, double*, double*, double*, double*)’: transferRGBBox.cxx:131:20: error: ordered comparison of pointer with integer zero (‘double*’ and ‘int’) 131 | if (y1 > 0) { | ~~~^~~ transferRGBBox.cxx: In member function ‘void myTransferRGBBox::buildRGBFunction(double*, double*, double*, double*)’: transferRGBBox.cxx:183:20: error: ordered comparison of pointer with integer zero (‘double*’ and ‘int’) 183 | if (y1 > 0) { | ~~~^~~ make[2]: *** [Makefile:138: transferRGBBox.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:149: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
