Somehow msmpi:x64 fails to build.. that's another problem, why does another invocation of upgrade say All installed packages are up-to-date with the local portfiles.?
./vcpkg upgrade --no-dry-run
...
Building package boost-beast[core]:x86-windows... done
Installing package boost-beast[core]:x86-windows...
Installing package boost-beast[core]:x86-windows... done
Elapsed time for package boost-beast:x86-windows: 3.458 s
Starting package 255/257: msmpi:x64-windows
Building package msmpi[core]:x64-windows...
-- CURRENT_INSTALLED_DIR=C:/vc/vcpkg/installed/x64-windows
-- DOWNLOADS=C:/vc/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=C:/vc/vcpkg/packages/msmpi_x64-windows
-- CURRENT_BUILDTREES_DIR=C:/vc/vcpkg/buildtrees/msmpi
-- CURRENT_PORT_DIR=C:/vc/vcpkg/ports/msmpi/.
-- Downloading https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/msmpisdk.msi...
-- Downloading https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/msmpisdk.msi... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Downloading https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/MSMpiSetup.exe...
-- Downloading https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/MSMpiSetup.exe... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
CMake Error at C:/vc/vcpkg/ports/msmpi/portfile.cmake:57 (message):
Could not find:
C:\Program Files/Microsoft MPI/Bin/mpiexec.exe
Please install the MSMPI redistributable package before trying to install this port.
The appropriate installer has been downloaded to:
C:/vc/vcpkg/downloads/MSMpiSetup-8.1.exe
Call Stack (most recent call first):
C:/vc/vcpkg/scripts/ports.cmake:72 (include)
Error: Building package msmpi:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: msmpi:x64-windows
Vcpkg version: 0.0.105-2018-02-20-210e6b0114ffe620ef3e41cc41158a26e0df692d
Additionally, attach any relevant sections from the log files above.
PS C:\vc\vcpkg> ./vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.
PS C:\vc\vcpkg> ./vcpkg upgrade --no-dry-run
All installed packages are up-to-date with the local portfiles.
Elapsed time for package boost-build:x86-windows: 748 ms
Starting package 32/62: boost-build:x86-windows
Building package boost-build[core]:x86-windows...
A suitable version of git was not found (required v2.16.2). Downloading portable git v2.16.2...
Fetching git version 2.16.2 (No sufficient installed version was found)
Could not run:
'C:/vc/vcpkg/scripts/fetchtool.ps1'
Error message was:
Downloading git...
鈹溌烩敩鈺椻敩鈹怶ARNING: Github has dropped support for TLS versions prior to 1.2, which is not available on your system
WARNING: Please manually download
https://github.com/git-for-windows/git/releases/download/v2.16.2.windows.1/MinGit-2.16.2-32-bit.zip to
C:\vc\vcpkg\downloads\MinGit-2.16.2-32-bit.zip
Download failed
At C:\vc\vcpkg\scripts\VcpkgPowershellUtils.ps1:133 char:18
+ throw <<<< "Download failed"
+ CategoryInfo : OperationStopped: (Download failed:String) [], RuntimeException
+ FullyQualifiedErrorId : Download failed
PS C:\vc\vcpkg> ./vcpkg upgrade --no-dry-run
All installed packages are up-to-date with the local portfiles.
PS C:\vc\vcpkg>
Somehow msmpi:x64 fails to build.. that's another problem, why does another invocation of upgrade say All installed packages are up-to-date with the local portfiles.?
After issuing ./vcpkg upgrade --no-dry-run the package to be upgraded are first uninstalled, and the re-installed. As a consequence, if the process fails, the package is no more recognized as installed and it is not in the list of upgradable packages. If you want to retry the installation you have to issue an ./vcpkg install <package>.
Until #3023 is fixed, maybe it would be better if the MSMPI redist check was performed prior to uninstalling packages. I lost ~30 packages due to this dependency...
@trylle I'd put the vcpkg install ... in a .bat / .txt file so you can easily reinstall.
It's similar to #3023. Since there is no update in a long time. Let's track this issue and move the discussion to #3023.
Most helpful comment
Until #3023 is fixed, maybe it would be better if the MSMPI redist check was performed prior to uninstalling packages. I lost ~30 packages due to this dependency...