Bug#766136: libcap-ng: Python build error, didn't fail build -> empty bindings
severity 766136 normal tags 766136 + moreinfo unreproducible thanks On Tue, Oct 21, 2014 at 07:46:20AM +0100, David Halls wrote: > I tried 'import capng' from Python, failed to import. > Traced the problem down to libcap-ng's build has an error. > See > > https://buildd.debian.org/status/fetch.php?pkg=libcap- > ng&arch=i386&ver=0.7.4-2&stamp=1408698790 > > and search for 'error:'. You'll see > > libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o > -lpython2.7 -L/«PKGBUILDDIR»/debian/tmp-python-cap-ng/usr/lib/i386-linux-gnu > -L/usr/lib/i386-linux-gnu -lcap-ng -O2 -Wl,-z -Wl,relro -Wl,-soname > -Wl,_capng.so -o .libs/_capng.so > /usr/bin/ld: cannot find -lcap-ng > >* What exactly did you do (or not do) that was effective (or > ineffective)? > > Rebuilt package on my machine. This works because the .so is already installed > so the -lcap-ng can find it. > Hi, I tried the following tests: - rebuilding libcap-ng: .so is present in the resulting deb - install python-cap-ng (the deb from jessie/sid, not the one from from the previous build) and run python -c 'import capng': no error So it may have been a temporary error, fixed since. I'm just tagging the bug as moreinfo, waiting if you can confirm that the bug is not present for you. Regards, Pierre -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#766136: libcap-ng: Python build error, didn't fail build -> empty bindings
Source: libcap-ng Version: 0.7.4-2 Severity: important Dear Maintainer, * What led up to the situation? I tried 'import capng' from Python, failed to import. Traced the problem down to libcap-ng's build has an error. See https://buildd.debian.org/status/fetch.php?pkg=libcap- ng&arch=i386&ver=0.7.4-2&stamp=1408698790 and search for 'error:'. You'll see libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o -lpython2.7 -L/«PKGBUILDDIR»/debian/tmp-python-cap-ng/usr/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -lcap-ng -O2 -Wl,-z -Wl,relro -Wl,-soname -Wl,_capng.so -o .libs/_capng.so /usr/bin/ld: cannot find -lcap-ng * What exactly did you do (or not do) that was effective (or ineffective)? Rebuilt package on my machine. This works because the .so is already installed so the -lcap-ng can find it. * What was the outcome of this action? I was able to install my locally built .deb with gdebi and it had the python bindings in -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-37-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org