You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd \vcpkg
git pull
C:\dev\vcpkg>vcpkg install expat --recurse --triplet x64-windows
Failure logs
C:\dev\vcpkg>vcpkg install expat --recurse --triplet x64-windows
Computing installation plan...
warnivvcng: vcpkg appears to be in a Visual Studio prompt targeting x86 but is installing packages for x64-windows. Consider using --triplet x86-windows or --triplet x86-uwp.
The following packages will be built and installed:
expat[core]:x64-windows -> 2.5.0
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\mtahi\AppData\Local\vcpkg\archives in 205.6 us. Use --debug to see more details.
Installing 1/1 expat:x64-windows...
Building expat[core]:x64-windows...
-- Using cached libexpat-libexpat-R_2_5_0.tar.gz.
-- Cleaning sources at C:/dev/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/libexpat-libexpat-R_2_5_0.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at installed/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake:36 (message):
'C:/dev/vcpkg/packages/expat_x64-windows/debug/lib/cmake/expat-' does not
exist.
Call Stack (most recent call first):
ports/expat/portfile.cmake:24 (vcpkg_cmake_config_fixup)
scripts/ports.cmake:147 (include)
I'll close this issue now, as performing ".\bootstrap-vcpkg.bat" fixed it, however, wouldn't it be better that any vcpkg action, such as install, update, upgrade, etc. would first bootstrap-vcpkg ? Or, at least, suggest doing that ?
Host Environment
To Reproduce
Steps to reproduce the behavior:
cd \vcpkg
git pull
C:\dev\vcpkg>vcpkg install expat --recurse --triplet x64-windows
Failure logs
C:\dev\vcpkg>vcpkg install expat --recurse --triplet x64-windows
Computing installation plan...
warnivvcng: vcpkg appears to be in a Visual Studio prompt targeting x86 but is installing packages for x64-windows. Consider using --triplet x86-windows or --triplet x86-uwp.
The following packages will be built and installed:
expat[core]:x64-windows -> 2.5.0
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\mtahi\AppData\Local\vcpkg\archives in 205.6 us. Use --debug to see more details.
Installing 1/1 expat:x64-windows...
Building expat[core]:x64-windows...
-- Using cached libexpat-libexpat-R_2_5_0.tar.gz.
-- Cleaning sources at C:/dev/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/libexpat-libexpat-R_2_5_0.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at installed/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake:36 (message):
'C:/dev/vcpkg/packages/expat_x64-windows/debug/lib/cmake/expat-' does not
exist.
Call Stack (most recent call first):
ports/expat/portfile.cmake:24 (vcpkg_cmake_config_fixup)
scripts/ports.cmake:147 (include)
error: building expat:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+expat
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[expat]+Build+error
Include '[expat] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
vcpkg-scripts version: e79c0d2 2022-11-08 (13 hours ago)Add any other context about the problem here, such as what you have already tried to resolve the issue.
The text was updated successfully, but these errors were encountered: