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

Failed to extract archive boost_1_78_0.zip #2900

Closed
MikhailGorobets opened this issue Jan 1, 2024 · 9 comments
Closed

Failed to extract archive boost_1_78_0.zip #2900

MikhailGorobets opened this issue Jan 1, 2024 · 9 comments

Comments

@MikhailGorobets
Copy link

Description of Issue

I am getting this error when attempting to build the project.
image
I have analyzed the source code of the project build script and have come to the conclusion that it is related to this issue
boostorg/boost#842

Steps to Reproduce

  1. clone OpenUSD
  2. pip install PySide6
  3. open the "x64 Native Tools Command Prompt for VS 2022" as administrator
  4. python .\build_scripts\build_usd.py --build-variant debug .\build\Debug

System Information (OS, Hardware)

Windows

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-9131

@meshula
Copy link
Member

meshula commented Jan 3, 2024

Hi, I think it may be back now? @MikhailGorobets can you confirm?

@MikhailGorobets
Copy link
Author

MikhailGorobets commented Jan 3, 2024

Hi, I think it may be back now? @MikhailGorobets can you confirm?

The website is up. I think in the dependency installation script, we can specify multiple sources for downloading files in case one of them is unavailable (if the situation repeats next year, KEKW).

@meshula
Copy link
Member

meshula commented Jan 4, 2024

Yes, let's do that if it starts to become an issue.

@meshula meshula closed this as completed Jan 4, 2024
@Shimmen
Copy link

Shimmen commented Jan 8, 2024

Hello! This issue seems to have reappeared, unfortunately, so an additional mirror in the build script probably wouldn't hurt. Boost actually keeps their own archive (e.g. https://archives.boost.io/release/1.78.0/source/boost_1_78_0.zip) which could be a good one.

FYI found that mirror on a USD fork 2ebd43f so thank you @buddly27!

@buddly27
Copy link

buddly27 commented Jan 8, 2024

Ah, I'm glad you found the fork! I hesitated to open a new issue since I assume JFrog is currently working on resolving the issue with the broken links, but switching to a different mirror might be a good idea if it persists.

@sunyab
Copy link
Contributor

sunyab commented Jan 8, 2024

Reopening this issue since the JFrog site is down again. From boostorg/boost#845 and comments on the boost mailing list it's unclear whether it will become available again or if we'll need to switch over to a different URL.

For folks running into this, the current workaround is to replace "https://boostorg.jfrog.io/artifactory/main" with "https://archives.boost.io" in build_usd.py.

We may commit this change to the dev and release branches, but we're keeping an eye on the boost discussions in case they decide to use a different host for distribution -- I'm not sure the boost.io site will be able to handle the load if/when they cutover.

@sunyab sunyab reopened this Jan 8, 2024
@dgovil
Copy link
Collaborator

dgovil commented Jan 8, 2024

Maybe its worth having a bit of code that tries the frog link and then falls back to the boost archives if frog fails to provide a valid zip? I assume the boost server folks would appreciate keeping the loads low.

@sunyab
Copy link
Contributor

sunyab commented Jan 9, 2024

The JFrog link is working again and per the boost mailing list it sounds it should continue to do so at least until the end of the year. I've filed a task internally to add backup download sites for boost to try to shield us from this in the future.

@sunyab sunyab closed this as completed Jan 9, 2024
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

No branches or pull requests

7 participants