server icon indicating copy to clipboard operation
server copied to clipboard

Can't build the Dockerfile.win10.min

Open NikolaVrbanic171 opened this issue 2 years ago • 5 comments

Description Tried building the Dockerfile.win10 image on 2 windows 10 Pro machines with same build. Same error occurs.

Triton Information v2.25.0

Are you using the Triton container or did you build it yourself?

Trying to build it myself

To Reproduce OS: windows 10 Pro, version 21H1, build 19043.1889 Install docker, switch to windows containers git clone this repo, checkout tag v2.25.0. Run docker build --network "Default Switch" -t win10-py3-min -f Dockerfile.win10.min . (The instructions don't have the --network "Default Switch" option, but without it docker fails to download.) Docker output:

Sending build context to Docker daemon  16.88MB

Step 1/61 : ARG BASE_IMAGE=mcr.microsoft.com/dotnet/framework/sdk:4.8
Step 2/61 : FROM ${BASE_IMAGE}
 ---> 9923351726d2
Step 3/61 : SHELL ["cmd", "/S", "/C"]
 ---> Using cache
 ---> dd92d542d1f1
Step 4/61 : RUN mkdir c:\tmp
 ---> Using cache
 ---> fa399cc73da7
Step 5/61 : WORKDIR /tmp
 ---> Using cache
 ---> 0f6f3d9e2f98
Step 6/61 : RUN powershell.exe [Net.ServicePointManager]::Expect100Continue = $true; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls, [Net.SecurityProtocolType]::Tls11, [Net.SecurityProtocolType]::Tls12, [Net.SecurityProtocolType]::Ssl3; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')
 ---> Using cache
 ---> 4e3c56fb7c52
Step 7/61 : RUN choco install git docker unzip -y
 ---> Using cache
 ---> 0ce0dc7d883d
Step 8/61 : ADD https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe python-3.8.10-amd64.exe


 ---> Using cache
 ---> 4dcb537c6904
Step 9/61 : RUN python-3.8.10-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 Include_doc=0
 ---> Using cache
 ---> 6c9d755e8dda
Step 10/61 : RUN mklink "c:\Program Files\Python38\python3.exe" "c:\Program Files\Python38\python.exe"
 ---> Using cache
 ---> b63d3b863ece
Step 11/61 : RUN pip install --upgrade wheel setuptools docker
 ---> Using cache
 ---> 9d2a83ac9651
Step 12/61 : RUN pip install grpcio-tools
 ---> Using cache
 ---> 116bca903b43
Step 13/61 : ADD https://download.visualstudio.microsoft.com/download/pr/20130c62-1bc8-43d6-b4f0-c20bb7c79113/145a319d79a83376915d8f855605e152ef5f6fa2b2f1d2dca411fb03722eea72/vs_BuildTools.exe vs_buildtools.exe


 ---> Using cache
 ---> 75c037876063
Step 14/61 : ARG VS_INSTALL_PATH_WP="C:\BuildTools"
 ---> Using cache
 ---> dd578e81f478
Step 15/61 : RUN powershell.exe Start-Process -FilePath vs_buildtools.exe -ArgumentList "--wait","--quiet","--norestart","--nocache","--installPath","%VS_INSTALL_PATH_WP%","--channelUri","C:\tmp\doesnotexist.chman","--add","Microsoft.VisualStudio.Workload.VCTools`;includeRecommended","--add","Microsoft.Component.MSBuild" -Wait -PassThru
 ---> Using cache
 ---> 40fdf730401e
Step 16/61 : WORKDIR /
 ---> Using cache
 ---> e8676bec2105
Step 17/61 : RUN git clone --single-branch --depth=1 -b 2022.04.12 https://github.com/microsoft/vcpkg.git
 ---> Using cache
 ---> e8884a565a6f
Step 18/61 : WORKDIR /vcpkg
 ---> Using cache
 ---> bf20ac296875
Step 19/61 : RUN bootstrap-vcpkg.bat
 ---> Using cache
 ---> d3c21826542a
Step 20/61 : RUN vcpkg.exe update
 ---> Using cache
 ---> afe2371d954a
Step 21/61 : RUN vcpkg.exe install openssl:x64-windows openssl-windows:x64-windows rapidjson:x64-windows re2:x64-windows boost-interprocess:x64-windows boost-stacktrace:x64-windows zlib:x64-windows pthread:x64-windows b64:x64-windows
 ---> Running in 0d4bd7b3b0e5
Computing installation plan...
A suitable version of cmake was not found (required v3.22.2). Downloading portable cmake v3.22.2...
Downloading cmake...
  https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-windows-i386.zip -> C:\vcpkg\downloads\cmake-3.22.2-windows-i386.zip
Extracting cmake...
A suitable version of 7zip_msi was not found (required v21.7.0). Downloading portable 7zip_msi v21.7.0...
Downloading 7zip_msi...
  https://www.7-zip.org/a/7z2107-x64.msi -> C:\vcpkg\downloads\7z2107-x64.msi
Extracting 7zip_msi...
The following packages will be built and installed:
    b64[core]:x64-windows -> 2.0.0.1
  * boost-array[core]:x64-windows -> 1.78.0
  * boost-assert[core]:x64-windows -> 1.78.0
  * boost-build[core]:x64-windows -> 1.78.0#1
  * boost-config[core]:x64-windows -> 1.78.0
  * boost-container[core]:x64-windows -> 1.78.0
  * boost-container-hash[core]:x64-windows -> 1.78.0
  * boost-core[core]:x64-windows -> 1.78.0
  * boost-detail[core]:x64-windows -> 1.78.0
  * boost-integer[core]:x64-windows -> 1.78.0
    boost-interprocess[core]:x64-windows -> 1.78.0
  * boost-intrusive[core]:x64-windows -> 1.78.0
  * boost-modular-build-helper[core]:x64-windows -> 1.78.0#3
  * boost-move[core]:x64-windows -> 1.78.0
  * boost-predef[core]:x64-windows -> 1.78.0
  * boost-preprocessor[core]:x64-windows -> 1.78.0
  * boost-smart-ptr[core]:x64-windows -> 1.78.0
    boost-stacktrace[core]:x64-windows -> 1.78.0
  * boost-static-assert[core]:x64-windows -> 1.78.0
  * boost-throw-exception[core]:x64-windows -> 1.78.0
  * boost-tuple[core]:x64-windows -> 1.78.0
  * boost-type-traits[core]:x64-windows -> 1.78.0
  * boost-uninstall[core]:x64-windows -> 1.78.0
  * boost-unordered[core]:x64-windows -> 1.78.0
  * boost-vcpkg-helpers[core]:x64-windows -> 1.78.0#1
  * boost-winapi[core]:x64-windows -> 1.78.0
    openssl[core]:x64-windows -> 3.0.2#2
    openssl-windows[core]:x64-windows -> 1.1.1h#2
    pthread[core]:x64-windows -> 3.0.0#1
  * pthreads[core]:x64-windows -> 3.0.0#10
    rapidjson[core]:x64-windows -> 2020-09-14#2
    re2[core]:x64-windows -> 2021-11-01
  * vcpkg-cmake[core]:x64-windows -> 2022-04-07
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06
    zlib[core]:x64-windows -> 1.2.12
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
A suitable version of powershell-core was not found (required v7.2.1). Downloading portable powershell-core v7.2.1...
Downloading powershell-core...
  https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x86.zip -> C:\vcpkg\downloads\PowerShell-7.2.1-win-x86.zip
Extracting powershell-core...
Restored 0 packages from C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives in 2.015 ms. Use --debug to see more details.
Starting package 1/35: vcpkg-cmake:x64-windows
Building package vcpkg-cmake[core]:x64-windows...
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_get_vars.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars/CMakeLists.txt
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
-- Performing post-build validation done
A suitable version of 7zip was not found (required v21.7.0). Downloading portable 7zip v21.7.0...
Downloading 7zip...
  https://www.7-zip.org/a/7z2107-extra.7z -> C:\vcpkg\downloads\7z2107-extra.7z
Extracting 7zip...
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\4d\4d082c64c36a90745b3fb5ac17d3f705596e1ab4d9f174891fbc2e301b4020c6.zip
Installing package vcpkg-cmake[core]:x64-windows...
Elapsed time for package vcpkg-cmake:x64-windows: 578.9 ms
Starting package 2/35: vcpkg-cmake-config:x64-windows
Building package vcpkg-cmake-config[core]:x64-windows...
-- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\e7\e70edd6ba847bb7485a757dd2ae536525d39b01062d01e811205d09cffb73796.zip
Installing package vcpkg-cmake-config[core]:x64-windows...
Elapsed time for package vcpkg-cmake-config:x64-windows: 68.67 ms
Starting package 3/35: b64:x64-windows
Building package b64[core]:x64-windows...
-- Downloading https://github.com/libb64/libb64/archive/v2.0.0.1.tar.gz -> libb64-libb64-v2.0.0.1.tar.gz...
-- Extracting source C:/vcpkg/downloads/libb64-libb64-v2.0.0.1.tar.gz
-- Applying patch windows-fix.patch
-- Using source at C:/vcpkg/buildtrees/b64/src/v2.0.0.1-77a813a185.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/vcpkg/packages/b64_x64-windows/share/b64/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\16\16a8c2c89cbb4a6b39f87d7278c7d0fb4c5dc9bc9ba190596061cf1cfccbc4a1.zip
Installing package b64[core]:x64-windows...
Elapsed time for package b64:x64-windows: 4.216 s
Starting package 4/35: boost-uninstall:x64-windows
Building package boost-uninstall[core]:x64-windows...
-- 
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:x64-windows --recurse"

-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\19\197e0ab2d2ba9762878953fb36bacf1c2def4e773bff79c00981bd19ba66a857.zip
Installing package boost-uninstall[core]:x64-windows...
Elapsed time for package boost-uninstall:x64-windows: 62.98 ms
Starting package 5/35: boost-vcpkg-helpers:x64-windows
Building package boost-vcpkg-helpers[core]:x64-windows...
-- Installing: C:/vcpkg/packages/boost-vcpkg-helpers_x64-windows/share/boost-vcpkg-helpers/boost-modular-headers.cmake
-- Installing: C:/vcpkg/packages/boost-vcpkg-helpers_x64-windows/share/boost-vcpkg-helpers/usage
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.78.0/LICENSE_1_0.txt -> boost_LICENSE_1_0.txt...
-- Installing: C:/vcpkg/packages/boost-vcpkg-helpers_x64-windows/share/boost-vcpkg-helpers/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\f5\f593f8d32968def63e7a39ea9ed49bbf962603f6917539b9fb704d4496a78119.zip
Installing package boost-vcpkg-helpers[core]:x64-windows...
Elapsed time for package boost-vcpkg-helpers:x64-windows: 563 ms
Starting package 6/35: boost-config:x64-windows
Building package boost-config[core]:x64-windows...
-- Downloading https://github.com/boostorg/config/archive/boost-1.78.0.tar.gz -> boostorg-config-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-config-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-config/src/ost-1.78.0-76557a9972.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-config_x64-windows/share/boost-config/usage
-- Installing: C:/vcpkg/packages/boost-config_x64-windows/share/boost-config/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\16\165289c942d55753eddf285276662295f527f78f22604352368f29c4d5179aba.zip
Installing package boost-config[core]:x64-windows...
Elapsed time for package boost-config:x64-windows: 1.276 s
Starting package 7/35: boost-assert:x64-windows
Building package boost-assert[core]:x64-windows...
-- Downloading https://github.com/boostorg/assert/archive/boost-1.78.0.tar.gz -> boostorg-assert-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-assert-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-assert/src/ost-1.78.0-55a9987ea6.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-assert_x64-windows/share/boost-assert/usage
-- Installing: C:/vcpkg/packages/boost-assert_x64-windows/share/boost-assert/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\67\67c234f89d256802cbca5f9de11df200d1f98f3b6fdba3eecb8ceb87ffc93af3.zip
Installing package boost-assert[core]:x64-windows...
Elapsed time for package boost-assert:x64-windows: 768.3 ms
Starting package 8/35: boost-static-assert:x64-windows
Building package boost-static-assert[core]:x64-windows...
-- Downloading https://github.com/boostorg/static_assert/archive/boost-1.78.0.tar.gz -> boostorg-static_assert-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-static_assert-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-static-assert/src/ost-1.78.0-673110057a.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-static-assert_x64-windows/share/boost-static-assert/usage
-- Installing: C:/vcpkg/packages/boost-static-assert_x64-windows/share/boost-static-assert/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\d8\d8a8f873ab22f2d453814ca46926b3c05452e3e3b866772219c49f0af7f082ed.zip
Installing package boost-static-assert[core]:x64-windows...
Elapsed time for package boost-static-assert:x64-windows: 805.4 ms
Starting package 9/35: boost-throw-exception:x64-windows
Building package boost-throw-exception[core]:x64-windows...
-- Downloading https://github.com/boostorg/throw_exception/archive/boost-1.78.0.tar.gz -> boostorg-throw_exception-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-throw_exception-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-throw-exception/src/ost-1.78.0-a323c9ac60.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-throw-exception_x64-windows/share/boost-throw-exception/usage
-- Installing: C:/vcpkg/packages/boost-throw-exception_x64-windows/share/boost-throw-exception/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\52\52c2c7ca5d77d96fd13e055f36f2485a19c7d7c1fc93e15c79f881491a1a5ece.zip
Installing package boost-throw-exception[core]:x64-windows...
Elapsed time for package boost-throw-exception:x64-windows: 814.8 ms
Starting package 10/35: boost-core:x64-windows
Building package boost-core[core]:x64-windows...
-- Downloading https://github.com/boostorg/core/archive/boost-1.78.0.tar.gz -> boostorg-core-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-core-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-core/src/ost-1.78.0-19ea6818ea.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-core_x64-windows/share/boost-core/usage
-- Installing: C:/vcpkg/packages/boost-core_x64-windows/share/boost-core/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\46\46629cff6a9e092fc1971cf974ce5b35190c5b2eac70978ea94bf7c258c723fe.zip
Installing package boost-core[core]:x64-windows...
Elapsed time for package boost-core:x64-windows: 932.8 ms
Starting package 11/35: boost-array:x64-windows
Building package boost-array[core]:x64-windows...
-- Downloading https://github.com/boostorg/array/archive/boost-1.78.0.tar.gz -> boostorg-array-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-array-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-array/src/ost-1.78.0-696b2575ad.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-array_x64-windows/share/boost-array/usage
-- Installing: C:/vcpkg/packages/boost-array_x64-windows/share/boost-array/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\38\3890a7843fd7a695b41675dec49889a9b93294f8ce7aafdf895ff635a2182a1f.zip
Installing package boost-array[core]:x64-windows...
Elapsed time for package boost-array:x64-windows: 798.9 ms
Starting package 12/35: boost-build:x64-windows
Building package boost-build[core]:x64-windows...
-- Downloading https://github.com/boostorg/build/archive/boost-1.78.0.tar.gz -> boostorg-build-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-build-boost-1.78.0.tar.gz
-- Applying patch 0001-don-t-skip-install-targets.patch
-- Applying patch 0002-fix-get-version.patch
-- Using source at C:/vcpkg/buildtrees/boost-build/src/ost-1.78.0-7f806436df.clean
-- Using cached boost_LICENSE_1_0.txt.
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.78.0/boostcpp.jam -> boost-1.78.0-boostcpp.jam...
-- Installing: C:/vcpkg/packages/boost-build_x64-windows/share/boost-build/copyright
-- Bootstrapping...
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\f8\f8034de5dd0b4632682c0f5713a0d6d4eb8162667f44c82a8cbdd8a1f6f6c688.zip
Installing package boost-build[core]:x64-windows...
Elapsed time for package boost-build:x64-windows: 20.79 s
Starting package 13/35: boost-preprocessor:x64-windows
Building package boost-preprocessor[core]:x64-windows...
-- Downloading https://github.com/boostorg/preprocessor/archive/boost-1.78.0.tar.gz -> boostorg-preprocessor-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-preprocessor-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-preprocessor/src/ost-1.78.0-a0666e26f6.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-preprocessor_x64-windows/share/boost-preprocessor/usage
-- Installing: C:/vcpkg/packages/boost-preprocessor_x64-windows/share/boost-preprocessor/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\50\50a16b4f811befc3e581e95ce2774fa3c919a483538ef517ca0ad42b6e6870af.zip
Installing package boost-preprocessor[core]:x64-windows...
Elapsed time for package boost-preprocessor:x64-windows: 2.364 s
Starting package 14/35: boost-type-traits:x64-windows
Building package boost-type-traits[core]:x64-windows...
-- Downloading https://github.com/boostorg/type_traits/archive/boost-1.78.0.tar.gz -> boostorg-type_traits-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-type_traits-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-type-traits/src/ost-1.78.0-cc49ed5807.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-type-traits_x64-windows/share/boost-type-traits/usage
-- Installing: C:/vcpkg/packages/boost-type-traits_x64-windows/share/boost-type-traits/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\75\75e23b8a80d6758140813c7298d4c7be00ddefd31d1383fab1144580aaf04564.zip
Installing package boost-type-traits[core]:x64-windows...
Elapsed time for package boost-type-traits:x64-windows: 1.283 s
Starting package 15/35: boost-detail:x64-windows
Building package boost-detail[core]:x64-windows...
-- Downloading https://github.com/boostorg/detail/archive/boost-1.78.0.tar.gz -> boostorg-detail-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-detail-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-detail/src/ost-1.78.0-35a5f4465b.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-detail_x64-windows/share/boost-detail/usage
-- Installing: C:/vcpkg/packages/boost-detail_x64-windows/share/boost-detail/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\a8\a8bf10eb7c026d98fcd3f1ab4ec4715d09ef2d5d819f2d53e352e8e0ae7619c9.zip
Installing package boost-detail[core]:x64-windows...
Elapsed time for package boost-detail:x64-windows: 831 ms
Starting package 16/35: boost-integer:x64-windows
Building package boost-integer[core]:x64-windows...
-- Downloading https://github.com/boostorg/integer/archive/boost-1.78.0.tar.gz -> boostorg-integer-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-integer-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-integer/src/ost-1.78.0-b1cbe25ea1.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-integer_x64-windows/share/boost-integer/usage
-- Installing: C:/vcpkg/packages/boost-integer_x64-windows/share/boost-integer/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\9d\9d99025fb207a51fb823494cb20d44b2ea15a8570f7b492343493e3307a3d35b.zip
Installing package boost-integer[core]:x64-windows...
Elapsed time for package boost-integer:x64-windows: 845.9 ms
Starting package 17/35: boost-container-hash:x64-windows
Building package boost-container-hash[core]:x64-windows...
-- Downloading https://github.com/boostorg/container_hash/archive/boost-1.78.0.tar.gz -> boostorg-container_hash-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-container_hash-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-container-hash/src/ost-1.78.0-e8fcd450f9.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-container-hash_x64-windows/share/boost-container-hash/usage
-- Installing: C:/vcpkg/packages/boost-container-hash_x64-windows/share/boost-container-hash/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\8d\8d93bea56868cbf703f35d356b2a8cd2eb2cbbcfb36e3826515f4d7207e12a88.zip
Installing package boost-container-hash[core]:x64-windows...
Elapsed time for package boost-container-hash:x64-windows: 832.7 ms
Starting package 18/35: boost-predef:x64-windows
Building package boost-predef[core]:x64-windows...
-- Downloading https://github.com/boostorg/predef/archive/boost-1.78.0.tar.gz -> boostorg-predef-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-predef-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-predef/src/ost-1.78.0-f5b3c286cb.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-predef_x64-windows/share/boost-predef/usage
-- Installing: C:/vcpkg/packages/boost-predef_x64-windows/share/boost-predef/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\bc\bcb3021345d4162f02378b3187dc62827c62b03d235197f87e997dfa5bfa2100.zip
Installing package boost-predef[core]:x64-windows...
Elapsed time for package boost-predef:x64-windows: 1.126 s
Starting package 19/35: boost-winapi:x64-windows
Building package boost-winapi[core]:x64-windows...
-- Downloading https://github.com/boostorg/winapi/archive/boost-1.78.0.tar.gz -> boostorg-winapi-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-winapi-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-winapi/src/ost-1.78.0-c3d7019ad7.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-winapi_x64-windows/share/boost-winapi/usage
-- Installing: C:/vcpkg/packages/boost-winapi_x64-windows/share/boost-winapi/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\32\325a4d90a0be885a0424d6e953d7a8d2ac30e37dbc10b13f0c0cf0e30966808d.zip
Installing package boost-winapi[core]:x64-windows...
Elapsed time for package boost-winapi:x64-windows: 1.095 s
Starting package 20/35: boost-move:x64-windows
Building package boost-move[core]:x64-windows...
-- Downloading https://github.com/boostorg/move/archive/boost-1.78.0.tar.gz -> boostorg-move-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-move-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-move/src/ost-1.78.0-2bfc08a9b7.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-move_x64-windows/share/boost-move/usage
-- Installing: C:/vcpkg/packages/boost-move_x64-windows/share/boost-move/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\7c\7ccf479f8a83f2bd1108193208be7270d63f6b4321d9539f84dcec3f8472e793.zip
Installing package boost-move[core]:x64-windows...
Elapsed time for package boost-move:x64-windows: 938 ms
Starting package 21/35: boost-intrusive:x64-windows
Building package boost-intrusive[core]:x64-windows...
-- Downloading https://github.com/boostorg/intrusive/archive/boost-1.78.0.tar.gz -> boostorg-intrusive-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-intrusive-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-intrusive/src/ost-1.78.0-6adf001517.clean
-- Copying headers
-- Copying headers done
-- Installing: C:/vcpkg/packages/boost-intrusive_x64-windows/share/boost-intrusive/usage
-- Installing: C:/vcpkg/packages/boost-intrusive_x64-windows/share/boost-intrusive/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\34\344240cd91555ef122b142ea58d4645ae9049b37156c48f4e9f2d8d5393aa257.zip
Installing package boost-intrusive[core]:x64-windows...
Elapsed time for package boost-intrusive:x64-windows: 1.07 s
Starting package 22/35: boost-modular-build-helper:x64-windows
Building package boost-modular-build-helper[core]:x64-windows...
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives\9d\9d60e4f811488bd0591f2835fdfa2ca600b8cde9839e51fd41e6682a2240d656.zip
Installing package boost-modular-build-helper[core]:x64-windows...
Elapsed time for package boost-modular-build-helper:x64-windows: 81.63 ms
Starting package 23/35: boost-container:x64-windows
Building package boost-container[core]:x64-windows...
-- Downloading https://github.com/boostorg/container/archive/boost-1.78.0.tar.gz -> boostorg-container-boost-1.78.0.tar.gz...
-- Extracting source C:/vcpkg/downloads/boostorg-container-boost-1.78.0.tar.gz
-- Using source at C:/vcpkg/buildtrees/boost-container/src/ost-1.78.0-732edca2df.clean
-- Getting CMake variables for x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
    Command failed: ninja -v
    Working Directory: C:/vcpkg/buildtrees/boost-container/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\boost-container\cmake-get-vars-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:346 (vcpkg_execute_required_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_get_vars.cmake:52 (vcpkg_cmake_configure)
  installed/x64-windows/share/boost-build/boost-modular-build.cmake:108 (vcpkg_cmake_get_vars)
  ports/boost-container/portfile.cmake:15 (boost_modular_build)
  scripts/ports.cmake:145 (include)


error: building boost-container:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-container
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[boost-container]+Build+error
including:
  package: boost-container[core]:x64-windows -> 1.78.0
    vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
    vcpkg-scripts version: e809a42 2022-04-12 (5 months ago)

Additionally, attach any relevant sections from the log files above.

The command 'cmd /S /C vcpkg.exe install openssl:x64-windows openssl-windows:x64-windows rapidjson:x64-windows re2:x64-windows boost-interprocess:x64-windows boost-stacktrace:x64-windows zlib:x64-windows pthread:x64-windows b64:x64-windows' returned a non-zero code: 1


Things I have tried

  1. Test build on 2 separate machines, the second one with a fresh docker installation.
  2. Try removing the package that fails to install -> results in another package failing, indicating it might be a problem with the vcpkg version
  3. Tried other versions of vcpkg, all resulted in same or new error, but always on the "cpkg.exe install " command.
  4. Tried building other releases of Triton (e.g. v2.22.0)

Expected behavior Docker image built successfully.

NikolaVrbanic171 avatar Sep 05 '22 08:09 NikolaVrbanic171

@mc-nv @nv-kmcgill53 Do you see anything which could help here? Is it possibly related to vcpkg version confliction?

krishung5 avatar Sep 07 '22 17:09 krishung5

Looking through your logs I can't find anything which differs from our internal windows builds. We installed boost 1.78.0 as well. @NikolaVrbanic171, you mention that you tried building the win10.min container with Triton v2.22.0, did that build fail in the same way in at the same spot? Were there any other releases which you tried?

Tried other versions of vcpkg, all resulted in same or new error, but always on the "cpkg.exe install " command

Which other versions did you try?

I filed this as an issue: DLIS-4139

nv-kmcgill53 avatar Sep 07 '22 23:09 nv-kmcgill53

@nv-kmcgill53 triton v2.22.0 failed in the exact same way. As for the vcpkg I tried the 4 newest tags on their github and all failed with the same type of error, the only difference was the package it failed on was different.

Did I understand correctly that you have now tried to build the same dockerfile and it works on your end?

NikolaVrbanic171 avatar Sep 08 '22 14:09 NikolaVrbanic171

Did I understand correctly that you have now tried to build the same dockerfile and it works on your end?

@NikolaVrbanic171 I checked the output you posted against the our windows CI build which is not a 1-to-1 comparison as we don't explicitly make the win10.min container. I will need to obtain a license to run docker on my windows machine which may take some time. @krishung5 Are you able to execute the user's command above to repro the issue?

docker build --network "Default Switch" -t win10-py3-min -f Dockerfile.win10.min .

nv-kmcgill53 avatar Sep 08 '22 16:09 nv-kmcgill53

@nv-kmcgill53 I will need to request a user license for running docker on windows as well. Filed a IT ticket for this.

krishung5 avatar Sep 08 '22 21:09 krishung5

Closing issue due to lack of activity. Please re-open the issue if you would like to follow up with this issue

jbkyang-nvi avatar Nov 22 '22 03:11 jbkyang-nvi

@NikolaVrbanic171 We updated the windows dockerfile recently. Please try it out and feel free to let us know if you are still seeing the same issue.

krishung5 avatar Nov 22 '22 18:11 krishung5