question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing completely broken with current vcpkg

See original GitHub issue

Also opening an issue here, as it appears this action is now broken against current vcpkg master on windows-latest and windows-2019.

vcpkg tries to extract 7zip, using 7zip as it somehow can’t find tar.exe in windows\system32.

I’m looking for some temporary workaround, and some help escallating this issue with the Microsoft vcpkg project as it is slowing development on projects relying on vcpkg builds that need updates of their dependencies.

See https://github.com/microsoft/vcpkg/issues/23448

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lukkacommented, Oct 5, 2022

@rhuijben if this is still an outstanding problem let me know, we can reopen the issue. If you could also report what was the fix or the workaround, let us know!

0reactions
rhuijbencommented, Oct 5, 2022

@lukka This was a very bad $PATH issue on GitHub… Sorry I should have closed this issue earlier.

This script properly downloaded the new vcpkg+scripts, but then executed the old .exe with the new scripts… which broke things badly.

Workaround for me:

env:
   vcpkgExe: '${{ github.workspace }}/vcpkg/vcpkg.exe'

jobs:
  build:

    - name: Ensure Proj packages are available
      run: ${{env.vcpkgExe}} install "tiff[core]:x64-windows-static-md" "proj[core,tiff]:x64-windows-static-md" "tiff[core]:x86-windows-static-md" "proj[core,tiff]:x86-windows-static-md" "tiff[core]:arm64-windows-static-md" "proj[core,tiff]:arm64-windows-static-md"

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vcpkg crashes while installing 7zip · Issue #23448 - GitHub
I pulled the latest revision of vcpkg (hash 857bccd) and ran vcpkg ... Installing completely broken with current vcpkg lukka/run-vcpkg#136.
Read more >
Manifests -- `vcpkg.json`
The VCPKG_MANIFEST_INSTALL option tells the toolchain whether to install the packages or not -- if you wish to install the manifest dependencies manually,...
Read more >
Fix "Port Definition" error | Uninstall & can't reinstall package
Uninstalled and can't reinstall a vcpkg package? Well, if you can do it in another, fresh vcpkg or something similar then this may...
Read more >
installing Vcpkg to manage c/c++ libraries on windows (Vs ...
when trying to install vcpkg to manage and install c/c++ libraries on windows 10, this error keeps showing up : PS C:\librairies\vcpkg> ....
Read more >
Vcpkg: a tool to acquire and build C++ open source libraries ...
3fd 2.6.2 C++ Framework For Fast Development ace 6.5.1 The ADAPTIVE Communication Environment anax 2.1.0‑3 An open source C++ entity system. antlr4 4.7 ANother Tool for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found