From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Packages with libraries and binaries Date: Fri, 4 Oct 2013 19:55:42 +0200 Message-ID: <20131004175542.GA27833@debian> References: <20130922120624.GA4534@debian> <87zjr47ib1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS9bf-0003V3-RS for guix-devel@gnu.org; Fri, 04 Oct 2013 13:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VS9bY-0003zz-BE for guix-devel@gnu.org; Fri, 04 Oct 2013 13:56:03 -0400 Content-Disposition: inline In-Reply-To: <87zjr47ib1.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org 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 # ...] In unknown file: ?: 14 [apply-smob/1 #] 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 #] 3966: 10 [#] 1645: 9 [%start-stack load-stack ...] 1650: 8 [#] 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 [# #] In ice-9/r4rs.scm: 90: 4 [dynamic-wind # ...] In ice-9/eval.scm: 387: 3 [eval # #] 386: 2 [eval # #] 393: 1 [eval # #] In unknown file: ?: 0 [memoize-variable-access! # #] 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