Bug#643488: petsc: FTBFS: dpkg-buildpackage: error: dpkg-source --after-build petsc-3.1.dfsg gave error exit status 1

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


Source: petsc
Version: 3.1.dfsg-11
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 petsc-3.1.dfsg
> dpkg-source: info: unapplying ld.patch
> dpkg-source: info: unapplying mumps.patch
> dpkg-source: info: unapplying configure-kfreebsd8.patch
> dpkg-source: info: unapplying clean-no-double-colon.patch
> dpkg-source: info: unapplying sprng-2.patch
> dpkg-source: info: unapplying lib-versions.patch
> dpkg-source: info: unapplying example-src-dir.patch
> dpkg-source: info: unapplying docs.patch
> dpkg-source: info: unapplying build-no-rpath.patch
> dpkg-source: info: unapplying build-debug-nowarn.patch
> dpkg-source: info: unapplying restore-upstream.patch
> patching file conf/petscvariables
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file conf/petscvariables.rej
> patching file config/BuildSystem/config/packages/config.guess
> dpkg-source: error: LC_ALL=C patch -R -t -N -p1 -u -V never -g0 -E --no-backup-if-mismatch < petsc-3.1.dfsg/debian/patches/restore-upstream.patch gave error exit status 1
> Hunk #1 FAILED at 1.
> Hunk #3 FAILED at 54.
> Hunk #10 FAILED at 299.
> Hunk #11 succeeded at 346 (offset 3 lines).
> Hunk #12 succeeded at 380 (offset 3 lines).
> Hunk #13 succeeded at 395 (offset 3 lines).
> Hunk #14 FAILED at 406.
> Hunk #15 succeeded at 466 with fuzz 2 (offset 3 lines).
> Hunk #16 FAILED at 504.
> Hunk #17 succeeded at 537 (offset 3 lines).
> Hunk #18 FAILED at 549.
> Hunk #19 succeeded at 577 (offset 3 lines).
> Hunk #20 succeeded at 660 (offset 3 lines).
> Hunk #21 succeeded at 670 (offset 3 lines).
> Hunk #22 FAILED at 699.
> Hunk #23 FAILED at 948.
> Hunk #24 succeeded at 1001 with fuzz 2 (offset 12 lines).
> Hunk #25 FAILED at 1017.
> Hunk #26 FAILED at 1044.
> Hunk #27 FAILED at 1131.
> Hunk #28 FAILED at 1226.
> Hunk #29 FAILED at 1255.
> Hunk #30 succeeded at 1345 (offset 15 lines).
> Hunk #31 succeeded at 1434 (offset 15 lines).
> Hunk #32 succeeded at 1447 (offset 15 lines).
> Hunk #33 succeeded at 1473 (offset 15 lines).
> 13 out of 33 hunks FAILED -- saving rejects to file config/BuildSystem/config/packages/config.guess.rej
> patching file config/BuildSystem/config/packages/config.sub
> Hunk #1 FAILED at 1.
> Hunk #3 FAILED at 71.
> Hunk #6 FAILED at 120.
> Hunk #7 FAILED at 149.
> Hunk #8 succeeded at 178 (offset 1 line).
> Hunk #9 succeeded at 194 (offset 1 line).
> Hunk #10 succeeded at 238 (offset 1 line).
> Hunk #11 FAILED at 262.
> Hunk #12 FAILED at 315.
> Hunk #13 FAILED at 349.
> Hunk #14 succeeded at 467 (offset 26 lines).
> Hunk #15 FAILED at 449.
> Hunk #16 FAILED at 497.
> Hunk #17 succeeded at 571 (offset 35 lines).
> Hunk #18 succeeded at 725 (offset 35 lines).
> Hunk #19 FAILED at 701.
> Hunk #20 succeeded at 772 (offset 35 lines).
> Hunk #21 succeeded at 853 (offset 41 lines).
> Hunk #22 succeeded at 877 (offset 41 lines).
> Hunk #23 succeeded at 886 (offset 41 lines).
> Hunk #24 succeeded at 943 (offset 42 lines).
> Hunk #25 succeeded at 969 (offset 42 lines).
> Hunk #26 succeeded at 980 (offset 42 lines).
> Hunk #27 FAILED at 1027.
> Hunk #28 succeeded at 1147 (offset 36 lines).
> Hunk #29 succeeded at 1185 (offset 36 lines).
> Hunk #30 FAILED at 1202.
> Hunk #31 FAILED at 1225.
> Hunk #32 succeeded at 1303 (offset 37 lines).
> Hunk #33 FAILED at 1378.
> Hunk #34 FAILED at 1405.
> Hunk #35 FAILED at 1420.
> Hunk #36 FAILED at 1448.
> Hunk #37 succeeded at 1515 (offset 46 lines).
> Hunk #38 succeeded at 1623 (offset 46 lines).
> Hunk #39 succeeded at 1686 (offset 46 lines).
> 17 out of 39 hunks FAILED -- saving rejects to file config/BuildSystem/config/packages/config.sub.rej
> patching file config/configarch/config.guess
> Hunk #1 FAILED at 1.
> Hunk #3 FAILED at 54.
> Hunk #10 FAILED at 299.
> Hunk #11 succeeded at 346 (offset 3 lines).
> Hunk #12 succeeded at 380 (offset 3 lines).
> Hunk #13 succeeded at 395 (offset 3 lines).
> Hunk #14 FAILED at 406.
> Hunk #15 succeeded at 466 with fuzz 2 (offset 3 lines).
> Hunk #16 FAILED at 504.
> Hunk #17 succeeded at 537 (offset 3 lines).
> Hunk #18 FAILED at 549.
> Hunk #19 succeeded at 577 (offset 3 lines).
> Hunk #20 succeeded at 660 (offset 3 lines).
> Hunk #21 succeeded at 670 (offset 3 lines).
> Hunk #22 FAILED at 699.
> Hunk #23 FAILED at 948.
> Hunk #24 succeeded at 1001 with fuzz 2 (offset 12 lines).
> Hunk #25 FAILED at 1017.
> Hunk #26 FAILED at 1044.
> Hunk #27 FAILED at 1131.
> Hunk #28 FAILED at 1226.
> Hunk #29 FAILED at 1255.
> Hunk #30 succeeded at 1345 (offset 15 lines).
> Hunk #31 succeeded at 1434 (offset 15 lines).
> Hunk #32 succeeded at 1447 (offset 15 lines).
> Hunk #33 succeeded at 1473 (offset 15 lines).
> 13 out of 33 hunks FAILED -- saving rejects to file config/configarch/config.guess.rej
> patching file config/configarch/config.sub
> Hunk #1 FAILED at 1.
> Hunk #3 FAILED at 71.
> Hunk #6 FAILED at 120.
> Hunk #7 FAILED at 149.
> Hunk #8 succeeded at 178 (offset 1 line).
> Hunk #9 succeeded at 194 (offset 1 line).
> Hunk #10 succeeded at 238 (offset 1 line).
> Hunk #11 FAILED at 262.
> Hunk #12 FAILED at 315.
> Hunk #13 FAILED at 349.
> Hunk #14 succeeded at 467 (offset 26 lines).
> Hunk #15 FAILED at 449.
> Hunk #16 FAILED at 497.
> Hunk #17 succeeded at 571 (offset 35 lines).
> Hunk #18 succeeded at 725 (offset 35 lines).
> Hunk #19 FAILED at 701.
> Hunk #20 succeeded at 772 (offset 35 lines).
> Hunk #21 succeeded at 853 (offset 41 lines).
> Hunk #22 succeeded at 877 (offset 41 lines).
> Hunk #23 succeeded at 886 (offset 41 lines).
> Hunk #24 succeeded at 943 (offset 42 lines).
> Hunk #25 succeeded at 969 (offset 42 lines).
> Hunk #26 succeeded at 980 (offset 42 lines).
> Hunk #27 FAILED at 1027.
> Hunk #28 succeeded at 1147 (offset 36 lines).
> Hunk #29 succeeded at 1185 (offset 36 lines).
> Hunk #30 FAILED at 1202.
> Hunk #31 FAILED at 1225.
> Hunk #32 succeeded at 1303 (offset 37 lines).
> Hunk #33 FAILED at 1378.
> Hunk #34 FAILED at 1405.
> Hunk #35 FAILED at 1420.
> Hunk #36 FAILED at 1448.
> Hunk #37 succeeded at 1515 (offset 46 lines).
> Hunk #38 succeeded at 1623 (offset 46 lines).
> Hunk #39 succeeded at 1686 (offset 46 lines).
> 17 out of 39 hunks FAILED -- saving rejects to file config/configarch/config.sub.rej
> dpkg-buildpackage: error: dpkg-source --after-build petsc-3.1.dfsg gave error exit status 1
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20110923-2359

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/petsc_3.1.dfsg-11_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-science-maintainers mailing list