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

Bug#957550: mmorph: ftbfs with GCC-10



Package: src:mmorph
Version: 2.3.4.2-15
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/mmorph_2.3.4.2-15_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

[...]
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking size of long... 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--no-parallel
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f y.tab.h y.tab.c
bison -y -dvt user.y 2>&1 \
| sed -f yacc.sed
rm -f tokenstr.h
sed -f tokenstr.sed -n y.tab.h >tokenstr.h
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o main.o main.c
rm -f tokenize.c
flex -8 -Ca -t tokenize.l >tokenize.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tokenize.o tokenize.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o y.tab.o y.tab.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o symbols.o symbols.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o unify.o unify.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o bitmap.o bitmap.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o chain.o chain.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o output.o output.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mymalloc.o mymalloc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o combine.o combine.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include database.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o lookup.o lookup.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o spell.o spell.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tfs.o tfs.c
tfs.c: In function ‘xdr_s_tfs’:
tfs.c:164:35: warning: passing argument 5 of ‘xdr_vector’ from incompatible pointer type [-Wincompatible-pointer-types]
  164 |          (u_int) sizeof(t_value), xdr_t_value));
      |                                   ^~~~~~~~~~~
      |                                   |
      |                                   bool_t (*)() {aka int (*)()}
In file included from tfs.c:17:
/usr/include/rpc/xdr.h:321:34: note: expected ‘xdrproc_t’ {aka ‘int (*)(XDR *, void *, ...)’} but argument is of type ‘bool_t (*)()’ {aka ‘int (*)()’}
  321 |      u_int __elemsize, xdrproc_t __xdr_elem) __THROW;
      |                        ~~~~~~~~~~^~~~~~~~~~
tfs.c: In function ‘saved_tfs_table’:
tfs.c:225:49: warning: passing argument 6 of ‘xdr_array’ from incompatible pointer type [-Wincompatible-pointer-types]
  225 |      (u_int) T_CARD_MAX, (u_int) sizeof(s_tfs), xdr_s_tfs))
      |                                                 ^~~~~~~~~
      |                                                 |
      |                                                 bool_t (*)() {aka int (*)()}
In file included from tfs.c:17:
/usr/include/rpc/xdr.h:309:48: note: expected ‘xdrproc_t’ {aka ‘int (*)(XDR *, void *, ...)’} but argument is of type ‘bool_t (*)()’ {aka ‘int (*)()’}
  309 |     u_int __maxsize, u_int __elsize, xdrproc_t __elproc)
      |                                      ~~~~~~~~~~^~~~~~~~
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o crc32file.o crc32file.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tbl.o tbl.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o mmorph main.o tokenize.o y.tab.o symbols.o unify.o bitmap.o chain.o output.o mymalloc.o combine.o database.o lookup.o spell.o tfs.o crc32file.o tbl.o  -L/usr/lib -ldb
/usr/bin/ld: combine.o:./combine.c:241: multiple definition of `current_ref'; symbols.o:./symbols.c:147: first defined here
/usr/bin/ld: spell.o:(.bss+0x8): multiple definition of `current_letter_kind'; y.tab.o:(.bss+0x18): first defined here
/usr/bin/ld: mymalloc.o: in function `my_free':
./mymalloc.c:82: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ./mymalloc.c:82: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:128: mmorph] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: