• Bug#1104721: ruff: ruff fails to run on Asahi Linux kernel (Apple M2) b

    From Hilko Bengen@21:1/5 to All on Mon May 5 11:00:02 2025
    Package: python3-ruff
    Version: 0.0.291+dfsg1-4
    Severity: serious

    Dear Maintainer,

    running ruff on my Debian/testing system based on the Asahi Linux kernel
    only gives me the following error messages:

    ,----
    | $ ruff
    | <jemalloc>: Unsupported system page size
    | <jemalloc>: Unsupported system page size
    | memory allocation of 5 bytes failed
    | Aborted
    `----

    Curious: ruff seems to link jemalloc statically:

    ,----
    | $ ldd /usr/bin/ruff
    | linux-vdso.so.1 (0x0000fffee22c8000)
    | libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000fffee12a0000)
    | libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000fffee11f0000)
    | libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000fffee1020000)
    | /lib/ld-linux-aarch64.so.1 (0x0000fffee2290000)
    `----

    I would have tried to patch out the tikv-jemallocator dependency (crates/ruff_cli/Cargo.toml), but there are other problems preventing
    the package to be built from source in the first place.

    Cheers,
    -Hilko

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)