libcamera-apps: Fix library packaging issues for rpicam_app.so.1.4.2
Package rpicam_app.so.1.4.2 library for the default package to fix the following error.
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/build-2/tmp/work/cortexa53-poky-linux/libcamera-apps/1.4.2+git/temp/log.do_package.1110484 ERROR: Task (/home/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb:do_package) failed with exit code '1'
The following version expansion is used to make it compatible with future package version changes.
${@d.getVar("PV", False).str().split('+')[0]}"
Fixes: https://github.com/agherzan/meta-raspberrypi/issues/1440
After this change I am able to launch rpicam-hello but the application exits with the following error,
ERROR: rpicam-apps currently only supports the Raspberry Pi platforms. Contributions for other platforms are welcome at https://github.com/raspberrypi/rpicam-apps.
Has anyone found a solution for it ?
After this change I am able to launch
rpicam-hellobut the application exits with the following error,ERROR: rpicam-apps currently only supports the Raspberry Pi platforms. Contributions for other platforms are welcome at https://github.com/raspberrypi/rpicam-apps.
Has anyone found a solution for it ?
somehow its setting Platform = UNKNOWN instead of vc4 or legacy at runtime, hook up gdb and set breakpoint on Options constructor and see where is it getting _platform to populate from
@kraj , I see some CI checks failing seems like CI broken or is it something in the PR ?
@kraj , I see some CI checks failing seems like CI broken or is it something in the PR ?
yeah perhaps some CI glitch
After this change I am able to launch
rpicam-hellobut the application exits with the following error, ERROR: rpicam-apps currently only supports the Raspberry Pi platforms. Contributions for other platforms are welcome at https://github.com/raspberrypi/rpicam-apps. Has anyone found a solution for it ?somehow its setting Platform = UNKNOWN instead of vc4 or legacy at runtime, hook up gdb and set breakpoint on Options constructor and see where is it getting _platform to populate from
The reported error appears because the board is not detecting the camera. Here are the additional configs I have added,
ENABLE_UART = "1"
ENABLE_I2C = "1"
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
IMAGE_ROOTFS_EXTRA_SPACE = "1000000"
VIDEO_CAMERA = "1"
GPU_FREQ = "250"
GPU_MEM = "128"
IMAGE_INSTALL:append = " libcamera-apps"
IMAGE_INSTALL:append = " libcamera"
IMAGE_INSTALL:append = " strace gdb i2c-tools v4l-utils"
KERNEL_MODULE_AUTOLOAD:rpi += "i2c-dev i2c-bcm2708"
What am I missing here ?
I checked in both rpi3B+ and rpi02w, in both cases the camera is not at all detected.
If this is a genuine bug, shall I create a new issue ?
After this change I am able to launch
rpicam-hellobut the application exits with the following error, ERROR: rpicam-apps currently only supports the Raspberry Pi platforms. Contributions for other platforms are welcome at https://github.com/raspberrypi/rpicam-apps. Has anyone found a solution for it ?somehow its setting Platform = UNKNOWN instead of vc4 or legacy at runtime, hook up gdb and set breakpoint on Options constructor and see where is it getting _platform to populate from
The reported error appears because the board is not detecting the camera. Here are the additional configs I have added,
ENABLE_UART = "1" ENABLE_I2C = "1" LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch" IMAGE_ROOTFS_EXTRA_SPACE = "1000000" VIDEO_CAMERA = "1" GPU_FREQ = "250" GPU_MEM = "128" IMAGE_INSTALL:append = " libcamera-apps" IMAGE_INSTALL:append = " libcamera" IMAGE_INSTALL:append = " strace gdb i2c-tools v4l-utils" KERNEL_MODULE_AUTOLOAD:rpi += "i2c-dev i2c-bcm2708"What am I missing here ?
I checked in both rpi3B+ and rpi02w, in both cases the camera is not at all detected.
If this is a genuine bug, shall I create a new issue ?
Perhaps yes.
@kraj I rebased the branch from Github UI and looks like auto-merge is disabled, please check.
@kraj I have rebased this branch with latest master, please check. Looks like there is some issue with CI, let me know if anything needs to be updated in this PR.