Giter Club home page Giter Club logo

aur-fedora-mingw's People

Contributors

ntd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aur-fedora-mingw's Issues

Cannot build afm-mingw-w64-gobject-introspection : Failed to find symbol 'g_date_get_type'

Thank you for your work, it is a big help for cross compiling for windows !
I cannot compile the afm-mingw-w64-gobject-introspection project.
It fails with this error message :

env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/libxml2-2.0.gir -o gir/libxml2-2.0.typelib
Invalid GType function: 'g_date_get_type'
Failed to find symbol 'g_date_get_type'
Command '['/usr/bin/env', 'WINEARCH=win32', 'WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32', 'DISPLAY=', '/usr/bin/wine', '/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/GLib-2.0.exe', '--introspect-dump=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/functions.txt,/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/dump.xml']' returned non-zero exit status 1
env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/xft-2.0.gir -o gir/xft-2.0.typelib
env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/xlib-2.0.gir -o gir/xlib-2.0.typelib
Makefile:3430: recipe for target 'GLib-2.0.gir' failed
make[2]: *** [GLib-2.0.gir] Error 1

fedora-mingw-w64-glib2 has been successfully installed before.
Do you have any clue how to fix this issue ?

Thank you very much !

custom library introspection with last version

With the current version I cannot introspect my custom library. It worked OK with a previous version of the aur-fedora-mingw project. I get this error message:

libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -mms-bitfields -I/usr/x86_64-w64-mingw32/include/gio-win32-2.0/ -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -mms
-bitfields -I/ned/launcher/_inst/usr/local/include -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -I../include -I. -I. -I./generated -D_DEBUG -DUNITTEST -mtune=generic -O2 -pipe -fno
-stack-protector -g -std=c99 -Wall -Werror -MT libsfxlog_test_la-helper_file.lo -MD -MP -MF .deps/libsfxlog_test_la-helper_file.Tpo -c helper_file.c -DDLL_EXPORT -DPIC -o .libs/libsfxlog_test_la-helper_file.o
mv -f .deps/libsfxlog_test_la-helper_file.Tpo .deps/libsfxlog_test_la-helper_file.Plo
/bin/sh ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror -o libsfxlog-test.la libsfxlog_test_la-log.lo libsfxlog_test_la-log_conf.lo libsfxl
og_test_la-log_conf_object.lo libsfxlog_test_la-log_test.lo libsfxlog_test_la-helper.lo libsfxlog_test_la-helper_callback.lo libsfxlog_test_la-helper_file.lo -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/usr/x86_64-w64-mingw3
2/lib -lgio-2.0 -lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/ned/launcher/_inst/usr/local/lib -L/usr/x86_64-w64-mingw32/lib -lsfx -lsfxconf -lglib-2.0 -lintl ./generated/libsfxlog-generated.la
libtool: link: (cd .libs/libsfxlog-test.lax/libsfxlog-generated.a && x86_64-w64-mingw32-ar x "/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/./generated/.libs/libsfxlog-generated.a")
libtool: link: x86_64-w64-mingw32-ar cru .libs/libsfxlog-test.a .libs/libsfxlog_test_la-log.o .libs/libsfxlog_test_la-log_conf.o .libs/libsfxlog_test_la-log_conf_object.o .libs/libsfxlog_test_la-log_test.o .libs/libsfxlog_tes
t_la-helper.o .libs/libsfxlog_test_la-helper_callback.o .libs/libsfxlog_test_la-helper_file.o .libs/libsfxlog-test.lax/libsfxlog-generated.a/libsfxlog_generated_la-sfxlog_helper-enum-types.o .libs/libsfxlog-test.lax/libsfxl
og-generated.a/libsfxlog_generated_la-sfxlog_level-enum-types.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libsfxlog-test.a
libtool: link: rm -fr .libs/libsfxlog-test.lax
libtool: link: ( cd ".libs" && rm -f "libsfxlog-test.la" && ln -s "../libsfxlog-test.la" "libsfxlog-test.la" )
CPPFLAGS="" CFLAGS="-mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror" LDFLAGS="" CC="x86_64-w64-mingw32-gcc" PKG_CONFIG="x86_64-w64-mingw32-pkg-config" GI_HOST_OS="nt" DLLTOOL="x86_64-w64-mingw32-dlltoo
l" /usr/x86_64-w64-mingw32/bin/g-ir-scanner --namespace=SfxLog --nsversion=1.0 --libtool="/bin/sh ../libtool" --pkg=gio-2.0 --include=Gio-2.0 --library=libsfxlog.la --warn-all --warn-error --identifier-prefix=Sfxlog --s
ymbol-prefix=sfxlog --cflags-begin -mms-bitfields -I/usr/x86_64-w64-mingw32/include/gio-win32-2.0/ -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -mms-bitfields -I/ned/launcher/_in
st/usr/local/include -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -I../include -I. -I. -I./generated -D_DEBUG --cflags-end ../include/sfxlog_test.h ../include/sfxlog_level.h ../i
nclude/sfxlog_conf.h ../include/sfxlog_error.h ../include/sfxlog_helper_type.h ../include/sfxlog.h log_conf.c log_conf_object.c log.c libsfxlog.la --output SfxLog-1.0.gir
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC x86_64-w64-mingw32-gcc -o /tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.exe -Wl,--export-all-symbols -mtune=generic -O2 -pipe -fno-stack-protect
or -g -std=c99 -Wall -Werror tmp-introspect1dHRnT/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.o -L. libsfxlog.la -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/usr/x86_64-w64-mingw32/lib -lgmodule-2.0 -lgio
-2.0 -lgobject-2.0 -lglib-2.0 -lintl
libtool: link: x86_64-w64-mingw32-gcc -o /tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/.libs/SfxLog-1.0.exe -Wl,--export-all-symbols -mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror tmp-intros
pect1dHRnT/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.o -L. ./.libs/libsfxlog.dll.a -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/ned/launcher/_inst/usr/local/lib /ned/launcher/_inst/usr/local/lib/libsfx
conf.dll.a /ned/launcher/_inst/usr/local/lib/libsfx.dll.a -lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/ned/launcher/_inst/usr/local/lib
Caught exception: <type 'exceptions.OSError'> OSError(8, 'Exec format error')

/usr/lib/python2.7/subprocess.py(1024)_execute_child()
-> raise child_exception

Do you have an idea what's wrong ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.