[Debian GNUstep maintainers] Bug#957295: gnustep-gui: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:01:42 BST 2020


Package: src:gnustep-gui
Version: 0.27.0-5
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/gnustep-gui_0.27.0-5_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:745:35: error: expected ‘)’ before ‘::’ token
  745 |     GET_IMP(@selector(DPSsetoffset::));
      |                      ~            ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:751:35: error: expected ‘)’ before ‘::’ token
  751 |     GET_IMP(@selector(DPScomposite::::::::));
      |                      ~            ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:753:39: error: expected ‘)’ before ‘::’ token
  753 |     GET_IMP(@selector(DPScompositerect:::::));
      |                      ~                ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:755:34: error: expected ‘)’ before ‘::’ token
  755 |     GET_IMP(@selector(DPSdissolve::::::::));
      |                      ~           ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:758:34: error: expected ‘)’ before ‘::’ token
  758 |     GET_IMP(@selector(GSDrawImage::));
      |                      ~           ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:764:32: error: expected ‘)’ before ‘::’ token
  764 |     GET_IMP(@selector(DPSPrintf::));
      |                      ~         ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:766:35: error: expected ‘)’ before ‘::’ token
  766 |     GET_IMP(@selector(DPSWriteData::));
      |                      ~            ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
NSGraphicsContext.m:787:35: error: expected ‘)’ before ‘::’ token
  787 |     GET_IMP(@selector(NSDrawBitmap:::::::::::));
      |                      ~            ^~
NSGraphicsContext.m:524:63: note: in definition of macro ‘GET_IMP’
  524 | #define GET_IMP(X) ((void*) [self instanceMethodForSelector: (X)])
      |                                                               ^
gcc NSHelpManager.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"x86_64\" -DGNUSTEP_TARGET_OS=\"linux-gnu\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" -DGNUSTEP_BASE_HAVE_LIBXML=1 -DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -Wall -fconstant-string-class=NSConstantString -I../Headers/Additions -I../Headers -I./. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/libpng16 \
       -o obj/libgnustep-gui.obj/NSHelpManager.m.o
gcc NSImage.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"x86_64\" -DGNUSTEP_TARGET_OS=\"linux-gnu\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" -DGNUSTEP_BASE_HAVE_LIBXML=1 -DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -Wall -fconstant-string-class=NSConstantString -I../Headers/Additions -I../Headers -I./. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/libpng16 \
       -o obj/libgnustep-gui.obj/NSImage.m.o
make[6]: *** [/usr/share/GNUstep/Makefiles/rules.make:479: obj/libgnustep-gui.obj/NSGraphicsContext.m.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/usr/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-gui.all.library.variables] Error 2
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Source'
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 messages=yes doc=no "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "FCFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" "FFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" "GCJFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--no-undefined -Wl,--as-needed" "OBJCFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" returned exit code 2
make[1]: *** [debian/rules:106: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:40: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-GNUstep-maintainers mailing list