[Pkg-samba-maint] Bug#818146: samba: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

Santiago Vila sanvila at unex.es
Thu Mar 31 10:24:10 UTC 2016

On Mon, 14 Mar 2016, Santiago Vila wrote:

> sed -i 's|/etc/sysconfig/|/etc/default/|' /<<BUILDDIR>>/samba-4.3.6+dfsg/debian/ctdb/usr/share/doc/ctdb/web/*.html
> sed: can't read /<<BUILDDIR>>/samba-4.3.6+dfsg/debian/ctdb/usr/share/doc/ctdb/web/*.html: No such file or directory

Explanation: When using "dpkg-buildpackage -A", we are creating
architecture-independent packages only, so debian/ctdb does not exist.

But everything in override_dh_installdocs is for ctdb, which is Arch: any,
so the trivial fix is to override dh_installdocs only for architecture
dependent packages.

The attached patch might work, please test it.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: samba.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20160331/76e28cc5/attachment-0002.txt>

More information about the Pkg-samba-maint mailing list