tadeja commented on PR #50598: URL: https://github.com/apache/arrow/pull/50598#issuecomment-5047656311
Additionally, a new build failure appeared on main: [2026-07-21 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29799263582/job/88536918324#step:6:3035) ```bash [201/1126] Performing configure step for 'snappy_ep' FAILED: [code=1] snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-configure ... '/opt/conda/envs/arrow/bin/cmake' ... ... '-DCMAKE_SHARED_LINKER_FLAGS=-sSIDE_MODULE=1 -sWASM_BIGINT=1 -fexceptions -Wno-error=linkflags' '-Wno-error=linkflags' ... ... -- stderr output is: CMake Error: The warning category "linkflags" is not known. CMake Error: Run 'cmake --help' for all supported options. CMake Error at /build/cpp/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-configure-Release.cmake:47 (message): Stopping after outputting logs. ``` Also seen in [1st run in this PR 2026-07-22 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29916425496/job/88911250926#step:6:2915) It turns out that the flag is fine [inside linker flags](https://github.com/apache/arrow/blob/00775397a0ccb84106da75287ffa9d05d69de2e2/cpp/cmake_modules/SetupCxxFlags.cmake#L736), However, the second occurrence is a [standalone CMake argument "-Wno-error=linkflags"](https://github.com/apache/arrow/blob/00775397a0ccb84106da75287ffa9d05d69de2e2/cpp/cmake_modules/ThirdpartyToolchain.cmake#L1455). Now with newer CMake 4.4 warning options are parsed as diagnostic category `cmake -Wno-error=<diagnostic-category>` and `linkflags` is not a CMake diagnostic category: https://cmake.org/cmake/help/latest/release/4.4.html#id3 Build failure is resolved with removal of [the standalone CMake argument](https://github.com/apache/arrow/pull/50598/changes/fa439d80e468c7f801add4a8fb041907fa36d3f1) Successful [2nd run in this PR 2026-07-22 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29920316752/job/88923881173#logs) ! -- 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]
