Skip to content

Failure to build on RPi OS Trixie #197

@bfranke1973

Description

@bfranke1973

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions