libcamera-apps: Fix library packaging issues for rpicam_app.so.1.4.2#1612
Open
selimrecep wants to merge 1 commit into
Open
libcamera-apps: Fix library packaging issues for rpicam_app.so.1.4.2#1612selimrecep wants to merge 1 commit into
selimrecep wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).