Host Environment
- OS: Linux running in WSL on Windows
- Note: this is a vcpkg repo created on the Windows side (at c:\repos\vcpkg) and accessed inside WSL in-place (at /mnt/c/repos/vcpkg). However I also tried cloning the repo completely inside Linux and the exact same error happens.
To Reproduce
Steps to reproduce the behavior:
sudo apt install nuget
./bootstrap-vcpkg.sh
export VCPKG_DEFAULT_TRIPLET=x64-linux
export VCPKG_PLATFORM_TOOLSET=v142
./vcpkg install eigen3:x64-linux ceres[eigensparse]:x64-linux opencv3:x64-linux ffmpeg[ffmpeg]:x64-linux
./vcpkg export eigen3:x64-linux ceres[eigensparse]:x64-linux opencv3:x64-linux ffmpeg[ffmpeg]:x64-linux --nuget --nuget-id=VcpkgFetchedDependencies.x64-linux --nuget-version=1.0.0
Failure logs
Everything succeeds until I get to the export.
sloh@SLOH-LAPTOP2:/mnt/c/repos/vcpkg$ ./vcpkg export eigen3:x64-linux ceres[eigensparse]:x64-linux opencv3:x64-linux ffmpeg[ffmpeg]:x64-linux --nuget --nuget-id=Calibration.VcpkgFetchedDependencies.x64-linux --nuget-version=1.0.0
The following packages are already built and will be exported:
ceres:x64-linux
[various packages removed]
* zlib:x64-linux
Additional packages (*) need to be exported to complete this operation.
Exporting package eigen3:x64-linux...
[various packages removed]
Exporting package ffmpeg:x64-linux...
Packing nuget package...
A suitable version of nuget was not found (required v5.5.1). Downloading portable nuget v5.5.1...
Downloading nuget...
https://dist.nuget.org/win-x86-commandline/v5.5.1/nuget.exe -> /mnt/c/repos/vcpkg/downloads/22ea847d-nuget.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6359k 100 6359k 0 0 8367k 0 --:--:-- --:--:-- --:--:-- 8400k
Value was null
As you see above, I've already done sudo apt install nuget. sudo apt-get install nuget=5.5.1 says there is no such version. And I don't think it should be looking for a "win-x86-commandline" version. I'm running Linux inside WSL on a 64-bit machine.
Is this something about running inside WSL?
For whatever it's worth, I am able to export a zip.
Host Environment
To Reproduce
Steps to reproduce the behavior:
Failure logs
Everything succeeds until I get to the export.
As you see above, I've already done
sudo apt install nuget.sudo apt-get install nuget=5.5.1says there is no such version. And I don't think it should be looking for a "win-x86-commandline" version. I'm running Linux inside WSL on a 64-bit machine.Is this something about running inside WSL?
For whatever it's worth, I am able to export a zip.