From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Pimentel Subject: Re: permission denied: /gnu/store/...guile... Date: Wed, 20 May 2015 08:24:12 -0300 Message-ID: <3f67e7b73e8054a756edf7cdc68cd036@openmailbox.org> References: <14d70199695.1243810498111.5252599218489536710@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv26o-00047N-RZ for guix-devel@gnu.org; Wed, 20 May 2015 07:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv26l-0000NI-L0 for guix-devel@gnu.org; Wed, 20 May 2015 07:24:22 -0400 Received: from smtp18.openmailbox.org ([62.4.1.52]:34384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv26l-0000Ln-AZ for guix-devel@gnu.org; Wed, 20 May 2015 07:24:19 -0400 In-Reply-To: <14d70199695.1243810498111.5252599218489536710@elephly.net> 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, guix-devel-bounces+d4n1=opmbx.org@gnu.org On 2015-05-20 04:06, rekado wrote: > Hi Guix, > > my apologies for this badly formatted email. I'm using a webmail > interface because I have not been able to set up my email through > Emacs on GuixSD as I cannot build custom packages. > > Here's what happens when I try to build a custom package from a git > checkout of the guix repository: > > ~~~~~~ > rekado@banana guix $ ./pre-inst-env guix build ibus-pinyin > The following derivations will be built: > /gnu/store/gbdfw3z89dxw5nh3qw5gq3y2p5i2l1a2-ibus-pinyin-1.5.0.drv > /gnu/store/9pcjzs7g87vg2pc6ag877kxlmzg1v241-pyzy-0.1.0.tar.gz.drv > > /gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.0.tar.gz.drv > /gnu/store/k2qwb22f1jzb9wr1cvkqv9bhdhmpyaqy-pyzy-0.1.0.drv > The following file will be downloaded: > /gnu/store/7vrb932gf6lzsh5q0sskzgmjm2bwr91x-libtool-2.4.6 > @ build-started > /gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.0.tar.gz.drv > - x86_64-linux > /var/log/guix/drvs/ni//0hz29nyd051fsp2n73icjnwx28fajz-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-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/gbdfw3z89dxw5nh3qw5gq3y2p5i2l1a2-ibus-pinyin-1.5.0.drv' > failed > rekado@banana guix $ > ~~~~~~ > > 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 > > The failing derivation is this: > > ~~~~~~ > Derive([("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ibus-pinyin-1.5.0.tar.gz","sha256","a85d458dcc51ea9fd65849e63002428b3fcb3b39adcbea9214b5cb4a4cbdbc96")],[("/gnu/store/479gki04zgbysxipcb1wdl56mh1bldbx-guile-2.0.11.drv",["out"]),("/gnu/store/p20cih7k80cpqka6f06100j1ycgf3fl1-module-import.drv",["out"]),("/gnu/store/s8bacxxryg87p2ag6gl46qz6jvpdm5qs-gnutls-3.4.0.drv",["out"]),("/gnu/store/w9g2dqsfgr6n8pslwmm2lgbka96qwig4-module-import-compiled.drv",["out"])],["/gnu/store/yhds5m08mgp3a3yb2gj9imn7pkap0fc1-ibus-pinyin-1.5.0.tar.gz-builder"],"x86_64-linux","/gnu/store/cnqmkmj40jmssnx6fkf9n0n3bqj5x426-guile-2.0.11/bin/guile",["--no-auto-compile","-L","/gnu/store/6fnbs4j7dsn6rc598d72caay00yggvh7-module-import","-C","/gnu/store/ww9kwrbs4h468vll6a3swg6dc3hr9f8i-module-import-compiled","/gn u/store/yhds5m08mgp3a3yb2gj9imn7pkap0fc1-ibus-pinyin-1.5.0.tar.gz-builder"],[("impureEnvVars","http_proxy > https_proxy"),("out","/gnu/store/vvs2c9zzl9zwrq0zwrayjlih9cpwjbcq-ibus-pinyin-1.5.0.tar.gz")]) > ~~~~~~ > > I have installed GuixSD from the 0.8.2 USB image onto a new, empty > partition. 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. > > Permissions on various store directories: > > drwxrwxr-t 751 root guixbuild 479232 May 20 08:26 /gnu/store/ > dr-xr-xr-x 6 root root 4096 Jan 1 1970 > /gnu/store/cnqmkmj40jmssnx6fkf9n0n3bqj5x426-guile-2.0.11/ > -r-xr-xr-x 1 root root 10912 Jan 1 1970 > /gnu/store/cnqmkmj40jmssnx6fkf9n0n3bqj5x426-guile-2.0.11/bin/guile > > I would appreciate any help, as I cannot hack on Guix as long as this > problem persists. > > ~~ Ricardo I have similar problem, I think. My problem was permission to write (using sudo) in /gnu/store/ when I needed to enable my correct synaptics (I copied 50-synaptics.conf file to /gnu/store/.../xorg.conf.d/), so I needed remount /gnu/store/ (sudo mount -o remount,rw /gnu/store) to copy this file. -- Daniel Pimentel (d4n1) #GnuPG: 0B1A1914 #FSF: 13054