guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/3] WIP: Go-lang


From: Efraim Flashner
Subject: Re: [PATCH 0/3] WIP: Go-lang
Date: Thu, 14 Jan 2016 23:42:47 +0200

On Thu, 14 Jan 2016 16:08:53 +0100
address@hidden (Ludovic Courtès) wrote:

> Efraim Flashner <address@hidden> skribis:
> 
> > It seems there's a lot of interest around getting Go packaged in Guix, so I
> > figured I should post my work so far to the mailinglist. Currently go-1.4
> > does not have cgo enabled, the go binary keeps on trying to link against
> > libgcc_s.so.1 (from gcc:lib) and can't find it in the RUNPATH.  
> 
> In GCC, we have a hack that automatically adds gcc:lib to the RUNPATH
> (look for “libgcc_s” in gcc.scm.)  I guess we need to do something
> similar here.

I'll take a look at that. That should also help for gccgo-5.

> 
> > Also, the tests are disabled. Nix has a whole slew of changes to the
> > test suite to remove tests that call out to the internet and to change
> > tests that call /bin/{hostname,pwd} and others.  
> 
> OTOH, unless I’m mistaken, Nixpkgs does not run the test suite of Go
> (and of most packages; specifically, ‘stdenv.mkDerivation’ has a
> ‘doCheck’ parameter, which is unset by default, meaning that the ‘check’
> phase is skipped unless ‘doCheck = true’ is explicitly given.)

They do actually run the tests, they call the build with `./all.bash` which 
builds and then runs the tests.

> 
> > Go-1.4 is built using gccgo-4.9, and go-1.5 uses go-1.4 to build, so I'm
> > pretty confident that go-1.4 works, and since go-1.5 inherits from go-1.4
> > it should be working too.  
> 
> Nice!
> 
> Thanks for all the work!
> 
> Ludo’.

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: pgp3_99nH3diA.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]