#Updating my OS crownest don't work

7 messages · Page 1 of 1 (latest)

harsh elk
#

Hi! I have update my rpi4 with the following OS

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

It has updated many camera libraries. After finishing, I rebooted the host and the camera doesn't work.

[02/18/25 22:07:40] crowsnest: Version: v4.1.10-1-gdd390b6
[02/18/25 22:07:40] crowsnest: Prepare Startup ...
[02/18/25 22:07:40] crowsnest: INFO: Checking Dependencies
[02/18/25 22:07:42] crowsnest: Dependency: 'camera-streamer' found in bin/camera-streamer/camera-streamer.
[02/18/25 22:07:42] crowsnest: INFO: Detect available Devices
[02/18/25 22:07:43] crowsnest: INFO: Found 1 total available Device(s)
[02/18/25 22:07:43] crowsnest: Detected 'libcamera' device -> /base/soc/i2c0mux/i2c@1/ov5647@36
[02/18/25 22:07:43] crowsnest:              Colorspace: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
[02/18/25 22:07:43] crowsnest:                                       1296x972 [46.34 fps - (0, 0)/2592x1944 crop]
[02/18/25 22:07:43] crowsnest:                                       1920x1080 [32.81 fps - (348, 434)/1928x1080 crop]
[02/18/25 22:07:43] crowsnest:                                       2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
[02/18/25 22:07:43] crowsnest:
[02/18/25 22:07:43] crowsnest: 'libcamera' device controls :
[02/18/25 22:07:43] crowsnest:
[02/18/25 22:07:43] crowsnest: Try to start configured Cams / Services...
[02/18/25 22:07:45] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue ...
[02/18/25 22:07:47] crowsnest:  ... Done!
[02/18/25 22:07:48] crowsnest: Starting camera-streamer with Device /base/soc/i2c0mux/i2c@1/ov5647@36 ...
[02/18/25 22:07:48] crowsnest: ERROR: Start of camera-streamer [cam 1] failed!
#

I've tried

cd ~/crowsnest
make buildclean
make build

but i got this error:

device/libcamera/options.cc: In function ‘int libcamera_device_dump_control_option(int ()(device_option_t, void*), void*, const libcamera::ControlId&, const libcamera::ControlInfo*, const libcamera::ControlValue*, bool)’:
device/libcamera/options.cc:183:10: error: enumeration value ‘ControlTypeUnsigned16’ not handled in switch [-Werror=switch]
183 | switch (control_id.type()) {
| ^
device/libcamera/options.cc:183:10: error: enumeration value ‘ControlTypeUnsigned32’ not handled in switch [-Werror=switch]
device/libcamera/options.cc:183:10: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
device/libcamera/options.cc: In function ‘int libcamera_device_set_option(device_t*, const char*, const char*)’:
device/libcamera/options.cc:400:12: error: enumeration value ‘ControlTypeUnsigned16’ not handled in switch [-Werror=switch]
400 | switch (control_id->type()) {
| ^
cc -std=gnu17 -MMD -Werror -Wall -g -I/home/sergio/crowsnest/bin/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o html/webrtc.html.o html/webrtc.html.c
device/libcamera/options.cc:400:12: error: enumeration value ‘ControlTypeUnsigned32’ not handled in switch [-Werror=switch]
device/libcamera/options.cc:400:12: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:106: device/libcamera/options.o] Error 1

Any clue? Thanks!!

coarse cliffBOT
#

Ahoi @harsh elk!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

harsh elk
sinful basin
#

Did you read my message on Github?

#

I said, you should run make update

harsh elk
#

No, i didn't. Sorry. I'm going to try it. Thanks