Bug#984408: wmmixer: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:18:47 GMT 2021


Package: src:wmmixer
Version: 1.8-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/wmmixer_1.8-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
dpkg-buildpackage: info: source version 1.8-1
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_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... none
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x11... yes
checking for xext... yes
checking for xpm... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"wmmixer\ 1.8\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.8\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o exception.o exception.cc
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"wmmixer\ 1.8\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.8\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mixctl.o mixctl.cc
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"wmmixer\ 1.8\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.8\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wmmixer.o wmmixer.cc
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"wmmixer\ 1.8\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.8\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xhandler.o xhandler.cc
In file included from mixctl.cc:13:
mixctl.h:74:23: error: ISO C++17 does not allow dynamic exception specifications
   74 |   MixCtl(char *dname) throw(MixerDeviceException);
      |                       ^~~~~
mixctl.cc:16:35: error: ISO C++17 does not allow dynamic exception specifications
   16 | MixCtl::MixCtl(char *device_name) throw(MixerDeviceException)
      |                                   ^~~~~
make[1]: *** [Makefile:442: mixctl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from wmmixer.h:28,
                 from wmmixer.cc:13:
mixctl.h:74:23: error: ISO C++17 does not allow dynamic exception specifications
   74 |   MixCtl(char *dname) throw(MixerDeviceException);
      |                       ^~~~~
wmmixer.cc: In member function ‘void WMMixer::readConfigurationFile()’:
wmmixer.cc:331:17: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  331 |            fgets(buf, 250, rcfile);
      |            ~~~~~^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:442: wmmixer.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 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