Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bzip2:x64-windows-static build failure #17517

Closed
unusual-aspect opened this issue Apr 26, 2021 · 9 comments
Closed

bzip2:x64-windows-static build failure #17517

unusual-aspect opened this issue Apr 26, 2021 · 9 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@unusual-aspect
Copy link

unusual-aspect commented Apr 26, 2021

Host Environment

  • OS: Windows
  • Compiler: Cloud hosted/No idea

To Reproduce
Steps to reproduce the behavior:
git clone vcpkg
bootstrap-vcpkg.bat -disableMetrics
vcpkg.exe install bzip2:x64-windows-static

Failure logs

2021-04-26T11:45:05.4963732Z ##[section]Starting: Install/Update vcpkg libs
2021-04-26T11:45:05.5106371Z ==============================================================================
2021-04-26T11:45:05.5106713Z Task         : Command line
2021-04-26T11:45:05.5107031Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2021-04-26T11:45:05.5107349Z Version      : 2.182.0
2021-04-26T11:45:05.5107573Z Author       : Microsoft Corporation
2021-04-26T11:45:05.5107903Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2021-04-26T11:45:05.5108313Z ==============================================================================
2021-04-26T11:45:06.5341362Z Generating script.
2021-04-26T11:45:06.5756673Z ========================== Starting Command Output ===========================
2021-04-26T11:45:06.6036336Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\70730c63-1d64-4e9f-a9d1-d0283ac330c6.cmd""
2021-04-26T11:45:08.5822515Z Computing installation plan...
2021-04-26T11:45:10.1168061Z The following packages will be built and installed:
2021-04-26T11:45:10.1169574Z     bzip2[core]:x64-windows-static -> 1.0.8#1
2021-04-26T11:45:10.7810262Z Detecting compiler hash for triplet x64-windows-static...
2021-04-26T11:45:26.0035364Z Could not locate cached archive: C:\Users\VssAdministrator\AppData\Local\vcpkg\archives\cf\cf0f4a1478b0809f582900653988b3668f8a97c1.zip
2021-04-26T11:45:26.0036472Z Starting package 1/1: bzip2:x64-windows-static
2021-04-26T11:45:26.0037037Z Building package bzip2[core]:x64-windows-static...
2021-04-26T11:45:26.1434379Z -- Fetching https://sourceware.org/git/bzip2.git...
2021-04-26T11:45:26.1435342Z CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:91 (file):
2021-04-26T11:45:26.1436020Z   file failed to open for reading (No such file or directory):
2021-04-26T11:45:26.1436639Z 
2021-04-26T11:45:26.1437192Z     C:/vcpkg/buildtrees/bzip2/git-init-x64-windows-static-out.log
2021-04-26T11:45:26.1437749Z Call Stack (most recent call first):
2021-04-26T11:45:26.1438197Z   scripts/cmake/vcpkg_from_git.cmake:85 (vcpkg_execute_required_process)
2021-04-26T11:45:26.1438625Z   ports/bzip2/portfile.cmake:1 (vcpkg_from_git)
2021-04-26T11:45:26.1439000Z   scripts/ports.cmake:142 (include)
2021-04-26T11:45:26.1439153Z 
2021-04-26T11:45:26.1439246Z 
2021-04-26T11:45:26.1439622Z Error: Building package bzip2:x64-windows-static failed with: BUILD_FAILED
2021-04-26T11:45:26.1440447Z Please ensure you're using the latest portfiles with `.\vcpkg update`, then
2021-04-26T11:45:26.1440900Z submit an issue at https://github.com/Microsoft/vcpkg/issues including:
2021-04-26T11:45:26.1441463Z   Package: bzip2:x64-windows-static
2021-04-26T11:45:26.1441835Z   Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
2021-04-26T11:45:26.1442049Z 
2021-04-26T11:45:26.1442354Z Additionally, attach any relevant sections from the log files above.
2021-04-26T11:45:26.1609491Z The system cannot find the path specified.
2021-04-26T11:45:26.2588737Z ##[error]Cmd.exe exited with code '1'.
2021-04-26T11:45:26.4978519Z ##[section]Finishing: Install/Update vcpkg libs
@unusual-aspect
Copy link
Author

Have full debug log (posted as own comment below)

@unusual-aspect
Copy link
Author

