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

libarchive: update to 3.7.4 #1492

Merged
merged 2 commits into from
May 14, 2024

Conversation

benoit-pierre
Copy link
Contributor

The macOS build is fine on x86_64, but borked on arm64:

ld: library 'ssl' not found

Same issue when building curl (#1466).

@neheb
Copy link
Collaborator

neheb commented Apr 26, 2024

brew bug?

edit: does libarchive need libssl or just libcrypto?

@benoit-pierre
Copy link
Contributor Author

brew bug?

Not sure, looking into it.

edit: does libarchive need libssl or just libcrypto?

Good catch, will amend to link with libcrypto only.

@benoit-pierre
Copy link
Contributor Author

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

benoit-pierre added a commit to benoit-pierre/wrapdb that referenced this pull request Apr 27, 2024
The pkg-config file for openssl is borked: the libraries search
path is invalid, see discussion in mesonbuild#1492. Reinstalling fix it…
@benoit-pierre
Copy link
Contributor Author

Reinstalling openssl fix it. ¯\(ツ)

@@ -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
Copy link
Collaborator

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.

Copy link
Contributor Author

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?

Copy link
Contributor Author

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).

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

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.

@benoit-pierre benoit-pierre force-pushed the pr/update_libarchive branch from d0f62da to 2a4429d Compare May 14, 2024 21:09
@neheb neheb merged commit 541f039 into mesonbuild:master May 14, 2024
8 of 9 checks passed
@benoit-pierre benoit-pierre deleted the pr/update_libarchive branch May 14, 2024 22:04
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

Successfully merging this pull request may close these issues.

2 participants