Bug#960615: libbssolv-perl: Build-Depends on cruft package libsolv0-dev

gregor herrmann gregoa at debian.org
Fri May 15 16:39:17 BST 2020


Control: retitle -1 libbssolv-perl: Build-Depends on cruft package libsolv0-dev and FTBFS with libsolv-dev 0.7.11-1
Control: tag -1 + upstream confirmed

On Thu, 14 May 2020 10:05:29 -0700, Daniel Schepler wrote:

> The source package libbssolv-perl Build-Depends on libsolv0-dev,
> whereas the current version of src:libsolv builds only libsolv1-dev.

(Actually libsolv-dev.)

And it fails to build with libsolv-dev 0.7.11-1:

   dh_auto_build
        make -j4
make[1]: Entering directory '/build/libbssolv-perl-0.17'
Running Mkbootstrap for BSSolv ()
"/usr/bin/perl" "/usr/share/perl/5.30/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.30/ExtUtils/typemap' -typemap '/build/
chmod 644 "BSSolv.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- BSSolv.bs blib/arch/auto/BSSolv/BSSolv.bs 644
cp BSSolv.pm blib/lib/BSSolv.pm
mv BSSolv.xsc BSSolv.c
x86_64-linux-gnu-gcc -c  -I/usr/include/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/solv -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
BSSolv.xs:18:10: fatal error: solvversion.h: No such file or directory
   18 | #include "solvversion.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:334: BSSolv.o] Error 1
make[1]: Leaving directory '/build/libbssolv-perl-0.17'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Aha, this looks like it's caused by debian/patches/2001_libsolv-dev-installs-to-multiarch-dest.patch.

Indeed, disabling the patch makes the build and the tests succeed.

Cheers,
gregor, uploading shortly

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Josh With: My father is a husbandman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200515/af3cf1e8/attachment.sig>


More information about the pkg-perl-maintainers mailing list