GNU bug report logs - #57653
pypy build fails due to a readelf error in validate-runpath

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Wed, 7 Sep 2022 19:39:02 UTC

Severity: normal

To reply to this bug, email your comments to 57653 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57653; Package guix. (Wed, 07 Sep 2022 19:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 07 Sep 2022 19:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: pypy build fails due to a readelf error in validate-runpath
Date: Wed, 07 Sep 2022 15:37:57 -0400
Hello,

The pypy build fails like so:

--8<---------------cut here---------------start------------->8---
phase `strip' succeeded after 0.2 seconds
starting phase `validate-runpath'
validating RUNPATH of 4 binaries in "/gnu/store/qdypiywzkz71rayp9h2fipgj4cjksrg9-pypy-7.3.5/bin"...
/gnu/store/qdypiywzkz71rayp9h2fipgj4cjksrg9-pypy-7.3.5/bin/pypy3.debug: error: offset + size of segment 5 (type 1) exceeds total size
error: in phase 'validate-runpath': uncaught exception:
misc-error #f "RUNPATH validation failed" () #f 
phase `validate-runpath' failed after 0.0 seconds
Backtrace:
           8 (primitive-load "/gnu/store/6lmwh43qn67hc6r9nppg45m4ghk…")
In guix/build/gnu-build-system.scm:
    906:2  7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  5 (for-each #<procedure 7fffeeb867a0 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   927:23  3 (_)
   568:10  2 (validate-runpath #:validate-runpath? _ # _ #:outputs _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
RUNPATH validation failed
builder for `/gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv' failed with exit code 1
@ build-failed /gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv - 1 builder for `/gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv' failed with exit code 1
derivation '/gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv' offloaded to 'localhost' failed: build of `/gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv' failed
build of /gnu/store/vy5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv failed
View build log at '/var/log/guix/drvs/vy/5d4324p733zsp9n56rh084rk8z957i-pypy-7.3.5.drv'.
--8<---------------cut here---------------end--------------->8---

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#57653; Package guix. (Fri, 09 Sep 2022 19:11:03 GMT) Full text and rfc822 format available.

Message #8 received at 57653 <at> debbugs.gnu.org (full text, mbox):

From: Samuel Christie <shcv <at> sdf.org>
To: 57653 <at> debbugs.gnu.org
Subject: Re: bug#57653 pypy build fails
Date: Fri, 09 Sep 2022 12:06:32 -0400
I also get a build error for pypy-7.3.5, but mine is slightly different:

---
starting phase `install'
error: in phase 'install': uncaught exception:
unbound-variable #f "Unbound variable: ~S" (out) #f 
phase `install' failed after 0.1 seconds
Backtrace:
          10 (primitive-load "/gnu/store/rlmxdywralyifcjlyq3ljw87mjj…")
In guix/build/gnu-build-system.scm:
    906:2  9 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  7 (for-each #<procedure 7fffeeacb9c0 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   927:23  5 (_)
In ice-9/eval.scm:
    159:9  4 (_ #(#(#(#(#(#(#<directory (guile-user)…>) …) …) …) …) …))
   223:20  3 (proc #(#(#(#(#(#(#<directory (guile-us…>) …) …) …) …) …))
In unknown file:
           2 (%resolve-variable (7 . out) #<directory (guile-user) 7…>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: out
---

The file it's loading is:
  /gnu/store/rlmxdywralyifcjlyq3ljw87mjjnbarj-pypy-7.3.5-builder
which only contains `out` as a bare symbol in the expression:
  (copy-recursively dist-dir out)

I believe this line is expanded from gnu/packages/python.scm#868:
  (copy-recursively dist-dir #$output)
though I don't know gexps well enough to figure out anything past that.

I hope this helps,
-shcv




This bug report was last modified 1 year and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.