Discussion:
[Msys2-users] creating package guile for mingw
Alexey Pavlov
2017-06-06 11:14:56 UTC
Permalink
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 <
hi,
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
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.
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-guile
https://github.com/msys2/msys2/wiki/Creating-packages
when running 'makepkg-mingw' in MSYS2 shell, after download, validate,
...
SNARF options.x
SNARF pairs.x
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...
https://github.com/Alexpux/MSYS2-packages/tree/master/guile
...
../libguile/null-threads.h:88:10: warning: implicit declaration of
function 'sigprocmask' [-Wimplicit-function-declaration]
return sigprocmask (how, set, oldset);
^~~~~~~~~~~
{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,
../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
https://lists.sourceforge.net/lists/listinfo/msys2-users
Алексей Павлов
2017-06-06 11:22:15 UTC
Permalink
You need do it yourself.

2017-06-06 14:18 GMT+03:00 Valerio Messina via Msys2-users <
Post by Alexey Pavlov
Mingw guile package is broken as there are no fix for 64 bit version
any chance to build the mingw32 version only?
thank you,
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
https://lists.sourceforge.net/lists/listinfo/msys2-users
David Macek
2017-06-06 11:40:05 UTC
Permalink
Post by Алексей Павлов
You need do it yourself.
Call `MINGW_INSTALLS=mingw32 makepkg-mingw` on the mingw-w64-guile PKGBUILD. That should get you the mingw-w64-i686-guile package.
--
David Macek
David Grayson
2017-06-06 16:02:04 UTC
Permalink
You should clone Alexey's MINGW-packages repository and then go into
this directory of it before running the command that David Macek
provided:

https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-guile

--David

On Tue, Jun 6, 2017 at 8:58 AM, Valerio Messina via Msys2-users
Post by David Macek
Call `MINGW_INSTALLS=mingw32 makepkg-mingw` on the mingw-w64-guile
PKGBUILD. That should get you the mingw-w64-i686-guile package.
$ MINGW_INSTALLS=mingw32 makepkg-mingw
...
checking whether to build static libraries... no
checking for libltdl... no
configure: error: GNU libltdl (Libtool) not found, see README.
==> ERROR: A failure occurred in build().
Aborting...
I imagine it look for MINGW32 version of 'libltdl' as MSYS version is
$ pacman -Ss libltdl
msys/libltdl 2.4.6-2 [installed]
A system independent dlopen wrapper for GNU libtool
So I downloaded and built 'libtool', copied (by hand) libltdl.la
in /mingw32/lib
...
checking whether to build static libraries... no
checking for libltdl... no
configure: error: GNU libltdl (Libtool) not found, see README.
==> ERROR: A failure occurred in build().
Aborting...
What it is checked for the presence of 'libltdl' ?
thank you,
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
https://lists.sourceforge.net/lists/listinfo/msys2-users
Loading...