-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add libgcrypt as an explicit dependancy on Linux #77926
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
Conversation
|
Here's the corresponding website update: flutter/website#5466 |
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tool changes LGTM, adding @cbracken for more context
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need website docs updates as well, as usual.
I know I've said this before, but it would be really good if we could flush all of these out at once somehow.
cbracken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm on the change.
Thanks for updating the install instructions in flutter/website#5466
|
This seems to have broken flutter/plugins CI, here: I'll attempt to follow the new instructions to update our CI environment :) (PS: The change suggested in the docs worked!) |
Since it's somewhat non-obvious (to the point that I forgot even though I should have known better): it breaks that CI because we have a test that creates a new app every time it runs, so we get the new requirement immediately. |
|
I can add that this calls This in effect means that Debian Stable users will get told to run Technically this might be a Debian bug, but it might still be worth knowing on this end. |
Correct, in fact, it only broke the test in flutter channel I don't have an opinion about the |
That sucks :/ Maybe we should expand the doctor check to try ldconfig if pkg-config fails. We’d also need to add a specialized cmake module for gcrypt then. What do you think @stuartmorgan? |
|
This would be a question for @cbracken at this point. (I do think it's problematic that we are increasingly breaking configurations that used to work just fine just to support the snap distribution of Flutter.) |
You're absolutely right. In the past this sort of change has been beneficial for both the manual and snap install options, but especially considering it breaks some manual installs, this change is indeed not something I think (now) should be applied upstream. I've fixed this issue downstream in the snap (a solution that was actually very simple and should have picked up had I not been so hasty), so we can (and I think should) revert these changes: Please accept my sincerest apologies for the mess! |
Actually, this statement may in fact be false. I don't think the addition of |
|
I can confirm that this in addition to removing the I've also confirmed that without those It seems a no-brainer to revert the |
|
@MarcusTomlinson thanks for the heads up! We may be able to trim our Docker image after these changes land! |
Description
If this library is missing, builds fail with:
//lib64/libgcrypt.so.20: undefined reference tofstat@GLIBC_2.33'`Related Issues
Resolves: canonical/flutter-snap#32
Resolves: canonical/flutter-snap#36
Resolves: #77786
Resolves: #77293
Tests
I've updated the relative flutter-doctor tests.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.