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

Snap: 'libgl-dev' is a virtual package, use non virtual packages for deterministic results. #702

Open
ppd opened this issue Sep 18, 2020 · 3 comments

Comments

@ppd
Copy link
Member

ppd commented Sep 18, 2020

Snapcraft warns us. We should do as it says.

@ppd
Copy link
Member Author

ppd commented Sep 18, 2020

Package libgl-dev

bionic (18.04LTS): Virtual package
provided by: libgl1-mesa-dev

So libgl-dev -> libgl1-mesa-dev

@whitequark
Copy link
Contributor

I'm actually fairly sure that in this case libgl-dev is the right library, conceptually, since you're not depending on Mesa in particular (and might not even use it at runtime).

@ppd
Copy link
Member Author

ppd commented Sep 23, 2020

Conceptually, yes. But the snapcraft message is not completely wrong either. If there were a second provider of libgl-dev available, the build step would not necessarily be deterministic any more.

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