[Pkg-nagios-devel] Bug#701406: nagios-plugins: ftbfs with eglibc-2.17
Matthias Klose
doko at debian.org
Sat Feb 23 11:35:06 UTC 2013
Package: src:nagios-plugins
Version: 1.4.16-1
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:456: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/nagios-plugins_1.4.16-1_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 '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./wchar.in.h; \
} > wchar.h-t && \
mv wchar.h-t wchar.h
rm -f wctype.h-t wctype.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE_WCTYPE_H''@/1/g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''NEXT_WCTYPE_H''@|<wctype.h>|g' \
-e 's/@''HAVE_ISWBLANK''@/1/g' \
-e 's/@''HAVE_ISWCNTRL''@/1/g' \
-e 's/@''HAVE_WINT_T''@/1/g' \
-e 's/@''REPLACE_ISWCNTRL''@/0/g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./wctype.in.h; \
} > wctype.h-t && \
mv wctype.h-t wctype.h
/usr/bin/make all-recursive
make[4]: Entering directory `/«PKGBUILDDIR»/gl'
make[5]: Entering directory `/«PKGBUILDDIR»/gl'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
mv -f .deps/base64.Tpo .deps/base64.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT close-hook.o -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.o close-hook.c
mv -f .deps/close-hook.Tpo .deps/close-hook.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT exitfail.o -MD -MP -MF .deps/exitfail.Tpo -c -o exitfail.o exitfail.c
mv -f .deps/exitfail.Tpo .deps/exitfail.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT full-read.o -MD -MP -MF .deps/full-read.Tpo -c -o full-read.o full-read.c
mv -f .deps/full-read.Tpo .deps/full-read.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT full-write.o -MD -MP -MF .deps/full-write.Tpo -c -o full-write.o full-write.c
mv -f .deps/full-write.Tpo .deps/full-write.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -g -O2 -MT localcharset.o -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.o localcharset.c
In file included from localcharset.c:26:0:
./stdio.h:456: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.o] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/gl'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/gl'
make[3]: Leaving directory `/«PKGBUILDDIR»/gl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Pkg-nagios-devel
mailing list