Bug#957937: wmbiff: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:13:17 BST 2020
Package: src:wmbiff
Version: 0.4.35-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/wmbiff_0.4.35-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
[...]
dh_auto_build
make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in wmgeneral
make[3]: Entering directory '/<<PKGBUILDDIR>>/wmgeneral'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o misc.o misc.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o wmgeneral.o wmgeneral.c
rm -f libwmgeneral.a
ar cru libwmgeneral.a misc.o wmgeneral.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libwmgeneral.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/wmgeneral'
Making all in wmbiff
make[3]: Entering directory '/<<PKGBUILDDIR>>/wmbiff'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o wmbiff.o wmbiff.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o socket.o socket.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o Pop3Client.o Pop3Client.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o mboxClient.o mboxClient.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o maildirClient.o maildirClient.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o Imap4Client.o Imap4Client.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o tlsComm.o tlsComm.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o ShellClient.o ShellClient.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o passwordMgr.o passwordMgr.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o charutil.o charutil.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o regulo.o regulo.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o MessageList.o MessageList.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o gnutls-common.o gnutls-common.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o test_wmbiff.o test_wmbiff.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -c -o test_tlscomm.o test_tlscomm.c
gnutls-common.c: In function ‘print_info’:
gnutls-common.c:449:2: warning: ‘gnutls_compression_get_name’ is deprecated [-Wdeprecated-declarations]
449 | tmp = gnutls_compression_get_name(gnutls_compression_get(session));
| ^~~
In file included from /usr/include/gnutls/gnutls.h:3432,
from gnutls-common.c:6:
/usr/include/gnutls/compat.h:228:1: note: declared here
228 | gnutls_compression_get_name(gnutls_compression_method_t
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gnutls-common.c:449:2: warning: ‘gnutls_compression_get’ is deprecated [-Wdeprecated-declarations]
449 | tmp = gnutls_compression_get_name(gnutls_compression_get(session));
| ^~~
In file included from /usr/include/gnutls/gnutls.h:3432,
from gnutls-common.c:6:
/usr/include/gnutls/compat.h:225:1: note: declared here
225 | gnutls_compression_get(gnutls_session_t session) _GNUTLS_GCC_ATTR_DEPRECATED;
| ^~~~~~~~~~~~~~~~~~~~~~
egrep -v '^"[:%][[:space:]]c #' < wmbiff-master-led.xpm | \
sed -e 's/:/./g' -e 's/%/$/g' -e 's/ 15 / 13 /' | \
sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
> wmbiff-master-contrast.xpm || rm wmbiff-master-contrast.xpm
egrep -v '^"[:%][[:space:]]c #' < wmbiff-classic-master-led.xpm | \
sed -e 's/:/./g' -e 's/%/$/g' -e 's/ 15 / 13 /' | \
sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
> wmbiff-classic-master-contrast.xpm || rm wmbiff-classic-master-contrast.xpm
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o test_tlscomm test_tlscomm.o tlsComm.o -lXpm -lXext -lX11 -lresolv -lnsl -lgnutls
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o test_wmbiff ShellClient.o charutil.o test_wmbiff.o passwordMgr.o Imap4Client.o regulo.o Pop3Client.o tlsComm.o socket.o -L/usr/lib/x86_64-linux-gnu -lgcrypt -lXpm -lXext -lX11 -lresolv -lnsl -lgnutls
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o wmbiff wmbiff.o socket.o Pop3Client.o mboxClient.o maildirClient.o Imap4Client.o tlsComm.o ShellClient.o passwordMgr.o charutil.o regulo.o MessageList.o -L../wmgeneral -lwmgeneral -L/usr/lib/x86_64-linux-gnu -lgcrypt gnutls-common.o -lXpm -lXext -lX11 -lresolv -lnsl -lgnutls
/usr/bin/ld: ../wmgeneral/libwmgeneral.a(wmgeneral.o):./wmgeneral/wmgeneral.h:39: multiple definition of `display'; wmbiff.o:./wmbiff/../wmgeneral/wmgeneral.h:39: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:634: wmbiff] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/wmbiff'
make[2]: *** [Makefile:396: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:337: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-wmaker-devel
mailing list