unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cross-compilation to MinGW broken on core-updates
@ 2017-06-07 22:22 Ludovic Courtès
  2017-06-08  4:40 ` Jan Nieuwenhuizen
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-06-07 22:22 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: guix-devel

Hello Jan & all!

Bash fails to cross-build for i686-w64–mingw32 on ‘core-updates’:

--8<---------------cut here---------------start------------->8---
gcc  -DPROGRAM='"bash.exe"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"mingw32"' -DCONF_MACHTYPE='"i686-w64-mingw32"' -DCONF_VENDOR='"w64"' -DLOCALEDIR='"/gnu/store/v5rh1ypnn49m6qm6rrvwjvaiclfyqssc-bash-4.4.12/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -I./lib/intl -I/tmp/guix-build-bash-4.4.12.drv-0/bash-4.4/lib/intl  -g -DCROSS_COMPILING  -g -DCROSS_COMPILING -o mksyntax.exe ./mksyntax.c 
In file included from ./mksyntax.c:23:0:
./config.h:353:19: error: two or more data types in declaration specifiers
 #define socklen_t unsigned int
                   ^
./config.h:353:28: error: two or more data types in declaration specifiers
 #define socklen_t unsigned int
                            ^
make: *** [Makefile:691: mksyntax.exe] Error 1
--8<---------------cut here---------------end--------------->8---

(From <https://hydra.gnu.org/build/2099119>.)

Ideas?

TIA,
Ludo’.

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

* Re: Cross-compilation to MinGW broken on core-updates
  2017-06-07 22:22 Cross-compilation to MinGW broken on core-updates Ludovic Courtès
@ 2017-06-08  4:40 ` Jan Nieuwenhuizen
  2017-06-08 12:26   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Nieuwenhuizen @ 2017-06-08  4:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès writes:

Hi Ludo & all!

> Bash fails to cross-build for i686-w64–mingw32 on ‘core-updates’:

> Ideas?

Hmm.  Did bash successfully cross build to i686-w64–mingw32 before?

janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

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

* Re: Cross-compilation to MinGW broken on core-updates
  2017-06-08  4:40 ` Jan Nieuwenhuizen
@ 2017-06-08 12:26   ` Ludovic Courtès
  2017-06-08 18:23     ` Jan Nieuwenhuizen
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-06-08 12:26 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: guix-devel

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> Ludovic Courtès writes:
>
> Hi Ludo & all!
>
>> Bash fails to cross-build for i686-w64–mingw32 on ‘core-updates’:
>
>> Ideas?
>
> Hmm.  Did bash successfully cross build to i686-w64–mingw32 before?

Good question, I’m not sure!  I thought it was a prerequisite for other
things, but maybe not.

Probably not a blocker, but something nice to have.

Ludo’.

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

* Re: Cross-compilation to MinGW broken on core-updates
  2017-06-08 12:26   ` Ludovic Courtès
@ 2017-06-08 18:23     ` Jan Nieuwenhuizen
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Nieuwenhuizen @ 2017-06-08 18:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès writes:

>> Hmm.  Did bash successfully cross build to i686-w64–mingw32 before?
>
> Good question, I’m not sure!  I thought it was a prerequisite for other
> things, but maybe not.

Yeah, then it needs to be ported.  Bash is probably not trivial.  I only
looked at hello, guile and the lilypond stack (still waiting for some
love and integration).

> Probably not a blocker, but something nice to have.

Sure.  Bash is a pretty convenient interface to fork/exec/pipe, having
that on MinGW would be quite something ;-)

Greetings,
janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

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

end of thread, other threads:[~2017-06-08 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 22:22 Cross-compilation to MinGW broken on core-updates Ludovic Courtès
2017-06-08  4:40 ` Jan Nieuwenhuizen
2017-06-08 12:26   ` Ludovic Courtès
2017-06-08 18:23     ` Jan Nieuwenhuizen

Code repositories for project(s) associated with this public inbox

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

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