[Debian GNUstep maintainers] Bug#957078: cenon.app: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:57:49 BST 2020


Package: src:cenon.app
Version: 4.0.6+ds1-2
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/cenon.app_4.0.6+ds1-2_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

[...]
    done; \
  else \
    echo "Warning: .//$l.lproj not found - ignoring"; \
  fi; \
done
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj
Making all for subproject VHFImport...
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/VHFImport.obj/
gcc PSImport.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -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 -fconstant-string-class=NSConstantString -I.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/VHFImport.obj/PSImport.m.o
gcc DINImport.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -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 -fconstant-string-class=NSConstantString -I.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/VHFImport.obj/DINImport.m.o
gcc DXFImport.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -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 -fconstant-string-class=NSConstantString -I.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/VHFImport.obj/DXFImport.m.o
gcc GerberImport.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -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 -fconstant-string-class=NSConstantString -I.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/VHFImport.obj/GerberImport.m.o
DXFImport.m: In function ‘-[DXFImport blockScannerFromScanner:]’:
DXFImport.m:147:10: warning: variable ‘location’ set but not used [-Wunused-but-set-variable]
  147 |     int  location;
      |          ^~~~~~~~
DXFImport.m: In function ‘-[DXFImport getGraphicFromData::]’:
DXFImport.m:725:67: error: expected ‘)’ before ‘::’ token
  725 |                     if ([self respondsToSelector:@selector(addText:::::at:toLayer:)]) // old
      |                                                           ~       ^~
      |                                                                   )
DXFImport.m: In function ‘buildArc’:
DXFImport.m:1199:35: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
 1199 |     double l, ang, dx, dy, r, an, h;
      |                                   ^
DXFImport.m: In function ‘-[DXFImport getText:mtext::::::::]’:
DXFImport.m:1447:23: warning: variable ‘textScale’ set but not used [-Wunused-but-set-variable]
 1447 |     float textHeight, textScale;
      |                       ^~~~~~~~~
DXFImport.m:1447:11: warning: variable ‘textHeight’ set but not used [-Wunused-but-set-variable]
 1447 |     float textHeight, textScale;
      |           ^~~~~~~~~~
DXFImport.m:1446:11: warning: variable ‘slopeAngle’ set but not used [-Wunused-but-set-variable]
 1446 |     float slopeAngle = 0.0;
      |           ^~~~~~~~~~
DXFImport.m:1445:13: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
 1445 |             p;
      |             ^
DXFImport.m:1444:13: warning: variable ‘adjustPoint’ set but not used [-Wunused-but-set-variable]
 1444 |     NSPoint adjustPoint, // a point to adjust the text
      |             ^~~~~~~~~~~
DXFImport.m:1443:10: warning: variable ‘adjust’ set but not used [-Wunused-but-set-variable]
 1443 | {   int  adjust = 0;
      |          ^~~~~~
make[6]: *** [/usr/share/GNUstep/Makefiles/rules.make:479: obj/VHFImport.obj/DXFImport.m.o] Error 1
make[6]: *** Waiting for unfinished jobs....
GerberImport.m: In function ‘-[GerberImport getMacroRectLine:::]’:
GerberImport.m:1219:30: warning: variable ‘ey’ set but not used [-Wunused-but-set-variable]
 1219 | {   float  w, h, sx, sy, ex, ey, a;
      |                              ^~
make[5]: *** [/usr/share/GNUstep/Makefiles/Instance/subproject.make:45: internal-subproject-all_] Error 2
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: VHFImport.all.subproject.variables] Error 2
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: Cenon.all.app.variables] Error 2
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/application.make:38: internal-all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" messages=yes "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" "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:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-GNUstep-maintainers mailing list