Open kovbandi opened 1 month ago
I'm getting the same error when compiling the latest Flexget because it depends on Pendulum-3.0.0. I'm running a 32-bit OS, specifically:
Raspberry Pi OS (Legacy) Lite
Release date: March 12th 2024
System: 32-bit
Kernel version: 6.1
Debian version: 11 (bullseye)
Hello. I tried to install an older version (Flexget 3.10.2) and it went up without any problems and works.
This issue (i.e. smaller usize
on arm7 causing a potential overflow which the compiler rejects) is also causing the builds to fail on https://www.piwheels.org/project/pendulum/
Issue
Hello. I want to install pendulum 3.0.0 to install Flexget on a Raspberry Pi4 with the latest version of Raspbian. I always run into this error, I don't know what to do:
`Building wheels for collected packages: pendulum Building wheel for pendulum (pyproject.toml) ... error error: subprocess-exited-with-error
maturin pep517 build-wheel -i /usr/bin/python --compatibility off
πΉ Building a mixed python/rust project π Found pyo3 bindings π Found CPython 3.9 at /usr/bin/python Compiling target-lexicon v0.12.6 Compiling python3-dll-a v0.2.9 Compiling libc v0.2.139 Compiling autocfg v1.1.0 Compiling once_cell v1.17.1 Compiling proc-macro2 v1.0.51 Compiling unicode-ident v1.0.6 Compiling quote v1.0.23 Compiling syn v1.0.109 Compiling lock_api v0.4.9 Compiling pyo3-build-config v0.19.1 Compiling parking_lot_core v0.9.7 Compiling cc v1.0.79 Compiling memoffset v0.9.0 Compiling smallvec v1.10.0 Compiling scopeguard v1.1.0 Compiling cfg-if v1.0.0 Compiling parking_lot v0.12.1 Compiling libmimalloc-sys v0.1.35 Compiling pyo3-ffi v0.19.1 Compiling pyo3 v0.19.1 Compiling unindent v0.1.11 Compiling indoc v1.0.9 Compiling mimalloc v0.1.39 Compiling pyo3-macros-backend v0.19.1 Compiling pyo3-macros v0.19.1 Compiling _pendulum v3.0.0 (/home/pi/pendulum-3.0.0/rust) error: this arithmetic operation will overflow --> src/helpers.rs:59:20135140_usize * 86400_usize
, which would overflownote: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pendulum Failed to build pendulum ERROR: Could not build wheels for pendulum, which is required to install pyproject.toml-based projects `