Bug#456847: gpm: FTBFS: error: 'OPEN_MAX' undeclared (first use in this function)

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Dec 18 08:01:47 UTC 2007


Package: gpm
version: 1.19.6-25
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20071217 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

Relevant part:

 > make[2]: Entering directory `/build/user/gpm-1.19.6/build-tree/gpm-1.19.6/src'
 > gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\" -Wall  -Wall -g -D_REENTRANT -O2  -c -o gpm.o gpm.c
 > gpm.c: In function 'selection_copy':
 > gpm.c:217: warning: implicit declaration of function 'time'
 > gpm.c: In function 'getMouseData':
 > gpm.c:340: warning: pointer targets in initialization differ in signedness
 > gpm.c:361: warning: pointer targets in return differ in signedness
 > gpm.c:399: warning: pointer targets in return differ in signedness
 > gpm.c: In function 'processMouse':
 > gpm.c:453: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness
 > gpm.c: In function 'main':
 > gpm.c:1165: warning: value computed is not used
 > gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\" -Wall  -Wall -g -D_REENTRANT -O2  -c -o gpn.o gpn.c
 > gpn.c: In function 'loadlut':
 > gpn.c:116: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness
 > gpn.c:118: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness
 > gpn.c: In function 'cmdline':
 > gpn.c:380: warning: implicit declaration of function 'M_listMice'
 > gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\" -Wall  -Wall -g -D_REENTRANT -O2  -c -o mice.o mice.c
 > mice.c:173: warning: type qualifiers ignored on function return type
 > mice.c: In function 'option_modem_lines':
 > mice.c:186: warning: pointer targets in initialization differ in signedness
 > mice.c:187: warning: pointer targets in initialization differ in signedness
 > mice.c:188: warning: pointer targets in initialization differ in signedness
 > mice.c: At top level:
 > mice.c:755: warning: missing braces around initializer
 > mice.c:755: warning: (near initialization for 'wcmodell[0]')
 > mice.c: In function 'M_gunze':
 > mice.c:1293: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
 > gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\" -Wall  -Wall -g -D_REENTRANT -O2  -c -o special.o special.c
 > special.c: In function 'processSpecial':
 > special.c:158: error: 'OPEN_MAX' undeclared (first use in this function)
 > special.c:158: error: (Each undeclared identifier is reported only once
 > special.c:158: error: for each function it appears in.)
 > make[2]: *** [special.o] Error 1
 > make[2]: Leaving directory `/build/user/gpm-1.19.6/build-tree/gpm-1.19.6/src'
 > make[1]: *** [do-all] Error 1
 > make[1]: Leaving directory `/build/user/gpm-1.19.6/build-tree/gpm-1.19.6'
 > 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/2007/12/17

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-gpm-devel mailing list