2021-04-26T12:18:54.7786584Z ##[section]Starting: Install/Update vcpkg libs
2021-04-26T12:18:54.8067474Z ==============================================================================
2021-04-26T12:18:54.8067823Z Task : Command line
2021-04-26T12:18:54.8068140Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2021-04-26T12:18:54.8068467Z Version : 2.182.0
2021-04-26T12:18:54.8068692Z Author : Microsoft Corporation
2021-04-26T12:18:54.8069027Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2021-04-26T12:18:54.8069640Z ==============================================================================
2021-04-26T12:18:56.4680405Z Generating script.
2021-04-26T12:18:56.4815608Z Script contents:
2021-04-26T12:18:56.4831627Z D:\a\1\s\code\3rdparty\vcpkg\vcpkg.exe install bzip2:x64-windows-static --debug
2021-04-26T12:18:56.5339552Z ========================== Starting Command Output ===========================
2021-04-26T12:18:56.5785821Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a_temp\52dfd730-f39b-457a-98ca-1e68c5f2ad2f.cmd""
2021-04-26T12:18:57.4711507Z [DEBUG] Feature flag 'binarycaching' unset
2021-04-26T12:18:57.4712257Z [DEBUG] Feature flag 'manifests' unset
2021-04-26T12:18:57.4712645Z [DEBUG] Feature flag 'compilertracking' unset
2021-04-26T12:18:57.4713214Z [DEBUG] Feature flag 'registries' unset
2021-04-26T12:18:57.4713576Z [DEBUG] Feature flag 'versions' unset
2021-04-26T12:18:57.4714025Z [DEBUG] BuiltinRegistry initialized with: ""
2021-04-26T12:18:57.4714493Z [DEBUG] Using vcpkg-root: D:\a\1\s\code\3rdparty\vcpkg
2021-04-26T12:18:57.4715026Z [DEBUG] Using installed-root: D:\a\1\s\code\3rdparty\vcpkg\installed
2021-04-26T12:18:57.4717376Z [DEBUG] BuiltinRegistry initialized with: ""
2021-04-26T12:18:57.4717861Z [DEBUG] Using buildtrees-root: D:\a\1\s\code\3rdparty\vcpkg\buildtrees
2021-04-26T12:18:57.4718417Z [DEBUG] Using downloads-root: D:\a\1\s\code\3rdparty\vcpkg\downloads
2021-04-26T12:18:57.4718889Z [DEBUG] Using packages-root: D:\a\1\s\code\3rdparty\vcpkg\packages
2021-04-26T12:18:57.4719393Z [DEBUG] Using scripts-root: D:\a\1\s\code\3rdparty\vcpkg\scripts
2021-04-26T12:18:57.4719826Z [DEBUG] Using ports-root: D:\a\1\s\code\3rdparty\vcpkg\ports
2021-04-26T12:18:57.4720322Z [DEBUG] Using versions-root: D:\a\1\s\code\3rdparty\vcpkg\versions
2021-04-26T12:18:57.4720816Z [DEBUG] Default binary cache path is: C:\Users\VssAdministrator\AppData\Local\vcpkg\archives
2021-04-26T12:18:57.4721826Z Computing installation plan...
2021-04-26T12:18:57.4722223Z [DEBUG] Found path: C:\Program Files\CMake\bin\cmake.exe
2021-04-26T12:18:57.4722659Z [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" --version)
2021-04-26T12:18:57.7034496Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 232173 us
2021-04-26T12:18:57.7037909Z [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DVCPKG_ROOT_DIR=D:/a/1/s/code/3rdparty/vcpkg -DPACKAGES_DIR=D:/a/1/s/code/3rdparty/vcpkg/packages -DBUILDTREES_DIR=D:/a/1/s/code/3rdparty/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/a/1/s/code/3rdparty/vcpkg/installed -DDOWNLOADS=D:/a/1/s/code/3rdparty/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\a\1\s\code\3rdparty\vcpkg\buildtrees\0.vcpkg_tags.cmake")
2021-04-26T12:18:57.7872011Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 83043 us
2021-04-26T12:18:57.7873039Z The following packages will be built and installed:
2021-04-26T12:18:57.7873655Z bzip2[core]:x64-windows-static -> 1.0.8#1
2021-04-26T12:18:57.7874982Z [DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml)
2021-04-26T12:18:57.8961451Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 28727 us
2021-04-26T12:18:57.8962603Z Detecting compiler hash for triplet x64-windows-static...
2021-04-26T12:18:57.8964322Z [DEBUG] Found path: C:\agents\2.185.1\externals\git\cmd\git.exe
2021-04-26T12:18:57.8964781Z [DEBUG] Found path: C:\Program Files\Git\bin\git.exe
2021-04-26T12:18:57.8970916Z [DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
2021-04-26T12:18:57.8971357Z [DEBUG] Found path: C:\Program Files\Git\mingw64\bin\git.exe
2021-04-26T12:18:57.8972133Z [DEBUG] CreateProcessW("C:\agents\2.185.1\externals\git\cmd\git.exe" --version)
2021-04-26T12:18:57.9538976Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 49507 us
2021-04-26T12:18:57.9539852Z [DEBUG] Found path: C:\Program Files\PowerShell\7\pwsh.exe
2021-04-26T12:18:57.9540398Z [DEBUG] CreateProcessW("C:\Program Files\PowerShell\7\pwsh.exe" --version)
2021-04-26T12:19:00.0840116Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 2129250 us
2021-04-26T12:19:00.0841186Z [DEBUG] CreateProcessW(cmd /c "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.2 amd64 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set)
2021-04-26T12:19:02.6685159Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 2584383 us
2021-04-26T12:19:02.6686773Z [DEBUG] command line: cmd /c "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.2 amd64 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set
2021-04-26T12:19:02.6688128Z [DEBUG] **********************************************************************
2021-04-26T12:19:02.6688475Z
2021-04-26T12:19:02.6689056Z ** Visual Studio 2019 Developer Command Prompt v16.9.4
2021-04-26T12:19:02.6689322Z
2021-04-26T12:19:02.6689627Z ** Copyright (c) 2021 Microsoft Corporation
2021-04-26T12:19:02.6689872Z
2021-04-26T12:19:02.6690274Z **********************************************************************
2021-04-26T12:19:02.6690818Z
2021-04-26T12:19:02.6691403Z [vcvarsall.bat] Environment initialized for: 'x64'
2021-04-26T12:19:02.6691810Z
2021-04-26T12:19:02.6692236Z cdARN4xjKueKScMy9C6H
2021-04-26T12:19:02.6692754Z
2021-04-26T12:19:02.6695657Z ALLUSERSPROFILE=C:\ProgramData
2021-04-26T12:19:02.6695869Z
2021-04-26T12:19:02.6697484Z APPDATA=C:\Users\VssAdministrator\AppData\Roaming
2021-04-26T12:19:02.6697707Z
2021-04-26T12:19:02.6698089Z CommandPromptType=Native
2021-04-26T12:19:02.6698230Z
2021-04-26T12:19:02.6698546Z CommonProgramFiles=C:\Program Files (x86)\Common Files
2021-04-26T12:19:02.6698848Z
2021-04-26T12:19:02.6699174Z CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
2021-04-26T12:19:02.6699381Z
2021-04-26T12:19:02.6699742Z CommonProgramW6432=C:\Program Files\Common Files
2021-04-26T12:19:02.6699930Z
2021-04-26T12:19:02.6700497Z COMPUTERNAME=WIN-T56NS15TG9O
2021-04-26T12:19:02.6700774Z
2021-04-26T12:19:02.6701386Z ComSpec=C:\Windows\system32\cmd.exe
2021-04-26T12:19:02.6701559Z
2021-04-26T12:19:02.6701923Z DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE
2021-04-26T12:19:02.6702238Z
2021-04-26T12:19:02.6702599Z ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
2021-04-26T12:19:02.6702893Z
2021-04-26T12:19:02.6703502Z Framework40Version=v4.0
2021-04-26T12:19:02.6703805Z
2021-04-26T12:19:02.6704175Z FrameworkDir=C:\Windows\Microsoft.NET\Framework64
2021-04-26T12:19:02.6704361Z
2021-04-26T12:19:02.6704840Z FrameworkDIR64=C:\Windows\Microsoft.NET\Framework64
2021-04-26T12:19:02.6705029Z
2021-04-26T12:19:02.6705284Z FrameworkVersion=v4.0.30319
2021-04-26T12:19:02.6705485Z
2021-04-26T12:19:02.6705744Z FrameworkVersion64=v4.0.30319
2021-04-26T12:19:02.6705887Z
2021-04-26T12:19:02.6706369Z FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\FSharp
2021-04-26T12:19:02.6707763Z
2021-04-26T12:19:02.6708032Z HOMEDRIVE=C:
2021-04-26T12:19:02.6708156Z
2021-04-26T12:19:02.6708683Z HOMEPATH=\Users\VssAdministrator
2021-04-26T12:19:02.6708827Z
2021-04-26T12:19:02.6709121Z HTMLHelpDir=C:\Program Files (x86)\HTML Help Workshop
2021-04-26T12:19:02.6709360Z
2021-04-26T12:19:02.6711583Z INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
2021-04-26T12:19:02.6714432Z
2021-04-26T12:19:02.6716337Z LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64
2021-04-26T12:19:02.6717843Z
2021-04-26T12:19:02.6719898Z LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
2021-04-26T12:19:02.6721739Z
2021-04-26T12:19:02.6722626Z LOCALAPPDATA=C:\Users\VssAdministrator\AppData\Local
2021-04-26T12:19:02.6723037Z
2021-04-26T12:19:02.6723517Z LOGONSERVER=\WIN-T56NS15TG9O
2021-04-26T12:19:02.6723754Z
2021-04-26T12:19:02.6724362Z NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8
2021-04-26T12:19:02.6724689Z
2021-04-26T12:19:02.6725068Z NUMBER_OF_PROCESSORS=4
2021-04-26T12:19:02.6725268Z
2021-04-26T12:19:02.6725887Z OS=Windows_NT
2021-04-26T12:19:02.6726078Z
2021-04-26T12:19:02.6726594Z PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
2021-04-26T12:19:02.6727049Z
2021-04-26T12:19:02.6727468Z Platform=x64
2021-04-26T12:19:02.6727660Z
2021-04-26T12:19:02.6728159Z PROCESSOR_ARCHITECTURE=x86
2021-04-26T12:19:02.6728394Z
2021-04-26T12:19:02.6728816Z PROCESSOR_ARCHITEW6432=AMD64
2021-04-26T12:19:02.6729047Z
2021-04-26T12:19:02.6729638Z PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
2021-04-26T12:19:02.6729972Z
2021-04-26T12:19:02.6730358Z PROCESSOR_LEVEL=6
2021-04-26T12:19:02.6730889Z
2021-04-26T12:19:02.6731318Z PROCESSOR_REVISION=4f01
2021-04-26T12:19:02.6731542Z
2021-04-26T12:19:02.6731809Z ProgramData=C:\ProgramData
2021-04-26T12:19:02.6732026Z
2021-04-26T12:19:02.6732297Z ProgramFiles=C:\Program Files (x86)
2021-04-26T12:19:02.6732455Z
2021-04-26T12:19:02.6732791Z ProgramFiles(x86)=C:\Program Files (x86)
2021-04-26T12:19:02.6732960Z
2021-04-26T12:19:02.6733227Z ProgramW6432=C:\Program Files
2021-04-26T12:19:02.6733375Z
2021-04-26T12:19:02.6733653Z PROMPT=$P$G
2021-04-26T12:19:02.6733765Z
2021-04-26T12:19:02.6734761Z PSModulePath=C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules;C:\Modules\azurerm_2.1.0;C:\Modules\azure_2.1.0;C:\Users\packer\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Microsoft SQL Server\130\Tools\PowerShell\Modules;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell
2021-04-26T12:19:02.6735872Z
2021-04-26T12:19:02.6736131Z PUBLIC=C:\Users\Public
2021-04-26T12:19:02.6736360Z
2021-04-26T12:19:02.6736600Z SystemDrive=C:
2021-04-26T12:19:02.6736722Z
2021-04-26T12:19:02.6737025Z SystemRoot=C:\Windows
2021-04-26T12:19:02.6737161Z
2021-04-26T12:19:02.6737431Z TEMP=C:\Users\VSSADM1\AppData\Local\Temp
2021-04-26T12:19:02.6737595Z
2021-04-26T12:19:02.6737921Z TMP=C:\Users\VSSADM
1\AppData\Local\Temp
2021-04-26T12:19:02.6738194Z
2021-04-26T12:19:02.6738440Z UCRTVersion=10.0.19041.0
2021-04-26T12:19:02.6738635Z
2021-04-26T12:19:02.6738942Z UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10
2021-04-26T12:19:02.6739139Z
2021-04-26T12:19:02.6739444Z USERDOMAIN=WIN-T56NS15TG9O
2021-04-26T12:19:02.6739580Z
2021-04-26T12:19:02.6739850Z USERDOMAIN_ROAMINGPROFILE=WIN-T56NS15TG9O
2021-04-26T12:19:02.6740009Z
2021-04-26T12:19:02.6740307Z USERNAME=VssAdministrator
2021-04-26T12:19:02.6740440Z
2021-04-26T12:19:02.6740922Z USERPROFILE=C:\Users\VssAdministrator
2021-04-26T12:19:02.6741154Z
2021-04-26T12:19:02.6741515Z VCIDEInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\VC
2021-04-26T12:19:02.6741768Z
2021-04-26T12:19:02.6742161Z VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC
2021-04-26T12:19:02.6742387Z
2021-04-26T12:19:02.6742767Z VCToolsInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910
2021-04-26T12:19:02.6743136Z
2021-04-26T12:19:02.6743521Z VCToolsRedistDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\14.28.29910
2021-04-26T12:19:02.6743791Z
2021-04-26T12:19:02.6744089Z VCToolsVersion=14.28.29910
2021-04-26T12:19:02.6744224Z
2021-04-26T12:19:02.6744462Z VisualStudioVersion=16.0
2021-04-26T12:19:02.6744592Z
2021-04-26T12:19:02.6745006Z VS160COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools
2021-04-26T12:19:02.6745454Z
2021-04-26T12:19:02.6745706Z VSCMD_ARG_app_plat=Desktop
2021-04-26T12:19:02.6745840Z
2021-04-26T12:19:02.6746129Z VSCMD_ARG_HOST_ARCH=x64
2021-04-26T12:19:02.6746259Z
2021-04-26T12:19:02.6746495Z VSCMD_ARG_TGT_ARCH=x64
2021-04-26T12:19:02.6746622Z
2021-04-26T12:19:02.6746982Z VSCMD_ARG_VCVARS_VER=14.2
2021-04-26T12:19:02.6747246Z
2021-04-26T12:19:02.6747678Z VSCMD_VER=16.9.4
2021-04-26T12:19:02.6747978Z
2021-04-26T12:19:02.6748525Z VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
2021-04-26T12:19:02.6748871Z
2021-04-26T12:19:02.6749466Z VSSDK150INSTALL=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VSSDK
2021-04-26T12:19:02.6749715Z
2021-04-26T12:19:02.6750060Z VSSDKINSTALL=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VSSDK
2021-04-26T12:19:02.6750288Z
2021-04-26T12:19:02.6750619Z windir=C:\Windows
2021-04-26T12:19:02.6750957Z
2021-04-26T12:19:02.6751274Z ANDROID_NDK_HOME=C:\Android\android-sdk\ndk-bundle
2021-04-26T12:19:02.6751538Z
2021-04-26T12:19:02.6762370Z Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\Microsoft\IntelliCode\CLI;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\FSharp;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools;C:\Program Files\PowerShell\7;C:\Windows\system32;C:\Windows;C:\Windows\system32\Wbem;C:\Windows\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\VC\Linux\bin\ConnectionManagerExe
2021-04-26T12:19:02.6768480Z
2021-04-26T12:19:02.6769042Z VSLANG=1033
2021-04-26T12:19:02.6769166Z
2021-04-26T12:19:02.6769426Z VSCMD_SKIP_SENDTELEMETRY=1
2021-04-26T12:19:02.6769638Z
2021-04-26T12:19:02.6769945Z VCPKG_COMMAND=D:/a/1/s/code/3rdparty/vcpkg/vcpkg.exe
2021-04-26T12:19:02.6770131Z
2021-04-26T12:19:02.6770670Z VCPKG_X_RECURSIVE_DATA={}
2021-04-26T12:19:02.6770818Z
2021-04-26T12:19:02.6770909Z
2021-04-26T12:19:02.6771378Z WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0
2021-04-26T12:19:02.6771798Z
2021-04-26T12:19:02.6772111Z WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin
2021-04-26T12:19:02.6772359Z
2021-04-26T12:19:02.6773105Z WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10
2021-04-26T12:19:02.6773434Z
2021-04-26T12:19:02.6774071Z WindowsSDKLibVersion=10.0.19041.0
2021-04-26T12:19:02.6774404Z
2021-04-26T12:19:02.6774887Z WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0
2021-04-26T12:19:02.6775123Z
2021-04-26T12:19:02.6775572Z WindowsSDKVersion=10.0.19041.0
2021-04-26T12:19:02.6775737Z
2021-04-26T12:19:02.6776145Z WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64
2021-04-26T12:19:02.6776491Z
2021-04-26T12:19:02.6776888Z WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools
2021-04-26T12:19:02.6777169Z
2021-04-26T12:19:02.6777622Z __devinit_path=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\devinit\devinit.exe
2021-04-26T12:19:02.6778065Z
2021-04-26T12:19:02.6778302Z __DOTNET_ADD_64BIT=1
2021-04-26T12:19:02.6778433Z
2021-04-26T12:19:02.6778743Z __DOTNET_PREFERRED_BITNESS=64
2021-04-26T12:19:02.6778885Z
2021-04-26T12:19:02.6779374Z __VSCMD_PREINIT_PATH=C:\Program Files\PowerShell\7;C:\Windows\system32;C:\Windows;C:\Windows\system32\Wbem;C:\Windows\system32\WindowsPowerShell\v1.0
2021-04-26T12:19:02.6779987Z
2021-04-26T12:19:02.6780244Z __VSCMD_script_err_count=0
2021-04-26T12:19:02.6780384Z
2021-04-26T12:19:02.6780701Z
2021-04-26T12:19:02.6782893Z [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DCURRENT_PORT_DIR=D:/a/1/s/code/3rdparty/vcpkg/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=D:/a/1/s/code/3rdparty/vcpkg/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=D:/a/1/s/code/3rdparty/vcpkg/packages/detect_compiler_x64-windows-static -DCMD=BUILD -DDOWNLOADS=D:/a/1/s/code/3rdparty/vcpkg/downloads -DTARGET_TRIPLET=x64-windows-static "-DTARGET_TRIPLET_FILE=D:\a\1\s\code\3rdparty\vcpkg\triplets\x64-windows-static.cmake" -DVCPKG_BASE_VERSION=2021-01-13 -DVCPKG_CONCURRENCY=5 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=C:/agents/2.185.1/externals/git/cmd/git.exe -DVCPKG_ROOT_DIR=D:/a/1/s/code/3rdparty/vcpkg -DPACKAGES_DIR=D:/a/1/s/code/3rdparty/vcpkg/packages -DBUILDTREES_DIR=D:/a/1/s/code/3rdparty/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/a/1/s/code/3rdparty/vcpkg/installed -DDOWNLOADS=D:/a/1/s/code/3rdparty/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\a\1\s\code\3rdparty\vcpkg\scripts\ports.cmake")
2021-04-26T12:19:06.0601637Z [DEBUG] -- Found external ninja('1.10.2').
2021-04-26T12:19:06.0602524Z [DEBUG] -- Configuring x64-windows-static
2021-04-26T12:19:06.0610834Z [DEBUG] [1/1] cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "D:/a/1/s/code/3rdparty/vcpkg/scripts/detect_compiler" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/a/1/s/code/3rdparty/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/a/1/s/code/3rdparty/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=static" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/a/1/s/code/3rdparty/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/a/1/s/code/3rdparty/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/a/1/s/code/3rdparty/vcpkg/packages/detect_compiler_x64-windows-static""
2021-04-26T12:19:06.0614495Z [DEBUG] -- The C compiler identification is MSVC 19.28.29914.0
2021-04-26T12:19:06.0615006Z [DEBUG] -- The CXX compiler identification is MSVC 19.28.29914.0
2021-04-26T12:19:06.0615445Z [DEBUG] #COMPILER_HASH#49911fcf7bd271725459ceb7610ab7702b29d603
2021-04-26T12:19:06.0615935Z [DEBUG] #COMPILER_C_HASH#2da89ba484436897575fda98ccb3b210f41f5e5e
2021-04-26T12:19:06.0616336Z [DEBUG] #COMPILER_C_VERSION#19.28.29914.0
2021-04-26T12:19:06.0616720Z [DEBUG] #COMPILER_C_ID#MSVC
2021-04-26T12:19:06.0617096Z [DEBUG] #COMPILER_CXX_HASH#2da89ba484436897575fda98ccb3b210f41f5e5e
2021-04-26T12:19:06.0618749Z [DEBUG] #COMPILER_CXX_VERSION#19.28.29914.0
2021-04-26T12:19:06.0619837Z [DEBUG] #COMPILER_CXX_ID#MSVC
2021-04-26T12:19:06.0620232Z [DEBUG] -- Configuring done
2021-04-26T12:19:06.0620538Z [DEBUG] -- Generating done
2021-04-26T12:19:06.0620900Z [DEBUG] CMake Warning:
2021-04-26T12:19:06.0621329Z [DEBUG] Manually-specified variables were not used by the project:
2021-04-26T12:19:06.0621698Z [DEBUG]
2021-04-26T12:19:06.0622075Z [DEBUG] BUILD_SHARED_LIBS
2021-04-26T12:19:06.0622391Z [DEBUG] CMAKE_INSTALL_BINDIR
2021-04-26T12:19:06.0622767Z [DEBUG] CMAKE_INSTALL_LIBDIR
2021-04-26T12:19:06.0623095Z [DEBUG] VCPKG_TARGET_ARCHITECTURE
2021-04-26T12:19:06.0623381Z [DEBUG]
2021-04-26T12:19:06.0623677Z [DEBUG]
2021-04-26T12:19:06.0624145Z [DEBUG] -- Build files have been written to: D:/a/1/s/code/3rdparty/vcpkg/buildtrees/detect_compiler/x64-windows-static-rel
2021-04-26T12:19:06.0624655Z [DEBUG]
2021-04-26T12:19:06.0624996Z [DEBUG] cmd_execute_and_stream_data() returned 0 after 3381625 us
2021-04-26T12:19:06.0625382Z [DEBUG]
2021-04-26T12:19:06.0625812Z [DEBUG] Detected compiler hash for triplet x64-windows-static: 49911fcf7bd271725459ceb7610ab7702b29d603
2021-04-26T12:19:06.0626371Z [DEBUG]
2021-04-26T12:19:06.0627028Z [DEBUG] CMakeLists.txt|196affa2879b781da58ed698bf4fb3a597876d2a
2021-04-26T12:19:06.0627464Z [DEBUG] bzip2.pc.in|14fb15c08853564ab5ea60296c5ec698e767397e
2021-04-26T12:19:06.0629608Z [DEBUG] cmake|3.20.1
2021-04-26T12:19:06.0629927Z [DEBUG] features|core
2021-04-26T12:19:06.0630467Z [DEBUG] fix-import-export-macros.patch|46aa162db4f83102a021d84e46e4d7d832e05e8a
2021-04-26T12:19:06.0630937Z [DEBUG] portfile.cmake|adcaea3158a642938d6951e2776887a09cb1490b
2021-04-26T12:19:06.0631600Z [DEBUG] post_build_checks|2
2021-04-26T12:19:06.0631906Z [DEBUG] powershell|7.1.3
2021-04-26T12:19:06.0632400Z [DEBUG] triplet|11b48685057027ff91b8ac481e606bbf604cef3b-a1c0eabb0c5177b6a8fb97a58ae398880c47b352-49911fcf7bd271725459ceb7610ab7702b29d603
2021-04-26T12:19:06.0632995Z [DEBUG] usage|60f406de00a4b1ad7e0ba184cf13443270237abb
2021-04-26T12:19:06.0633399Z [DEBUG] vcpkg.json|1dd91122fbc7df3b7bac326adfdbf4f32b0801df
2021-04-26T12:19:06.0633892Z [DEBUG] vcpkg_configure_cmake|9df1c6098c9f7f00ed45e5daa2e5c047d9e047a8
2021-04-26T12:19:06.0634344Z [DEBUG] vcpkg_copy_pdbs|77501408e9111fbc567621d90d587244ee4ccb3b
2021-04-26T12:19:06.0634838Z [DEBUG] vcpkg_fixup_pkgconfig|136ac43b23096add4709daf756a7a52b75b9ff52
2021-04-26T12:19:06.0635276Z [DEBUG] vcpkg_from_git|99e83c6ffac2dd07afaf73d795988ca5dec2dc8b
2021-04-26T12:19:06.0635764Z [DEBUG] vcpkg_install_cmake|0ca42e314ef99ccbc75ace6664a7934f396ab391
2021-04-26T12:19:06.0636131Z [DEBUG]
2021-04-26T12:19:06.0636679Z Could not locate cached archive: C:\Users\VssAdministrator\AppData\Local\vcpkg\archives\a2\a27b09b99dea34c0f5efa59cfb46d6d57f82bfd9.zip
2021-04-26T12:19:06.0637209Z Starting package 1/1: bzip2:x64-windows-static
2021-04-26T12:19:06.0638551Z Building package bzip2[core]:x64-windows-static...
2021-04-26T12:19:06.0641826Z [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DALL_FEATURES= -DCURRENT_PORT_DIR=D:/a/1/s/code/3rdparty/vcpkg/ports/bzip2 -DFEATURES=core -DPORT=bzip2 -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_DOWNLOAD_TOOL=BUILT_IN -D_VCPKG_EDITABLE=0 -D_VCPKG_NO_DOWNLOADS=0 -DCMD=BUILD -DDOWNLOADS=D:/a/1/s/code/3rdparty/vcpkg/downloads -DTARGET_TRIPLET=x64-windows-static "-DTARGET_TRIPLET_FILE=D:\a\1\s\code\3rdparty\vcpkg\triplets\x64-windows-static.cmake" -DVCPKG_BASE_VERSION=2021-01-13 -DVCPKG_CONCURRENCY=5 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=C:/agents/2.185.1/externals/git/cmd/git.exe -DVCPKG_ROOT_DIR=D:/a/1/s/code/3rdparty/vcpkg -DPACKAGES_DIR=D:/a/1/s/code/3rdparty/vcpkg/packages -DBUILDTREES_DIR=D:/a/1/s/code/3rdparty/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/a/1/s/code/3rdparty/vcpkg/installed -DDOWNLOADS=D:/a/1/s/code/3rdparty/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\a\1\s\code\3rdparty\vcpkg\scripts\ports.cmake")
2021-04-26T12:19:06.1735123Z -- Fetching https://sourceware.org/git/bzip2.git...
2021-04-26T12:19:06.1736083Z CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:94 (file):
2021-04-26T12:19:06.1737095Z file failed to open for reading (No such file or directory):
2021-04-26T12:19:06.1737570Z
2021-04-26T12:19:06.1738096Z D:/a/1/s/code/3rdparty/vcpkg/buildtrees/bzip2/git-init-x64-windows-static-out.log
2021-04-26T12:19:06.1738527Z Call Stack (most recent call first):
2021-04-26T12:19:06.1738998Z scripts/cmake/vcpkg_from_git.cmake:85 (vcpkg_execute_required_process)
2021-04-26T12:19:06.1740088Z ports/bzip2/portfile.cmake:1 (vcpkg_from_git)
2021-04-26T12:19:06.1740713Z scripts/ports.cmake:128 (include)
2021-04-26T12:19:06.1740884Z
2021-04-26T12:19:06.1740974Z
2021-04-26T12:19:06.1741374Z [DEBUG] cmd_execute_and_stream_data() returned 1 after 111405 us
2021-04-26T12:19:06.1741830Z Error: Building package bzip2:x64-windows-static failed with: BUILD_FAILED
2021-04-26T12:19:06.1742468Z Please ensure you're using the latest portfiles with .\vcpkg update, then
2021-04-26T12:19:06.1742996Z submit an issue at https://github.com/Microsoft/vcpkg/issues including:
2021-04-26T12:19:06.1743832Z Package: bzip2:x64-windows-static
2021-04-26T12:19:06.1744706Z Vcpkg version: 2021-01-13-unknownhash
2021-04-26T12:19:06.1745003Z
2021-04-26T12:19:06.1745512Z Additionally, attach any relevant sections from the log files above.
2021-04-26T12:19:06.1746108Z [DEBUG] D:\a\1\s\code\3rdparty\vcpkg\toolsrc\src\vcpkg\install.cpp(504)
2021-04-26T12:19:06.1746482Z [DEBUG] Exiting after 9487203 us (9486760 us)
2021-04-26T12:19:06.2957808Z ##[error]Cmd.exe exited with code '1'.
2021-04-26T12:19:06.3680955Z ##[section]Finishing: Install/Update vcpkg libs

@PhoebeHui PhoebeHui added the requires:repro The issue is not currently repro-able label Apr 27, 2021
@PhoebeHui
Copy link
Contributor

@unusual-aspect, could you run the powershell or command as Administrator, if so, do you set '-DVCPKG_CONCURRENCY=5' personaly? if so, could you unset it and see if it still persist?

I tried it in my 2 test machines, I could not repro this issue locally.

@unusual-aspect
Copy link
Author

@PhoebeHui - this will work on any local box, but is not working on Azure DevOps pipeline on vmImage: 'windows-latest'.

@unusual-aspect
Copy link
Author

unusual-aspect commented Apr 28, 2021

I think i found a problem, but not sure how to test/configure.

On my local machine VCPKG_PLATFORM_TOOLSET is v141, on Azure Cloud is v142, they are binary compatible, but they may not work on compile mode.

Not sure, also how to enforce v141 version on pipeline build.

I try to test/re-create same way as: https://github.com/CE-Programming/CEmu/blob/master/appveyor.yml

@unusual-aspect
Copy link
Author

Changed image on Azure pipeline to: vmImage: 'vs2017-win2016' - and working fine!
So is VCPKG_PLATFORM_TOOLSET is wrong in bzip2 cmake settings.

I think about two solutions:

  1. Enable/Set VCPKG_PLATFORM_TOOLSET to v141 (not sure how)
  2. Update CMakeList for bzip2 to enforce v141 - but that will fail as on hosted agent there no v141 version. ( Based on: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md )

@PhoebeHui
Copy link
Contributor

@unusual-aspect, you can set VCPKG_PLATFORM_TOOLSET in triplet files. For the second solution, I would not recommand.

For me, it looks like a permission issue, rather a vs toolset issue, so both v142 and v141 should work here, it may relate to the vm image itself.

@PhoebeHui
Copy link
Contributor

@unusual-aspect, does this still be a problem for you?

@PhoebeHui
Copy link
Contributor

@unusual-aspect, please reopen this issue if it still be a problem for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants