Bug#957832: speechd-up: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:23 BST 2020

Package: src:speechd-up
Version: 0.5~20110719-8
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:
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

checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/bash /<<PKGBUILDDIR>>/missing makeinfo --version) >/dev/null 2>&1; then \
  for f in speechd-up.info speechd-up.info-[0-9] speechd-up.info-[0-9][0-9] speechd-up.i[0-9] speechd-up.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/bash /<<PKGBUILDDIR>>/missing makeinfo   -I . \
 -o speechd-up.info speechd-up.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./speechd-up.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
gcc -DHAVE_CONFIG_H -I.  -DLOGPATH=\"\" -DPIDPATH=\"\" -DSYS_CONF=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o speechd_up-speechd-up.o `test -f 'speechd-up.c' || echo './'`speechd-up.c
gcc -DHAVE_CONFIG_H -I.  -DLOGPATH=\"\" -DPIDPATH=\"\" -DSYS_CONF=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o speechd_up-options.o `test -f 'options.c' || echo './'`options.c
gcc -DHAVE_CONFIG_H -I.  -DLOGPATH=\"\" -DPIDPATH=\"\" -DSYS_CONF=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o speechd_up-log.o `test -f 'log.c' || echo './'`log.c
gcc -DHAVE_CONFIG_H -I.  -DLOGPATH=\"\" -DPIDPATH=\"\" -DSYS_CONF=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o speechd_up-configuration.o `test -f 'configuration.c' || echo './'`configuration.c
gcc -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o speechd-up speechd_up-speechd-up.o speechd_up-options.o speechd_up-log.o speechd_up-configuration.o -ldotconf -lspeechd 
/usr/bin/ld: speechd_up-log.o:./log.h:25: multiple definition of `logfile'; speechd_up-speechd-up.o:./log.h:25: first defined here
/usr/bin/ld: speechd_up-configuration.o:./log.h:25: multiple definition of `logfile'; speechd_up-speechd-up.o:./log.h:25: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:485: speechd-up] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:388: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

More information about the Pkg-a11y-devel mailing list