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

file: drop OPEN_NEEDS_ARG3 option #15882

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jan 1, 2025

Not set since 1bf3643 #8362 (2022)
Added in 0088382 (2009) for VxWorks.

@vszakats
Copy link
Member Author

vszakats commented Jan 1, 2025

wolfssl-master builds fail. wolfssl bumped its soversion, and curl -V is looking for the previous one when trying to load libwolfssl.

/home/runner/work/curl/curl/src/.libs/curl: error while loading shared libraries: libwolfssl.so.42: cannot open shared object file: No such file or directory

https://github.com/curl/curl/actions/runs/12566280972/job/35031554418?pr=15882#step:20:17

It's due to ngtcp2 which wasn't rebuilt and keeps linking to the old soversion:

/usr/bin/ld: warning: libwolfssl.so.42, needed by /home/runner/ngtcp2/build/lib/libngtcp2_crypto_wolfssl.so, not found (try using -rpath or -rpath-link)

https://github.com/curl/curl/actions/runs/12566280972/job/35031554418?pr=15882#step:16:1941

Known good: https://github.com/curl/curl/actions/runs/12554935980/job/35004339929

@testclutch
Copy link

Analysis of PR #15882 at 9e32f7ed:

Test http/test_09_push.py::TestPush::test_09_02_h2_push[0] failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

@vszakats vszakats changed the title file: drop unused OPEN_NEEDS_ARG3 file: drop OPEN_NEEDS_ARG3 branch Jan 1, 2025
@vszakats vszakats changed the title file: drop OPEN_NEEDS_ARG3 branch file: drop OPEN_NEEDS_ARG3 option Jan 1, 2025
@vszakats vszakats requested a review from bagder January 1, 2025 11:18
@vszakats vszakats closed this in 5054c68 Jan 1, 2025
@vszakats vszakats deleted the drop-unused-OPEN_NEEDS_ARG3 branch January 1, 2025 11:45
vszakats added a commit that referenced this pull request Jan 2, 2025
ngtcp2 depends on crypto backends. nghttp2 depends on ngtcp2 and nghttp3
(for nghttpx server used in pytests).

Before this patch, ngtcp2, nghttp2 weren't rebuilt when their
dependencies changes. This worked fine until wolfSSL bumped its
soversion and caused CI to fail because ngtcp2 was not rebuilt and was
still referring to the old soname that was no longer offered by the
wolfSSL package.

Make sure to rebuild ngtcp2/nghttp2 when any of their dependencies bump.
To avoid rebuilding everything on every wolfSSL commit, switch to use
wolfSSL stable versions.

Bug: #15882 (comment)
Closes #15885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants