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

8.0.1 [Ubuntu 24.04] libgirepository-dev required for .deb #8217

Closed
ichorid opened this issue Oct 16, 2024 · 4 comments · Fixed by #8222
Closed

8.0.1 [Ubuntu 24.04] libgirepository-dev required for .deb #8217

ichorid opened this issue Oct 16, 2024 · 4 comments · Fixed by #8222
Assignees
Milestone

Comments

@ichorid
Copy link
Contributor

ichorid commented Oct 16, 2024

sudo dpkg -i ./tribler_8.0.1_amd64.deb
results in an error: dpkg requires libgirepository1.0-dev which is not installed.
Apparently, this development library is used to build Rust code bindings to Python somehow slipped into the release.

@ichorid ichorid changed the title 8.0.1 : Ubuntu 24.04: libgirepository-dev required for .deb 8.0.1 [Ubuntu 24.04] libgirepository-dev required for .deb Oct 16, 2024
@qstokkink
Copy link
Contributor

dpkg -i does not pull in missing dependencies, it only shows errors when they are not found.

sudo apt install ./tribler_8.0.1_all.deb should pull in your missing dependencies.

@ichorid
Copy link
Contributor Author

ichorid commented Oct 16, 2024

I know, but the dependency in question is a "-dev" dependency. It should not be required for non-dev packages.

@qstokkink
Copy link
Contributor

If I interpret https://pygobject.gnome.org/getting_started.html#ubuntu-logo-ubuntu-debian-logo-debian correctly, we might be able to substitute libgirepository1.0-dev with python3-gi python3-gi-cairo inside the deb's Depends:.

I would need to make a test build to confirm if that is possible. It would indeed be nice not to depend on a -dev package. I'll put this on the shortlist for the next pre-release.

@qstokkink qstokkink added this to the 8.0.2 milestone Oct 16, 2024
@qstokkink qstokkink self-assigned this Oct 16, 2024
@qstokkink
Copy link
Contributor

I just tested this. libgirepository1.0-dev is not required, nor is python3-gi python3-gi-cairo. We can just straight-up remove this from the Depends. That cleans up nicely. Thanks @ichorid 🙏

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

Successfully merging a pull request may close this issue.

2 participants