[Pkg-nagios-devel] Bug#462509: nagios-plugins: FTBFS: check_pgsql.c:71: error: 'NAMEDATALEN' undeclared here (not in a function)

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Jan 25 10:13:14 UTC 2008


Package: nagios-plugins
version: 1.4.10-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080122 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:

 > /bin/sh ../libtool --tag=CC --mode=link i486-linux-gnu-gcc  -Wall -g -O2  -L. -L/usr/lib -o negate  negate.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a 
 > i486-linux-gnu-gcc -Wall -g -O2 -o negate negate.o utils.o  -L/build/user/nagios-plugins-1.4.10/plugins -L/usr/lib ../lib/libnagiosplug.a ../gl/libgnu.a
 > if i486-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/postgresql -I/usr/include    -Wall -g -O2 -MT urlize.o -MD -MP -MF ".deps/urlize.Tpo" -c -o urlize.o urlize.c; \
 > 	then mv -f ".deps/urlize.Tpo" ".deps/urlize.Po"; else rm -f ".deps/urlize.Tpo"; exit 1; fi
 > /bin/sh ../libtool --tag=CC --mode=link i486-linux-gnu-gcc  -Wall -g -O2  -L. -L/usr/lib -o urlize  urlize.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o 
 > i486-linux-gnu-gcc -Wall -g -O2 -o urlize urlize.o utils.o popen.o  -L/build/user/nagios-plugins-1.4.10/plugins -L/usr/lib ../lib/libnagiosplug.a ../gl/libgnu.a
 > if i486-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/postgresql -I/usr/include    -Wall -g -O2 -MT check_pgsql.o -MD -MP -MF ".deps/check_pgsql.Tpo" -c -o check_pgsql.o check_pgsql.c; \
 > 	then mv -f ".deps/check_pgsql.Tpo" ".deps/check_pgsql.Po"; else rm -f ".deps/check_pgsql.Tpo"; exit 1; fi
 > check_pgsql.c:71: error: 'NAMEDATALEN' undeclared here (not in a function)
 > check_pgsql.c: In function 'is_pg_dbname':
 > check_pgsql.c:343: warning: unused variable 'tmp'
 > check_pgsql.c:342: warning: unused variable 'txt'
 > make[3]: *** [check_pgsql.o] Error 1
 > make[3]: Leaving directory `/build/user/nagios-plugins-1.4.10/plugins'
 > make[2]: *** [all-recursive] Error 1
 > make[2]: Leaving directory `/build/user/nagios-plugins-1.4.10'
 > make[1]: *** [all] Error 2
 > make[1]: Leaving directory `/build/user/nagios-plugins-1.4.10'
 > make: *** [build-stamp] Error 2
 > dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The full build log is available from:
	http://people.debian.org/~lucas/logs/2008/01/22

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-nagios-devel mailing list