[Debian-med-packaging] Bug#934467: Meson build system leads to missing library for linker (Was: Bug#934467: pbbam FTBFS with nocheck profile: cram3 missing)

Phil Wyett philip.wyett at kathenas.org
Thu Dec 19 09:24:38 GMT 2019


On Thu, 2019-12-19 at 09:54 +0100, Andreas Tille wrote:
> Control: tags -1 pending
> 
> Hi,
> 
> I have a problem with latest version of pbbam[1] where upstream
> switched
> to meson as build system.  I get:
> 
> 
> ...
> ...  'src/25a6634@@pbbam at sha/          vcf_VcfWriter.cpp.o'
> 'src/25a6634@@pbbam at sha/pugixml_pugixml.cpp.o' -Wl,--as-needed -Wl,
> --no-undefined -shared -fPIC -Wl,--start-group -Wl,-
> soname,libpbbam.so.1.0.6 -g -O2 -fdebug-prefix-map=/build/pbbam-
> 1.0.6+  dfsg=. -fstack-protector-strong -Wformat -Werror=format-
> security -Wl,-z,relro -Wl,-z,now -pthread /usr/lib/x86_64-linux-
> gnu/libz.so /usr/lib/x86_64-linux-gnu/libhts.so -lpbcopper -Wl,--end-
> group
> /usr/bin/ld: cannot find -lpbcopper
> 
> 
> In the pbuilder chroot everything seems to be prepared to find
> libpbcopper:
> 
> root:/# find /usr/lib/x86_64-linux-gnu -name "*pbcopper*"
> /usr/lib/x86_64-linux-gnu/libpbcopper.so
> /usr/lib/x86_64-linux-gnu/pkgconfig/pbcopper.pc
> root:/# pkg-config --libs pbcopper
> -lpbcopper
> 
> 
> Am I missing something?
> 
> Kind regards
> 
>        Andreas.
> 
> 
> [1] https://salsa.debian.org/med-team/pbbam
> 

Hi,

Basic build clean in a sid pbuilder created using:

sudo pbuilder create --debootstrapopts --variant=buildd

The only failure(s) I see are the post build tests:

# Ran 8 tests, 0 skipped, 6 failed.
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/pbbam-1.0.6+dfsg'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
I: copying local configuration
E: Failed autobuilding of package

Regards

Phil

-- 

*** Playing the game for the games sake. ***

Twitter: @kathenasorg

IRC: kathenas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20191219/b3d615b3/attachment.sig>


More information about the Debian-med-packaging mailing list