Bug#569626: nauty FTBFS: conflicting types for 'getline'

Kamal Mostafa kamal at whence.com
Fri Feb 12 22:14:48 UTC 2010


Package: nauty
Version: 2.4~b7-2
Severity: important
Tags: patch
Justification: fails to build from source
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch


https://bugs.launchpad.net/ubuntu/+source/nauty/+bug/521190

http://launchpadlibrarian.net/39035800/buildlog_ubuntu-lucid-i386.nauty_2.4~b7-2_FAILEDTOBUILD.txt.gz

gcc -c -g -O2 gtools.c
In file included from gtools.c:6:
gtools.h:159: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
gtools.c:375: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
gtools.c: In function 'gt_abort':
gtools.c:1835: warning: format not a string literal and no format arguments
make[2]: *** [gtools.o] Error 1


-----

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS: gtools.c getline renamed to gtools_getline. (LP: #521190)

We thought you might be interested in doing the same. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp5W0kRK
Type: text/x-diff
Size: 4188 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100212/cc56df26/attachment-0001.diff>


More information about the debian-science-maintainers mailing list