guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packages with libraries and binaries


From: Andreas Enge
Subject: Re: Packages with libraries and binaries
Date: Fri, 4 Oct 2013 19:55:42 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Sep 22, 2013 at 09:44:18PM +0200, Ludovic Courtès wrote:
> In such cases, we must set the RUNPATH, using patchelf as Nikita notes.
> The recommended way to do that is to use ‘augment-rpath’ from (guix
> build rpath), as done in python.scm (make sure to add ‘patchelf’ as an
> input).

When copy-pasting the phases argument from python-2 into cdparanoia, the
build phase fails as follows:

phase `strip' succeeded after 0 seconds
starting phase `add-lib-to-runpath'
Backtrace:
In ice-9/boot-9.scm:
 157: 15 [catch #t #<catch-closure 1cb5d20> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 1cb5d20>]
In ice-9/boot-9.scm:
  63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 12 [eval # #]
In ice-9/boot-9.scm:
2320: 11 [save-module-excursion #<procedure 1ce4bc0 at ice-9/boot-9.scm:3961:3 
()>]
3966: 10 [#<procedure 1ce4bc0 at ice-9/boot-9.scm:3961:3 ()>]
1645: 9 [%start-stack load-stack ...]
1650: 8 [#<procedure 1ceadb0 ()>]
In unknown file:
   ?: 7 [primitive-load 
"/nix/store/m95ni0aq76l1vrlvdjrz2g4gw13md321-cdparanoia-10.2-guile-builder"]
In ice-9/eval.scm:
 387: 6 [eval # ()]
In 
/nix/store/5kbwbhzkvndzlx0yldg3532xn7j74cwz-module-import/guix/build/gnu-build-system.scm:
 368: 5 [#<procedure 1ef74c0 at 
/nix/store/5kbwbhzkvndzlx0yldg3532xn7j74cwz-module-import/guix/build/gnu-build-system.scm:364:9
 (expr)> #]
In ice-9/r4rs.scm:
  90: 4 [dynamic-wind #<procedure 221f540 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 387: 3 [eval # #]
 386: 2 [eval # #]
 393: 1 [eval # #]
In unknown file:
   ?: 0 [memoize-variable-access! #<memoized cut> #<directory (guile-user) 
1ca7c60>]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: cut

As if an import of module srfi-26 were missing somewhere, but both python and
cdparanoia use the same gnu build system.

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]