From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: New =?utf-8?B?4oCYZ3VpeCBwdWxs?= =?utf-8?B?4oCZ?= /root/.config/current/bin/guix: Permission denied Date: Fri, 13 Jul 2018 10:39:02 +0200 Message-ID: <20180713083902.vwd32bltq35pwe5o@thebird.nl> References: <87y3fogt8e.fsf@gnu.org> <87sh4ore3y.fsf@gmail.com> <20180712110438.gr3agufho7h63hel@thebird.nl> <87o9fcr11f.fsf@elephly.net> <20180712142045.uyxksvqgrl7zz3z5@thebird.nl> <87muuwr0i9.fsf@elephly.net> <20180712164456.o3nhmhqobo5idilg@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdtbX-0002zx-V0 for guix-devel@gnu.org; Fri, 13 Jul 2018 04:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdtbU-0006sC-N6 for guix-devel@gnu.org; Fri, 13 Jul 2018 04:39:07 -0400 Received: from mail.thebird.nl ([94.142.245.5]:55710) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fdtbU-0006qz-CA for guix-devel@gnu.org; Fri, 13 Jul 2018 04:39:04 -0400 Content-Disposition: inline In-Reply-To: <20180712164456.o3nhmhqobo5idilg@thebird.nl> 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" To: guix-devel There are still some rough edges and I am stuck again. Running daemon: /root/.config/current/bin/guix-daemon --build-users-group=3Dguixbuild -= -version guix-daemon (GNU Guix) 0.15.0-1.4876bc8 Running client as normal user ~/.config/guix/current/bin/guix --version guix (GNU Guix) ecba50bb79a49b317c4b1e718f4732b36438227f (which is the latest pull)=20 and ~/.config/guix/current/bin/guix pull Fails to build with below /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-gui= x-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: /root/.config/cu= rrent/bin/guix: Permission denied This is a blocker since I can't build from source either. /root/.config/c= urrent/bin/guix exists and gives guix (GNU Guix) ecba50bb79a49b317c4b1e718f4732b36438227f Apparently the user client need to access /root. What to do?=20 Note my environment is pretty bare. Pj. guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' pac= kage and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. substitute: /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.= 19/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-= 8) substitute: guile: warning: failed to install locale substitute: hint: Consider installing the `glibc-utf8-locales' or `glibc-= locales' package and substitute: defining `GUIX_LOCPATH', along these lines: substitute: substitute: guix package -i glibc-utf8-locales substitute: export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" substitute: substitute: See the "Application Setup" section in the manual, for more i= nfo. substitute: substitute: Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.gi= t'... Building from Git commit 9286c2950494b110e12d58d4ebd693d614120afe... guile: warning: failed to install locale Computing Guix derivation for 'x86_64-linux'... |/gnu/store/rbrandv7anzjx= qkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash: warning: setlocale: LC_= ALL: cannot change locale (en_GB.UTF-8) /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/= libexec/guix/download: line 8: /root/.config/current/bin/guix: Permission= denied /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/= libexec/guix/download: line 8: exec: /root/.config/current/bin/guix: cann= ot execute: Permission denied builder for `/gnu/store/j3swd19y4wzv6nrr13bv73ipndwmd0wb-curl-7.61.0.tar.= xz.drv' failed with exit code 126 cannot build derivation `/gnu/store/6wvy70rjjmn2w8pfzq7hyylvh88rx3rw-curl= -7.61.0.drv': 1 dependencies couldn't be built Backtrace: 18 (primitive-load "/gnu/store/gc99a43pkmx9c47naa667n0yin3?") In ice-9/eval.scm: 155:9 17 (_ _) 159:9 16 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 1455:24 15 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In ./guix/gexp.scm: 670:2 14 (_ _) In ./guix/monads.scm: 485:9 13 (_ _) In ./guix/gexp.scm: 542:22 12 (_ _) 670:2 11 (_ _) In ./guix/monads.scm: 485:9 10 (_ _) In ./guix/gexp.scm: 542:22 9 (_ _) 670:2 8 (_ _) In ./guix/monads.scm: 485:9 7 (_ _) In ./guix/gexp.scm: 542:22 6 (_ _) In ./guix/store.scm: 1354:38 5 (_ #) In ./guix/packages.scm: 878:14 4 (cache! # # ?) In unknown file: 3 (_ # # #) In ./guix/packages.scm: 1202:22 2 (thunk) 1135:25 1 (bag->derivation # #< ?) In srfi/srfi-1.scm: 592:17 0 (map1 (("source" # url: "?>) ?)) srfi/srfi-1.scm:592:17: In procedure map1: Throw to key `srfi-34' with args `(#)'. Backtrace: 9 (primitive-load "/home/pjotr/.config/guix/current/bin/g?") In guix/ui.scm: 1579:12 8 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 7 (catch _ _ # ?) 829:9 6 (catch _ _ # ?) 829:9 5 (catch _ _ # ?) In guix/scripts/pull.scm: 391:22 4 (_) In guix/store.scm: 1455:24 3 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/pull.scm: 239:2 2 (_ _) In ice-9/eval.scm: 191:27 1 (_ #(#(# #) ?)) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("invalid build re?" ?) ?) ERROR: In procedure scm-error: invalid build result (# /gnu/store/gc99a43pkmx9c47naa667n0= yin3r0f7h-compute-guix-derivation 364a550> "") On Thu, Jul 12, 2018 at 06:44:56PM +0200, Pjotr Prins wrote: > On Thu, Jul 12, 2018 at 04:29:02PM +0200, Ricardo Wurmus wrote: > >=20 > > Pjotr Prins writes: > >=20 > > > On Thu, Jul 12, 2018 at 04:17:32PM +0200, Ricardo Wurmus wrote: > > >> =E2=80=9Cguix pull=E2=80=9D updates its own profile only. It upda= tes > > >> ~/.config/guix/current, so you need to use Guix from > > >> ~/.config/guix/current/bin. > > > > > > And it says so after guix pull. It is easy to forget however. > > > > > > Why don't we (also) add it to the default guix profile? To most use= rs > > > this would make sense. No point in running guix pull if you don't w= ant > > > to update guix itself - right? > >=20 > > It does update Guix itself. The =E2=80=9Cguix=E2=80=9D package, howe= ver, should > > generally not be installed into a user profile, because it is always > > necessarily *older* than the version of Guix that you are using to > > install it (unless you=E2=80=99re using =E2=80=9C--with-source=E2=80=9D= to use a more recent > > tarball). >=20 > Hmmm. I don't understand. I would think it the other way round: the > guix package you install is newer than the running daemon. But, no > matter. Maybe we should just accentuate that guix gets its own independ= ent > profile. That I can understand ;). So it should *never* be in the user > profile. Not even by accident. >=20 > Pj. >=20