Bug#957950: wmmoonclock: ftbfs with GCC-10

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


Package: src:wmmoonclock
Version: 1.29-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/wmmoonclock_1.29-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

[...]
dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package wmmoonclock
dpkg-buildpackage: info: source version 1.29-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-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
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 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
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DPACKAGE_NAME=\"wmmoonclock\" -DPACKAGE_TARNAME=\"wmmoonclock\" -DPACKAGE_VERSION=\"1.29\" -DPACKAGE_STRING=\"wmmoonclock\ 1.29\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmoonclock\" -DVERSION=\"1.29\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/CalcEphem.o src/CalcEphem.c
gcc -DPACKAGE_NAME=\"wmmoonclock\" -DPACKAGE_TARNAME=\"wmmoonclock\" -DPACKAGE_VERSION=\"1.29\" -DPACKAGE_STRING=\"wmmoonclock\ 1.29\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmoonclock\" -DVERSION=\"1.29\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/Moon.o src/Moon.c
gcc -DPACKAGE_NAME=\"wmmoonclock\" -DPACKAGE_TARNAME=\"wmmoonclock\" -DPACKAGE_VERSION=\"1.29\" -DPACKAGE_STRING=\"wmmoonclock\ 1.29\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmoonclock\" -DVERSION=\"1.29\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/MoonRise.o src/MoonRise.c
gcc -DPACKAGE_NAME=\"wmmoonclock\" -DPACKAGE_TARNAME=\"wmmoonclock\" -DPACKAGE_VERSION=\"1.29\" -DPACKAGE_STRING=\"wmmoonclock\ 1.29\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmoonclock\" -DVERSION=\"1.29\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/wmMoonClock.o src/wmMoonClock.c
gcc -DPACKAGE_NAME=\"wmmoonclock\" -DPACKAGE_TARNAME=\"wmmoonclock\" -DPACKAGE_VERSION=\"1.29\" -DPACKAGE_STRING=\"wmmoonclock\ 1.29\" -DPACKAGE_BUGREPORT=\"wmaker-dev at lists.windowmaker.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmoonclock\" -DVERSION=\"1.29\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/xutils.o src/xutils.c
gcc    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o wmmoonclock src/CalcEphem.o src/Moon.o src/MoonRise.o src/wmMoonClock.o src/xutils.o  -lX11 -lXext -lXpm -lX11 -lm
/usr/bin/ld: src/xutils.o:./src/xutils.h:25: multiple definition of `iconwin'; src/wmMoonClock.o:./src/xutils.h:25: first defined here
/usr/bin/ld: src/xutils.o:./src/xutils.h:23: multiple definition of `display'; src/wmMoonClock.o:./src/xutils.h:23: first defined here
/usr/bin/ld: src/xutils.o:./src/xutils.h:25: multiple definition of `win'; src/wmMoonClock.o:./src/xutils.h:25: first defined here
/usr/bin/ld: src/xutils.o:./src/xutils.h:26: multiple definition of `screen'; src/wmMoonClock.o:./src/xutils.h:26: first defined here
/usr/bin/ld: src/xutils.o:./src/xutils.h:24: multiple definition of `Root'; src/wmMoonClock.o:./src/xutils.h:24: first defined here
/usr/bin/ld: src/xutils.o:./src/xutils.h:27: multiple definition of `DisplayDepth'; src/wmMoonClock.o:./src/xutils.h:27: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:424: wmmoonclock] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-wmaker-devel mailing list