[Pkg-gridengine-devel] Bug#552833: gridengine: FTBFS: ../def.h:158: error: conflicting types for 'getline'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Oct 28 10:33:13 UTC 2009
Source: gridengine
Version: 6.2-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091028 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
In eglibc <= 2.9, getline was only defined if _GNU_SOURCE was defined.
In eglibc 2.10, getline is always defined (since it became a standard in
POSIX2008). The problem is that your package already has a function
named getline(), which now conflicts with glibc's. You need to rename
your function to something else.
Ubuntu already fixed many occurences of your problem, so it is possible
that an Ubuntu patch is available for your package. Look at the PTS to
find out.
Relevant part:
> gcc -c -Wall -Wstrict-prototypes -D__GRIDENGINE_FD_SETSIZE=8192 -DLINUX -DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -g -DSGE_LOCK_DEBUG -DLOAD_OPENSSL -I/usr/include/ -DSGE_ARCH_STRING=lx26-amd64 -DTARGET_64BIT -DSPOOLING_berkeleydb -DSECURE -I/usr/include -Wno-strict-aliasing -DNO_JNI -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__ -D__SGE_NO_USERMAPPING__ -Wno-strict-prototypes -Wno-error -DHAVE_MEMMOVE -DXMT_HAS_STRERROR -I../3rdparty/qmon/Xmt310 -I../3rdparty/qmon/Xbae -I../3rdparty/qmon/iconlist -I../3rdparty/qmon/ltree -I../3rdparty/qmon/outline -I../3rdparty/qmon/rowcol -I../3rdparty/qmon/spinbox -I../clients/qmon -I../3rdparty/qmon/tab -I/usr/X11R6/include -U_GNU_SOURCE -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" ../pr.c
> In file included from ../include.c:29:
> ../def.h:158: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> In file included from ../main.c:29:
> ../def.h:158: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> In file included from ../parse.c:29:
> ../def.h:158: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> In file included from ../pr.c:29:
> ../def.h:158: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> ../main.c:513: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> make[1]: *** [include.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/10/28/gridengine_6.2-4_lsid64.buildlog
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. 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-gridengine-devel
mailing list