[Debian GNUstep maintainers] Bug#957324: gworkspace: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:02:15 BST 2020


Package: src:gworkspace
Version: 0.9.4-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/gworkspace_0.9.4-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

[...]
                            Versions/Current/./Inspector short` \
        Inspector; \
ln -s `/usr/share/GNUstep/Makefiles/relative_path.sh . \
                            Versions/Current/./libInspector.so short` \
        libInspector.so
Making all in ContentViewers ...
make[4]: Entering directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers'
Making all in FolderViewer ...
make[5]: Entering directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers/FolderViewer'
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj
Making all for bundle FolderViewer...
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/FolderViewer.obj/
/usr/share/GNUstep/Makefiles/mkinstalldirs FolderViewer.inspector/.
gcc FolderViewer.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 -Wall -fconstant-string-class=NSConstantString -I../.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/FolderViewer.obj/FolderViewer.m.o
gcc -shared  -rdynamic      -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined -Wl,--as-needed -Wl,-rpath,/usr/lib/gworkspace -pthread  -fexceptions -o ./FolderViewer.inspector/./FolderViewer ./obj/FolderViewer.obj/FolderViewer.m.o      -L/usr/local/lib -L/usr/lib      -lgnustep-gui     -lgnustep-base    -lobjc   -lm
/usr/share/GNUstep/Makefiles/mkinstalldirs FolderViewer.inspector/Resources
for f in Resources/English.lproj InspectorInfo.plist; do \
  if [ -f .//$f -o -d .//$f ]; then \
    cp -fr .//$f ./FolderViewer.inspector/Resources/; \
  else \
    echo "Warning: .//$f not found - ignoring"; \
  fi; \
done
echo "OLD_GNUSTEP_STAMP_ASTRING = _FolderViewer-" > ./FolderViewer.inspector/stamp.make
(echo "{"; echo '  NOTE = "Automatically generated, do not edit!";'; \
  echo "  NSExecutable = \"FolderViewer\";"; \
  echo "  NSMainNibFile = \"\";"; \
  echo "  NSPrincipalClass = \"FolderViewer\";"; \
  echo "}") >FolderViewer.inspector/Resources/Info-gnustep.plist
if [ -r "" ]; then \
  plmerge FolderViewer.inspector/Resources/Info-gnustep.plist ; \
fi
make[5]: Leaving directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers/FolderViewer'
Making all in ImageViewer ...
make[5]: Entering directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers/ImageViewer'
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj
Making all for bundle ImageViewer...
cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/ImageViewer.obj/
/usr/share/GNUstep/Makefiles/mkinstalldirs ImageViewer.inspector/.
gcc ImageViewer.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 -Wall -fconstant-string-class=NSConstantString -I../.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/ImageViewer.obj/ImageViewer.m.o
gcc Resizer.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 -Wall -fconstant-string-class=NSConstantString -I../.. -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/ImageViewer.obj/Resizer.m.o
gcc -shared  -rdynamic      -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined -Wl,--as-needed -Wl,-rpath,/usr/lib/gworkspace -pthread  -fexceptions -o ./ImageViewer.inspector/./ImageViewer ./obj/ImageViewer.obj/ImageViewer.m.o ./obj/ImageViewer.obj/Resizer.m.o      -L/usr/local/lib -L/usr/lib      -lgnustep-gui     -lgnustep-base    -lobjc   -lm
/usr/bin/ld: ./obj/ImageViewer.obj/Resizer.m.o:./Inspector/ContentViewers/ImageViewer/Resizer.h:27: multiple definition of `serverConnection'; ./obj/ImageViewer.obj/ImageViewer.m.o:./Inspector/ContentViewers/ImageViewer/Resizer.h:27: first defined here
collect2: error: ld returned 1 exit status
make[8]: *** [/usr/share/GNUstep/Makefiles/Instance/bundle.make:205: ImageViewer.inspector/./ImageViewer] Error 1
make[7]: *** [/usr/share/GNUstep/Makefiles/Instance/bundle.make:193: internal-bundle-run-compile-submake] Error 2
make[6]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: ImageViewer.all.bundle.variables] Error 2
make[5]: *** [/usr/share/GNUstep/Makefiles/Master/bundle.make:37: internal-all] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers/ImageViewer'
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Inspector/ContentViewers'
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Inspector'
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 "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 -Wl,-rpath,/usr/lib/gworkspace" "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:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-GNUstep-maintainers mailing list