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

Fails to find .gir files out of nowhere #1449

Open
alatiera opened this issue Mar 7, 2023 · 0 comments
Open

Fails to find .gir files out of nowhere #1449

alatiera opened this issue Mar 7, 2023 · 0 comments

Comments

@alatiera
Copy link

alatiera commented Mar 7, 2023

While trying to regen tracker-rs a month since I last done it, the generator fails like this:

alatiera@toolbox ~/P/g/tracker-rs (v0.4)> ./generator.py
=> Building gir...
    Finished release [optimized] target(s) in 0.02s
<= Done!
=> Regenerating crates...
=> Looking in path `.`
Error: Error: "Couldn't find `Tracker-3.0`..."

If I pass the arg explicitly it works:

alatiera@toolbox ~/P/g/tracker-rs (v0.4)> ./generator.py --gir-files . --gir-files gir-files/                                       16:41:30
=> Building gir...
    Finished release [optimized] target(s) in 0.02s
<= Done!
=> Regenerating crates...
=> Looking in path `.`
==> Regenerating `tracker-sys/target/package/tracker-sys-0.4.0/Gir.toml`...
==> Regenerating `tracker-sys/Gir.toml`...
==> Regenerating `Gir.toml`...
===> stderr:

[WARN  libgir::analysis::trampolines] Can't generate Tracker.Notifier trampoline for signal 'events'

<= Done!
Don't forget to check if everything has been correctly generated!

The Tracker-3.0 does exist and its checked out in the repo even.

Tested with https://gitlab.gnome.org/World/Rust/tracker-rs/-/tree/v0.4

Reproduces with gir as of 0334ced as well

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

1 participant