Mingw guile package is broken as there are no fix for 64 bit version
2017-06-06 14:10 GMT+03:00 Valerio Messina via Msys2-users <
msys2-users@lists.sourceforge.net>:
> hi,
> I'm trying to build with MSYS2 the GNU EDA Gschem and friend:
> https://en.wikipedia.org/wiki/GEDA
> The 'gerbv' component work very well so I posted the build instructions
> with MSYS2 in the GEDA devel list.
>
> Running configure for GAF (Gschem and friend) it complaint guile 2.x is
> missing. I had the guile and libguile for MSYS:
>
> msys guile 2.0.11-3 [installato]
> msys libguile 2.0.11-3 [installato]
> msys libguile-devel 2.0.11-3 [installato]
>
> but are msys packages.
> What is missing are the mingw64 and mingw32 packages.
>
> I saw there are here:
> https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-guile
>
> Following the build instructions here:
> https://github.com/msys2/msys2/wiki/Creating-packages
>
> when running 'makepkg-mingw' in MSYS2 shell, after download, validate,
> while building I got this error:
>
> ...
> SNARF options.x
> SNARF pairs.x
> D:/AMBIENTE/Documents/c/guile/src/guile-2.0.11/libguile/numbers.c:282:2:
> error: #error creation of mpz not implemented for this inum size
> #error creation of mpz not implemented for this inum size
> ^~~~~
> SNARF ports.x
> make[2]: *** [Makefile:3716: numbers.x] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/d/AMBIENTE/Documents/c/guile
> /src/build-x86_64-w64-mingw32/libguile'
> make[1]: *** [Makefile:1821: all-recursive] Error 1
> make[1]: Leaving directory '/d/AMBIENTE/Documents/c/guile
> /src/build-x86_64-w64-mingw32'
> make: *** [Makefile:1706: all] Error 2
> ==> ERROR: A failure occurred in build().
> Aborting...
>
>
>
> So I tried the PKGBUILD at:
> https://github.com/Alexpux/MSYS2-packages/tree/master/guile
>
> running 'makepkg-mingw' in MSYS2 shell, go further but I got this error:
>
> ...
> ../libguile/null-threads.h: In function 'scm_i_pthread_sigmask':
> ../libguile/null-threads.h:88:10: warning: implicit declaration of
> function 'sigprocmask' [-Wimplicit-function-declaration]
> return sigprocmask (how, set, oldset);
> ^~~~~~~~~~~
> {standard input}: Assembler messages:
> {standard input}:6536: Error: unsupported instruction `mov'
> {standard input}:6536: Error: operand type mismatch for `add'
> {standard input}:6580: Error: unsupported instruction `mov'
> {standard input}:6580: Error: operand type mismatch for `sub'
> {standard input}:6728: Error: unsupported instruction `mov'
> {standard input}:17730: Error: unsupported instruction `mov'
> {standard input}:18104: Error: unsupported instruction `mov'
> {standard input}:18104: Error: operand type mismatch for `sub'
> {standard input}:18123: Error: unsupported instruction `mov'
> {standard input}:18123: Error: operand type mismatch for `add'
> make[3]: *** [Makefile:3216: libguile_2.0_la-vm.lo] Error 1
> In file included from ../libguile/threads.h:40:0,
> from ../libguile/gc.h:30,
> from ../libguile/_scm.h:76,
> from regex-posix.c:36:
> ../libguile/null-threads.h: In function 'scm_i_pthread_sigmask':
> ../libguile/null-threads.h:88:10: warning: implicit declaration of
> function 'sigprocmask' [-Wimplicit-function-declaration]
> return sigprocmask (how, set, oldset);
> ^~~~~~~~~~~
> make[3]: Leaving directory '/d/AMBIENTE/Documents/c/guile
> /src/guile-2.0.14/libguile'
> make[2]: *** [Makefile:2186: all] Error 2
> make[2]: Leaving directory '/d/AMBIENTE/Documents/c/guile
> /src/guile-2.0.14/libguile'
> make[1]: *** [Makefile:1841: all-recursive] Error 1
> make[1]: Leaving directory '/d/AMBIENTE/Documents/c/guile
> /src/guile-2.0.14'
> make: *** [Makefile:1727: all] Error 2
> ==> ERROR: A failure occurred in build().
> Aborting...
>
>
>
> thank you in advance for any suggestion,
> Valerio
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Msys2-users mailing list
> Msys2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users