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

ci: use uv in cibuildwheel #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Update .cirrus.yml

f655e41
Select commit
Loading
Failed to load commit list.
Open

ci: use uv in cibuildwheel #81

Update .cirrus.yml
f655e41
Select commit
Loading
Failed to load commit list.
Cirrus CI / Build Linux aarch64 wheels. failed Jun 11, 2024 in 1m 53s

Task Summary

Instruction run_cibuildwheel failed in 01:40

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:07 install_pre_requirements
✅ 00:03 install_cibuildwheel
❌ 01:40 run_cibuildwheel

* Installing packages in isolated environment:
  - ninja>=1.5
  - setuptools-scm
* Building wheel...
*** scikit-build-core 0.9.5 using CMake 3.29.3 (wheel)
*** Configuring CMake...
2024-06-11 16:11:18,468 - scikit_build_core - WARNING - Can't find a Python library, got libdir=/opt/_internal/cpython-3.10.14/lib, ldlibrary=libpython3.10.a, multiarch=aarch64-linux-gnu, masd=None
loading initial cache file /tmp/tmpqjkhgq83/build/CMakeInit.txt
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The project is built using scikit-build
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/tmpqjkhgq83/build
*** Building project with Ninja...
[1/8] Creating directories for 'libmagic'
[2/8] Performing download step (git clone) for 'libmagic'
Cloning into 'libmagic'...
HEAD is now at 504206e5 visibility.m4 moved
[3/8] Performing update step for 'libmagic'
[4/8] No patch step for 'libmagic'
[5/8] Performing configure step for 'libmagic'
FAILED: libmagic/src/libmagic-stamp/libmagic-configure /tmp/tmpqjkhgq83/build/libmagic/src/libmagic-stamp/libmagic-configure 
cd /tmp/tmpqjkhgq83/build/libmagic/src/libmagic && autoreconf -f -i && ./configure --prefix=/tmp/tmpqjkhgq83/build/libmagic --libdir=/tmp/tmpqjkhgq83/build/libmagic/lib --datadir=/tmp/tmpqjkhgq83/build/libmagic/share CFLAGS= && /opt/_internal/pipx/venvs/cmake/lib/python3.10/site-packages/cmake/data/bin/cmake -E touch /tmp/tmpqjkhgq83/build/libmagic/src/libmagic-stamp/libmagic-configure
configure.ac:91: installing './compile'
configure.ac:72: installing './config.guess'
configure.ac:72: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
src/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:2:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:2:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:2:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:2:   its definition is in aclocal's search path.
src/Makefile.am: installing './depcomp'
autoreconf: error: automake failed with exit status: 1
ninja: build stopped: subcommand failed.

*** CMake build failed

ERROR Backend subprocess exited when trying to invoke build_wheel

                                                                       ✕ 9.05s
Error: Command ['python', '-m', 'build', PurePosixPath('/project'), '--wheel', '--outdir=/tmp/cibuildwheel/built_wheel', '--installer=uv'] failed with code 1. 

����������������������������