conda-forge / polars-feedstock

A conda-smithy repository for polars.
BSD 3-Clause "New" or "Revised" License
10 stars 19 forks source link

Build failed on main branch - flaky failure #245

Closed corneliusroemer closed 4 months ago

corneliusroemer commented 4 months ago

Issue

Latest merge commit failed for one build variant: osx osx_arm64_polars_variantpolars-u64-idxpython3.8.____cpython

https://github.com/conda-forge/polars-feedstock/runs/27140376795

Log:

2024-07-08T01:31:14.8250410Z     --- stderr
2024-07-08T01:31:14.8253620Z     dyld[9813]: Library not loaded: '@rpath/libzstd.1.dylib'
2024-07-08T01:31:14.8255560Z       Referenced from: '/Users/runner/miniforge3/pkgs/cmake-3.30.0-h749d262_0/bin/cmake'
2024-07-08T01:31:14.8258830Z       Reason: tried: '/Users/runner/miniforge3/pkgs/cmake-3.30.0-h749d262_0/bin/../lib/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/pkgs/cmake-3.30.0-h749d262_0/bin/../lib/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/work/target/release/deps/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/work/target/release/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libzstd.1.dylib' (no such file), '/Users/runner/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file)
2024-07-08T01:31:14.8261670Z     thread 'main' panicked at /Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_build_env/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:
2024-07-08T01:31:14.8263170Z 
2024-07-08T01:31:14.8264370Z     command did not execute successfully, got: signal: 6 (SIGABRT)
2024-07-08T01:31:14.8266360Z 
2024-07-08T01:31:14.8268150Z     build script failed, must exit now
2024-07-08T01:31:14.8269560Z     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-07-08T01:31:14.8271620Z   warning: build failed, waiting for other jobs to finish...
2024-07-08T01:32:34.5686350Z   💥 maturin failed
2024-07-08T01:32:34.5738980Z     Caused by: Failed to build a native library through cargo
2024-07-08T01:32:34.5800700Z     Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.8-64bit" PYO3_PYTHON="/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python" PYTHON_SYS_EXECUTABLE="/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python" "cargo" "rustc" "--target" "aarch64-apple-darwin" "--message-format" "json-render-diagnostics" "--manifest-path" "/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/work/py-polars/Cargo.toml" "--release" "--lib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/polars.abi3.so"`
2024-07-08T01:32:34.5861220Z   Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
2024-07-08T01:32:34.6971990Z   error: subprocess-exited-with-error
2024-07-08T01:32:34.7025080Z   
2024-07-08T01:32:34.7111570Z   × Building wheel for polars-u64-idx (pyproject.toml) did not run successfully.
2024-07-08T01:32:34.7770420Z   │ exit code: 1
2024-07-08T01:32:34.7959540Z   ╰─> See above for output.
2024-07-08T01:32:34.8067870Z   
2024-07-08T01:32:34.8199940Z   note: This error originates from a subprocess, and is likely not a problem with pip.
2024-07-08T01:32:34.8275980Z   full command: /Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python /Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/_build_env/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpcr4hjf1b
2024-07-08T01:32:34.8335720Z   cwd: /Users/runner/miniforge3/conda-bld/polars-u64-idx_1720401742901/work

from https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/972024/logs/391

pavelzw commented 4 months ago

we retriggered the build on main, let's see if that helps

timkpaine commented 4 months ago

This happens occasionally, I usually just rerun it but try to avoid making an issue every time (I've retitled the issue so can just use this issue and re-ping maintainers here if it happens again)