From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: xscreenserver WIP Date: Fri, 8 Apr 2016 18:52:40 -0400 Message-ID: <20160408225240.GB13118@jasmine> References: <877fg8w1rp.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aofGO-0002NZ-EA for guix-devel@gnu.org; Fri, 08 Apr 2016 18:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aofGL-0000Kp-7f for guix-devel@gnu.org; Fri, 08 Apr 2016 18:52:28 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aofGL-0000Ki-3Y for guix-devel@gnu.org; Fri, 08 Apr 2016 18:52:25 -0400 Content-Disposition: inline In-Reply-To: <877fg8w1rp.fsf@dustycloud.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" To: Christopher Allan Webber Cc: Guix-devel On Fri, Apr 08, 2016 at 10:36:42AM -0500, Christopher Allan Webber wrote: > Hello all, > > Attached is an in-progress package for xscreensaver. There are a few > issues: > > - It builds, but does not install. It stops here: > > /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin/install -c xscreensaver /gnu/store/2agy7nwjl6gl4m271kx3xjkyi22zv2ps-xscreensaver-5.34/bin/xscreensaver > /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin/install -c xscreensaver-command /gnu/store/2agy7nwjl6gl4m271kx3xjkyi22zv2ps-xscreensaver-5.34/bin/xscreensaver-command > /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin/install -c xscreensaver-demo /gnu/store/2agy7nwjl6gl4m271kx3xjkyi22zv2ps-xscreensaver-5.34/bin/xscreensaver-demo > /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin/install -c xscreensaver-getimage /gnu/store/2agy7nwjl6gl4m271kx3xjkyi22zv2ps-xscreensaver-5.34/bin/xscreensaver-getimage > /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin/install: cannot create directory ‘/usr’: Permission denied > Makefile:302: recipe for target 'install-ad' failed > make[1]: *** [install-ad] Error 1 > make[1]: Leaving directory '/tmp/guix-build-xscreensaver-5.34.drv-0/xscreensaver-5.34/driver' > Makefile:29: recipe for target 'install' failed > make: *** [install] Error 5 > phase `install' failed after 0.1 seconds > note: keeping build directory `/tmp/guix-build-xscreensaver-5.34.drv-0' > > If you look at the driver/Makefile result, this isn't surprising: > > install_prefix = > # ... > install-ad: XScreenSaver.ad > @if [ ! -d $(install_prefix)$(AD_DIR) ]; then \ > $(INSTALL_DIRS) $(install_prefix)$(AD_DIR) ; \ > fi > # ... Did you try something like this? (arguments `(#:make-flags (string-append "install_prefix= (assoc-ref %outputs "out"))))