Bug#643487: maven-ant-tasks: FTBFS: dpkg-buildpackage: error: dpkg-source --after-build maven-ant-tasks-2.0.10 gave error exit status 1

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


Source: maven-ant-tasks
Version: 2.0.10-1
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 maven-ant-tasks-2.0.10
> dpkg-source: info: unapplying 01-pom-shading-changes
> dpkg-source: error: LC_ALL=C patch -R -t -N -p1 -u -V never -g0 -E --no-backup-if-mismatch < maven-ant-tasks-2.0.10/debian/patches/01-pom-shading-changes gave error exit status 1
> patching file pom.xml
> Hunk #1 FAILED at 22.
> Hunk #2 FAILED at 52.
> Hunk #3 FAILED at 87.
> Hunk #4 FAILED at 141.
> 4 out of 4 hunks FAILED -- saving rejects to file pom.xml.rej
> dpkg-buildpackage: error: dpkg-source --after-build maven-ant-tasks-2.0.10 gave error exit status 1
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20110924-0029

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/maven-ant-tasks_2.0.10-1_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 pkg-java-maintainers mailing list