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

arrow[core,mimalloc]:x64-windows Build failure #35242

Open
autoantwort opened this issue Nov 21, 2023 · 5 comments · May be fixed by #43458
Open

arrow[core,mimalloc]:x64-windows Build failure #35242

autoantwort opened this issue Nov 21, 2023 · 5 comments · May be fixed by #43458
Assignees
Labels
depends:upstream-changes Waiting on a change to the upstream project Stale

Comments

@autoantwort
Copy link
Contributor

Package: arrow[core,mimalloc]:x64-windows -> 14.0.1#1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.37.32825.0
  • vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: ecf95e1 2023-11-18 (4 days ago)

To Reproduce

vcpkg x-test-features --ci-feature-baseline=scripts/ci.feature.baseline.txt --failure-logs=log --all
Failure logs

-- Using cached apache-arrow-14.0.1.tar.gz.
-- Extracting source G:/v/downloads/apache-arrow-14.0.1.tar.gz
-- Applying patch msvc-static-name.patch
-- Applying patch utf8proc.patch
-- Applying patch thrift.patch
-- Applying patch fix-ci-error.patch
-- Using source at G:/v/b1/arrow/src/e-arrow-14-b060a9fe4a.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: G:/v/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j31
    Working Directory: G:/v/b1/arrow/x64-windows-dbg
    See logs for more information:
      G:\v\b1\arrow\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/arrow/portfile.cmake:66 (vcpkg_cmake_install)
  scripts/ports.cmake:170 (include)



G:\v\b1\arrow\install-x64-windows-dbg-out.log
Change Dir: 'G:/v/b1/arrow/x64-windows-dbg'

Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j31 install
[1/193] cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -Dcfgdir= -P G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/tmp/mimalloc_ep-mkdirs.cmake && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-mkdir"
[2/193] cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg\mimalloc_ep-prefix\src && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-download-DEBUG.cmake && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-download"
[3/193] cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E echo_append && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-update"
[4/193] cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E echo_append && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-patch"
[5/193] cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg\mimalloc_ep-prefix\src\mimalloc_ep-build && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure-DEBUG.cmake && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure"
FAILED: mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure 
cmd.exe /C "cd /D G:\v\b1\arrow\x64-windows-dbg\mimalloc_ep-prefix\src\mimalloc_ep-build && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure-DEBUG.cmake && G:\v\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E touch G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure"
CMake Error at G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure-DEBUG.cmake:4 (set):
  Syntax error in cmake code at

    G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure-DEBUG.cmake:4

  when parsing string

    G:/v/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe;-DCMAKE_C_COMPILER=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe;-DCMAKE_CXX_COMPILER=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe;-DCMAKE_AR=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/lib.exe;-DBUILD_SHARED_LIBS=OFF;-DBUILD_STATIC_LIBS=ON;-DBUILD_TESTING=OFF;-DCMAKE_BUILD_TYPE=DEBUG;-DCMAKE_CXX_FLAGS= /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;-DCMAKE_CXX_FLAGS_DEBUG=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd;-DCMAKE_CXX_FLAGS_MISIZEREL=/O1 /Ob1 /DNDEBUG -MD;-DCMAKE_CXX_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG /Z7  -MD;-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=/Z7 /O2 /Ob1 /DNDEBUG -MD;-DCMAKE_CXX_STANDARD=17;-DCMAKE_C_FLAGS= /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ;-DCMAKE_C_FLAGS_DEBUG=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd;-DCMAKE_C_FLAGS_MISIZEREL=/O1 /Ob1 /DNDEBUG -MD;-DCMAKE_C_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG /Z7  -MD;-DCMAKE_C_FLAGS_RELWITHDEBINFO=/Z7 /O2 /Ob1 /DNDEBUG -MD;-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON;-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON;-DCMAKE_INSTALL_LIBDIR=lib;-DCMAKE_OSX_SYSROOT=;-DCMAKE_VERBOSE_MAKEFILE=ON;-DCMAKE_C_COMPILER_LAUNCHER=C:\Users\admin\git_projects\ccache.exe;-DCMAKE_CXX_COMPILER_LAUNCHER=C:\Users\admin\git_projects\ccache.exe;-DCMAKE_INSTALL_PREFIX=G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep/src/mimalloc_ep;-DMI_OVERRIDE=OFF;-DMI_LOCAL_DYNAMIC_TLS=ON;-DMI_BUILD_OBJECT=OFF;-DMI_BUILD_SHARED=OFF;-DMI_BUILD_TESTS=OFF;-GNinja;-S;G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep;-B;G:/v/b1/arrow/x64-windows-dbg/mimalloc_ep-prefix/src/mimalloc_ep-build

  Invalid character escape '\U'.


ninja: build stopped: subcommand failed.
@FrankXie05 FrankXie05 added the category:port-bug The issue is with a library, which is something the port should already support label Nov 22, 2023
@MonicaLiu0311
Copy link
Contributor

The following paths are not recognized on Windows:

-DCMAKE_C_COMPILER_LAUNCHER=C:\Users\admin\git_projects\ccache.exe;-DCMAKE_CXX_COMPILER_LAUNCHER=C:\Users\admin\git_projects\ccache.exe;

I use file(TO_CMAKE_PATH...) to convert the path.

Or I can directly disable ARROW_USE_CCACH and ARROW_USE_SCCACHE, but this is probably not a good idea.

@MonicaLiu0311
Copy link
Contributor

This is not a vcpkg issue and has been reported upstream: apache/arrow#39023

@MonicaLiu0311 MonicaLiu0311 added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Dec 15, 2023
@dg0yt
Copy link
Contributor

dg0yt commented Dec 15, 2023

This is not a vcpkg issue and has been reported upstream: apache/arrow#39023

Maybe it is still a port bug: It builds a vendored copy of mimalloc instead of using the vcpkg port.
(The error is from passing cmake options to ExternalProject.)

@MonicaLiu0311 MonicaLiu0311 reopened this Dec 15, 2023
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Jan 19, 2024
@FrankXie05 FrankXie05 added depends:upstream-changes Waiting on a change to the upstream project and removed category:question This issue is a question Stale labels Jul 23, 2024
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Jan 20, 2025
@autoantwort autoantwort linked a pull request Jan 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends:upstream-changes Waiting on a change to the upstream project Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants