From unknown Fri Jun 13 11:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40740: guix build problem, no RUNPATH on libpthread.so Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Apr 2020 05:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40740 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Michael Zucchi Cc: 40740@debbugs.gnu.org, help-guix@gnu.org, zimon.toutoune@gmail.com X-Debbugs-Original-Cc: bug-guix , help-guix , zimoun Received: via spool by submit@debbugs.gnu.org id=B.15874474659110 (code B ref -1); Tue, 21 Apr 2020 05:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2020 05:37:45 +0000 Received: from localhost ([127.0.0.1]:48871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQlbH-0002Mk-GR for submit@debbugs.gnu.org; Tue, 21 Apr 2020 01:37:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:57389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQlbF-0002Md-Eb for submit@debbugs.gnu.org; Tue, 21 Apr 2020 01:37:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQlb3-0004yH-IX for bug-guix@gnu.org; Tue, 21 Apr 2020 01:37:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQlb2-00088U-KV for bug-guix@gnu.org; Tue, 21 Apr 2020 01:37:25 -0400 Received: from flashner.co.il ([178.62.234.194]:49724) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQlb2-0007u1-4n; Tue, 21 Apr 2020 01:37:24 -0400 Received: from localhost (unknown [147.161.9.58]) by flashner.co.il (Postfix) with ESMTPSA id 4EDD040367; Tue, 21 Apr 2020 05:37:17 +0000 (UTC) Date: Tue, 21 Apr 2020 08:36:35 +0300 From: Efraim Flashner Message-ID: <20200421053635.GC10788@E5400> References: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BRE3mIcgqKzpedwo" Content-Disposition: inline In-Reply-To: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/21 01:37:17 X-ACL-Warn: Detected OS = ??? X-Received-From: 178.62.234.194 X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --BRE3mIcgqKzpedwo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable CCing bug-guix On Tue, Apr 21, 2020 at 09:41:47AM +0930, Michael Zucchi wrote: >=20 > On 20/4/20 11:50 pm, zimoun wrote: > > Dear, > >=20 > > On Mon, 20 Apr 2020 at 11:56, Michael Zucchi wrote: > >=20 > > [...] > >=20 > > > I ran guix environment guix --pure. > > Which version (commit) of Guix do you use? > > Could you provide the output of "guix describe"? > >=20 > >=20 > > > Then I ran configure but it failed saying that guile 3.0 could not be > > > found. After some poking i found this is provided by the guile-next > > > package, so I had to manually install that. So the instructions didn= 't > > > work right off the bat but configure then completed just fine. > > Which commit of the repo are you trying to compile? > >=20 > >=20 > > > However make then fails: > > Depending on when was the last "guix pull" and when was the last "git > > pull" and what you already compiled month ago, failing could happen; > > especially because Guile has been updated from 2 to 3. > >=20 > > After updating "guix pull" and "git pull", you could try: > >=20 > > guix environment guix --pure > > make distclean > > ./configure --localstatedir=3D/var/ > > make > >=20 > >=20 > > Hope that helps. > >=20 > > All the best, > > simon > >=20 >=20 > Rather than stuff around repeating stuff I have already worked past > successfully, I just deleted everything and started from scratch: >=20 > =C2=A0- new guix checkout > =C2=A0- blew away /gnu and /var/guix > =C2=A0- install freshly from latest guix 1.1 binary install as listed in = the > online manual, it passed the signature check. https://guix.gnu.org/manual= /en/html_node/Binary-Installation.html#Binary-Installation > =C2=A0- re-ran demon,=C2=A0 with --no-substitutes (users and groups were = already > there) >=20 > But the first guix pull fails because it tries to run a 32 bit binary, so > ultimately fails for the the same reason as detailed in my previous email. >=20 > ... > building > /gnu/store/9g3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.drv... > builder for > `/gnu/store/9g3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.drv' fai= led > with exit code 1 > build of /gnu/store/9g3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.= drv > failed > View build log at '/var/log/guix/drvs/9g/3mfjpxajl69krfwvdiaznz5gh54af2-g= uile-bootstrap-2.0.drv.bz2'. > ... > notzed@shitzone:~/src$ bzcat /var/log/guix/drvs/9g/3mfjpxajl69krfwvdiaznz= 5gh54af2-guile-bootstrap-2.0.drv.bz2 > while setting up the build environment: executing > `/gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash': Exec format error >=20 > So I removed the --no-substitutes flag, restarted the demon, and re-ran g= uix > pull and that ran to completion.=C2=A0 Then I ran guix environment guix -= -pure > and bootstrap. >=20 > Now configure finds guile fine ('yay') but make still fails when linking > guix for the same reason as before, see the previous email. >=20 > =C2=A0 MAKEINFO doc/guix-cookbook.info > =C2=A0 PO4A doc/guix-cookbook.de.texi > /home/notzed/src/guix/build-aux/missing: line 81: po4a-translate: command > not found > WARNING: 'po4a-translate' is missing on your system. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 You might have modified = some files without having the proper > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tools for further handli= ng them.=C2=A0 Check the 'README' file, it > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 often tells you about th= e needed prerequisites for installing > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 this package.=C2=A0 You = may also peek at any GNU archive site, in > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 case some other package = contains this missing 'po4a-translate' > program. > make[2]: [Makefile:5929: doc/guix-cookbook.de.texi] Error 127 (ignored) > sed -i "s|guix-cookbook\.info|$(basename "doc/guix-cookbook.de.texi" | sed > 's|texi$|info|')|" "doc/guix-cookbook.de.texi.tmp" > sed: can't read doc/guix-cookbook.de.texi.tmp: No such file or directory > make[2]: [Makefile:5930: doc/guix-cookbook.de.texi] Error 2 (ignored) > =C2=A0 POXREF doc/guix-cookbook.de.texi > cat: doc/guix-cookbook.de.texi.tmp: No such file or directory > mv "doc/guix-cookbook.de.texi.tmp" "doc/guix-cookbook.de.texi" > mv: cannot stat 'doc/guix-cookbook.de.texi.tmp': No such file or directory > make[2]: [Makefile:5932: doc/guix-cookbook.de.texi] Error 1 (ignored) > =C2=A0 MAKEINFO doc/guix-cookbook.de.info > ./doc/guix-cookbook.de.texi: warning: document without nodes > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/nix-daemon/guix_daemon-nix-d= aemon.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/nix-daemon/guix_daemon-guix-= daemon.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-gc.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-globals.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-misc.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-referenc= es.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-store-ap= i.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-optimise= -store.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-local-st= ore.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-build.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-pathlock= s.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-derivati= ons.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-builtins= =2Eo > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libstore/libstore_a-sqlite.o > =C2=A0 AR=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libstore.a > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-archive.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-affinity.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-serialise.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-util.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-hash.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/libutil/libutil_a-gcrypt-has= h.o > =C2=A0 AR=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libutil.a > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/boost/format/libformat_a-fre= e_funcs.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/boost/format/libformat_a-par= sing.o > =C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nix/boost/format/libformat_a-for= mat_implementation.o > =C2=A0 AR=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libformat.a > =C2=A0 CXXLD=C2=A0=C2=A0=C2=A0 guix-daemon > /usr/bin/ld: > /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libpthread.so.= 0: > undefined reference to `__libc_vfork@GLIBC_PRIVATE' > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:3563: guix-daemon] Error 1 > make[2]: Leaving directory '/home/notzed/src/guix' > make[1]: *** [Makefile:4930: all-recursive] Error 1 > make[1]: Leaving directory '/home/notzed/src/guix' > make: *** [Makefile:3351: all] Error 2 > notzed@shitzone:~/src/guix$ >=20 >=20 > notzed@shitzone:~/src/guix$ git describe > v1.1.0-440-gce5f4701d1 >=20 > notzed@shitzone:~/src/guix$ guix describe > Generation 1=C2=A0=C2=A0=C2=A0 Apr 21 2020 09:19:55=C2=A0=C2=A0=C2=A0 (cu= rrent) > =C2=A0 guix ce5f470 > =C2=A0=C2=A0=C2=A0 repository URL: https://git.savannah.gnu.org/git/guix.= git > =C2=A0=C2=A0=C2=A0 branch: master > =C2=A0=C2=A0=C2=A0 commit: ce5f4701d1e5c88c622a0d05a96ddfb31c117455 >=20 >=20 >=20 --=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 --BRE3mIcgqKzpedwo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6ehmIACgkQQarn3Mo9 g1FSXhAAj+cMx1oRjpPG701Ymp60DPIuoUJSnbLceV03iPTk4YE/OQBB+DBEL0Gj 0dWjtkJbcMLDMnjOaD4dytwyoO5p1pqhhlbE3kJdBmyNfzSo26jshlKayURCssOD G1J7laovsQAQnufAJelEUAfYS1KL5EQarqXtK7Bbha+Gck53cyWtfusq1nzVCG1k O2HRjPmXEhs3biimVAuJyyTLpp0dJgiAfC+xdMLWlnpdKUojdhwDW5dVgy/6uMcK Z+rfCqVW+MsUPiwR4EsJAxF8jyQkkeuXbQuBWlSdxpjrmuqOR7BOa+9Xftr3SRiP VQlKJg52lIazctnKCnb2B04BkUbQTVC6kwrA1AcksTYfbIbYfhVYPD5RutdC2nAD uOPcTipumrRbqyq5SV+J4sauKo1Ja/Jr697QF2KBMT6wamYj+ayX5gPCrMSGs99k SC5gceAWy7ovehdFRRBLFAn3thX/j3uoMPW+DqoLfVRMpeBDB7IgAINgaHERa8zc HM/Bbq9bSX0K4ey3SI/PGRMTHmnLKMgimDTcr50JbhAYfLtaEndbAUjJ0zLjMLBA QcMfFsxRiGhWYgOMYmRuW9+EWwzRD5EQjjaa8dNZMsLlcEQzFCAebDUBLZ9I6EbU el3VPmFfPCDacKjf7qvBQFBKvZy7Pt28h+n9eEXDvG0gqYOdx0E= =yQWl -----END PGP SIGNATURE----- --BRE3mIcgqKzpedwo-- From unknown Fri Jun 13 11:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40740: guix build problem, no RUNPATH on libpthread.so Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Apr 2020 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40740 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 40740@debbugs.gnu.org, help-guix , Michael Zucchi Received: via spool by 40740-submit@debbugs.gnu.org id=B40740.158745575222198 (code B ref 40740); Tue, 21 Apr 2020 07:56:02 +0000 Received: (at 40740) by debbugs.gnu.org; 21 Apr 2020 07:55:52 +0000 Received: from localhost ([127.0.0.1]:48977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQnl2-0005ly-GR for submit@debbugs.gnu.org; Tue, 21 Apr 2020 03:55:52 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:44736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQnl1-0005la-21 for 40740@debbugs.gnu.org; Tue, 21 Apr 2020 03:55:51 -0400 Received: by mail-qk1-f195.google.com with SMTP id j4so13573837qkc.11 for <40740@debbugs.gnu.org>; Tue, 21 Apr 2020 00:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AUTSFerzXl+S0miJTqlEBBn+Uu3Tdl+ZiKTr0mqvH08=; b=PZyQwHkEup9SKoWgAxu9+bEclh4fLyvajrTzyPMOW31djTzJKkGXWllwzSO0Nb/g3j aw5WRyr/VvnfhjtzvVNCbsKbT1YzVQ2rMmI5OghAwR7Tn3tu1XcSBpssD8oZu+ct3R2O YHtp+5Qy2IK1i4LAY+h6/UUYg3P31iMy1shrKWdXuUIldWajYzWMz1Kt8ryX5R8hW/5U VihK2l+AYU8MhrluDKfqwoTh3fOgpCnwAmWW15FJ52vAyy6e4aY0DkRgfaL6kAkV5jjT O+5yL8RYtOKYIFxhfKxAKCg7HMuGH9ujajEwH9C1AmY+aEvR9g0zZW9pNGxdCtBBEcWF sI2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AUTSFerzXl+S0miJTqlEBBn+Uu3Tdl+ZiKTr0mqvH08=; b=E9kzVBmAs1EzThgos7w/7KCcnFMWXRVCHyhcj7sIBDEr3MMmcCEbVsKpmzh7Ad4Xft NN9VgBuluD+xvbf77i6RDtCIof8Qza58W2d5wU+AY3eLm44hB9VlwPyRUopriSwjOY5B L0PdX36uEDQdH23BUVZFZR6og1PANiQlF6YVXrd6RlH9PitbMFpTqWgvQSc6NJoTsgb0 ddHVTNDSbJ9vh07H9IzYVzlgsZl+KXwKtywn1cqBE7DYkmvcj0UJP0jK7E4IR8EVjeWx 4Tk8AWoerRHHEJV+3FCSddVjeVwuWaPK8OzclObIELnta0QWZ5Z4/EpAx98OFa34ElY7 6d7A== X-Gm-Message-State: AGi0PuYFkmBMsC4qHxW1dpljSadL6AhtKhGp0q4zttwvQyqfZSe8Pzlu CTQwNsvL8nwW4o+uf96Gjo1d9nzWmyDkio1sz6E= X-Google-Smtp-Source: APiQypJkHKpHcltOTyePGgznjwaz4Cfvr+VmIxR+p4DJg6YgAFJ6mlPIM8VTMGmEoYdvxub0ncjReztcNTruVraQLqM= X-Received: by 2002:a05:620a:239:: with SMTP id u25mr18140051qkm.304.1587455745459; Tue, 21 Apr 2020 00:55:45 -0700 (PDT) MIME-Version: 1.0 References: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> <20200421053635.GC10788@E5400> In-Reply-To: <20200421053635.GC10788@E5400> From: zimoun Date: Tue, 21 Apr 2020 09:55:34 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear Michael, > On Tue, Apr 21, 2020 at 09:41:47AM +0930, Michael Zucchi wrote: > > But the first guix pull fails because it tries to run a 32 bit binary, so > > ultimately fails for the the same reason as detailed in my previous email. To be sure to understand, - your machine is 64bit - and you are running Guix on the top of Slackware - Guix has been installed using this script https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh Right? Then, something screws up and some 32bit stuff shows up, right? The previous emails related to this topic you mentioned ("I posted about this months ago but I think I got no answers") in this thread are [1] and [2], right? [1] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00111.html [2] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00131.html All the best, simon From unknown Fri Jun 13 11:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40740: guix build problem, no RUNPATH on libpthread.so Resent-From: Michael Zucchi Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Apr 2020 00:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40740 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , Efraim Flashner Cc: 40740@debbugs.gnu.org, help-guix Received: via spool by 40740-submit@debbugs.gnu.org id=B40740.15875157566213 (code B ref 40740); Wed, 22 Apr 2020 00:36:02 +0000 Received: (at 40740) by debbugs.gnu.org; 22 Apr 2020 00:35:56 +0000 Received: from localhost ([127.0.0.1]:50958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR3Mp-0001c9-Je for submit@debbugs.gnu.org; Tue, 21 Apr 2020 20:35:56 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR3MZ-0001bg-Ve for 40740@debbugs.gnu.org; Tue, 21 Apr 2020 20:35:55 -0400 Received: by mail-pg1-f196.google.com with SMTP id o10so211791pgb.6 for <40740@debbugs.gnu.org>; Tue, 21 Apr 2020 17:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=9t45HUbG697kmirOj+lJUbrRTYOvxshCwroorPWqme4=; b=M0IM4I0RS+BIXASFcwu9xi3OxbdAQ0Z0F7AaUo7z+h9aeXkb6Ume1CoyIK1ra/gtlh Jw+XZ+Bb8sLSbPoHqqhPSW+TJnHr3JhbbVE7vngkkoiZqJguiiKbSef40aPnQ21eIlmN Q+Wtz9RybO6bcGluC6s8BkXaV5i7oQptQ/nigw3BV7z7S8FvaMIKmHXL5u6c44qw9DtE DWSz2yNQ5Ou5POmXv7PHxRhIhlCyH1SKI7/bMt3brHhHgyYcUxWzZGSwlz2QirKR3Xgl kzD/FzbA4tpUuQtT1CltV1A19SB1s3SYRw9mPijRvoi577us9+kFieOx2EDdvthYDaPe HYZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=9t45HUbG697kmirOj+lJUbrRTYOvxshCwroorPWqme4=; b=NwkTRG4pPKuPVRPgUxfpOhaS0wLt58ttXc3wW1P1x74pG7ZOB5achO8caP9/9RsOOZ ei5VxOiCMg/anwco/57vX4b/qJItjL5S0JjY8g0QiTQPM0PjBjaoZhAcPx9iP6v5yv6/ 36Jh6qaSi5m5jN6WGs+suHZ1qxP66PP66yCELCDrulom4CnjiJxKVYEUWLSkFKMJN1hC W7jSVPCdD/a4so7ayzfKBcnVnodcqegGRbTOtYrYm41heIOU3K9XDCTJzjHL5a1HRwc+ 2iCTcWtOx9+dI+K8V/vVyONus3dxmgmz7J4B0KVEFQVUznQHig2j0Mh/yaOntycUM0dD fW2A== X-Gm-Message-State: AGi0PubCyOZTS9zBTE+bE8ELPQSLvtSZoUr6vdo3Oamw8Ja1C1yT77VS mMwC/ZEQ1OWfxTAZ9YEi4ZXk2Uk2 X-Google-Smtp-Source: APiQypJcsIGCRoct/50XzUf7T5p0FSklx3id9Jo6pVIrlbi4gCf7XwCBN9i/N3bS5I2XaoI6VCIHQw== X-Received: by 2002:aa7:951a:: with SMTP id b26mr16088952pfp.44.1587515733760; Tue, 21 Apr 2020 17:35:33 -0700 (PDT) Received: from ?IPv6:2001:44b8:203:1200:be5f:f4ff:fef7:7bdc? (2001-44b8-0203-1200-be5f-f4ff-fef7-7bdc.static.ipv6.internode.on.net. [2001:44b8:203:1200:be5f:f4ff:fef7:7bdc]) by smtp.googlemail.com with ESMTPSA id t23sm3523079pjq.27.2020.04.21.17.35.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2020 17:35:32 -0700 (PDT) References: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> <20200421053635.GC10788@E5400> From: Michael Zucchi Message-ID: <379a0838-8c5a-29cf-f8d5-cf9a6d7b2c76@gmail.com> Date: Wed, 22 Apr 2020 10:05:28 +0930 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------509AE652076AD61837E345E1" Content-Language: en-AU X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------509AE652076AD61837E345E1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit G'day Simon, On 21/4/20 5:25 pm, zimoun wrote: > Dear Michael, > >> On Tue, Apr 21, 2020 at 09:41:47AM +0930, Michael Zucchi wrote: >>> But the first guix pull fails because it tries to run a 32 bit binary, so >>> ultimately fails for the the same reason as detailed in my previous email. > To be sure to understand, > - your machine is 64bit > - and you are running Guix on the top of Slackware > - Guix has been installed using this script > https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh > Right? Correct although I can't remember if i ran the script or used the steps in the manual [https://guix.gnu.org/manual/en/html_node/Binary-Installation.html].   slackware doesn't use one of the supported init systems and all the steps it performs are trivial so i might've skipped it.  guix with substitutions was working ok for the limited use I made of it. > Then, something screws up and some 32bit stuff shows up, right? Well yes and no - nothing screws up and the behaviour is intended it just doesn't work.   As i found[2] 4 months ago, the bootstrap package explicitly uses i686 binaries for amd64 because (I presume) they are statically linked and all amd64 hardware supports executing 32-bit mode code.  But my linux configuration disables it because i don't need or want it. It all happens here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bootstrap.scm#n128 |(define bootstrap-executable (mlambda (program system) "Return an origin for PROGRAM, a statically-linked bootstrap executable built for SYSTEM." ;>>>>>>>>>>>>>>  (let ((system (if (string=? system "x86_64-linux") "i686-linux" system))) ;<<<<<<<<<<<<<<  (match (assoc-ref (assoc-ref %bootstrap-executables system) program) (#f (raise (condition (&message (message (format #f (G_ "could not find bootstrap binary '~a' \ for system '~a'") program system)))))) ((sha256) (origin (method url-fetch/executable) (uri (bootstrap-executable-url program system)) (file-name program) (sha256 sha256))))))) | || || |I attempted modifying this to use 64-bit binaries at the time but it wouldn't use the ones i supplied when it| |came to executing the tests.  So I dropped it as it was going nowhere fast, nobody seemed interested, and had other things to do like xmas. ||Those failed attempts are long gone.| || || || > The previous emails related to this topic you mentioned ("I posted > about this months ago but I think I got no answers") in this thread > are [1] and [2], right? > > [1] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00111.html > [2] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00131.html > Yeah. > All the best, > simon Cheers,  Z --------------509AE652076AD61837E345E1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

G'day Simon,

On 21/4/20 5:25 pm, zimoun wrote:
Dear Michael,

On Tue, Apr 21, 2020 at 09:41:47AM +0930, Michael Zucchi wrote:

      
But the first guix pull fails because it tries to run a 32 bit binary, so
ultimately fails for the the same reason as detailed in my previous email.
To be sure to understand,
 - your machine is 64bit
 - and you are running Guix on the top of Slackware
 - Guix has been installed using this script
https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
Right?

Correct although I can't remember if i ran the script or used the steps in the manual [https://guix.gnu.org/manual/en/html_node/Binary-Installation.html].   slackware doesn't use one of the supported init systems and all the steps it performs are trivial so i might've skipped it.  guix with substitutions was working ok for the limited use I made of it.

Then, something screws up and some 32bit stuff shows up, right?

Well yes and no - nothing screws up and the behaviour is intended it just doesn't work.   As i found[2] 4 months ago, the bootstrap package explicitly uses i686 binaries for amd64 because (I presume) they are statically linked and all amd64 hardware supports executing 32-bit mode code.  But my linux configuration disables it because i don't need or want it.

It all happens here:

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bootstrap.scm#n128

(define bootstrap-executable
  (mlambda (program system)
    "Return an origin for PROGRAM, a statically-linked bootstrap executable
built for SYSTEM."
;>>>>>>>>>>>>>>
 (let ((system (if (string=? system "x86_64-linux")
                      "i686-linux"
                      system)))
;<<<<<<<<<<<<<<
  (match (assoc-ref (assoc-ref %bootstrap-executables system)
                        program)
        (#f
         (raise (condition
                 (&message
                  (message
                   (format #f (G_ "could not find bootstrap binary '~a' \
for system '~a'")
                           program system))))))
        ((sha256)
         (origin
           (method url-fetch/executable)
           (uri (bootstrap-executable-url program system))
           (file-name program)
           (sha256 sha256)))))))




I attempted modifying this to use 64-bit binaries at the time but it wouldn't use the ones i supplied when it
came to executing the tests.  So I dropped it as it was going nowhere fast, nobody seemed interested, and had
other things to do like xmas. 
Those failed attempts are long gone.


The previous emails related to this topic you mentioned ("I posted
about this months ago but I think I got no answers") in this thread
are [1] and [2], right?

[1] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00111.html
[2] https://lists.gnu.org/archive/html/help-guix/2019-12/msg00131.html

Yeah.

All the best,
simon

Cheers,
 Z


    

--------------509AE652076AD61837E345E1--