Bug#957947: wmix: ftbfs with GCC-10

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


Package: src:wmix
Version: 3.4-1
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/wmix_3.4-1_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

[...]
configure: WARNING: unrecognized options: --disable-maintainer-mode
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for snd_mixer_selem_get_playback_switch in -lasound... yes
checking for cos in -lm... yes
checking for XOpenDisplay in -lX11... yes
checking for XShapeCombineMask in -lXext... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for XRRQueryExtension in -lXrandr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc.o misc.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o config.o config.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mixer-alsa.o mixer-alsa.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mixer-oss.o mixer-oss.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui_x.o ui_x.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mmkeys.o mmkeys.c
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"wmix\ 3.4\" -DPACKAGE_BUGREPORT=\"wmaker-dev at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.4\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wmix.o wmix.c
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o wmix misc.o config.o mixer-alsa.o mixer-oss.o ui_x.o mmkeys.o wmix.o  -lXrandr -lXpm -lXext -lX11 -lm -lasound 
/usr/bin/ld: wmix.o:./include/mixer.h:70: multiple definition of `mixer_set_volume_rel'; ui_x.o:./include/mixer.h:70: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:68: multiple definition of `mixer_get_volume'; ui_x.o:./include/mixer.h:68: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:58: multiple definition of `mixer_init'; ui_x.o:./include/mixer.h:58: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:61: multiple definition of `mixer_is_changed'; ui_x.o:./include/mixer.h:61: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:62: multiple definition of `mixer_get_channel_count'; ui_x.o:./include/mixer.h:62: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:63: multiple definition of `mixer_get_channel'; ui_x.o:./include/mixer.h:63: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:64: multiple definition of `mixer_get_channel_name'; ui_x.o:./include/mixer.h:64: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:65: multiple definition of `mixer_get_short_name'; ui_x.o:./include/mixer.h:65: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:66: multiple definition of `mixer_set_channel'; ui_x.o:./include/mixer.h:66: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:67: multiple definition of `mixer_set_channel_rel'; ui_x.o:./include/mixer.h:67: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:69: multiple definition of `mixer_set_volume'; ui_x.o:./include/mixer.h:69: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:71: multiple definition of `mixer_get_balance'; ui_x.o:./include/mixer.h:71: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:72: multiple definition of `mixer_set_balance'; ui_x.o:./include/mixer.h:72: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:73: multiple definition of `mixer_set_balance_rel'; ui_x.o:./include/mixer.h:73: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:74: multiple definition of `mixer_toggle_mute'; ui_x.o:./include/mixer.h:74: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:75: multiple definition of `mixer_toggle_rec'; ui_x.o:./include/mixer.h:75: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:76: multiple definition of `mixer_is_muted'; ui_x.o:./include/mixer.h:76: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:77: multiple definition of `mixer_is_stereo'; ui_x.o:./include/mixer.h:77: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:78: multiple definition of `mixer_is_rec'; ui_x.o:./include/mixer.h:78: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:79: multiple definition of `mixer_can_rec'; ui_x.o:./include/mixer.h:79: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:82: multiple definition of `mixer_tick'; ui_x.o:./include/mixer.h:82: first defined here
/usr/bin/ld: wmix.o:./include/mixer.h:80: multiple definition of `is_exclude'; ui_x.o:./include/mixer.h:80: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:397: wmix] 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