[pkg-go] Bug#837480: Bug#837480: gb: FTBFS with bindnow and PIE enabled

Michael Hudson-Doyle michael.hudson at canonical.com
Sun Sep 11 22:52:39 UTC 2016


I reported this upstream (a while ago) as
https://github.com/constabulary/gb/issues/607. It is still open,
unfortunately.

On 12 September 2016 at 10:30, Balint Reczey <balint at balintreczey.hu> wrote:

> Source: gb
> Version: 0.4.2-1
> Severity: important
> User: balint at balintreczey.hu
> Usertags: pie-bindnow-20160906
> Justification: FTBFS on amd64 with extra hardening
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64 with patched GCC and dpkg.
>
> The rebuild tested if packages are ready for a transition
> enabling PIE and bindnow for amd64.
>
> For more information about the changes to sid's dpkg and GCC please
> visit:
>  https://wiki.debian.org/Hardening/PIEByDefaultTransition
>
> Relevant part (hopefully):
> ...
> === RUN   TestReadFailuresIgnored
> --- PASS: TestReadFailuresIgnored (0.00s)
> PASS
> ok      github.com/constabulary/gb/importer     0.004s
> === RUN   TestTest
> a
> a
> b
> a
> d.v1
> c
> f
> e
> cmd/f
> extest
> extest
> external_only_test
> notestfiles
> /usr/bin/ld: -r and -pie may not be used together
> collect2: error: ld returned 1 exit status
> # cgoonlynotest
> testonly
> extestonly
> g
> g
> ldflags
> /usr/bin/ld: -r and -pie may not be used together
> collect2: error: ld returned 1 exit status
> # cgotest
> testflags
> main
> --- FAIL: TestTest (3.16s)
>         test_test.go:96: Test(cgoonlynotest): want <nil>, got exit status 1
>         test_test.go:84: skipping test, goversion 1.600000 is above
> maxgoversion 1.500000
>         test_test.go:96: Test(cgotest): want <nil>, got exit status 1
> === RUN   TestTestPackage
> --- PASS: TestTestPackage (0.09s)
>
> ...
>
> The full build log is available from:
>  https://people.debian.org/~rbalint/build-logs/pie-
> bindnow-20160906/gb_0.4.2-1_amd64.build.gz
>
> Thanks,
> Balint
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160912/68241054/attachment.html>


More information about the Pkg-go-maintainers mailing list