[Pkg-samba-maint] Problems building samba 3.6.0pre2 with experimental CTDB

Christian PERRIER bubulle at debian.org
Sat Apr 16 17:37:20 UTC 2011

Quoting Mathieu Parent (math.parent at gmail.com):

> dpkg-source: info: mise en place de usershare.patch
> dpkg-source: erreur: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E
> -b -B .pc/usershare.patch/ <
> experimental/debian/patches/usershare.patch a produit une erreur de
> sortie de type 1
> patching file docs/manpages/net.8
> Hunk #1 FAILED at 916.
> 1 out of 1 hunk FAILED -- saving rejects to file docs/manpages/net.8.rej
> patching file source3/param/loadparm.c
> Hunk #1 succeeded at 5461 (offset 272 lines).
> dpkg-buildpackage: erreur: dpkg-source -i --before-build experimental
> a produit une erreur de sortie de type 1
> debuild: fatal error at line 1329:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed

This weird error appears when the said patch has an offset wrt current
sources. You can indeed apply the patch manually with quilt....but
dpkg-source can't.

The solution is to apply the patch with quilt, then refresh it. This
is what I have in my local copy, but I haven't committed the refreshed
patch. That explains.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110416/235becdc/attachment.pgp>

More information about the Pkg-samba-maint mailing list