[Debian-med-packaging] Bug#643478: g2: FTBFS: dpkg-buildpackage: error: dpkg-source --after-build g2-0.72 gave error exit status 1

Didier Raboud odyx at debian.org
Tue Sep 27 13:02:02 UTC 2011


Source: g2
Version: 0.72-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs dpkg-source-exit-1
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> dpkg-genchanges: including full source code in upload
>  dpkg-source --after-build g2-0.72
> dpkg-source: info: unapplying stabelise_makefile.diff
> dpkg-source: error: LC_ALL=C patch -R -t -N -p1 -u -V never -g0 -E --no-backup-if-mismatch < g2-0.72/debian/patches/stabelise_makefile.diff gave error exit status 1
> patching file Makefile
> Hunk #2 FAILED at 21.
> 1 out of 6 hunks FAILED -- saving rejects to file Makefile.rej
> dpkg-buildpackage: error: dpkg-source --after-build g2-0.72 gave error exit status 1
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20110924-0045

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/g2_0.72-2_lsid64.buildlog

This is probably due to special hand-fiddling with debian/patches/* 
quilt series. With dpkg >= 1.16.0, "When dpkg-source automatically applies
patches at the start of the build process, it will also automatically unapply
them at the end of a successful build." [0]

[0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.


More information about the Debian-med-packaging mailing list