Skip to content

[vcpkg scripts] Revise vcpkg_from_sourceforge#48211

Merged
vicroms merged 1 commit into
microsoft:masterfrom
dg0yt:sf
Nov 10, 2025
Merged

[vcpkg scripts] Revise vcpkg_from_sourceforge#48211
vicroms merged 1 commit into
microsoft:masterfrom
dg0yt:sf

Conversation

@dg0yt
Copy link
Copy Markdown
Contributor

@dg0yt dg0yt commented Nov 10, 2025

This PR was triggered by seeing three (!) slashes in

Downloading soxr-0.1.3-Source.tar.xz, trying https://sourceforge.net/projects/soxr/files///soxr-0.1.3-Source.tar.xz/download

This is because of https://cmake.org/cmake/help/v4.1/policy/CMP0174.html#policy:CMP0174


I hoped this PR would fix SF download issues #48210, #48203, #48201 on Github Actions. But actually I still do not achieve success in a GHA test project.

Installing 2/2 soxr:x64-linux@0.1.3#8...
Building soxr:x64-linux@0.1.3#8...
Downloading soxr-0.1.3-Source.tar.xz, trying https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz/download
Trying https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz/download?use_mirror=cfhcable
...
error: curl: (22) The requested URL returned error: 403
...

A manual local wget or curl -L succeeds, as do local vcpkg builds.
Edit: The SF issue seems to be resolved now.

@dg0yt dg0yt changed the title [vcpkg scripts] Avoid '//' filepath for sourceforge [vcpkg scripts] Revise vcpkg_from_sourceforge Nov 10, 2025
@dg0yt dg0yt marked this pull request as draft November 10, 2025 08:30
@dg0yt dg0yt marked this pull request as ready for review November 10, 2025 08:35
Comment thread scripts/cmake/vcpkg_from_sourceforge.cmake Outdated
@vicroms vicroms merged commit ae29913 into microsoft:master Nov 10, 2025
18 checks passed
@dg0yt dg0yt deleted the sf branch November 10, 2025 20:02
@dg0yt dg0yt mentioned this pull request Nov 14, 2025
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