Bug#957938: wmacpi: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:13:15 BST 2020


Package: src:wmacpi
Version: 2.3-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/wmacpi_2.3-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

[...]
dpkg-source: warning: failed to verify signature on ./wmacpi_2.3-2.dsc
dpkg-source: info: extracting wmacpi in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking wmacpi_2.3.orig.tar.gz
dpkg-source: info: unpacking wmacpi_2.3-2.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-34b78113-9b82-477a-bf9f-2350ff1ade86
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package wmacpi
dpkg-buildpackage: info: source version 2.3-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Doug Torrance <dtorrance at piedmont.edu>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f TAGS *.o *~ trace *.out *.bb *.bbg
rm -f *.d wmacpi wmacpi-cli
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_auto_configure
   dh_auto_build
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -MM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -W -g -ansi libacpi.c > libacpi.d
gcc -MM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -W -g -ansi wmacpi-cli.c > wmacpi-cli.d
gcc -MM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -W -g -ansi wmacpi.c > wmacpi.d
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -W -g -ansi -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libdockapp  -c -o wmacpi.o wmacpi.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -W -g -ansi -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libdockapp  -c -o libacpi.o libacpi.c
gcc -o wmacpi wmacpi.o libacpi.o -Wl,-z,relro -O2 -lX11 -ldockapp
/usr/bin/ld: libacpi.o:./libacpi.h:132: multiple definition of `verbosity'; wmacpi.o:./libacpi.h:132: first defined here
/usr/bin/ld: libacpi.o:./libacpi.h:131: multiple definition of `batteries'; wmacpi.o:./libacpi.h:131: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:40: wmacpi] Error 1
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-wmaker-devel mailing list