[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957353: ifhp: ftbfs with GCC-10



Package: src:ifhp
Version: 3.5.20-16
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/ifhp_3.5.20-16_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

[...]
config.status: creating src/extract_pjl
config.status: creating src/wrapper
config.status: creating po/Makefile.in
config.status: creating config.h
./config.status: 1: cd: can't cd to /sbuild-nonexistent
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
touch configure-stamp
dh_testdir
/usr/bin/make LDFLAGS=`dpkg-buildflags --get LDFLAGS`
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f ifhp.conf
sed \
	-e "s,.CAT@,/bin/cat,g" \
	-e "s,.FILTER_DIR@,/usr/lib/ifhp,g" \
	-e "s,.A2PS@,/usr/bin/a2ps,g" \
	-e "s,.GS@,/usr/bin/gs,g" \
	-e "s,.GZIP@,/bin/gzip,g" \
	-e "s,.FILEUTIL@,/usr/bin/file,g" \
	-e "s,.PAGE_SIZE@,letter,g" \
	-e "s,.FONT_DIR@,/usr/libexec/filters/fonts,g" \
	-e "s,.DEVFD3@,/dev/fd/3,g" \
	-e "s,.FOOMATIC@,1,g" \
	-e "s,.FOOMATIC_RIP@,/usr/bin/foomatic-rip,g" \
		./ifhp.conf.in >ifhp.conf
if [ "src" = po ] ; then \
    for i in po/Makefile* ; do \
	if [ -f "$i" ] ; then \
	    if grep '^mkinstalldirs.*=.*case' $i ; then \
		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
	    fi \
	fi \
    done \
fi
if [ "src" != po -o "no" != "no" ] ; then \
	cd src; /usr/bin/make localedir=/usr/share/locale \
	DESTDIR= all ; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o ifhp.o ifhp.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o accounting.o accounting.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o checkcode.o checkcode.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o debug.o debug.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o errormsg.o errormsg.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o globmatch.o globmatch.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o open_device.o open_device.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o perlobj.o perlobj.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o plp_snprintf.o plp_snprintf.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o safemalloc.o safemalloc.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o safestrutil.o safestrutil.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o stty.o stty.c
gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o vars.o vars.c
gcc -Wl,-z,relro -o ifhp ifhp.o accounting.o checkcode.o debug.o errormsg.o globmatch.o open_device.o perlobj.o plp_snprintf.o safemalloc.o safestrutil.o stty.o vars.o -lnsl 
/usr/bin/ld: accounting.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: checkcode.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: debug.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: errormsg.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: globmatch.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: open_device.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: stty.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
/usr/bin/ld: vars.o:./src/ifhp.h:86: multiple definition of `Peek_char'; ifhp.o:./src/ifhp.h:86: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:84: ifhp] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:52: src] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: