libcamera-apps: Fix library packaging issues for rpicam_app.so.1.4.2 - #1612
selimrecep wants to merge 1 commit into
Conversation
|
I am not sure why two of the CI/CD checks failed, some kind of contention issue between different commits/builds? |
|
Bumping this since it’s been sitting for a while. The two red checks look like timeouts rather than build failures. Could someone re-run those two jobs? This change is just the cherry-pick of |
yeah, it says Can you rebase and upload again, I would like the pipeline to trigger fresh. |
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: agherzan#1440
Signed-off-by: Bhargav Das <bhargavdas100@gmail.com>
(cherry picked from commit b32d117)
Signed-off-by: Recep Selim Ağırman <16990318+selimrecep@users.noreply.github.com>
Head branch was pushed to by a user without write access
fa1a001 to
cb0b995
Compare
|
Sure, done 👍 |
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: #1440
(cherry picked from commit b32d117)
- What I did
Backport of the libcamera-apps packaging fix (#1441, b32d117) to the scarthgap branch. On scarthgap, libcamera-apps 1.4.2 fails do_package with an installed but not shipped (installed-vs-shipped) QA error for rpicam_app.so.1.4.2. The fix was merged to master but never backported; master has since moved to 1.9.0 (#1522), so scarthgap hasn't received the fix.
Fixes #1393
- How I did it
Cherry-picked b32d117 from master, which adds the versioned runtime library to
FILES:${PN}. The library is namedrpicam_app.so.*, without the standard lib prefix, so it isn't matched by the default${libdir}/lib*${SOLIBS}glob and has to be packaged explicitly. Verified on a Raspberry Pi Zero 2W (64-bit): the recipe builds clean and both libcamera-jpeg and libcamera-vid capture successfully (libcamera v0.4.0).