[Docker-maint] Bug#807455: golang-src: includes race detector runtime files not built from source in the source package

Tianon Gravi tianon at debian.org
Wed Feb 3 06:08:06 UTC 2016


On 8 December 2015 at 18:24, Michael Hudson-Doyle
<michael.hudson at canonical.com> wrote:
> The files installed as /usr/share/go/src/runtime/race/*.syso are not built
> during package build, but rather come directly from the Go source distribution.
> To ensure that they are built from what they claim to be, in Ubuntu we do not
> distribute these files in the golang-src package but rather build them in a
> separate golang-race-detector-runtime package which golang-go Recommends:. It
> would be nice if Debian could steal this work :-)

I'm definitely keen on this one!

I think my issue with making it happen (last I looked into it) was
that the files in question needed to come from a separate source (LLVM
was it? [1]), and the exact versioning necessary was a little strange,
and it was sources that already exist in the Debian archive for
another package so I wasn't really clear on whether that's kosher or
whether we should be talking to the existing package maintainer to
keep things sane.  Am I remembering this correctly?  I really
should've made some notes after I spent some time playing with this,
sorry. :(

[1]: https://github.com/golang/go/tree/go1.6rc1/src/runtime/race#readme

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4




More information about the Docker-maint mailing list