all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Icecat
@ 2013-08-29 21:07 Andreas Enge
  2013-08-29 21:25 ` Icecat Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2013-08-29 21:07 UTC (permalink / raw)
  To: guix-devel

Icecat seems to be one of the applications we would like to have, so
I just gave it a try with empty inputs. The result is the following:

...
starting phase `configure'
source directory: "/tmp/nix-build-icecat-17.0.1.drv-0/icecat-17.0.1" (relative from build: ".")
build directory: "/tmp/nix-build-icecat-17.0.1.drv-0/icecat-17.0.1"
configure flags: ("CONFIG_SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash" "SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash" "--prefix=/nix/store/mv7q6hqhzf6zy85wy3g6bnbj5flflp7h-icecat-17.0.1" "--enable-fast-install")
Adding configure options from /tmp/nix-build-icecat-17.0.1.drv-0/icecat-17.0.1/./.mozconfig:
  --disable-accessibility
...
  --with-app-basename=icecat
configure: warning: CONFIG_SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash: invalid host type
configure: warning: SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash: invalid host type
configure: error: can only configure for one host and one target at a time
phase `configure' failed after 1 seconds


Do you have an idea what the problem is?

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Icecat
  2013-08-29 21:07 Icecat Andreas Enge
@ 2013-08-29 21:25 ` Ludovic Courtès
  2013-08-29 21:42   ` Icecat Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2013-08-29 21:25 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> Icecat seems to be one of the applications we would like to have, so
> I just gave it a try with empty inputs. The result is the following:

I think it’s a pain^W^W^W Thanks for taking of that!  :-)

> configure: warning: CONFIG_SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash: invalid host type
> configure: warning: SHELL=/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/bash: invalid host type
> configure: error: can only configure for one host and one target at a time
> phase `configure' failed after 1 seconds
>
>
> Do you have an idea what the problem is?

Yes.  The ‘configure’ procedure in gnu-build-system.scm runs:

  ./configure CONFIG_SHELL=... SHELL=...

That works well with current Autoconf-generated configure scripts, but
fails with others.

The workaround is to replace the ‘configure’ phase so that it invokes
./configure without the offending arguments (see time.scm for an
example.)

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Icecat
  2013-08-29 21:25 ` Icecat Ludovic Courtès
@ 2013-08-29 21:42   ` Andreas Enge
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2013-08-29 21:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Thu, Aug 29, 2013 at 11:25:56PM +0200, Ludovic Courtès wrote:
> I think it’s a pain^W^W^W Thanks for taking of that!  :-)

I am not claiming that I will necessarily finish it... We might also lack
some dependencies yet.

>   ./configure CONFIG_SHELL=... SHELL=...
> That works well with current Autoconf-generated configure scripts, but
> fails with others.
> 
> The workaround is to replace the ‘configure’ phase so that it invokes
> ./configure without the offending arguments (see time.scm for an
> example.)

Ah, thanks! I tried by hand - I can use either SHELL= or CONFIG_SHELL=
after ./configure, but not both.

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-29 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29 21:07 Icecat Andreas Enge
2013-08-29 21:25 ` Icecat Ludovic Courtès
2013-08-29 21:42   ` Icecat Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.