[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to package GIMP Resynthesizer

From: Thorsten Wilms
Subject: Re: Trying to package GIMP Resynthesizer
Date: Thu, 20 Sep 2018 11:25:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 20.09.2018 04:55, Maxim Cournoyer wrote:

./configure: line 9047: /bin/sh: No such file or directory

I've had this before, and the way I could work around it was by setting the SHELL 
environment variable. Grep for 'setenv "SHELL"' in the package sources and I'm 
sure you'll find instances of that.

Great suggestion, thanks!

`guix/gnu/packages: grep -B 10 -A 5 'setenv "SHELL' *`
made for a nice list of examples.

This addition makes configure pass:
     (modify-phases %standard-phases
       (add-after 'unpack 'set-env
          (lambda _
            (setenv "CONFIG_SHELL" (which "sh"))

Then, in phase check:

make[1]: Entering directory '/tmp/guix-build-gimp-resynthesizer-2.0.3.drv-0/resynthesizer-2.0.3/po' make[1]: *** No rule to make target '../src/resynth-gui.c', needed by 'resynthesizer.pot'. Stop. make[1]: Leaving directory '/tmp/guix-build-gimp-resynthesizer-2.0.3.drv-0/resynthesizer-2.0.3/po'
make: *** [Makefile:403: check-recursive] Error 1

I found no trace of this being a known issue, or a solution by grep-ing sources for .pot, so I just added `#:tests? #f` to arguments.

Next, in phase install:

make[3]: Entering directory '/tmp/guix-build-gimp-resynthesizer-2.0.3.drv-0/resynthesizer-2.0.3/src/resynthesizer' /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin/mkdir -p '/gnu/store/kc1s39xl3wzkb5cfsavvbrgri4751zmk-gimp-2.10.6/lib/gimp/2.0/plug-ins'

/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin/install -c resynthesizer '/gnu/store/kc1s39xl3wzkb5cfsavvbrgri4751zmk-gimp-2.10.6/lib/gimp/2.0/plug-ins' /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin/install: cannot create regular file '/gnu/store/kc1s39xl3wzkb5cfsavvbrgri4751zmk-gimp-2.10.6/lib/gimp/2.0/plug-ins/resynthesizer': Permission denied

Thorsten Wilms

thorwil's design for free software:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]