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"))))