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: make libpsl required by default #15464

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Oct 31, 2024

As done earlier in ./configure:

To force users to explictily disable it if they really don't want it
used and make it harder to accidentally miss it.

-DCURL_USE_LIBPSL=OFF is the option to use if PSL is not wanted.

Follow-up to 2998874 #12661

As in `./configure`:

To force users to explictily disable it if they really don't want it
used and make it harder to accidentally miss it.

`-DCURL_USE_LIBPSL=OFF` is the option to use if PSL is not wanted.

Follow-up to 2998874 curl#12661
@vszakats vszakats added build cmake cookies feature-window A merge of this requires an open feature window labels Oct 31, 2024
@vszakats vszakats closed this in 7afbc39 Dec 16, 2024
@vszakats vszakats deleted the cm-libpsl-required branch December 16, 2024 18:41
@vszakats
Copy link
Member Author

In the last CI here, the CodeQL job could find libpsl:

  -- Checking for module 'libpsl'
  --   Found libpsl, version 0.21.0
  -- Found Libpsl: /usr/include (found version "0.21.0")

https://github.com/curl/curl/actions/runs/11610926878/job/32331214399

But no longer in the latest master:

  -- Checking for module 'libpsl'
  --   Package 'libpsl', required by 'virtual:world', not found
  CMake Error at /usr/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
    Could NOT find Libpsl (missing: LIBPSL_INCLUDE_DIR LIBPSL_LIBRARY)

https://github.com/curl/curl/actions/runs/12359119167/job/34491305134

A CodeQL update or the Ubuntu 24.04 upgrade (from 22.04) may have caused this.

vszakats added a commit that referenced this pull request Dec 16, 2024
Stay with the default CMake build. It requires libpsl now, but
the latest Ubuntu runner no longer seems to provide it. Install it
manually.

Bug: #15464 (comment)
Follow-up to 7afbc39 #15464

Closes #15760
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build cmake cookies feature-window A merge of this requires an open feature window
Development

Successfully merging this pull request may close these issues.

1 participant