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

cmake: USE_QUICHE uses openssl_check_symbol_exists #12160

Closed
wants to merge 1 commit into from

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Oct 19, 2023

the CheckQuicSupportInOpenSSL function was removed from USE_NGTCP2 in dee310d, but the USE_QUICHE section wasn't updated accordingly. this results in cmake errors when USE_QUICHE is enabled:

-- Found QUICHE: /path/to/quiche/target/release/libquiche.a
CMake Error at CMakeLists.txt:712 (CheckQuicSupportInOpenSSL):
  Unknown CMake command "CheckQuicSupportInOpenSSL".

the CheckQuicSupportInOpenSSL function was removed from USE_NGTCP2
in dfe2e6d, but the USE_QUICHE section
wasn't updated accordingly. this results in cmake errors when USE_QUICHE
is enabled:

-- Found QUICHE: /path/to/quiche/target/release/libquiche.a
CMake Error at CMakeLists.txt:712 (CheckQuicSupportInOpenSSL):
  Unknown CMake command "CheckQuicSupportInOpenSSL".

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@cbodley
Copy link
Contributor Author

cbodley commented Oct 19, 2023

cc @vszakats as this relates to #11555

vszakats added a commit to vszakats/curl that referenced this pull request Oct 19, 2023
Regression from dee310d #curl#11555

Reported-by: Casey Bodley
Fixes curl#12160
Closes #xxxxx
vszakats added a commit to vszakats/curl that referenced this pull request Oct 19, 2023
An orphan call to `CheckQuicSupportInOpenSSL()` remained after
a recent update when checking QUIC for quiche. Restore this
function and fixup the callers to use it.

Regression from dee310d #curl#11555

Reported-by: Casey Bodley
Fixes curl#12160
Closes #xxxxx
@vszakats
Copy link
Member

@cbodley Thanks for reporting this. How could I miss that use!

Can you test if #12162 fixes the problem?

@vszakats vszakats added the quiche Cloudflare's QUIC and HTTP/3 library label Oct 19, 2023
@vszakats
Copy link
Member

vszakats commented Oct 19, 2023

Ops, did not notice this is a PR, not a report, sorry.

My patch is a little different, by avoiding redundancy in the quic-checking logic and also allowing to pair quiche with wolfSSL. Also points to the mainline commit I made this mistake in dee310d.

vszakats added a commit to vszakats/curl that referenced this pull request Oct 19, 2023
An orphan call to `CheckQuicSupportInOpenSSL()` remained after
a recent update when checking QUIC for quiche. Restore this function
and fixup the callers to use it.

Regression from dee310d #curl#11555

Reported-by: Casey Bodley <cbodley@redhat.com>
Fixes curl#12160
Closes curl#12162
@cbodley
Copy link
Contributor Author

cbodley commented Oct 19, 2023

thanks, closing in favor of #12162

@cbodley cbodley closed this Oct 19, 2023
vszakats added a commit that referenced this pull request Oct 22, 2023
An orphan call to `CheckQuicSupportInOpenSSL()` remained after a recent
update when checking QUIC for quiche. Move back QUIC detection to
a function and fixup callers to use that. Also make sure that quiche
gets QUIC from BoringSSL, because it doesn't support other forks at this
time.

Regression from dee310d #11555

Reported-by: Casey Bodley <cbodley@redhat.com>
Fixes #12160
Closes #12162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build cmake quiche Cloudflare's QUIC and HTTP/3 library regression
Development

Successfully merging this pull request may close these issues.

None yet

2 participants