JFTR this will be fixed after the freeze is over and Debian has
released next stable.

O.

On Wed, Nov 14, 2012 at 5:12 AM, James Henstridge <[email protected]> wrote:
> Package: golang
> Version: 2:1.0.2-2
>
> I reproduced this bug on Ubuntu
> (https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1076017), but
> it looks like the package was imported from Debian unmodified so
> thought you'd like to know.
>
> Some Go packages with non-default build systems use the command "go
> tool dist env" to discover information about the Go installation.
> Unfortunately this fails with the 2:1.0.2-2 package for a few reasons
> as described in the Launchpad bug report:
>
> 1. The dist tool tries to verify that GOROOT is correct by checking
> that $GOROOT/include/u.h exists (it doesn't actually use the file
> though).  This doesn't appear to be included by any of the golang
> packages.
>
> 2. If I create $GOROOT/include/u.h, it still fails when it tries to
> determine the version number by checking for Mercurial tags in
> $GOROOT, which also fails.
>
> It seems that it only falls back to running hg if $GOROOT/VERSION does
> not exist.  So creating that file with the appropriate content gets
> things working.
>
>
> So fixing this involves the following steps:
> 1. either install /usr/lib/go/include/u.h, or modify the dist tool to
> check for some other file that should appear in $GOROOT.
> 2. Make the golang package include /usr/lib/go/VERSION
>
> Hope this helps.
>
> James.



-- 
Ondřej Surý <[email protected]>


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to