[pkg-go] Bug#835715: golang-github-docker-go: FTBFS: patches fail to apply

Lucas Nussbaum lucas at debian.org
Sun Aug 28 10:24:17 UTC 2016


Source: golang-github-docker-go
Version: 0.0~git20160303.0.d30aec9-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/canonical/json;
> cp -r /usr/lib/go-1.7/src/encoding/json/* /<<PKGBUILDDIR>>/canonical/json/;
> cat /<<PKGBUILDDIR>>/patches/* | patch -p1;
> patching file canonical/json/decode.go
> Hunk #1 succeeded at 254 (offset 80 lines).
> Hunk #2 succeeded at 649 (offset 91 lines).
> patching file canonical/json/encode.go
> Hunk #1 FAILED at 131.
> Hunk #2 succeeded at 163 (offset 10 lines).
> Hunk #3 succeeded at 267 with fuzz 1 (offset 10 lines).
> Hunk #4 FAILED at 313.
> Hunk #5 succeeded at 338 (offset 15 lines).
> Hunk #6 succeeded at 371 (offset 15 lines).
> Hunk #7 succeeded at 386 (offset 15 lines).
> Hunk #8 succeeded at 401 (offset 15 lines).
> Hunk #9 succeeded at 421 (offset 15 lines).
> Hunk #10 succeeded at 539 with fuzz 2 (offset 11 lines).
> Hunk #11 succeeded at 620 (offset 17 lines).
> Hunk #12 FAILED at 638.
> Hunk #13 FAILED at 681.
> Hunk #14 succeeded at 742 (offset 36 lines).
> Hunk #15 succeeded at 759 with fuzz 1 (offset 36 lines).
> Hunk #16 FAILED at 805.
> Hunk #17 succeeded at 902 (offset 64 lines).
> Hunk #18 FAILED at 885.
> Hunk #19 succeeded at 984 (offset 66 lines).
> Hunk #20 succeeded at 1212 (offset 79 lines).
> Hunk #21 FAILED at 1174.
> Hunk #22 FAILED at 1194.
> 8 out of 22 hunks FAILED -- saving rejects to file canonical/json/encode.go.rej
> patching file canonical/json/encode_test.go
> Reversed (or previously applied) patch detected!  Assume -R? [n] 
> Apply anyway? [n] 
> Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file canonical/json/encode_test.go.rej
> patching file canonical/json/stream.go
> Hunk #1 FAILED at 138.
> Hunk #2 succeeded at 180 with fuzz 1 (offset 33 lines).
> Hunk #3 FAILED at 160.
> 2 out of 3 hunks FAILED -- saving rejects to file canonical/json/stream.go.rej
> patching file canonical/json/encode_test.go
> Hunk #1 succeeded at 611 with fuzz 1 (offset 31 lines).
> patching file canonical/json/encode.go
> Hunk #1 FAILED at 526.
> 1 out of 1 hunk FAILED -- saving rejects to file canonical/json/encode.go.rej
> patching file canonical/json/encode_test.go
> Hunk #1 succeeded at 620 (offset 31 lines).
> Makefile:17: recipe for target 'run_patch' failed
> make[2]: *** [run_patch] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/08/28/golang-github-docker-go_0.0~git20160303.0.d30aec9-1_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list