Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.6.4 build fails at D interface generation #44

Closed
antonio-rojas opened this issue May 25, 2017 · 5 comments
Closed

0.6.4 build fails at D interface generation #44

antonio-rojas opened this issue May 25, 2017 · 5 comments

Comments

@antonio-rojas
Copy link
Contributor

antonio-rojas commented May 25, 2017

Meson encountered an error in file meson.build, line 129, column 4:
Error encountered: Unable to build D intefaces from GIR:
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookup.txt(118) : Don't use inputRoot, it has been removed as it was never implemented.
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookup.txt(120) : Don't use bindDir, it is no longer used since the c definitions have moved.
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookupAppStream.txt(23): Don't use absolute paths for specifying gir files.
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookupGLib.txt(23): Don't use absolute paths for specifying gir files.
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookupGLib.txt(24): Don't use absolute paths for specifying gir files.
Warning /build/appstream-generator/src/appstream-generator-0.6.4/contrib/girwrap/APILookupGio.txt(23): Don't use absolute paths for specifying gir files.
core.exception.AssertError@/usr/include/dlang/ldc/std/regex/package.d(563): wrong match: 17..0
----------------
??:? _d_assert_msg [0x121a3021]
??:? [0x49b822]
??:? [0x49ac91]
??:? [0x498cb9]
??:? [0x49a504]
??:? [0x45ce9a]
??:? _aaApply [0x121c6592]
??:? [0x45c76c]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x121d470e]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x121d4653]
??:? _d_run_main [0x121d457f]
??:? [0x4671f4]
??:? __libc_start_main [0x11d99510]
??:? [0x45c279]

this is with lcd 1.2, but same issue when using dmd (for both girtod ans asgen)

@ximion
Copy link
Owner

ximion commented May 25, 2017

Weird, I'll try to reproduce this somehow...

@ximion
Copy link
Owner

ximion commented May 25, 2017

This was broken at gtkd-developers/gir-to-d@88dc63a in GirToD

@ximion
Copy link
Owner

ximion commented May 25, 2017

I found two issues here and reported them upstream: gtkd-developers/gir-to-d#3 and gtkd-developers/gir-to-d#4
As soon as the former is fixed, you should be able to build asgen again (maybe download the tarball again, I was evil and moved the git tag).
The latter issue seems to only affect the Git master branch.

I also switched the CI to use GirToD from upstream, instead of my forked branch, so we will catch any future issues quickly now.

@ximion
Copy link
Owner

ximion commented May 26, 2017

The bug is fixed in GirToD, and in any case, it isn't an issue in asgen.
Hope this works again now :-)

@ximion ximion closed this as completed May 26, 2017
@ximion
Copy link
Owner

ximion commented May 26, 2017

All GirToD issues were fixed now and I can confirm the patched version works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants