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

[apr] - APR 1.7.0 is failing to download. #29344

Closed
LeeGDavis opened this issue Feb 1, 2023 · 4 comments
Closed

[apr] - APR 1.7.0 is failing to download. #29344

LeeGDavis opened this issue Feb 1, 2023 · 4 comments
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@LeeGDavis
Copy link

LeeGDavis commented Feb 1, 2023

Host Environment
Windows Server 2022
visual studio 2022 professional
Windows 10 SDK 20348

To Reproduce

Steps to reproduce the behavior:

./vcpkg install log4cxx
might even fail with just ./vcpkg install apr
have an override of log4cxx @ { "name": "log4cxx", "version": "0.11.0#3" }

Failure logs

Installing 60/62 apr:x64-windows-static...
Building apr[core]:x64-windows-static...
-- Installing port from location: C:\vcpkg\buildtrees\versioning_\versions\apr\2f23cf24a3496f9fb519512245a3e0f1a66c8ed9
-- Downloading https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2 -> apr-1.7.0.tar.bz2...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2
error: Failed to download from mirror set
error: https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2: failed: status code 404

Additional context
I believe APR updated to 1.7.1 and 1.7.0 is no longer offered.

@LeeGDavis LeeGDavis added the category:port-bug The issue is with a library, which is something the port should already support label Feb 1, 2023
@LeeGDavis LeeGDavis changed the title APR 1.7.0 is failing to download. [apr] - APR 1.7.0 is failing to download. Feb 1, 2023
@LilyWangLL LilyWangLL self-assigned this Feb 1, 2023
@LeeGDavis
Copy link
Author

I see there is a pull request for the above, which is great! Is there a reasonable workaround in the meantime before this is made available? We are looking at manually downloading the APR archive to our build machines locally, so it will ideally use a local copy and not try and download. Curious if there was something more straight forward?

@LeeGDavis
Copy link
Author

Oddly we are seeing APR 1.7.1 missing now and looks like an update to 1.7.2 is the only available. Not sure if the above update can accommodate this? @LilyWangLL

@LilyWangLL
Copy link
Contributor

This issue has been fixed in PR #29388, please update your vcpkg by command git pull and rebuild apr.

@LeeGDavis
Copy link
Author

Yep, that worked. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants