[Pkg-libvirt-maintainers] Bug#821107: libvirt-sandbox: FTBFS: hardcodes usr/lib/x86_64-linux-gnu/*.a

Aaron M. Ucko amu at alum.mit.edu
Fri Apr 15 15:59:36 UTC 2016


Source: libvirt-sandbox
Version: 0.5.1+git20151113-2
Severity: important
Justification: fails to build from source

Builds of libvirt-sandbox for architectures other than amd64 have been failing
due to a hardcoded multiarch directory name:

     dh_install -a -O--buildsystem=autoconf
  dh_install: Cannot find (any matches for) "usr/lib/x86_64-linux-gnu/*.a" (tried in "." and "debian/tmp")
  dh_install: libvirt-sandbox-1.0-dev missing files: usr/lib/x86_64-linux-gnu/*.a
  dh_install: missing files, aborting
  debian/rules:21: recipe for target 'binary-arch' failed
  make: *** [binary-arch] Error 2

Please generalize the pattern to match all possible tuples (usr/lib/*-*/*.a),
or at least all Linux tuples (usr/lib/*-linux-gnu*/*.a).  It looks like the
latter should suffice at the moment, since the package won't build on
non-Linux architectures anyway.  (At a minimum, libcap-ng-dev is Linux-only.)

Thanks!



More information about the Pkg-libvirt-maintainers mailing list