unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	help-guix <help-guix@gnu.org>
Subject: Re: Trying to package GIMP Resynthesizer
Date: Thu, 20 Sep 2018 11:25:54 +0200	[thread overview]
Message-ID: <3a8e2370-6d45-3111-28c6-de6a9ad8e2f4@freenet.de> (raw)
In-Reply-To: <B4838407-DE25-43BB-BD1A-903B94E81C27@gmail.com>

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:
---
(arguments
   `(#:phases
      (modify-phases %standard-phases
        (add-after 'unpack 'set-env
	  (lambda _
	    (setenv "CONFIG_SHELL" (which "sh"))
	    #t)))))
---

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:
http://thorwil.wordpress.com/

  reply	other threads:[~2018-09-20  9:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19 12:25 Trying to package GIMP Resynthesizer Thorsten Wilms
2018-09-20  2:55 ` Maxim Cournoyer
2018-09-20  9:25   ` Thorsten Wilms [this message]
2018-09-20 11:11     ` Ludovic Courtès
2018-09-20 13:43       ` Thorsten Wilms
2018-09-20 20:14         ` Thorsten Wilms
2018-09-21 11:19           ` Thorsten Wilms
2018-11-07 18:00             ` swedebugia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a8e2370-6d45-3111-28c6-de6a9ad8e2f4@freenet.de \
    --to=t_w_@freenet.de \
    --cc=help-guix@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).