Failure to build on RPi OS Trixie
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- linux, python, raspberry-pi
- Domain
- build-system, operating-systems
Research direction
Reproduce the latest release build on Raspberry Pi OS Trixie using the reported arm-linux-gnueabihf-gcc command and compare it with a previously working version. Inspect the generated src/av/video/reformatter.c and the av/include paths around the SwsContext and sws_free_context errors; done means the package builds successfully on the reported environment.
Written by the indexing model from the issue text.
Description
Hello,
I've just tried to build the latest version on an RPi running Raspberry Pi OS Trixie. While previous versions of Sendspin-CLI built and worked fine, I am getting some error messages when building the latest release.
Cheers,
Bjoern
[stderr]
warning: no files found matching '*.pyx' under directory 'av'
warning: no files found matching '*.h' under directory 'include'
src/av/video/frame.c: In function ‘__pyx_f_2av_5video_5frame_copy_bytes_to_plane’:
src/av/video/frame.c:20536:41: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
20536 | for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_13; __pyx_t_12+=1) {
| ^
src/av/video/reformatter.c: In function ‘__pyx_pf_2av_5video_11reformatter_16VideoReformatter___dealloc__’:
src/av/video/reformatter.c:4239:9: error: implicit declaration of function ‘sws_free_context’; did you mean ‘sws_freeContext’? [-Wimplicit-function-declaration]
4239 | sws_free_context((&__pyx_v_self->ptr));
| ^~~~~~~~~~~~~~~~
| sws_freeContext
src/av/video/reformatter.c: In function ‘__pyx_f_2av_5video_11reformatter_16VideoReformatter__reformat’:
src/av/video/reformatter.c:5320:20: error: invalid use of undefined type ‘struct SwsContext’
5320 | __pyx_v_self->ptr->threads = __pyx_v_threads;
| ^~
src/av/video/reformatter.c:5329:20: error: invalid use of undefined type ‘struct SwsContext’
5329 | __pyx_v_self->ptr->flags = ((unsigned int)__pyx_v_interpolation);
| ^~
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
hint: This usually indicates a problem with the package or the build environment.
Failed
- Dominant language
- Python
- Stars
- 190
- Forks
- 36
- Avg merge
- 11d 19h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Sendspin/sendspin-python-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Sendspin/sendspin-python-cli#280 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Sendspin/sendspin-python-cli#278 · 2 comments · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Sendspin/sendspin-python-cli#257 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sendspin/sendspin-python-cli#256 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sendspin/sendspin-python-cli#113 · 10 comments ·
All issues in Sendspin/sendspin-python-cli
Similar issues
-
link-check link-check:sphinx-theme
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CSCfi/sd-search-api#39 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100