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: Sun, 9 Sep 2018 09:20:04 +0200 Message-ID: <20180909072004.nxdwhrtyob53uznz@thebird.nl> References: <20180717085541.g6nuycopf5kxoin7@thebird.nl> <20180723222855.osvahab6uo677nfd@thebird.nl> <87tvomxfzy.fsf@gnu.org> <871sacats5.fsf@gnu.org> <20180902142855.llzongao3kraunys@thebird.nl> <87efeb64z3.fsf@gnu.org> <20180906211033.nszav6ubctku737d@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyu1p-0006LA-Qd for bug-guix@gnu.org; Sun, 09 Sep 2018 03:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyu1m-0006yO-8J for bug-guix@gnu.org; Sun, 09 Sep 2018 03:21:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyu1m-0006y8-3A for bug-guix@gnu.org; Sun, 09 Sep 2018 03:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fyu1l-00087I-Ui for bug-guix@gnu.org; Sun, 09 Sep 2018 03:21:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20180906211033.nszav6ubctku737d@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-done@debbugs.gnu.org Dear Ludo, If I understand 'guix pull' correctly below should simply not be possible, right? I mean, once you do a guix pull you have the latest and the greatest and there should be no interference? Intriguingly this does not happen on all my systems, just on 2 - notably my laptop I am using in Southern France ;) Pj. On Thu, Sep 06, 2018 at 11:10:33PM +0200, Pjotr Prins wrote: > On Sun, Sep 02, 2018 at 10:04:32PM +0200, Ludovic Courtès wrote: > > OK. Do reopen it if it shows up again. > > Just to report that I did a successful install on one of those > machines. Starting with a 0.14 guix as root > > guix pull > > restarted daemon using the new one in /root/.config/current/bin/ > > switched to normal user using the guix pointed in that directory > > /gnu/store/47hhyj0l4nk4na09qx1b66sz1wvpx95i-guix-command pull > > Next I could run > > ~/.config/current/bin/guix ... > > everything appeared hunky dory until I need to build a package > > /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/2q486ivskp2vm2rq10rs4pq949zkcz8h-evaluate_0.11.tar.gz.drv' failed with exit code 126 > cannot build derivation `/gnu/store/qaaf8i893x0ivfnw6q19l0rq5gkmlbmj-r-evaluate-0.11.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/frxjc6iwwflasmj3wcm5s2934mgziaj6-r-fansi-0.3.0.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/p3d9km0fi423nl66q5ncvkxcnj2kz6bv-r-rsqlite-2.1.1.drv': 1 dependencies couldn't be built > guix package: error: build failed: build of `/gnu/store/p3d9km0fi423nl66q5ncvkxcnj2kz6bv-r-rsqlite-2.1.1.drv' failed > > Again as root I did another guix pull. It instates the same daemon > > /root/.config/guix/current/bin/guix-daemon -> /gnu/store/sf84mb2y5vcykwq9fv02l2nipp34qng2-guix-daemon-0.15.0-3.3d43017/bin/guix-daemon > > Now guix pull fails in $USER > > which guix > /home/wrk/.config/guix/current/bin/guix > > guix pull > > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... > Building from this channel: > guix https://git.savannah.gnu.org/git/guix.git 91cc2a3 > guile: warning: failed to install locale > substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/xw7kc681ivcls1lpp0qy0xljljzd70dr-groff-1.22.3... > groff-1.22.3 2.7MiB 1.2MiB/s 00:02 [##################] 100.0% > > /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/24ag580271wa640529ycykdwj0lk0g6z-curl-7.61.1.tar.xz.drv' failed with exit code 126 > cannot build derivation `/gnu/store/17lw3svpjqygpj739yynyz6b8abddikx-curl-7.61.1.drv': 1 dependencies couldn't be built > Backtrace: > 18 (primitive-load "/gnu/store/blfsj798qh4i2pmrcvyaidmsdiz?") > In ice-9/eval.scm: > 155:9 17 (_ _) > > Can you think of a way of getting out of this loop? What am I doing wrong here? > > Pj. >