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

Build error -- missing method in YAML #61

Open
mistergibson opened this issue Apr 1, 2023 · 2 comments
Open

Build error -- missing method in YAML #61

mistergibson opened this issue Apr 1, 2023 · 2 comments

Comments

@mistergibson
Copy link

stderr:

Showing last frame. Use --error-trace for full trace.

In support/decide_binding_slow.cr:7:8

 7 | YAML.mapping(find_paths: Bindgen::FindPath::Configuration)
          ^------
Error: undefined method 'mapping' for YAML:Module
Unhandled exception: Support script decide_binding_slow.cr failed (Exception)
  from /home/mistergibson/.cache/crystal/home-mistergibson-Documents-Development-gxg.dev-gxg.cr-lib-qt5-src-qt5-..-..-support-decide_binding_fast.cr/macro_run in '??'
  from /home/mistergibson/.cache/crystal/home-mistergibson-Documents-Development-gxg.dev-gxg.cr-lib-qt5-src-qt5-..-..-support-decide_binding_fast.cr/macro_run in '??'
  from /home/mistergibson/.cache/crystal/home-mistergibson-Documents-Development-gxg.dev-gxg.cr-lib-qt5-src-qt5-..-..-support-decide_binding_fast.cr/macro_run in '__crystal_main'
  from /home/mistergibson/.cache/crystal/home-mistergibson-Documents-Development-gxg.dev-gxg.cr-lib-qt5-src-qt5-..-..-support-decide_binding_fast.cr/macro_run in 'main'
  from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
  from /home/mistergibson/.cache/crystal/home-mistergibson-Documents-Development-gxg.dev-gxg.cr-lib-qt5-src-qt5-..-..-support-decide_binding_fast.cr/macro_run in '_start'
  from ???
@docelic
Copy link
Collaborator

docelic commented Apr 1, 2023

Mm this is interesting, I thought those were resolved a while ago.
If by chance you're up for submitting a patch, you could check with git log -p how those cases involving .mapping were resolved in other places (either here or in the bindgen shard).

@shayneoneill
Copy link

Still broken

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

3 participants