[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956971: 9base: ftbfs with GCC-10



Package: src:9base
Version: 1:6-7
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/9base_6-7_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

[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/dd'
CC dd.c
In file included from /usr/include/inttypes.h:25,
                 from ../lib9/u.h:38,
                 from dd.c:1:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
dd.c: In function ‘p9main’:
dd.c:228:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  228 |   read(ibf, ibuf, ibs);
      |   ^~~~~~~~~~~~~~~~~~~~
LD dd
built dd
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dd'
make[3]: Entering directory '/<<PKGBUILDDIR>>/diff'
CC diffdir.c
In file included from /usr/include/inttypes.h:25,
                 from ../lib9/u.h:38,
                 from diffdir.c:1:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
CC diffio.c
In file included from /usr/include/inttypes.h:25,
                 from ../lib9/u.h:38,
                 from diffio.c:1:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
CC diffreg.c
In file included from /usr/include/inttypes.h:25,
                 from ../lib9/u.h:38,
                 from diffreg.c:1:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
CC main.c
In file included from /usr/include/inttypes.h:25,
                 from ../lib9/u.h:38,
                 from main.c:1:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
LD diff
/usr/bin/ld: diffio.o:./diff/diff.h:4: multiple definition of `bflag'; diffdir.o:./diff/diff.h:4: first defined here
/usr/bin/ld: diffio.o:./diff/diff.h:6: multiple definition of `mflag'; diffdir.o:./diff/diff.h:6: first defined here
/usr/bin/ld: diffio.o:./diff/diff.h:3: multiple definition of `mode'; diffdir.o:./diff/diff.h:3: first defined here
/usr/bin/ld: diffio.o:./diff/diff.h:7: multiple definition of `anychange'; diffdir.o:./diff/diff.h:7: first defined here
/usr/bin/ld: diffio.o:./diff/diff.h:5: multiple definition of `rflag'; diffdir.o:./diff/diff.h:5: first defined here
/usr/bin/ld: diffreg.o:./diff/diff.h:3: multiple definition of `mode'; diffdir.o:./diff/diff.h:3: first defined here
/usr/bin/ld: diffreg.o:./diff/diff.h:7: multiple definition of `anychange'; diffdir.o:./diff/diff.h:7: first defined here
/usr/bin/ld: diffreg.o:./diff/diff.h:6: multiple definition of `mflag'; diffdir.o:./diff/diff.h:6: first defined here
/usr/bin/ld: diffreg.o:./diff/diff.h:5: multiple definition of `rflag'; diffdir.o:./diff/diff.h:5: first defined here
/usr/bin/ld: diffreg.o:./diff/diff.h:4: multiple definition of `bflag'; diffdir.o:./diff/diff.h:4: first defined here
/usr/bin/ld: main.o:./diff/diff.h:6: multiple definition of `mflag'; diffdir.o:./diff/diff.h:6: first defined here
/usr/bin/ld: main.o:./diff/diff.h:5: multiple definition of `rflag'; diffdir.o:./diff/diff.h:5: first defined here
/usr/bin/ld: main.o:./diff/diff.h:7: multiple definition of `anychange'; diffdir.o:./diff/diff.h:7: first defined here
/usr/bin/ld: main.o:./diff/diff.h:3: multiple definition of `mode'; diffdir.o:./diff/diff.h:3: first defined here
/usr/bin/ld: main.o:./diff/diff.h:4: multiple definition of `bflag'; diffdir.o:./diff/diff.h:4: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:35: diff] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/diff'
make[2]: *** [Makefile:63: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -I. -DPREFIX=\"\\\"/usr/lib/plan9\\\"\" -DUNICODE -DDWBHOME=\"\\\"/usr/share/9base/troff\\\"\" -DNTERMDIR=\"\\\"/term/tab.\\\"\" -DTEXHYPHENS=\"\\\"/hyphen.tex\\\"\" -DALTHYPHENS=\"\\\"/hyphen.tex\\\"\" -DFONTDIR=\"\\\"/font\\\"\" -DTDEVNAME=\"\\\"utf\\\"\" -DTMACDIR=\"\\\"/tmac/tmac.\\\"\" -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS=-Wl,-z,relro PREFIX=/usr/lib/plan9 MANPREFIX=/usr/share/man returned exit code 2
make[1]: *** [debian/rules:24: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: