-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vcpkg install fails to parse CONTROL files (need vcpkg version bumb) #6946
Comments
@vicroms Why would you label this as a feature? It used to be that @alexkaratarakis regularly updated the version number and changelog. |
Thanks for pointing out this issue! We do recommend that users always re-run ./bootstrap whenever they change the vcpkg commit. However, for certain changes that we know will cause problems, we do have the warning mechanism that you've mentioned. In this case, we should definitely be using that warning mechanism! We are currently considering alternative approaches to the |
Problem
On systems running an older build of vcpkg
vcpkg install
throws warnings for any port control file containing the new 'Homepage` field (#2933) and fails to build those:Both on Windows and Linux builds:
TravisCI - Linux
Appveyor - Windows
The problem is that
vcpkg v2018.11.23
as build in November 2018 is not compatible with the updated format for the control files used withvcpkg v2018.11.23
build in June 2019.Without a version bump there is no warning, users have to figure for themselves out that a rebuild is necessary.
As also noted with one of the PR's: #6844 (comment)
Workaround
Rebuild vcpkg:
./bootstrap-vcpkg.bat
Or for CI systems (travis) remove the cache.
Solution
Vcpkg needs a version increase.
To warn users and to get CI systems, that contain an older build (Appveyor) or cache vcpkg, to rebuild vcpkg.
The text was updated successfully, but these errors were encountered: