Arkur745 commented on issue #45722:
URL: https://github.com/apache/arrow/issues/45722#issuecomment-3243008276
@kou Thanks again for the pointers on the implementation.
I'm working on getting my local Windows environment set up to start on the
StructBuilder enhancements, but I've hit a persistent build issue that's
blocking me.
The build fails during the cmake configuration step. It seems vcpkg is
consistently failing to build the openssl dependency because of a hash mismatch
error when it tries to download Strawberry Perl.
I've already tried the standard troubleshooting steps:
Updating the vcpkg repository (git pull) and re-running bootstrap-vcpkg.bat.
Completely clearing the Arrow build directory before each attempt.
Manually deleting the entire vcpkg/downloads cache to force fresh downloads.
Unfortunately, I'm still getting the exact same error.
I was wondering if this is a known issue or if you might have any
suggestions for what to try next? I've attached the full error log below in
case it helps. I'm currently unable to build the project to start development
and testing.
Any guidance would be greatly appreciated!
<details>
<summary>Click to expand full error log</summary>
C:\dev\arrow\cpp\build>cmake .. -G "Visual Studio 16 2019" -A x64 ^
More? -DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake ^
More? -DARROW_COMPUTE=ON ^
More? -DARROW_DATASET=ON ^
More? -DARROW_PARQUET=ON ^
More? -DARROW_CSV=ON ^
More? -DARROW_BUILD_TESTS=ON
-- Building using CMake version: 3.29.2
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual
Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
abseil[core,cxx17]:[email protected]
* aws-c-auth:[email protected]
* aws-c-cal:[email protected]#1
* aws-c-common:[email protected]
* aws-c-compression:[email protected]
* aws-c-event-stream:[email protected]
* aws-c-http:[email protected]
* aws-c-io:[email protected]
* aws-c-mqtt:[email protected]
* aws-c-s3:[email protected]
* aws-c-sdkutils:[email protected]
* aws-checksums:[email protected]
* aws-crt-cpp:[email protected]
aws-sdk-cpp[cognito-identity,config,core,dynamodb,identity-management,kinesis,s3,sts,transfer]:[email protected]
benchmark:[email protected]
* boost-algorithm:[email protected]
* boost-align:[email protected]
* boost-array:[email protected]
* boost-asio:[email protected]#1
* boost-assert:[email protected]
* boost-atomic:[email protected]#1
boost-beast:[email protected]
* boost-bind:[email protected]
* boost-chrono:[email protected]
boost-cmake:[email protected]
* boost-concept-check:[email protected]
* boost-config:[email protected]
* boost-container:[email protected]
* boost-container-hash:[email protected]
* boost-context:[email protected]#1
* boost-conversion:[email protected]
* boost-core:[email protected]
boost-crc:[email protected]
* boost-date-time:[email protected]
* boost-describe:[email protected]
* boost-detail:[email protected]
* boost-dynamic-bitset:[email protected]
* boost-endian:[email protected]
* boost-exception:[email protected]
boost-filesystem:[email protected]
* boost-function:[email protected]
* boost-function-types:[email protected]
* boost-functional:[email protected]
* boost-fusion:[email protected]
* boost-headers:[email protected]
* boost-integer:[email protected]
* boost-intrusive:[email protected]
* boost-io:[email protected]
* boost-iterator:[email protected]
* boost-lexical-cast:[email protected]#1
boost-locale:[email protected]
* boost-logic:[email protected]
* boost-math:[email protected]
* boost-move:[email protected]
* boost-mp11:[email protected]
* boost-mpl:[email protected]
boost-multiprecision:[email protected]
* boost-numeric-conversion:[email protected]
boost-optional:[email protected]#1
* boost-phoenix:[email protected]
* boost-pool:[email protected]
* boost-predef:[email protected]
* boost-preprocessor:[email protected]
boost-process:[email protected]#1
* boost-proto:[email protected]
* boost-random:[email protected]
* boost-range:[email protected]
* boost-ratio:[email protected]
* boost-regex:[email protected]#1
* boost-scope:[email protected]
* boost-scope-exit:[email protected]
* boost-smart-ptr:[email protected]
* boost-spirit:[email protected]
* boost-static-assert:[email protected]
* boost-static-string:[email protected]
boost-system:[email protected]
* boost-thread:[email protected]
* boost-throw-exception:[email protected]
* boost-tokenizer:[email protected]
* boost-tuple:[email protected]
* boost-type-index:[email protected]
* boost-type-traits:[email protected]
* boost-typeof:[email protected]
* boost-uninstall:[email protected]
* boost-unordered:[email protected]#1
* boost-utility:[email protected]
boost-variant:[email protected]
* boost-variant2:[email protected]
* boost-winapi:[email protected]
boost-xpressive:[email protected]
brotli:[email protected]#1
bzip2[core,tool]:[email protected]#6
c-ares:[email protected]#1
* crc32c:[email protected]#2
curl[core,non-http,schannel,ssl,sspi]:[email protected]
flatbuffers:[email protected]
* fmt:[email protected]#1
gflags:[email protected]#9
glog:[email protected]
google-cloud-cpp[core,rest-common,storage]:[email protected]
grpc[codegen,core]:[email protected]
gtest[core,cxx17]:[email protected]#1
* libevent[core,thread]:[email protected]+20230128#1
lz4:[email protected]
* nlohmann-json:[email protected]#1
openssl:[email protected]
orc:[email protected]
protobuf:[email protected]
rapidjson:x64-windows@2025-02-26
re2:x64-windows@2024-07-02
snappy:[email protected]
spdlog:[email protected]
sqlite3[core,json1]:[email protected]
thrift:[email protected]#1
* utf8-range:[email protected]
utf8proc:[email protected]
* vcpkg-boost:x64-windows@2024-05-15
* vcpkg-cmake:x64-windows@2024-04-23
* vcpkg-cmake-config:x64-windows@2024-05-23
* vcpkg-cmake-get-vars:x64-windows@2024-09-22
xsimd:[email protected]
zlib:[email protected]
zstd:[email protected]
Additional packages (*) will be modified to complete this operation.
Restored 8 package(s) from C:\Users\atmar\AppData\Local\vcpkg\archives in
778 ms. Use --debug to see more details.
Installing 1/123 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 4.49 ms
vcpkg-cmake-config:x64-windows package ABI:
64c0f455f2770b05d7eba9c41a79330ebff3093b623c21ae594292b8322271e7
Installing 2/123 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 4.11 ms
vcpkg-cmake:x64-windows package ABI:
e8e80cdf0a2758585955631b4e5c28726d04dd4a098b5b70b7304e4004ea8dc1
Installing 3/123 abseil[core,cxx17]:[email protected]...
Elapsed time to handle abseil:x64-windows: 1.8 s
abseil:x64-windows package ABI:
c2d4c21234c5760adbb6afff834ac00cda327add106793c3b53220ce9633160e
Installing 4/123 zlib:[email protected]...
Elapsed time to handle zlib:x64-windows: 197 ms
zlib:x64-windows package ABI:
7f4fe7f75440e643b11838c2464181f27bf48e54b3c5010a66d955111a84ccf8
Installing 5/123 aws-c-common:[email protected]...
Elapsed time to handle aws-c-common:x64-windows: 559 ms
aws-c-common:x64-windows package ABI:
7a25d57f81d6756c24fc4179700462e7e6ccf334cc58b2abb4ab491045ce693c
Installing 6/123 aws-checksums:[email protected]...
Elapsed time to handle aws-checksums:x64-windows: 163 ms
aws-checksums:x64-windows package ABI:
9ff444d7078719814d545afebc04426e826501af34280aaf54181cdd40b0a5f3
Installing 7/123 aws-c-sdkutils:[email protected]...
Elapsed time to handle aws-c-sdkutils:x64-windows: 93.1 ms
aws-c-sdkutils:x64-windows package ABI:
e77f9bfca9d5599eb18b5aa8f2bd1b4a6939eaff43fa51e88a433be64bcb877d
Installing 8/123 vcpkg-cmake-get-vars:x64-windows@2024-09-22...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 39.2 ms
vcpkg-cmake-get-vars:x64-windows package ABI:
b57533e18c676e7ebb5ea6b8b5797503d185441237c4341e6327e61df3331b6a
Installing 9/123 openssl:[email protected]...
Building openssl:[email protected]...
-- Using cached openssl-openssl-openssl-3.4.1.tar.gz
-- Cleaning sources at
C:/dev/vcpkg/buildtrees/openssl/src/nssl-3.4.1-9e512b8cf5.clean. Use --editable
to skip cleaning for the packages you specify.
-- Extracting source
C:/dev/vcpkg/downloads/openssl-openssl-openssl-3.4.1.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at
C:/dev/vcpkg/buildtrees/openssl/src/nssl-3.4.1-9e512b8cf5.clean
Downloading
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54201_64bit/strawberry-perl-5.42.0.1-64bit-portable.zip
-> strawberry-perl-5.42.0.1-64bit-portable.zip
strawberry-perl-5.42.0.1-64bit-portable.zip.14464.part: error: download from
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54201_64bit/strawberry-perl-5.42.0.1-64bit-portable.zip
had an unexpected hash
note: Expected:
e78fc86eb76dc34f2fd8a911537b20378e1ce486a3ea1a167001fd040c2468e8db5e711a895314e7ead3511f3caafccc1ffbfd0bd4096c0360d712a9668fe69b
note: Actual :
eb9af58f5ec139bc9d5cb4c9a15c3b46ffd621258383a46cbd06103ec7997f7b1593bf76ed02472d3c33c4d31f6d2a2653f03899217a909f5ba2666fb3af7b17
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:136 (message):
Download failed, halting portfile.
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:170
(vcpkg_download_distfile)
buildtrees/versioning_/versions/openssl/d740be74dc7940c2b88e69db0b2d181024e1028c/windows/portfile.cmake:6
(vcpkg_find_acquire_program)
buildtrees/versioning_/versions/openssl/d740be74dc7940c2b88e69db0b2d181024e1028c/portfile.cmake:68
(include)
scripts/ports.cmake:206 (include)
error: building openssl:x64-windows failed with: BUILD_FAILED
See
https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli
for more information.
Elapsed time to handle openssl:x64-windows: 10 min
Please ensure you're using the latest port files 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+openssl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[openssl]+Build+error+on+x64-windows&body=Copy%20issue%20body%20from%20C%3A%2Fdev%2Farrow%2Fcpp%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:941 (message):
vcpkg install failed. See logs for more information:
C:\dev\arrow\cpp\build\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Strawberry/c/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146
(include)
CMakeLists.txt:120 (project)
-- Configuring incomplete, errors occurred!
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]