-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sacrthgap : pi zero v2 : licamera-apps build fails with rpicam_app.so.1.4.2 error #1393
Comments
I would expect that |
Hello,
do you have any idea of the solution? |
Unfortunately my knowledge stops at this point without taking a deep dive... |
I couldn't help myself, and installed gdb, and made at least some partial progress. I found at least one error: this patch in libcamera is buggy, from meta-oe - this seems to be causing this crash. You can try to remove this patch ( If it fails, then revert it, and try to apply the attached patch on libcamera from a bbappend. This patch tries to fix the bug from that other patch. However after this I faced another problem with displaying the video, that I think comes from my own image config, though I'm not sure. Any case, it might be different on your setup - if it isn't, then sorry, I think I'm really running out of further immediate ideas. |
Hello,
I'm trying to add libcamera-apps to pi zero v2 64 bit but i didn't succeed to find a solution for the problem mentioned below. It seems close from this one reported and solved #1273
here is my setup:
ubuntu 22.04
bblayers.conf
BLAYERS ?= "
/home/dingo/scarthgap/poky/meta
/home/dingo/scarthgap/poky/meta-poky
/home/dingo/scarthgap/poky/meta-yocto-bsp
/home/dingo/scarthgap/poky/meta-raspberrypi
/home/dingo/scarthgap/poky/meta-openembedded/meta-oe
/home/dingo/scarthgap/poky/meta-openembedded/meta-python
/home/dingo/scarthgap/poky/meta-openembedded/meta-networking
/home/dingo/scarthgap/poky/meta-openembedded/meta-multimedia
"
Local.conf
MACHINE = "raspberrypi0-2w-64"
IMAGE_ROOTFS_EXTRA_SPACE = "10000"
EXTRA_IMAGE_FEATURES += " package-management ssh-server-dropbear debug-tweaks"
PACKAGE_CLASSES = "package_ipk"
IMAGE_INSTALL:append = " libcamera-apps"
Here is the error message
ERROR: libcamera-apps-1.4.2+git-r0 do_package: QA Issue: libcamera-apps: Files/directories were installed but not shipped in any package:
/usr/lib/rpicam_app.so.1.4.2
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libcamera-apps: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: libcamera-apps-1.4.2+git-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/dingo/scarthgap/poky/build/tmp/work/cortexa53-poky-linux/libcamera-apps/1.4.2+git/temp/log.do_package.5878
ERROR: Task (/home/dingo/scarthgap/poky/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb:do_package) failed with exit code '1'
Attempts
befor creating a bbappend, I tried several options by updating libcamera-apps_git.bb but it fails everytime. Eithet i didn't compil or libcamera-apps didn't work
d```
o_install:append() {
rm -v ${D}/${bindir}/camera-bug-report
rm -v ${D}${libdir}/rpicam_app.so.1.4.2
}
not picked automatically, because it's missing common 'lib' prefix
FILES:${PN}-dev += "${libdir}/rpicam_app.so"
#FILES:${PN} += "${libdir}/rpicam_app.so.1.4.2"
#FILES_${PN} += "${libdir}/"
#FILES_${PN}-dev = "${libdir}/ ${includedir}"
#FILES:${PN}-dev += "${libdir}/rpicam_app.so*"
#FILES:${PN} += "${libdir}/rpicam_app.so*"
The text was updated successfully, but these errors were encountered: