Source: lookup
Version: 1.08b-10
Severity: serious
User: debian...@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 -Wall -g -DUSE_VSNPRINTF -O3   -c -o lookup.o lookup.c
> In file included from lookup.c:27:
> lib/input.h:30: warning: return type defaults to 'int'
> lib/input.h: In function 'next_cooked_input_byte':
> lib/input.h:46: warning: implicit declaration of function 
> 'set_tty_state_to_cbreak'
> lib/input.h:48: warning: implicit declaration of function 'reset_tty_state'
> lookup.c: In function 'expand_filename_tilde':
> lookup.c:43: warning: passing argument 1 of 'free' discards qualifiers from 
> pointer target type
> lookup.c: At top level:
> lookup.c:80: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
> lookup.c: In function 'getline':
> lookup.c:124: warning: implicit declaration of function 
> 'set_normal_output_file'
> lookup.c: At top level:
> lookup.c:721: warning: function definition has qualified void return type
> lookup.c: In function 'get_window_size_bsd':
> lookup.c:782: warning: implicit declaration of function 'set_jreadline_width'
> lookup.c:787: warning: passing argument 2 of 'signal' from incompatible 
> pointer type
> lookup.c: In function 'startup':
> lookup.c:1349: warning: passing argument 2 of 'signal' from incompatible 
> pointer type
> make[1]: *** [lookup.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2009/10/28/lookup_1.08b-10_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
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to