Skip to content

[vcpkg upgrade] No different source warning on upgrade #7127

Open
@OlafvdSpek

Description

@OlafvdSpek

The first upgrade command didn't warn about the difference source issue.. IMO it should have.

PS C:\vc\vcpkg> ./vcpkg upgrade
Error: cannot locate new portfile for openssl:x86-windows. Please explicitly remove this package with `vcpkg remove openssl:x86-windows`.

PS C:\vc\vcpkg> ./vcpkg remove openssl
Warning: Different source is available for vcpkg (2018.11.23 -> 2019.6.21). Use .\bootstrap-vcpkg.bat to update.
The following packages will be removed:
  * boost-asio:x86-windows
    openssl:x86-windows
Additional packages (*) need to be removed to complete this operation.
If you are sure you want to remove them, run the command with the --recurse option

PS C:\vc\vcpkg> .\bootstrap-vcpkg.bat

Building vcpkg.exe ...

  pch.cpp
  ...
  visualstudio.cpp
  vcpkglib.vcxproj -> C:\vc\vcpkg\toolsrc\msbuild.x86.release\vcpkglib.lib
  vcpkg.cpp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 15099 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  vcpkg.vcxproj -> C:\vc\vcpkg\toolsrc\msbuild.x86.release\vcpkg.exe
  vcpkgmetricsuploader.cpp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 4956 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  vcpkgmetricsuploader.vcxproj -> C:\vc\vcpkg\toolsrc\msbuild.x86.release\vcpkgmetricsuploader.exe

Building vcpkg.exe... done.

PS C:\vc\vcpkg> ./vcpkg upgrade
The following packages will be rebuilt:
  * boost-asio[core]:x86-windows
  * boost-convert[core]:x86-windows
  * boost-spirit[core]:x86-windows
    boost-variant[core]:x86-windows
    curl[core,ssl,winssl]:x86-windows
    libogg[core]:x86-windows
    libpng[core]:x86-windows
    libsodium[core]:x86-windows
  * libvorbis[core]:x86-windows
    openssl[core]:x86-windows
    openssl-windows[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
If you are sure you want to rebuild the above packages, run this command with the --no-dry-run option.

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions