#crowsnest install fails (camera-streamer compile)
72 messages Β· Page 1 of 1 (latest)
Ahoi @fading viper!
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
updated Debian
Explain what exactly you did there
you mean supo apt upgrade and not sudo apt install
yes, sorry
deprecation warnings
Sadly the camera-streamer dev doesn't respond lately, so it's possible that we might have to drop it, if it makes problems with bookworm now
Yep, and those should get solved
It's possible that they get remove with trixie
but the warnings regarding deprecation is not new
it's not?
I can't remember them ^^
the errors prevent compilation
warnings can prevent them too, I don't know the compiler flags out of my head right now
but without camera-streamer, crowsnest seems to not startup
Yes, that's kinda intended, but a really bad design choice
at least the last word in the log was "Exiting" π
It's weird, that they don't mention any deprecation of the parameters in the releases:
https://github.com/raspberrypi/libcamera/releases
you mean stuff like the AeState?
yes
camera-streamer is sadly the only mode which gives any kind of fps and not spf with the C920
Why does it try to compile it for you in the first place? I would expect an exit before compilation as you can see on my screenshot
Doesn't matter
I'm pulling the camera-streamer branch
I didn't change anything on the installation for quite some time
It's also a mainsailos release candidate, built 7 days ago ^^
So yes, I'm on the master branch with latest commits
our next line after the error differs
I run make update, but that shouldn't change anything
mine is
[ -e third_party/libdatachannel/build/Makefile ] || cmake -S third_party/libdatachannel -B third_party/libdatachannel/build
yours g++
but since you have the same errors, the followup lines don't matter
I check again with a clean environment
Nope, still stopping the compilation for me π€·ββοΈ
Anyway, it seems like aestate is no longer a draft control but a real control now. So the fix should hopefully be quite easy
(for that one error)
Are you a c++ programmer by any chance and got time to look into this? ^^
I have some more important things to do first, before I can fix this
The branch would be this one: https://github.com/mryel00/camera-streamer
The original camera-streamer repo doesn't compile anymore: https://github.com/ayufan/camera-streamer/pull/160
so you need me to change a string in the make file?
nope, I need you to fix the compilation errors using my branch
I just added the information that it's currently not the camera-streamer main branch, as it's broken since Octobre
If you cannot/don't want to fix the errors, then you can download the release candidate for mainsailos: https://github.com/meteyou/MainsailOS-dev/actions/runs/14679470794
It got a working crowsnest installation, as long as you don't update system packages
that was quite an easy fix, at least compilationwise
want a PR to your repo with the fix? its one line change
Would be awesome. I might adjust it to be backwards compatible, if it isn't already. Thank you 
tried multiple times, but no chance. I am no expert in Git with multiple channels in a single repo referencing to different branches
You can also just send me the link to your commit and I will create a PR based on your branch. Then you still get the contribution, if you want
many thanks for the quick info about the issue being the AeState been moved out of draft. otherwise, i would have been completely lost π
I created a PR and will merge it after testing and making it backwards compatible:
https://github.com/mryel00/camera-streamer/pull/1
thanks for the superquick help!
Hi! In order to test it myself, after making the changes indicated in your PR, is it necessary to recompile the camera again with 'make update' or is simply restarting the host sufficient?
make update won't do it, as it will redownload the repo
Restarting won't do it either
So how can I test it?
Change this url https://github.com/mainsail-crew/crowsnest/blob/master/bin/build.sh#L44 to https://github.com/Surion79/camera-streamer.git
Then run make update
Thanks. Gonna try it and tell you.
I pushed the fix upstream. If there are still errors, please let me know
It works again on my side. Thank you very much π