[waffle] [PATCH 02/18] pkg/archlinux: add mingw-w64-waffle package

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 31 06:38:15 PDT 2014


On 31/07/14 04:06, Chad Versace wrote:
> Emil, I can't get this PKGBUILD to build. What am I doing wrong?
> I'm probably doing a lot wrong, because I've never used mingw before.
> 
Hi Chad,

> I installed all the dependencies listed in the PKGBUILD. Below
> is a bash log that shows the build failures.
> 
> Jose, do you use Archlinux? Did you have any luck with this PKGBUILD?
> 
[snip]
>> +srcroot=${HOME}/development/waffle
I'm guessing that you've correctly amended the above line to point to the
waffle top folder.

[snip]
> 
> ==== Chad's build errors
> 
> $ git checkout evelikov/for-upstream-WGL
> $ git log -1 --format=%H
> ed2164dfb4ae6d957ef853c054357202ba60f883
> $ cd pkg/archlinux/mingw-w64-waffle
> $
> $ # Do a mingw sanity test. It fails :(
> $ cat sanity.c
> int
> main() {
>     return 0;
> }
> $ /usr/bin/i686-w64-mingw32-gcc sanity.c
> $ /usr/lib/gcc/i686-w64-mingw32/4.9.1/cc1: error while loading shared libraries: libisl.so.13: cannot open shared object file: No such file or directory
> $
The above line is a givaway that something is rather stuffed in your setup.

Most likely you synced the pacman database then installed only mingw-w64*
which caused some new+old library issues - the mingw*/cloog packages are build
with isl v0.13 while your system has v0.12.

Quick dependency check shows
mingw-w64-crt > mingw-w64-gcc > cloog > isl

Updating the whole system should resolve it:
$ pacman -Syyu

Cheers,
Emil



More information about the waffle mailing list