ccextractor 0.96.3 fails to build on armv7l #875

Closed
opened 2026-01-29 16:55:55 +00:00 by claunia · 2 comments
Owner

Originally created by @newbluemoon on GitHub (Dec 31, 2025).

Hi,

I ran into another build failure while updating ccextractor on Void Linux (https://github.com/void-linux/void-packages/pull/58345) on armv7l:

 => ccextractor-0.96.3_1: running do_build ...
 21 cd ../src/rust && \
 22 CARGO_TARGET_DIR=../../linux/rust /builddir/.xbps-ccextractor/wrappers/cargo build --features "hardsubx_ocr" --release;
 23    Compiling ccx_rust v0.1.0 (/builddir/ccextractor-0.96.3/src/rust)
 24 error: literal out of range for `usize`
 25    --> src/libccxr_exports/demuxer.rs:269:63
 26     |
 27 269 |             if buffer_ptr.is_null() || buffer_ptr as usize == 0xcdcdcdcdcdcdcdcd {
 28     |                                                               ^^^^^^^^^^^^^^^^^^
 29     |
 30     = note: the literal `0xcdcdcdcdcdcdcdcd` (decimal `14829735431805717965`) does not fit into the type `usize` and will become `3452816845usize`
 31     = note: `#[deny(overflowing_literals)]` on by default
 32 
 33 error: could not compile `ccx_rust` (lib) due to 1 previous error

related to #1937

Originally created by @newbluemoon on GitHub (Dec 31, 2025). Hi, I ran into another build failure while updating ccextractor on Void Linux (https://github.com/void-linux/void-packages/pull/58345) on armv7l: ``` => ccextractor-0.96.3_1: running do_build ... 21 cd ../src/rust && \ 22 CARGO_TARGET_DIR=../../linux/rust /builddir/.xbps-ccextractor/wrappers/cargo build --features "hardsubx_ocr" --release; 23 Compiling ccx_rust v0.1.0 (/builddir/ccextractor-0.96.3/src/rust) 24 error: literal out of range for `usize` 25 --> src/libccxr_exports/demuxer.rs:269:63 26 | 27 269 | if buffer_ptr.is_null() || buffer_ptr as usize == 0xcdcdcdcdcdcdcdcd { 28 | ^^^^^^^^^^^^^^^^^^ 29 | 30 = note: the literal `0xcdcdcdcdcdcdcdcd` (decimal `14829735431805717965`) does not fit into the type `usize` and will become `3452816845usize` 31 = note: `#[deny(overflowing_literals)]` on by default 32 33 error: could not compile `ccx_rust` (lib) due to 1 previous error ``` related to #1937
Author
Owner

@cfsmp3 commented on GitHub (Dec 31, 2025):

@newbluemoon Can you try with this? https://github.com/CCExtractor/ccextractor/pull/1939

If it works I'll merge it and release 0.96.4

@cfsmp3 commented on GitHub (Dec 31, 2025): @newbluemoon Can you try with this? https://github.com/CCExtractor/ccextractor/pull/1939 If it works I'll merge it and release 0.96.4
Author
Owner

@newbluemoon commented on GitHub (Dec 31, 2025):

@cfsmp3 Yes! Both builds succeed now. Thank you very much! :)

@newbluemoon commented on GitHub (Dec 31, 2025): @cfsmp3 Yes! Both builds succeed now. Thank you very much! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#875