sjperkins opened a new issue, #35503:
URL: https://github.com/apache/arrow/issues/35503

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   #35430 updated the vcpkg version to version 2023.04.15. Snappy patches no 
longer cleanly apply on arm64 windows wheel builds. See for instance 
https://github.com/apache/arrow/pull/35430#issuecomment-1537540816.
   
   ```bash
   Installing 66/100 snappy:amd64-windows-static-md-release...
   Building snappy[core]:amd64-windows-static-md-release...
   -- [OVERLAY] Loading triplet configuration from: 
C:\arrow\ci\vcpkg\amd64-windows-static-md-release.cmake
   -- Downloading https://github.com/google/snappy/archive/1.1.9.tar.gz -> 
google-snappy-1.1.9.tar.gz...
   -- Extracting source C:/vcpkg/downloads/google-snappy-1.1.9.tar.gz
   -- Applying patch fix_clang-cl_build.patch
   -- Applying patch snappy-disable-bmi.patch
   CMake Error at scripts/cmake/z_vcpkg_apply_patches.cmake:34 (message):
     Applying patch failed: error: corrupt patch at line 18
   
   Call Stack (most recent call first):
     scripts/cmake/vcpkg_extract_source_archive.cmake:153 
(z_vcpkg_apply_patches)
     scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 
(vcpkg_extract_source_archive)
     scripts/cmake/vcpkg_from_github.cmake:113 (vcpkg_extract_source_archive_ex)
     ports/snappy/portfile.cmake:4 (vcpkg_from_github)
     scripts/ports.cmake:147 (include)
   
   
   error: building snappy:amd64-windows-static-md-release failed with: 
BUILD_FAILED
   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+snappy
   You can submit a new issue at:
       
https://github.com/microsoft/vcpkg/issues/new?title=[snappy]+Build+error&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
   
   The command 'cmd /S /C vcpkg install         --clean-after-build         
--x-install-root=%VCPKG_ROOT%\installed         
--x-manifest-root=arrow/ci/vcpkg         --x-feature=flight         
--x-feature=gcs         --x-feature=json         --x-feature=parquet' returned 
a non-zero code: 1
   Error: docker build --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg 
python=3.10 --build-arg vcpkg=501db0f17ef6df184fcdbfbe0f87cde2313b6ab1 -f 
D:\a\crossbow\crossbow\arrow\ci/docker/python-wheel-windows-vs2017.dockerfile 
-t 
ghcr.io/ursacomputing/arrow:python-3.10-wheel-windows-vs2017-vcpkg-501db0f17ef6df184fcdbfbe0f87cde2313b6ab1-2022-06-12
 D:\a\crossbow\crossbow\arrow exited with non-zero exit code 1
   ```
   
   ### Component(s)
   
   C++, Continuous Integration, Packaging


-- 
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]

Reply via email to