[Pkg-electronics-devel] Bug#957451: libmawk: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:04:28 BST 2020


Package: src:libmawk
Version: 1.0.2-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/libmawk_1.0.2-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

[...]
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I.. -I.  -o lmawk-exec main-exec.o viohack.o  init_nocomp.o fin_exec.o zfifo.o vio_fifo.o execute.o bi_funct.o print.o debug.o field_exec.o split.o rexp/rexp.o rexp/rexp0.o rexp/rexp1.o rexp/rexp2.o rexp/rexp3.o memory.o hash.o code.o vars.o da_bin.o da_common.o da_bin_helper.o error.o bi_vars.o bi_funct_common.o array.o array_orig.o array_generic.o field_common.o re_cmpl.o zmalloc.o fin_common.o files.o matherr.o fcall.o version.o missing.o math_wrap.o cast.o cell.o scancode.o str.o array_environ.o files_children.o vio_orig.o num_double.o -lm
gcc -shared -rdynamic -Wl,-z,relro -Wl,-soname,libmawk.so.1 -o libmawk.so memory.o hash.o code.o vars.o da_bin.o da_common.o da_bin_helper.o error.o bi_vars.o bi_funct_common.o array.o array_orig.o array_generic.o field_common.o re_cmpl.o zmalloc.o fin_common.o files.o matherr.o fcall.o version.o missing.o math_wrap.o cast.o cell.o scancode.o str.o array_environ.o files_children.o vio_orig.o num_double.o execute.o bi_funct.o print.o debug.o field_exec.o split.o parse.o scan.o da_text.o code_dump.o kw.o jmp.o init.o libmawk.o fin_exec.o rexp/rexp.o rexp/rexp0.o rexp/rexp1.o rexp/rexp2.o rexp/rexp3.o zfifo.o vio_fifo.o -lm
ar rvu libmawk.a memory.o hash.o code.o vars.o da_bin.o da_common.o da_bin_helper.o error.o bi_vars.o bi_funct_common.o array.o array_orig.o array_generic.o field_common.o re_cmpl.o zmalloc.o fin_common.o files.o matherr.o fcall.o version.o missing.o math_wrap.o cast.o cell.o scancode.o str.o array_environ.o files_children.o vio_orig.o num_double.o execute.o bi_funct.o print.o debug.o field_exec.o split.o parse.o scan.o da_text.o code_dump.o kw.o jmp.o init.o libmawk.o fin_exec.o rexp/rexp.o rexp/rexp0.o rexp/rexp1.o rexp/rexp2.o rexp/rexp3.o zfifo.o vio_fifo.o
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating libmawk.a
/usr/bin/ld: vio_fifo.o:./src/libmawk/vio_fifo.h:17: multiple definition of `mawk_vio_fifo_imp'; libmawk.o:./src/libmawk/../libmawk/vio_fifo.h:17: first defined here
a - memory.o
a - hash.o
a - code.o
a - vars.o
a - da_bin.o
a - da_common.o
a - da_bin_helper.o
a - error.o
a - bi_vars.o
a - bi_funct_common.o
a - array.o
a - array_orig.o
a - array_generic.o
a - field_common.o
a - re_cmpl.o
a - zmalloc.o
a - fin_common.o
a - files.o
a - matherr.o
a - fcall.o
a - version.o
a - missing.o
a - math_wrap.o
a - cast.o
a - cell.o
a - scancode.o
a - str.o
a - array_environ.o
a - files_children.o
a - vio_orig.o
a - num_double.o
a - execute.o
a - bi_funct.o
a - print.o
a - debug.o
a - field_exec.o
a - split.o
a - parse.o
a - scan.o
a - da_text.o
a - code_dump.o
a - kw.o
a - jmp.o
a - init.o
a - libmawk.o
a - fin_exec.o
a - rexp/rexp.o
a - rexp/rexp0.o
a - rexp/rexp1.o
a - rexp/rexp2.o
a - rexp/rexp3.o
a - zfifo.o
a - vio_fifo.o
ranlib libmawk.a
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:67: libmawk.so] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk'
make[2]: *** [Makefile:2: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:2: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list