-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
strongswan: fix Linux build #87998
strongswan: fix Linux build #87998
Conversation
The resolve plugin ( |
These changes are based on feedback from upstream in strongswan/strongswan#683.
Hmm, the Linux build fails with
I wonder if we're missing dependencies on Linux. |
It literally says the missing symbol is |
Unfortunately, yes. Also, I misspoke. The build succeeded. What failed is trying to run |
Is it possible to build with clang on Linux? The only reference to a similar issue I found is this, and the solution apparently was to build with clang. There is more here: NixOS/nixpkgs#5045 NixOS/patchelf#45 |
Yes, it is possible. Though, let's try using a newer GCC first (it pulls in a smaller dep tree). Thanks for the hint! |
Building with host GCC leads to executables that don't work. The errors they produce are very puzzling.
Oh wait, the Nix issues probably explain it. We do rely heavily on patchelf on Linux. Let's try building with one of a newer GCC or Clang first. If that doesn't work I'll ping one of our Linux maintainers to have a look. |
@Homebrew/linux ideas? |
Looks like patchelf breaks this. |
Umm. Wut |
Oh right, forgot about that bug. Look at the PR runs from the earlier commits. |
Because why not?
Yeah, seems to be an issue with our choice of naming a global variable in libstrongswan |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?These changes are based on feedback from upstream in
strongswan/strongswan#683.