Bug#710635: pynac: FTBFS: ld: cannot find -lz

David Suárez david.sephirot at gmail.com
Fri May 31 22:15:07 UTC 2013


Source: pynac
Version: 0.2.6-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> gcc: fatal error: no input files
> compilation terminated.
> configure:3443: $? = 4
> configure:3463: checking whether the C compiler works
> configure:3485: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -Wl,-z,relro -Wl,--as-needed conftest.c  >&5
> configure:3489: $? = 0
> configure:3537: result: yes
> configure:3540: checking for C compiler default output file name
> configure:3542: result: a.out
> configure:3548: checking for suffix of executables
> configure:3555: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -Wl,-z,relro -Wl,--as-needed conftest.c  >&5
> configure:3559: $? = 0
> configure:3581: result: 
> configure:3603: checking whether we are cross compiling
> configure:3611: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -Wl,-z,relro -Wl,--as-needed conftest.c  >&5
> configure:3615: $? = 0
> configure:3622: ./conftest
> configure:3626: $? = 0
> configure:3641: result: no
> configure:3646: checking for suffix of object files
> configure:3668: gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE conftest.c >&5
> configure:3672: $? = 0
> configure:3693: result: o
> configure:3697: checking whether we are using the GNU C compiler
> configure:3716: gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE conftest.c >&5
> configure:3716: $? = 0
> configure:3725: result: yes
> configure:3734: checking whether gcc accepts -g
> configure:3754: gcc -c -g -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE conftest.c >&5
> configure:3754: $? = 0
> configure:3795: result: yes
> configure:3812: checking for gcc option to accept ISO C89
> configure:3875: gcc  -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE conftest.c >&5
> configure:3875: $? = 0
> configure:3888: result: none needed
> configure:3910: checking dependency style of gcc
> configure:4021: result: none
> configure:4045: checking for python
> configure:4063: found /usr/bin/python
> configure:4075: result: /usr/bin/python
> configure:4091: checking for a version of Python >= '2.1.0'
> configure:4117: result: yes
> configure:4148: checking for the distutils Python package
> configure:4152: result: yes
> configure:4166: checking for Python include path
> configure:4176: result: -I/usr/include/python2.7
> configure:4183: checking for Python library path
> configure:4268: result: -L/usr/lib -lpython2.7
> configure:4275: checking for Python site-packages path
> configure:4281: result: /usr/lib/python2.7/dist-packages
> configure:4288: checking python extra libraries
> configure:4295: result: -L/usr/lib -lz -lpthread -ldl  -lutil
> configure:4302: checking python extra linking flags
> configure:4309: result: -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
> configure:4316: checking consistency of all components of python development environment
> configure:4342: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -I/usr/include/python2.7 -Wl,-z,relro -Wl,--as-needed conftest.c  -L/usr/lib -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -lz -lpthread -ldl  -lutil >&5
> /usr/bin/ld: cannot find -lz
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/pynac_0.2.6-1_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list