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

[vcpkg] list, search and update options no longer have <Port Version> shown after <Version> #12331

Closed
ghost opened this issue Jul 9, 2020 · 1 comment · Fixed by #12227
Closed
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:manifests This PR or Issue pertains to the Manifests feature

Comments

@ghost
Copy link

ghost commented Jul 9, 2020

Describe the bug
vcpkg list, search and update options no longer have <Port Version> shown after <Version> in the output list.

Environment

  • OS: [Windows/Linux]
  • Compiler: VS 2017/2019, gcc 9.2.1

To Reproduce
Steps to reproduce the behavior:

  1. ->vcpkg update
    Using local portfile versions. To update the local portfiles, use git pull.
    The following packages differ from their port versions:
    fontconfig:x64-windows 2.12.4-10 -> 2.12.4-??
    freetype:x64-windows 2.10.1-6 -> 2.10.2-??

  2. ->vcpkg list freetype -or- ->vcpkg list fontconfig

    • before CONTROL file changing to separate field
      freetype:x64-windows 2.10.1-6 A library to render fonts.
      fontconfig:x64-windows 2.12.4-10 Library for configuring and customizing font acc...
    • after CONTROL file changing to separate field
      freetype:x64-windows 2.10.2 A library to render fonts.
      fontconfig:x64-windows 2.12.4 Library for configuring and customizing font acc...
  3. ->vcpkg search freetype -or- vcpkg search fontconfig

    • before CONTROL file changing to separate field
      freetype 2.10.2-6 A library to render fonts.
      fontconfig 2.12.4-10 Library for configuring and customizing font access.
    • after CONTROL file changing to separate field
      freetype 2.10.2 A library to render fonts.
      fontconfig 2.12.4 Library for configuring and customizing font access.

Expected behavior

  • The vcpkg list, search or update to include the Port Version on the end of the Version in the output list.
  • I had to look in the CONTROL files for:
    • freetype had been updated from 2.10.1-6 to Version 2.10.2 Port Version 1
    • fontconfig had been updated from 2.12.5-10 to Version 2.12.4 Port Version 11

Failure logs
None

Additional context
Note: I used freetype and fontconfig in these examples as they were the only two ports needing upgrade with the latest git pull and .\bootstrap-vcpkg.bat or ./bootstrap-vcpkg.sh, but it is happening to all ports when the CONTROL file is updated to the new format separating the Port Version from the overall software Version.

@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Jul 9, 2020
@JackBoosY JackBoosY linked a pull request Jul 9, 2020 that will close this issue
@strega-nil strega-nil added the info:manifests This PR or Issue pertains to the Manifests feature label Jul 9, 2020
strega-nil added a commit to strega-nil/vcpkg that referenced this issue Jul 9, 2020
strega-nil added a commit that referenced this issue Jul 9, 2020
@ghost
Copy link
Author

ghost commented Jul 9, 2020

Thank you @strega-nil - have a wonderful week 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:manifests This PR or Issue pertains to the Manifests feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants