This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Even 6.0.5.2 fails with: vidcutter/libs/pympv/mpv.c: In function ‘__Pyx_PyInt_As_intptr_t’: vidcutter/libs/pympv/mpv.c:31935:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 31935 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ vidcutter/libs/pympv/mpv.c:31990:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 31990 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ vidcutter/libs/pympv/mpv.c: In function ‘__Pyx_PyIndex_AsSsize_t’: vidcutter/libs/pympv/mpv.c:32379:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 32379 | const digit* digits = ((PyLongObject*)b)->ob_digit; | ^~ error: command '/usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1
(In reply to Pacho Ramos from comment #1) > Even 6.0.5.2 fails with: > vidcutter/libs/pympv/mpv.c: In function ‘__Pyx_PyInt_As_intptr_t’: == trimmed == vidcutter/libs/pympv/mpv.c first line is /* Generated by Cython 3.0.10 */ To build from source you need to delete that file and allow cython to regenerate it. The ebuild needs: DISTUTILS_EXT=1 (before inherit) BDEPEND needs "dev-python/cython[${PYTHON_USEDEP}]" added and the mentioned file removed in prepare phase, eg: python_prepare_all() { rm vidcutter/libs/pympv/mpv.c distutils-r1_python_prepare_all }
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad2d0a7aeac8d24c78b211e4abcbdbba01c6d6fb commit ad2d0a7aeac8d24c78b211e4abcbdbba01c6d6fb Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2025-05-09 12:06:21 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2025-05-09 12:09:08 +0000 media-video/vidcutter: add 6.0.5.1_p20250419 Compatible with python 3.13 Thanks-to: Bill Prendergast Bug: https://bugs.gentoo.org/929679 Signed-off-by: Pacho Ramos <pacho@gentoo.org> media-video/vidcutter/Manifest | 1 + .../vidcutter/vidcutter-6.0.5.1_p20250419.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+)