Bug#853707: Fwd: Bug#853707: wmgtemp: ftbfs with GCC-7

Doug Torrance dtorrance at piedmont.edu
Tue Jan 31 14:10:44 UTC 2017


Control: forwarded -1 kronos at fluxcode.net

Hi Roger,

I received the bug report below regarding the Debian wmgtemp package not 
building using gcc 7.

Also, I had emailed you a while ago regarding a number of patches 
currently applied to the Debian package:
https://anonscm.debian.org/git/pkg-wmaker/wmgtemp.git/tree/debian/patches

Have you had a chance to take a look at them?

Also, the Debian FTP masters had raised an issue in regards to the 
license of the wmgeneral library.  It's distributed under the GPL, but 
there's no copy of the GPL text distributed with wmgtemp.

Thanks!
Doug


-------- Forwarded Message --------
Subject: 	Bug#853707: wmgtemp: ftbfs with GCC-7
Resent-Date: 	Tue, 31 Jan 2017 09:53:17 +0000
Resent-From: 	dtorrance at piedmont.edu, Matthias Klose <doko at debian.org>
Resent-To: 	Debian Window Maker Team 
<pkg-wmaker-devel at lists.alioth.debian.org>
Date: 	Tue, 31 Jan 2017 09:36:47 +0000
From: 	Matthias Klose <doko at debian.org>
Reply-To: 	Matthias Klose <doko at debian.org>, 
853707-maintonly at bugs.debian.org
To: 	maintonly at bugs.debian.org



Package: src:wmgtemp
Version: 1.1-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/wmgtemp_1.1-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

[...]
	make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
( cd src && make clean)
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
  dpkg-source -b wmgtemp-1.1
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building wmgtemp using existing ./wmgtemp_1.1.orig.tar.gz
dpkg-source: info: building wmgtemp in wmgtemp_1.1-3.debian.tar.xz
dpkg-source: info: building wmgtemp in wmgtemp_1.1-3.dsc
  debian/rules build
dh build
    dh_testdir
    dh_update_autotools_config
    dh_auto_configure
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" \
	LDFLAGS="-Wl,-z,relro"
	make -j1 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=-Wl,-z,relro
make[2]: Entering directory '/<<PKGBUILDDIR>>'
( cd src && make )
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wmgtemp.c -o wmgtemp.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/wmgeneral.c -o wmgeneral/wmgeneral.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/misc.c -o wmgeneral/misc.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/list.c -o wmgeneral/list.o
gcc wmgtemp.o ./wmgeneral/wmgeneral.o ./wmgeneral/misc.o ./wmgeneral/list.o -Wl,-z,relro -o wmgtemp -lXpm -lXext -lX11 -lsensors
wmgtemp.o: In function `process_xevents':
./src/wmgtemp.c:397: undefined reference to `cycle_temptype'
./src/wmgtemp.c:384: undefined reference to `blank_type'
./src/wmgtemp.c:388: undefined reference to `draw_type'
wmgtemp.o: In function `main':
./src/wmgtemp.c:219: undefined reference to `blank_type'
collect2: error: ld returned 1 exit status
Makefile:19: recipe for target 'wmgtemp' failed
make[3]: *** [wmgtemp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro returned exit code 2
debian/rules:7: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

_______________________________________________
Pkg-wmaker-devel mailing list
Pkg-wmaker-devel at lists.alioth.debian.org
https://lists.alioth.debian.org/mailman/listinfo/pkg-wmaker-devel



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-wmaker-devel/attachments/20170131/65a61bef/attachment.html>


More information about the Pkg-wmaker-devel mailing list