[Parted-maintainers] Bug#701410: parted: ftbfs with eglibc-2.17
Matthias Klose
doko at debian.org
Sat Feb 23 11:35:10 UTC 2013
Package: src:parted
Version: 2.3-12
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:458: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/parted_2.3-12_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
[...]
cd .. && /bin/bash ./config.status lib/config.h
config.status: creating lib/config.h
config.status: lib/config.h is unchanged
/usr/bin/make all-recursive
make[4]: Entering directory `/«PKGBUILDDIR»/build-deb/lib'
cd .. && /usr/bin/make am--refresh
make[5]: Entering directory `/«PKGBUILDDIR»/build-deb'
CDPATH="${ZSH_VERSION+.}:" && cd .. && true -I m4
cd .. && true --gnu
make[5]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make[5]: Entering directory `/«PKGBUILDDIR»/build-deb'
CDPATH="${ZSH_VERSION+.}:" && cd .. && true -I m4
cd .. && true --gnu
make[5]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make[5]: Entering directory `/«PKGBUILDDIR»/build-deb/lib'
cd .. && /usr/bin/make am--refresh
make[6]: Entering directory `/«PKGBUILDDIR»/build-deb'
CDPATH="${ZSH_VERSION+.}:" && cd .. && true -I m4
cd .. && true --gnu
make[6]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make[6]: Entering directory `/«PKGBUILDDIR»/build-deb'
CDPATH="${ZSH_VERSION+.}:" && cd .. && true -I m4
cd .. && true --gnu
make[6]: Leaving directory `/«PKGBUILDDIR»/build-deb'
/bin/bash ../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT close-hook.lo -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.lo ../../lib/close-hook.c
libtool: compile: x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT close-hook.lo -MD -MP -MF .deps/close-hook.Tpo -c ../../lib/close-hook.c -fPIC -DPIC -o .libs/close-hook.o
libtool: compile: x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT close-hook.lo -MD -MP -MF .deps/close-hook.Tpo -c ../../lib/close-hook.c -o close-hook.o >/dev/null 2>&1
mv -f .deps/close-hook.Tpo .deps/close-hook.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT exitfail.lo -MD -MP -MF .deps/exitfail.Tpo -c -o exitfail.lo ../../lib/exitfail.c
libtool: compile: x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT exitfail.lo -MD -MP -MF .deps/exitfail.Tpo -c ../../lib/exitfail.c -fPIC -DPIC -o .libs/exitfail.o
libtool: compile: x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT exitfail.lo -MD -MP -MF .deps/exitfail.Tpo -c ../../lib/exitfail.c -o exitfail.o >/dev/null 2>&1
mv -f .deps/exitfail.Tpo .deps/exitfail.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.lo ../../lib/localcharset.c
libtool: compile: x86_64-linux-gnu-gcc -std=gnu99 -I. -I../../lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c ../../lib/localcharset.c -fPIC -DPIC -o .libs/localcharset.o
In file included from ../../lib/localcharset.c:30:0:
./stdio.h:458:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[5]: *** [localcharset.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib'
make[3]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make[1]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make: *** [build-deb/build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Parted-maintainers
mailing list