all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Zucchi <notzed@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guix build problem, no RUNPATH on libpthread.so
Date: Tue, 21 Apr 2020 09:41:47 +0930	[thread overview]
Message-ID: <2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com> (raw)
In-Reply-To: <CAJ3okZ0xnsRq39oS516BBDTcHYhLz++A8JtaD11gnFYB=nxX+g@mail.gmail.com>


On 20/4/20 11:50 pm, zimoun wrote:
> Dear,
>
> On Mon, 20 Apr 2020 at 11:56, Michael Zucchi <notzed@gmail.com> wrote:
>
> [...]
>
>> I ran guix environment guix --pure.
> Which version (commit) of Guix do you use?
> Could you provide the output of "guix describe"?
>
>
>> 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?
>
>
>> 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.
>
> After updating "guix pull" and "git pull", you could try:
>
>    guix environment guix --pure
>    make distclean
>    ./configure --localstatedir=/var/
>    make
>
>
> Hope that helps.
>
> All the best,
> simon
>

Rather than stuff around repeating stuff I have already worked past 
successfully, I just deleted everything and started from scratch:

  - new guix checkout
  - blew away /gnu and /var/guix
  - 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
  - re-ran demon,  with --no-substitutes (users and groups were already 
there)

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.

...
building 
/gnu/store/9g3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.drv...
builder for 
`/gnu/store/9g3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.drv' 
failed 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-guile-bootstrap-2.0.drv.bz2'.
...
notzed@shitzone:~/src$ bzcat 
/var/log/guix/drvs/9g/3mfjpxajl69krfwvdiaznz5gh54af2-guile-bootstrap-2.0.drv.bz2
while setting up the build environment: executing 
`/gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash': Exec format error

So I removed the --no-substitutes flag, restarted the demon, and re-ran 
guix pull and that ran to completion.  Then I ran guix environment guix 
--pure and bootstrap.

Now configure finds guile fine ('yay') but make still fails when linking 
guix for the same reason as before, see the previous email.

   MAKEINFO doc/guix-cookbook.info
   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.
          You might have modified some files without having the proper
          tools for further handling them.  Check the 'README' file, it
          often tells you about the needed prerequisites for installing
          this package.  You may also peek at any GNU archive site, in
          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)
   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)
   MAKEINFO doc/guix-cookbook.de.info
./doc/guix-cookbook.de.texi: warning: document without nodes
   CXX      nix/nix-daemon/guix_daemon-nix-daemon.o
   CXX      nix/nix-daemon/guix_daemon-guix-daemon.o
   CXX      nix/libstore/libstore_a-gc.o
   CXX      nix/libstore/libstore_a-globals.o
   CXX      nix/libstore/libstore_a-misc.o
   CXX      nix/libstore/libstore_a-references.o
   CXX      nix/libstore/libstore_a-store-api.o
   CXX      nix/libstore/libstore_a-optimise-store.o
   CXX      nix/libstore/libstore_a-local-store.o
   CXX      nix/libstore/libstore_a-build.o
   CXX      nix/libstore/libstore_a-pathlocks.o
   CXX      nix/libstore/libstore_a-derivations.o
   CXX      nix/libstore/libstore_a-builtins.o
   CXX      nix/libstore/libstore_a-sqlite.o
   AR       libstore.a
   CXX      nix/libutil/libutil_a-archive.o
   CXX      nix/libutil/libutil_a-affinity.o
   CXX      nix/libutil/libutil_a-serialise.o
   CXX      nix/libutil/libutil_a-util.o
   CXX      nix/libutil/libutil_a-hash.o
   CXX      nix/libutil/libutil_a-gcrypt-hash.o
   AR       libutil.a
   CXX      nix/boost/format/libformat_a-free_funcs.o
   CXX      nix/boost/format/libformat_a-parsing.o
   CXX      nix/boost/format/libformat_a-format_implementation.o
   AR       libformat.a
   CXXLD    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$


notzed@shitzone:~/src/guix$ git describe
v1.1.0-440-gce5f4701d1

notzed@shitzone:~/src/guix$ guix describe
Generation 1    Apr 21 2020 09:19:55    (current)
   guix ce5f470
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: ce5f4701d1e5c88c622a0d05a96ddfb31c117455

  reply	other threads:[~2020-04-21  0:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20  9:55 guix build problem, no RUNPATH on libpthread.so Michael Zucchi
2020-04-20 14:20 ` zimoun
2020-04-21  0:11   ` Michael Zucchi [this message]
2020-04-21  5:36     ` Efraim Flashner
2020-04-21  7:55       ` bug#40740: " zimoun
2020-04-21  7:55       ` zimoun
2020-04-22  0:35         ` bug#40740: " Michael Zucchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2cab4e5f-c9f5-f05a-625f-01e1b02ae4ce@gmail.com \
    --to=notzed@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.