From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: guix build problem, no RUNPATH on libpthread.so Date: Tue, 21 Apr 2020 08:36:35 +0300 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" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQlbG-0004yZ-2k for help-guix@gnu.org; Tue, 21 Apr 2020 01:37:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQlbF-0000KR-FN for help-guix@gnu.org; Tue, 21 Apr 2020 01:37:37 -0400 Content-Disposition: inline In-Reply-To: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> 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: Michael Zucchi Cc: bug-guix , help-guix --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--