From: Leo Famulari <leo@famulari.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 0/3] WIP: Go-lang
Date: Thu, 14 Jan 2016 16:37:39 -0500 [thread overview]
Message-ID: <20160114213739.GA8662@jasmine> (raw)
In-Reply-To: <87y4bsp5a2.fsf@gnu.org>
On Thu, Jan 14, 2016 at 04:08:53PM +0100, Ludovic Courtès wrote:
> Efraim Flashner <efraim@flashner.co.il> 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.
>
> > 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.)
Wow, this really clears some things up for me! I often refer to nixpkgs
when I get stuck and all this time I wondered why their build logs
didn't mention the tests very often.
>
> > 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’.
>
next prev parent reply other threads:[~2016-01-14 21:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 16:31 [PATCH 0/3] WIP: Go-lang Efraim Flashner
2016-01-12 16:31 ` [PATCH 1/3] gnu: gccgo: Update to 4.9 Efraim Flashner
2016-01-14 15:09 ` Ludovic Courtès
2016-01-12 16:31 ` [PATCH 2/3] gnu: Add go-1.4 Efraim Flashner
2016-01-14 15:12 ` Ludovic Courtès
2016-01-14 21:12 ` Efraim Flashner
2016-01-15 16:14 ` Ludovic Courtès
2016-01-12 16:31 ` [PATCH 3/3] gnu: Add go-1.5 Efraim Flashner
2016-01-12 20:25 ` Ricardo Wurmus
2016-01-13 9:36 ` Efraim Flashner
2016-01-14 15:13 ` Ludovic Courtès
2016-01-14 15:08 ` [PATCH 0/3] WIP: Go-lang Ludovic Courtès
2016-01-14 19:14 ` Jeff Mickey
2016-01-14 21:40 ` Efraim Flashner
2016-01-14 21:37 ` Leo Famulari [this message]
2016-01-14 21:42 ` Efraim Flashner
2016-01-14 19:17 ` Jeff Mickey
2016-01-14 21:37 ` Efraim Flashner
2016-01-14 22:27 ` Jeff Mickey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160114213739.GA8662@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).