Bug#701396: gnutls26: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:34:56 UTC 2013


Package: src:gnutls26
Version: 2.12.20-4
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  ./stdio.h:1029:1: error: 'gets' undeclared here (not in a function)

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/gnutls26_2.12.20-4_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev


[...]
	      -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \
	      -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \
	      -e 's/@''REPLACE_STRTOIMAX''@/0/g' \
	      -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \
	      -e 's/@''INT64_MAX_EQ_LONG_MAX''@/1/g' \
	      -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \
	      -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/1/g' \
	      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
	      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
	      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
	      < ./inttypes.in.h; \
	} > inttypes.h-t && \
	mv inttypes.h-t inttypes.h
/usr/bin/make  all-recursive
make[8]: Entering directory `/«PKGBUILDDIR»/lib/gl/tests'
Making all in .
make[9]: Entering directory `/«PKGBUILDDIR»/lib/gl/tests'
make[9]: Nothing to be done for `all-am'.
make[9]: Leaving directory `/«PKGBUILDDIR»/lib/gl/tests'
make[8]: Leaving directory `/«PKGBUILDDIR»/lib/gl/tests'
make[7]: Leaving directory `/«PKGBUILDDIR»/lib/gl/tests'
make[7]: Entering directory `/«PKGBUILDDIR»/lib/gl'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../intl -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1   -c -o c-ctype.lo c-ctype.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -c c-ctype.c  -fPIC -DPIC -o .libs/c-ctype.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -c c-ctype.c -o c-ctype.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../intl -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1   -c -o fd-hook.lo fd-hook.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -c fd-hook.c  -fPIC -DPIC -o .libs/fd-hook.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -c fd-hook.c -o fd-hook.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../intl -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1   -c -o read-file.lo read-file.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -c read-file.c  -fPIC -DPIC -o .libs/read-file.o
In file included from read-file.h:25:0,
                 from read-file.c:20:
./stdio.h:1029:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[7]: *** [read-file.lo] Error 1
make[7]: Leaving directory `/«PKGBUILDDIR»/lib/gl'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/«PKGBUILDDIR»/lib/gl'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/«PKGBUILDDIR»/lib/gl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-gnutls-maint mailing list