-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Fix bootstrapping MSYS2 pacman (#11499) #12080
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Source: ffnvcodec | ||
| Version: 9.1.23.1 | ||
| Version: 9.1.23.1-1 | ||
| Homepage: https://github.com/FFmpeg/nv-codec-headers | ||
| Description: FFmpeg version of Nvidia Codec SDK headers. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Source: icu | ||
| Version: 67.1-1 | ||
| Version: 67.1-2 | ||
| Homepage: http://icu-project.org/apiref/icu4c/ | ||
| Description: Mature and widely used Unicode and localization library. | ||
| Supports: !(arm|uwp) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Source: libvpx | ||
| Version: 1.8.1-6 | ||
| Version: 1.8.1-7 | ||
| Homepage: https://github.com/webmproject/libvpx | ||
| Description: The reference software implementation for the video coding formats VP8 and VP9. | ||
| Supports: !(uwp&arm) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Source: openssl-unix | ||
| Version: 1.1.1d-4 | ||
| Version: 1.1.1d-5 | ||
| Description: OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library. | ||
| Supports: !(windows|uwp) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Source: tensorflow-cc | ||
| Version: 1.14-2 | ||
| Version: 1.14-3 | ||
| Description: Library for computation using data flow graphs for scalable machine learning | ||
| Build-Depends: c-ares | ||
| Supports: !x86 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,6 +98,18 @@ function(vcpkg_acquire_msys PATH_TO_ROOT_OUT) | |
| COMMAND ${PATH_TO_ROOT}/usr/bin/bash.exe --noprofile --norc -c "PATH=/usr/bin;gpgconf --homedir /etc/pacman.d/gnupg --kill all" | ||
| WORKING_DIRECTORY ${TOOLPATH} | ||
| ) | ||
| # we need to update pacman before anything else due to pacman transitioning | ||
| # to using zstd packages, and our pacman is too old to support those | ||
| _execute_process( | ||
| COMMAND ${PATH_TO_ROOT}/usr/bin/bash.exe --noprofile --norc -c "PATH=/usr/bin;pacman -Sy pacman --noconfirm" | ||
| WORKING_DIRECTORY ${TOOLPATH} | ||
| ) | ||
|
Comment on lines
+101
to
+106
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This part is not needed (see msys2/MSYS2-packages#1962 (comment)). The same approach was first implemented in #11443 (merged the next day after #11499), and it stopped working the moment upstream changed compression scheme for some of
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They're
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you are referring to the errors seen in At the moment
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we don't need those packages why not just update
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We do not update all the packages, we only do the core system upgrade so that any subsequent package installs would succeed. Some of the packages
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I'm referring to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, yes, because of how MSYS2 works. I forgot about that. I'll try it without my first |
||
| # dash relies on specific versions of the base packages, which prevents us | ||
| # from doing a proper update. However, we don't need it so we remove it | ||
| _execute_process( | ||
| COMMAND ${PATH_TO_ROOT}/usr/bin/bash.exe --noprofile --norc -c "PATH=/usr/bin;pacman -Rc dash --noconfirm" | ||
| WORKING_DIRECTORY ${TOOLPATH} | ||
| ) | ||
| _execute_process( | ||
| COMMAND ${PATH_TO_ROOT}/usr/bin/bash.exe --noprofile --norc -c "PATH=/usr/bin;pacman -Syu --noconfirm" | ||
| WORKING_DIRECTORY ${TOOLPATH} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.