From mboxrd@z Thu Jan 1 00:00:00 1970 From: rekado Subject: Re: permission denied: /gnu/store/...guile... Date: Thu, 21 May 2015 04:56:57 +0800 Message-ID: <14d731d6c62.1217a38e2105373.2722327377786941574@elephly.net> References: <14d70199695.1243810498111.5252599218489536710@elephly.net> <87zj4zbfxk.fsf@gnu.org> 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]:39591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvB33-0005d7-Fv for guix-devel@gnu.org; Wed, 20 May 2015 16:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvB32-00070A-3W for guix-devel@gnu.org; Wed, 20 May 2015 16:57:05 -0400 In-Reply-To: <87zj4zbfxk.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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org ---- On Wed, 20 May 2015 20:18:31 +0800 Ludovic Court=C3=A8s wrote ----=20 >So this happens only with this derivation?=20 No. It happens whenever I build something without substitutes. There are = no substitutes for packages that are still in development (like my ibus-pin= yin draft). >I suppose you=E2=80=99re on Linux-libre 4.0.2, right?=20 I'm on Linux-libre 4.0.4. "uname -a" says this: Linux banana 4.0.4-gnu #1 SMP Mon May 18 21:33:05 UTC 2015 x86_64 GNU/L= inux >> I have installed GuixSD from the 0.8.2 USB image onto a new, empty parti= tion. I'm reusing only my home directory, which is located on a luks LVM. I= have pulled the latest version of Guix and reconfigured the system a few h= ours ago.=20 >=20 >... which means that other derivations build just fine, right?=20 When substitutes are involved everything works fine, as far as I can tell. >> Derive([("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ibus-pinyin-= 1.5.0.tar.gz","sha256","a85d458dcc51ea9fd65849e63002428b3fcb3b39adcbea9214b= 5cb4a4cbdbc96")],[("/gnu/store/479gki04zgbysxipcb1wdl56mh1bldbx-guile-2.0.1= 1.drv",["out"]),("/gnu/store/p20cih7k80cpqka6f06100j1ycgf3fl1-module-import= .drv",["out"]),("/gnu/store/s8bacxxryg87p2ag6gl46qz6jvpdm5qs-gnutls-3.4.0.d= rv",["out"]),("/gnu/store/w9g2dqsfgr6n8pslwmm2lgbka96qwig4-module-import-co= mpiled.drv",["out"])],["/gnu/store/yhds5m08mgp3a3yb2gj9imn7pkap0fc1-ibus-pi= nyin-1.5.0.tar.gz-builder"],"x86_64-linux","/gnu/store/cnqmkmj40jmssnx6fkf9= n0n3bqj5x426-guile-2.0.11/bin/guile",["--no-auto-compile","-L","/gnu/store/= 6fnbs4j7dsn6rc598d72caay00yggvh7-module-import","-C","/gnu/store/ww9kwrbs4h= 468vll6a3swg6dc3hr9f8i-module-import-compiled","/gnu/store/yhds5m08mgp3a3yb= 2gj9imn7pkap0fc1-ibus-pinyin-1.5.0.tar.gz-builder"],[("impureEnvVars","http= _proxy https_proxy"),("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ib= us-pinyin-1.5.0.tar.gz")])=20 >=20 >However I don=E2=80=99t see this derivation mention in the strace log. Oh, right. The strace log shows the output for another package I'm working= on, "gnome-keyring". There are only two things it has in common with "ibu= s-pinyin": there is no binary substitute available and I get the same error= about "permission denied" when executing guile. > Could=20 >you try to strace again the daemon, but this time just run:=20 >=20 > guix build -S ibus-pinyin=20 Here's the client output: ~~~~~~~~ rekado@banana guix $ ./pre-inst-env guix build -S ibus-pinyin substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% The following derivation will be built: /gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.0.tar.gz.drv @ build-started /gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5= .0.tar.gz.drv - x86_64-linux /var/log/guix/drvs/ni//0hz29nyd051fsp2n73icjnw= x28fajz-ibus-pinyin-1.5.0.tar.gz.drv.bz2 build error: executing `/gnu/store/cnqmkmj40jmssnx6fkf9n0n3bqj5x426-guile-2= .0.11/bin/guile': Permission denied builder for `/gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.0.= tar.gz.drv' failed with exit code 1 @ build-failed /gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.= 0.tar.gz.drv - 1 builder for `/gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-i= bus-pinyin-1.5.0.tar.gz.drv' failed with exit code 1 killing process 2209 guix build: error: build failed: build of `/gnu/store/ni0hz29nyd051fsp2n73i= cjnwx28fajz-ibus-pinyin-1.5.0.tar.gz.drv' failed rekado@banana guix $=20 ~~~~~~~~ The strace log is here: http://elephly.net/downies/guile-permission-denied2= .txt I think I should also mention that I'm encountering another "permission den= ied" problem, which may or may not be related. "sudo" is not working: ~~~~~~~~ rekado@banana guix $ sudo ls sudo: unable to stat /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin rekado@banana guix $=20 ~~~~~~~~ The output of "strace sudo ls" is here: http://elephly.net/downies/sudo.txt The store is of course not mounted with "nosetuid" flag. Thank you all for offering assistance! I appreciate it. ~~ Ricardo