From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: bug#32183: New =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= /root/.config/current/bin/guix: Permission denied Date: Tue, 11 Sep 2018 15:58:39 +0200 Message-ID: <20180911135839.kffwkj7hmwe3f2w5@thebird.nl> References: <20180723222855.osvahab6uo677nfd@thebird.nl> <87tvomxfzy.fsf@gnu.org> <871sacats5.fsf@gnu.org> <20180902142855.llzongao3kraunys@thebird.nl> <87efeb64z3.fsf@gnu.org> <20180906211033.nszav6ubctku737d@thebird.nl> <87zhwq91dc.fsf@gnu.org> <87zhwo9wcg.fsf@gnu.org> <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> 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]:53897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzjGL-0006d9-J0 for bug-guix@gnu.org; Tue, 11 Sep 2018 10:03:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzjC2-0000ua-Ml for bug-guix@gnu.org; Tue, 11 Sep 2018 09:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzjC2-0000uQ-HT for bug-guix@gnu.org; Tue, 11 Sep 2018 09:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzjC2-0002R0-DS for bug-guix@gnu.org; Tue, 11 Sep 2018 09:59:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Pjotr Prins Cc: 32183@debbugs.gnu.org On Tue, Sep 11, 2018 at 03:23:13PM +0200, Pjotr Prins wrote: > On Tue, Sep 11, 2018 at 12:12:15PM +0200, Ludovic Courtès wrote: > > The download process is running as a build user, not as root, hence the > > permission issue (silly me!). > > > > Now we need to find a way to use ‘guix’ from root’s > > ~/.config/guix/current. A solution may be to expose that profile under > > /var/guix/profiles. Needs more thought… > > Great! Any quick hacks to fix this? Even when I set all permissions open I get in the latest tree > > ./pre-inst-env guix package -i r-rqda -p ~/opt/rqda --substitute-urls="https://berlin.guixsd.org" --verbose > > Building /gnu/store/nknybsl5a9wnfgd9bs13fzmjwa382ys2-libgcrypt-1.8.3.tar.bz2.drv - x86_64-linux > /gnu/store/sf84mb2y5vcykwq9fv02l2nipp34qng2-guix-daemon-0.15.0-3.3d43017/libexec/guix/download: line 8: /root/.config/guix/current/bin/guix: Permission denied > /gnu/store/sf84mb2y5vcykwq9fv02l2nipp34qng2-guix-daemon-0.15.0-3.3d43017/libexec/guix/download: line 8: exec: /root/.config/guix/current/bin/guix: cannot execute: Permission denied > builder for `/gnu/store/nknybsl5a9wnfgd9bs13fzmjwa382ys2-libgcrypt-1.8.3.tar.bz2.drv' failed with exit code 126 > Build failed: /gnu/store/nknybsl5a9wnfgd9bs13fzmjwa382ys2-libgcrypt-1.8.3.tar.bz2.drv - 1 builder for `/gnu/store/nknybsl5a9wnfgd9bs13fzmjwa382ys2-libgcrypt-1.8.3.tar.bz2.drv' failed with exit code Hmmm. It fixed itself when I added the mirror substitute URL again. After that it successfully built ghostscript. Looks like the building problem only exists in the pre-building track of guix where it builds packages for its own use?