-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Description
I've tried out the new manifests feature with an existing multi-project solution that has been successfully using vcpkg
for CI. The vcpkg.json
and msbuild configuration to build and install the dependencies worked properly but there's a problem with parallel builds.
When building in Visual Studio or on the command line with msbuild /m
there are numerous vcpkg
step failures. From the logs below it seem there are multiple instances of the command attempting to lock C:\Tools\vcpkg-btc\.vcpkg-root
. Build on the command line without the /m
option removes this error.
22>VcpkgInstallManifestDependencies:
Failed to take the filesystem lock on C:\Tools\vcpkg-btc\.vcpkg-root:
The requested resource is in use.
22>c:\Tools\vcpkg-btc\scripts\buildsystems\msbuild\vcpkg.targets(102,5): error MSB3073: The command ""c:\Tools\vcpkg-btc\v
cpkg.exe" install --triplet "x64-windows-static" --vcpkg-root "c:\Tools\vcpkg-btc\\" "--x-manifest-root=c:\Dev\github\s
ipsorcery_bitcoin\build_msvc\\" "--x-install-root=c:\Dev\github\sipsorcery_bitcoin\build_msvc\vcpkg_installed\\" --bina
rycaching" exited with code 1. [c:\Dev\github\sipsorcery_bitcoin\build_msvc\libbitcoin_qt\libbitcoin_qt.vcxproj]
22>Done Building Project "c:\Dev\github\sipsorcery_bitcoin\build_msvc\libbitcoin_qt\libbitcoin_qt.vcxproj" (default target
s) -- FAILED.
12>c:\Tools\vcpkg-btc\scripts\buildsystems\msbuild\vcpkg.targets(102,5): error MSB3073: The command ""c:\Tools\vcpkg-btc\v
cpkg.exe" install --triplet "x64-windows-static" --vcpkg-root "c:\Tools\vcpkg-btc\\" "--x-manifest-root=c:\Dev\github\s
ipsorcery_bitcoin\build_msvc\\" "--x-install-root=c:\Dev\github\sipsorcery_bitcoin\build_msvc\vcpkg_installed\\" --bina
rycaching" exited with code 1. [c:\Dev\github\sipsorcery_bitcoin\build_msvc\libbitcoin_zmq\libbitcoin_zmq.vcxproj]
12>Done Building Project "c:\Dev\github\sipsorcery_bitcoin\build_msvc\libbitcoin_zmq\libbitcoin_zmq.vcxproj" (default targ
ets) -- FAILED.
ras0219-msft
Metadata
Metadata
Assignees
Labels
category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)