-
Notifications
You must be signed in to change notification settings - Fork 216
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
libarchive: update to 3.7.4 #1492
Conversation
4779d41
to
031151c
Compare
brew bug? edit: does libarchive need libssl or just libcrypto? |
Not sure, looking into it.
Good catch, will amend to link with |
Looks like it is a brew bug: # the include directory is correct:
▸ pkg-config --cflags libcrypto
-I/opt/homebrew/Cellar/openssl@3/3.3.0/include
# but the libraries search path is not:
▸ pkg-config --libs libcrypto
-L/opt/homebrew/Cellar/openssl@3/3.3.0 -lcrypto
#
▸ ls -l /opt/homebrew/Cellar/openssl@3/3.3.0
total 1752
-rw-r--r-- 1 runner admin 990 Apr 9 12:12 AUTHORS.md
-rw-r--r-- 1 runner admin 782003 Apr 9 12:12 CHANGES.md
-rw-r--r-- 1 runner admin 1256 Apr 22 18:13 INSTALL_RECEIPT.json
-rw-r--r-- 1 runner admin 10175 Apr 9 12:12 LICENSE.txt
-rw-r--r-- 1 runner admin 84478 Apr 9 12:12 NEWS.md
-rw-r--r-- 1 runner admin 8182 Apr 9 12:12 README.md
drwxr-xr-x 4 runner admin 128 Apr 22 18:13 bin
drwxr-xr-x 3 runner admin 96 Apr 9 12:12 include
drwxr-xr-x 12 runner admin 384 Apr 22 18:13 lib
drwxr-xr-x 4 runner admin 128 Apr 9 12:12 share |
The pkg-config file for openssl is borked: the libraries search path is invalid, see discussion in mesonbuild#1492. Reinstalling fix it…
031151c
to
d0f62da
Compare
Reinstalling openssl fix it. ¯\(ツ)/¯ |
.github/workflows/sanity_checks.yml
Outdated
@@ -154,6 +154,12 @@ jobs: | |||
brew install ninja | |||
python3 -m pip install --pre meson | |||
|
|||
# The pkg-config file for openssl is borked: the libraries search |
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.
I think disable openssl in ci_config.json with this 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.
Rather than fix it for everybody?
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.
If we wait a couple of days, maybe it won't be an issue anymore: actions/runner-images#9755 (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.
sure. I don't know if editing sanity_checks.yml for a specific Homebrew bug is the correct solution here.
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.
So it's still not fixed…
I disagree that disabling openssl in ci_config.json
is the right approach. It's a dependency of at least 8 wraps, IMHO fixing it in sanity_checks.yml
so all wraps benefit from it is the better solution.
Alternatively, ignore the macOS arm64 failure and merge.
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.
Yeah why not. It's experimental anyways.
Link with `libcrypto` instead of `libssl`.
d0f62da
to
2a4429d
Compare
The macOS build is fine on
x86_64
, but borked onarm64
:Same issue when building curl (#1466).