From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: permission denied: /gnu/store/...guile... Date: Wed, 20 May 2015 14:18:31 +0200 Message-ID: <87zj4zbfxk.fsf@gnu.org> References: <14d70199695.1243810498111.5252599218489536710@elephly.net> 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]:50280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv2xQ-0000mZ-1N for guix-devel@gnu.org; Wed, 20 May 2015 08:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv2xK-00075L-Fw for guix-devel@gnu.org; Wed, 20 May 2015 08:18:43 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv2xK-00075E-Cz for guix-devel@gnu.org; Wed, 20 May 2015 08:18:38 -0400 In-Reply-To: <14d70199695.1243810498111.5252599218489536710@elephly.net> (rekado@elephly.net's message of "Wed, 20 May 2015 15:06:17 +0800") 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: rekado Cc: guix-devel@gnu.org rekado skribis: > 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= -ibus-pinyin-1.5.0.tar.gz.drv' failed with exit code 1 > cannot build derivation `/gnu/store/gbdfw3z89dxw5nh3qw5gq3y2p5i2l1a2-ibus= -pinyin-1.5.0.drv': 1 dependencies couldn't be built > killing process 2391 > guix build: error: build failed: build of `/gnu/store/gbdfw3z89dxw5nh3qw5= gq3y2p5i2l1a2-ibus-pinyin-1.5.0.drv' failed > rekado@banana guix $=20 > ~~~~~~=20 > > I have confirmed that this particular guile binary can be executed, so I = don't know what permission problem it encounters. I attached strace to the= guix-daemon and it produced a long log which I have uploaded here: http://= elephly.net/downies/guile-permission-denied.txt So this happens only with this derivation? Looking at the strace output, I can=E2=80=99t see anything suspicious; everything seems to happen as expected, namely this part: --8<---------------cut here---------------start------------->8--- [pid 16379] statfs("/gnu/store", {f_type=3D"EXT2_SUPER_MAGIC", f_bsize=3D40= 96, f_blocks=3D6417799, f_bfree=3D4940413, f_bavail=3D4608638, f_files=3D16= 41600, f_ffree=3D1378343, f_fsid=3D{-557300761, 437310106}, f_namelen=3D255= , f_frsize=3D4096}) =3D 0 [pid 16379] unshare(CLONE_NEWNS) =3D 0 [pid 16379] mount(NULL, "/gnu/store", NULL, MS_REMOUNT|MS_BIND, NULL) =3D 0 --8<---------------cut here---------------end--------------->8--- The only thing that could go wrong is if the store somehow ended up being mounted with MS_NOEXEC, but I don=E2=80=99t see that happening here. I suppose you=E2=80=99re on Linux-libre 4.0.2, right? > I have installed GuixSD from the 0.8.2 USB image onto a new, empty partit= ion. 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 = hours ago.=20 ... which means that other derivations build just fine, right? > Derive([("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ibus-pinyin-1= .5.0.tar.gz","sha256","a85d458dcc51ea9fd65849e63002428b3fcb3b39adcbea9214b5= cb4a4cbdbc96")],[("/gnu/store/479gki04zgbysxipcb1wdl56mh1bldbx-guile-2.0.11= .drv",["out"]),("/gnu/store/p20cih7k80cpqka6f06100j1ycgf3fl1-module-import.= drv",["out"]),("/gnu/store/s8bacxxryg87p2ag6gl46qz6jvpdm5qs-gnutls-3.4.0.dr= v",["out"]),("/gnu/store/w9g2dqsfgr6n8pslwmm2lgbka96qwig4-module-import-com= piled.drv",["out"])],["/gnu/store/yhds5m08mgp3a3yb2gj9imn7pkap0fc1-ibus-pin= yin-1.5.0.tar.gz-builder"],"x86_64-linux","/gnu/store/cnqmkmj40jmssnx6fkf9n= 0n3bqj5x426-guile-2.0.11/bin/guile",["--no-auto-compile","-L","/gnu/store/6= fnbs4j7dsn6rc598d72caay00yggvh7-module-import","-C","/gnu/store/ww9kwrbs4h4= 68vll6a3swg6dc3hr9f8i-module-import-compiled","/gnu/store/yhds5m08mgp3a3yb2= gj9imn7pkap0fc1-ibus-pinyin-1.5.0.tar.gz-builder"],[("impureEnvVars","http_= proxy https_proxy"),("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ibu= s-pinyin-1.5.0.tar.gz")]) However I don=E2=80=99t see this derivation mention in the strace log. Cou= ld you try to strace again the daemon, but this time just run: guix build -S ibus-pinyin ? Thanks, Ludo=E2=80=99.