From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 0/3] WIP: Go-lang Date: Thu, 14 Jan 2016 16:08:53 +0100 Message-ID: <87y4bsp5a2.fsf@gnu.org> References: <1452616298-6255-1-git-send-email-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJjWN-0000OJ-6V for guix-devel@gnu.org; Thu, 14 Jan 2016 10:09:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJjWH-0002eE-VU for guix-devel@gnu.org; Thu, 14 Jan 2016 10:09:07 -0500 In-Reply-To: <1452616298-6255-1-git-send-email-efraim@flashner.co.il> (Efraim Flashner's message of "Tue, 12 Jan 2016 18:31:35 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Efraim Flashner Cc: guix-devel@gnu.org Efraim Flashner 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 =E2=80=9Clibgcc_s=E2=80=9D in gcc.scm.) I guess we need to do so= mething 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=E2=80=99m mistaken, Nixpkgs does not run the test suite of Go (and of most packages; specifically, =E2=80=98stdenv.mkDerivation=E2=80=99 = has a =E2=80=98doCheck=E2=80=99 parameter, which is unset by default, meaning tha= t the =E2=80=98check=E2=80=99 phase is skipped unless =E2=80=98doCheck =3D true=E2=80=99 is explicitly gi= ven.) > 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=E2=80=99.