[Pkg-varnish-devel] Bug#806120: varnish: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Santiago Vila
sanvila at unex.es
Mon Mar 28 12:20:00 UTC 2016
> debian/rules override_dh_install
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_install -a --fail-missing
> dh_install: No packages to build.
> install -o root -g root -m 755 \
> /<<PKGBUILDDIR>>/debian/reload-vcl \
> /<<PKGBUILDDIR>>/debian/varnish/usr/share/varnish/reload-vcl
> install: cannot create regular file '/<<PKGBUILDDIR>>/debian/varnish/usr/share/varnish/reload-vcl': No such file or directory
This happens because debian/varnish/[...] does not exist, because when
using "dpkg-buildpackage -A" we are creating architecture-independent
packages only (which "varnish" is not).
The easy fix is to override dh_install only when creating
architecture-dependent packages.
Patch attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: varnish.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20160328/776e4a97/attachment.txt>
More information about the Pkg-varnish-devel
mailing list