mpradio-py icon indicating copy to clipboard operation
mpradio-py copied to clipboard

Latest rPI OS issue

Open tcsabina opened this issue 1 year ago • 1 comments

Hi,

Did anyone try this on a recent rPI image?

pi@mpradio:~/mpradio/install $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@mpradio:~/mpradio/install $
pi@mpradio:~/mpradio/install $ sudo bash install.sh
ln: failed to create symbolic link '/home/pi/mpradio.py': File exists
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-dbus is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-gobject is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package bluealsa is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-gobject' has no installation candidate
E: Unable to locate package python-gobject-2
E: Package 'python-dbus' has no installation candidate
E: Package 'bluealsa' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libavcodec-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libavdevice-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libavfilter-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libavformat-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libavutil-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libswresample-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
libswscale-dev is already the newest version (8:4.3.6-0+deb11u1+rpt5).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pybluez in /usr/local/lib/python3.9/dist-packages (0.23)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (5.8.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting av==6
  Using cached av-6.0.0.tar.gz (2.0 MB)
Building wheels for collected packages: av
  Building wheel for av (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-oigk2tvq
       cwd: /tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/
  Complete output (157 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv6l-3.9
  creating build/lib.linux-armv6l-3.9/av
  copying av/__main__.py -> build/lib.linux-armv6l-3.9/av
  copying av/deprecation.py -> build/lib.linux-armv6l-3.9/av
  copying av/__init__.py -> build/lib.linux-armv6l-3.9/av
  creating build/lib.linux-armv6l-3.9/av/video
  copying av/video/__init__.py -> build/lib.linux-armv6l-3.9/av/video
  creating build/lib.linux-armv6l-3.9/av/filter
  copying av/filter/__init__.py -> build/lib.linux-armv6l-3.9/av/filter
  creating build/lib.linux-armv6l-3.9/av/audio
  copying av/audio/__init__.py -> build/lib.linux-armv6l-3.9/av/audio
  creating build/lib.linux-armv6l-3.9/av/data
  copying av/data/__init__.py -> build/lib.linux-armv6l-3.9/av/data
  creating build/lib.linux-armv6l-3.9/av/codec
  copying av/codec/__init__.py -> build/lib.linux-armv6l-3.9/av/codec
  creating build/lib.linux-armv6l-3.9/av/subtitles
  copying av/subtitles/__init__.py -> build/lib.linux-armv6l-3.9/av/subtitles
  creating build/lib.linux-armv6l-3.9/av/container
  copying av/container/__init__.py -> build/lib.linux-armv6l-3.9/av/container
  running build_ext
  running config
  writing build/temp.linux-armv6l-3.9/include/pyav/config.h
  running cythonize
  building 'av.enums' extension
  creating build/temp.linux-armv6l-3.9/src
  creating build/temp.linux-armv6l-3.9/src/av
  arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/arm-linux-gnueabihf -Ibuild/temp.linux-armv6l-3.9/include -I/usr/include/python3.9 -I/usr/include/python3.9 -Ibuild/temp.linux-armv6l-3.9/include -c src/av/enums.c -o build/temp.linux-armv6l-3.9/src/av/enums.o
  src/av/enums.c: In function ‘__Pyx_modinit_type_init_code’:
  src/av/enums.c:8716:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
   8716 |   __pyx_type_2av_5enums_EnumType.tp_print = 0;
        |                                 ^
  src/av/enums.c:8725:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
   8725 |   __pyx_type_2av_5enums_EnumItem.tp_print = 0;
        |                                 ^
  src/av/enums.c:8733:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
   8733 |   __pyx_type_2av_5enums_EnumFlag.tp_print = 0;
        |                                 ^
  src/av/enums.c:8740:61: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
   8740 |   __pyx_type_2av_5enums___pyx_scope_struct___get_multi_flags.tp_print = 0;
        |                                                             ^
  src/av/enums.c:8746:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
   8746 |   __pyx_type_2av_5enums___pyx_scope_struct_1_genexpr.tp_print = 0;
        |                                                     ^
  src/av/enums.c: In function ‘__Pyx_ParseOptionalKeywords’:
  src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10085:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10085:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
  10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from src/av/enums.c:34:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for av
  Running setup.py clean for av
Failed to build av
Installing collected packages: av
    Running setup.py install for av ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-w0n0maue/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/av
         cwd: /tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/
    Complete output (157 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv6l-3.9
    creating build/lib.linux-armv6l-3.9/av
    copying av/__main__.py -> build/lib.linux-armv6l-3.9/av
    copying av/deprecation.py -> build/lib.linux-armv6l-3.9/av
    copying av/__init__.py -> build/lib.linux-armv6l-3.9/av
    creating build/lib.linux-armv6l-3.9/av/video
    copying av/video/__init__.py -> build/lib.linux-armv6l-3.9/av/video
    creating build/lib.linux-armv6l-3.9/av/filter
    copying av/filter/__init__.py -> build/lib.linux-armv6l-3.9/av/filter
    creating build/lib.linux-armv6l-3.9/av/audio
    copying av/audio/__init__.py -> build/lib.linux-armv6l-3.9/av/audio
    creating build/lib.linux-armv6l-3.9/av/data
    copying av/data/__init__.py -> build/lib.linux-armv6l-3.9/av/data
    creating build/lib.linux-armv6l-3.9/av/codec
    copying av/codec/__init__.py -> build/lib.linux-armv6l-3.9/av/codec
    creating build/lib.linux-armv6l-3.9/av/subtitles
    copying av/subtitles/__init__.py -> build/lib.linux-armv6l-3.9/av/subtitles
    creating build/lib.linux-armv6l-3.9/av/container
    copying av/container/__init__.py -> build/lib.linux-armv6l-3.9/av/container
    running build_ext
    running config
    writing build/temp.linux-armv6l-3.9/include/pyav/config.h
    running cythonize
    building 'av.enums' extension
    creating build/temp.linux-armv6l-3.9/src
    creating build/temp.linux-armv6l-3.9/src/av
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ibuild/temp.linux-armv6l-3.9/include -I/usr/include/arm-linux-gnueabihf -I/usr/include/python3.9 -Iinclude -I/usr/include/python3.9 -Ibuild/temp.linux-armv6l-3.9/include -c src/av/enums.c -o build/temp.linux-armv6l-3.9/src/av/enums.o
    src/av/enums.c: In function ‘__Pyx_modinit_type_init_code’:
    src/av/enums.c:8716:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
     8716 |   __pyx_type_2av_5enums_EnumType.tp_print = 0;
          |                                 ^
    src/av/enums.c:8725:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
     8725 |   __pyx_type_2av_5enums_EnumItem.tp_print = 0;
          |                                 ^
    src/av/enums.c:8733:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
     8733 |   __pyx_type_2av_5enums_EnumFlag.tp_print = 0;
          |                                 ^
    src/av/enums.c:8740:61: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
     8740 |   __pyx_type_2av_5enums___pyx_scope_struct___get_multi_flags.tp_print = 0;
          |                                                             ^
    src/av/enums.c:8746:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
     8746 |   __pyx_type_2av_5enums___pyx_scope_struct_1_genexpr.tp_print = 0;
          |                                                     ^
    src/av/enums.c: In function ‘__Pyx_ParseOptionalKeywords’:
    src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10085:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10085:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10085:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10085 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    src/av/enums.c:10101:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    10101 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from src/av/enums.c:34:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rp5wowbe/av_a69a13ed543d43c09b463d727ade1354/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-w0n0maue/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/av Check the logs for full command output.

tcsabina avatar Mar 10 '24 13:03 tcsabina

use debian 10 for normal use as stated

This software is tested to work on Debian 10 and previous versions. Debian 11 and subsequent versions won't work due to massive breakage in core dependencies. Feel free to try and port it to the latest Debian if you wish, or just use Debian 10 to avoid any issues.

GiannisDorokidis avatar Aug 05 '24 22:08 GiannisDorokidis