From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 0/3] WIP: Go-lang Date: Thu, 14 Jan 2016 23:42:47 +0200 Message-ID: <20160114234247.3d864f14@debian-netbook> References: <1452616298-6255-1-git-send-email-efraim@flashner.co.il> <87y4bsp5a2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/xDxwo79Uy2gr1o3CpRWIx.S"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJpfb-0005kt-Iq for guix-devel@gnu.org; Thu, 14 Jan 2016 16:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJpfa-0005NP-J7 for guix-devel@gnu.org; Thu, 14 Jan 2016 16:43:03 -0500 In-Reply-To: <87y4bsp5a2.fsf@gnu.org> 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: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --Sig_/xDxwo79Uy2gr1o3CpRWIx.S Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 14 Jan 2016 16:08:53 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Efraim Flashner skribis: >=20 > > 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. =20 >=20 > 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 = something > similar here. I'll take a look at that. That should also help for gccgo-5. >=20 > > 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. =20 >=20 > 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 t= hat the =E2=80=98check=E2=80=99 > phase is skipped unless =E2=80=98doCheck =3D true=E2=80=99 is explicitly = given.) They do actually run the tests, they call the build with `./all.bash` which= builds and then runs the tests. >=20 > > 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. =20 >=20 > Nice! >=20 > Thanks for all the work! >=20 > Ludo=E2=80=99. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/xDxwo79Uy2gr1o3CpRWIx.S Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWmBZXAAoJEPTB05F+rO6TcBIP/0Ea8dNjNUyZyN3AbuMLc6OD 9hrUQqVHSlMFzY7eWP+3GatRUrYtaS8Y1ds6n+JuxoJVRlzkt0OUYO8iOQOiYrNJ aXUTQ2cvXTCsms0wggbQ3K5QFK+CSU1dW1b1KCN9S+gX9bdKBBDzHninpZf+czuc SlWmU/eNo9L6OBrjIvYr1ShW9LU9G0eg7XxadT1GA0DG8mJ9+BKlYwa44W+Egpni N8Iiw6o6YgR6KFkvpiWBT7WmlYKsLT+ZOaoun00txvGNOrbBLtQ1glwbr3dfyYaQ pkTosYosDdcQxx/xK+zNF2EGJ910WIiY2k273y+nQxtGKPAXBsqgmFYcTFAylhrd Drt9vq/BpLM8I4wjw+FwLd0EVr28jIWRMJdhT6KNk7YQ+4wuOhDWAwGG5Wy09K6M 85XO0bKZVG1t+Tkl2EBae3EbHF5wChox1emMuMjWdFfSOwvE389LTUvm8qYANLq9 GlR/4YapPkf5zWD+G2/UNs2IGYhsVTyucRdE/f3O6/6Dv2xvHd99Jr50Imuez0ud PPPqqBS725mstahFObIVNJcHAwEs+LH/q2MPvlnY+NHjO/MKtO/BVFZrO413LHNC Ujn+zfd/t9btgR2Opt8kon+8so2eMTUuPuZbuuZFnjLcZJN9FjhkQTHk5PEJonN1 Y/XpYHFkYvqrvocHpiu/ =KZjg -----END PGP SIGNATURE----- --Sig_/xDxwo79Uy2gr1o3CpRWIx.S--