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

Bug#957230: freebsd-buildutils: ftbfs with GCC-10



Package: src:freebsd-buildutils
Version: 10.3~svn296373-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/freebsd-buildutils_10.3~svn296373-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

[...]
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -std=gnu99  -fstack-protector   -c file2c.c -o file2c.o
--- file2c.1.gz ---
gzip -cn -9 file2c.1 > file2c.1.gz
--- file2c ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -std=gnu99  -fstack-protector   -Wl,-z,relro -Wl,-z,now -o file2c file2c.o -lbsd
CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='\"amd64\"' -DMACHINE_MULTIARCH='\"x86_64-linux-gnu\"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 " MAKEFLAGS=-j4 NO_WERROR=1 NOGCCERROR=1 NOSHARED=NO NO_SHARED=NO NO_PROFILE=1 bmake CC=x86_64-linux-gnu-gcc -m /<<PKGBUILDDIR>>/src/share/mk  -C build-tree/src/usr.bin/brandelf
--- objwarn ---
Warning: Object directory not changed from original /<<PKGBUILDDIR>>/build-tree/src/usr.bin/brandelf
--- brandelf.o ---
--- brandelf.1.gz ---
--- brandelf.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -std=gnu99  -fstack-protector   -c brandelf.c -o brandelf.o
--- brandelf.1.gz ---
gzip -cn -9 brandelf.1 > brandelf.1.gz
--- brandelf ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -std=gnu99  -fstack-protector   -Wl,-z,relro -Wl,-z,now -o brandelf brandelf.o -lbsd
CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='\"amd64\"' -DMACHINE_MULTIARCH='\"x86_64-linux-gnu\"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 " MAKEFLAGS=-j4 NO_WERROR=1 NOGCCERROR=1 NOSHARED=NO NO_SHARED=NO NO_PROFILE=1 bmake CC=x86_64-linux-gnu-gcc -m /<<PKGBUILDDIR>>/src/share/mk  -C build-tree/src/sys/dev/aic7xxx/aicasm
--- objwarn ---
Warning: Object directory not changed from original /<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm
--- aicasm_gram.c ---
--- aicasm_macro_gram.c ---
--- aicasm_scan.c ---
--- aicasm_macro_scan.c ---
--- aicasm_gram.c ---
byacc -b aicasm_gram  -d -o aicasm_gram.c aicasm_gram.y
--- aicasm_macro_gram.c ---
byacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c aicasm_macro_gram.y
--- aicasm_scan.c ---
lex   -oaicasm_scan.c aicasm_scan.l
--- aicasm_macro_scan.c ---
lex  -Pmm -oaicasm_macro_scan.c aicasm_macro_scan.l
--- aicasm.o ---
--- aicasm_symbol.o ---
--- aicasm.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm.c -o aicasm.o
--- aicasm_symbol.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm_symbol.c -o aicasm_symbol.o
--- aicasm_gram.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm_gram.c -o aicasm_gram.o
--- aicasm_macro_gram.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm_macro_gram.c -o aicasm_macro_gram.o
--- aicasm.o ---
aicasm.c: In function ‘output_listing’:
aicasm.c:612:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  612 |    fgets(buf, sizeof(buf), ifile);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aicasm.c:634:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  634 |    fgets(buf, sizeof(buf), ifile);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- aicasm_macro_scan.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm_macro_scan.c -o aicasm_macro_scan.o
--- aicasm_scan.o ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -c aicasm_scan.c -o aicasm_scan.o
--- aicasm ---
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -pipe -Wall -DMACHINE_ARCH='"amd64"' -DMACHINE_MULTIARCH='"x86_64-linux-gnu"' -I/<<PKGBUILDDIR>>/build-tree/src/sys -isystem /usr/include/freebsd -fPIC -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -isystem /usr/include/freebsd -I/<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm -std=gnu99  -fstack-protector -Wno-pointer-sign  -Wno-missing-prototypes -Wl,-z,relro -Wl,-z,now -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll -ldb -lbsd
/usr/bin/ld: aicasm_symbol.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: multiple definition of `args'; aicasm.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: first defined here
/usr/bin/ld: aicasm_gram.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: multiple definition of `args'; aicasm.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: first defined here
/usr/bin/ld: aicasm_macro_gram.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: multiple definition of `args'; aicasm.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: first defined here
/usr/bin/ld: aicasm_scan.o:(.data+0x0): multiple definition of `yylineno'; aicasm_gram.o:(.bss+0x48): first defined here
/usr/bin/ld: aicasm_scan.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: multiple definition of `args'; aicasm.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: first defined here
/usr/bin/ld: aicasm_macro_scan.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: multiple definition of `args'; aicasm.o:./build-tree/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:111: first defined here
collect2: error: ld returned 1 exit status
*** [aicasm] Error code 1

bmake[1]: stopped in /<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm
1 error

bmake[1]: stopped in /<<PKGBUILDDIR>>/build-tree/src/sys/dev/aic7xxx/aicasm
make: *** [debian/rules:146: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: