RaspberryPi_WebRTC icon indicating copy to clipboard operation
RaspberryPi_WebRTC copied to clipboard

Raspberry pi Trixie has no installation candidates for libavformat59 and libswscale6

Open arpanghosh8453 opened this issue 1 month ago • 1 comments

I have listed a few commands and their responses on the recent Raspbian.

>>> sudo apt install libcamera0.5 libmosquitto1 pulseaudio libavformat59 libswscale6 libprotobuf32
Note, selecting 'libprotobuf32t64' instead of 'libprotobuf32'
Package libavformat59 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 libswscale6 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

Error: Package 'libavformat59' has no installation candidate
Error: Package 'libswscale6' has no installation candidate
>>> apt list --installed | grep libcamera
libcamera-ipa/testing,now 0.5.2+rpt20250903-1+b1 arm64 [installed,automatic]
libcamera-tools/testing,now 0.5.2+rpt20250903-1+b1 arm64 [installed,automatic]
libcamera-v4l2/testing,now 0.5.2+rpt20250903-1+b1 arm64 [installed,automatic]
libcamera0.5/testing,now 0.5.2+rpt20250903-1+b1 arm64 [installed,automatic]
libspa-0.2-libcamera/testing,now 1.4.2-1+rpt1 arm64 [installed,automatic]
pipewire-libcamera/testing,testing,now 1.4.2-1+rpt1 all [installed,automatic]
python3-libcamera/testing,now 0.5.2+rpt20250903-1+b1 arm64 [installed,automatic]
>>> uname -a
Linux raspberrypi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
>>> cat /etc/apt/sources.list /etc/apt/sources.list.d/*
Types: deb
URIs: http://deb.debian.org/debian/
Suites: trixie trixie-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp

Types: deb
URIs: http://deb.debian.org/debian-security/
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp
Types: deb
URIs: http://archive.raspberrypi.com/debian/
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/raspberrypi-archive-keyring.pgp

arpanghosh8453 avatar Nov 08 '25 11:11 arpanghosh8453

-- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is Clang 19.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Profiler library not found -- Target platform: raspberrypi -- BUILD_TEST: -- WEBRTC_INCLUDE_DIR: /usr/local/include/webrtc -- WEBRTC_LIBRARY: /usr/local/lib/libwebrtc.a;avcodec -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Use libcamera! -- Checking for module 'libcamera' -- Found libcamera, version 0.5.2 -- libcamera library found: -- version: 0.5.2 -- libraries: /usr/lib/aarch64-linux-gnu/libcamera.so;/usr/lib/aarch64-linux-gnu/libcamera-base.so -- include path: /usr/include/libcamera -- Checking for module 'libpulse' -- Found libpulse, version 17.0 -- Checking for module 'libpulse-simple' -- Found libpulse-simple, version 17.0 -- PulseAudio library found: -- PULSE libs: /usr/lib/aarch64-linux-gnu/libpulse.so -- PULSE_SIMPLE libs: /usr/lib/aarch64-linux-gnu/libpulse-simple.so;/usr/lib/aarch64-linux-gnu/libpulse.so -- Found JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (found version "62") -- Found Protobuf: /usr/lib/aarch64-linux-gnu/libprotobuf.so (found version "3.21.12") -- Found protoc version: 3.21.12 -- Enabled proto3 optional support. -- Configuring done (20.7s) -- Generating done (0.4s) -- Build files have been written to: /home/olonglongo/RaspberryPi-WebRTC/build [ 2%] Building CXX object src/common/CMakeFiles/common.dir/logging.cpp.o [ 4%] Building CXX object src/common/CMakeFiles/common.dir/v4l2_frame_buffer.cpp.o [ 6%] Building CXX object src/ipc/CMakeFiles/ipc.dir/unix_socket_server.cpp.o [ 9%] Building CXX object src/codecs/h264/CMakeFiles/h264_codecs.dir/openh264_encoder.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/v4l2_utils.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/utils.cpp.o [ 15%] Building CXX object src/common/CMakeFiles/common.dir/worker.cpp.o In file included from /home/olonglongo/RaspberryPi-WebRTC/src/codecs/h264/openh264_encoder.cpp:1: /home/olonglongo/RaspberryPi-WebRTC/./src/codecs/h264/openh264_encoder.h:6:10: fatal error: 'api/video/i420_buffer.h' file not found 6 | #include <api/video/i420_buffer.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/olonglongo/RaspberryPi-WebRTC/src/common/v4l2_frame_buffer.cpp:1: /home/olonglongo/RaspberryPi-WebRTC/./src/common/v4l2_frame_buffer.h:9:10: fatal error: 'api/video/i420_buffer.h' file not found In file included from /home/olonglongo/RaspberryPi-WebRTC/src/common/worker.cpp:1: /home/olonglongo/RaspberryPi-WebRTC/./src/common/worker.h:8:10: fatal error: 'rtc_base/platform_thread.h' file not found 8 9 | # | #ininclcludude e <r<atcpi_b/vaside/eopl/iatf42or0_m_buthffread.h>er .h | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

  |          ^~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. make[2]: *** [src/common/CMakeFiles/common.dir/build.make:135: src/common/CMakeFiles/common.dir/worker.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/olonglongo/RaspberryPi-WebRTC/src/common/utils.cpp:14:10: fatal error: 'third_party/libyuv/include/libyuv.h' file not found 14 | #include <third_party/libyuv/include/libyuv.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. 1 error generated. 1 error generated. make[2]: *** [src/codecs/h264/CMakeFiles/h264_codecs.dir/build.make:79: src/codecs/h264/CMakeFiles/h264_codecs.dir/openh264_encoder.cpp.o] Error 1 make[2]: *** [src/common/CMakeFiles/common.dir/build.make:93: src/common/CMakeFiles/common.dir/utils.cpp.o] Error 1 make[2]: *** [src/common/CMakeFiles/common.dir/build.make:107: src/common/CMakeFiles/common.dir/v4l2_frame_buffer.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:476: src/common/CMakeFiles/common.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:412: src/codecs/h264/CMakeFiles/h264_codecs.dir/all] Error 2 [ 18%] Linking CXX static library libipc.a [ 18%] Built target ipc make: *** [Makefile:91: all] Error 2

olonglongo avatar Nov 12 '25 05:11 olonglongo

Try libavformat61 and libswscale8; they seem to have updated...?

py660 avatar Nov 27 '25 01:11 py660