From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: getting all build paths in environment Date: Thu, 9 Jan 2020 22:12:27 +0200 Message-ID: <20200109201227.GB1370@E5400> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56672) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipeBg-0007Zk-5E for help-guix@gnu.org; Thu, 09 Jan 2020 15:13:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipeBX-0007Rr-3K for help-guix@gnu.org; Thu, 09 Jan 2020 15:13:45 -0500 Received: from flashner.co.il ([178.62.234.194]:53686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ipeBU-0005wf-T8 for help-guix@gnu.org; Thu, 09 Jan 2020 15:13:38 -0500 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: raingloom Cc: help-guix@gnu.org --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 09, 2020 at 05:27:07AM +0100, raingloom wrote: > I'm trying to bootstrap Go for Plan 9, this should be as simple as > setting a few environment variables and running a script, but during > the third phase, I run into this: >=20 > /home/raingloom/Projects/Plan9/go64/go-plan9-arm64-bootstrap/bin/go: > error while loading shared libraries: libgcc_s.so.1: cannot open shared > object file: No such file or directory >=20 > as far as I know, this would work if libgcc was in the relevant search > path. >=20 > Is there a way I could set up the same environment that guix leaves in > /tmp/guix-.../environment-variables after a failed build? >=20 You want the environmental-variables file at /tmp/guix-build-file-version.drv-X/environmental-variables. You can source the file directly after 'guix environment --pure foo' and that should give you something approaching the build environment. --=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 --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl4XiSgACgkQQarn3Mo9 g1Eo9w//Vo+kA0cT6O/CDOjcl4mCd9sXtCkSDFFkVHqpwcv/b8ZAoUCJugVGGJMA uOQwRc5QrGlubUtv6ZMVa3yHA7JHjcF7+iLcdADjq8QEmkwLp9j6+6Ky/2dorg1D gwqUGEaqTvMO9bg1nL9s9sr3Ettp2yW+ci2fjuLubTm17D2ffx0K5Tn0Una/hEac x1JhNehgo89eivzPScL18Vmomrh4OwmglK9mjq3l/MQmuQtk9u7Xtx4o5rLzXBYN 2PUcPTTCKvQFJVhBvakPrvXmW3IbNxQf5pss2D8hU9wxBonk4dFfYhLOPDOF1GS2 XutQDoyvrMPTsyvHLPQF+D8zQHCUjh1T2S1jk/k+LO3nCY1BVYOA9Fobs83xfQS+ mTRJT/Dh5PWRW3zavr9TJqghq4BfIRJatUEa2Ln2n0UoFLrPhRhD2T+Hm8QlmG7w p4PY+gdnTbcLztlqc/DewjUu2VT1zbTojSSVwyaY9RouYdm9sDrKbku4/Yqiv/pP 2qnXMeDZeRPQxa07/btZYh4T2C9I0t2eBu33wnoav9oWzUa1rDOVkp1H11R6uss/ J3J9y27Srzia2Xb0OlDiVDolOwlRFshdZgZzC3qoDNOVfRIOw23Oep4xid8/ZYfJ MUe6QTur45xlLtPM2bxKzAXcuu6ObuOE8uVVZfBNL2zluxqThz4= =gx9N -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--