Package: src:pion
Version: 5.0.7+dfsg-3
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
make[4]: Entering directory '/<<BUILDDIR>>/pion-5.0.7+dfsg'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'/<<BUILDDIR>>/pion-5.0.7+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 pion.pc 
'/<<BUILDDIR>>/pion-5.0.7+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig'
make[4]: Leaving directory '/<<BUILDDIR>>/pion-5.0.7+dfsg'
make[3]: Leaving directory '/<<BUILDDIR>>/pion-5.0.7+dfsg'
make[2]: Leaving directory '/<<BUILDDIR>>/pion-5.0.7+dfsg'
cp /<<BUILDDIR>>/pion-5.0.7+dfsg/services/*.hpp 
/<<BUILDDIR>>/pion-5.0.7+dfsg/debian/libpion-dev/usr/include/pion/plugins/
cp: target 
'/<<BUILDDIR>>/pion-5.0.7+dfsg/debian/libpion-dev/usr/include/pion/plugins/' is 
not a directory
debian/rules:49: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/pion-5.0.7+dfsg'
debian/rules:32: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

This happens because we are creating arch-independent packages only,
so debian/libpion-dev/[...] does not exist.

Trivial (but untested) patch follows.

Please consider uploading in source-only form so that this kind of bugs are 
discovered
early and do not propagate to testing. As a bonus, we would get official build 
logs
for the Arch:all architecture here:

https://buildd.debian.org/status/package.php?p=pion

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ override_dh_auto_build:
        # We don't want upstream embedding jquery, which we will link later
        rm -f $(CURDIR)/doc/html/jquery.js
 
-override_dh_auto_install:
+override_dh_auto_install-arch:
        dh_auto_install
        cp $(CURDIR)/services/*.hpp 
$(CURDIR)/debian/libpion-dev/usr/include/pion/plugins/
 

Reply via email to