WARNING: gphoto2-2.5.28-r0 do_package_qa: QA Issue: File /usr/bin/gphoto2 in 
package gphoto2 contains reference to TMPDIR [buildpaths]

ERROR: gphoto2-2.5.28-r0 do_package: QA Issue: File '/usr/bin/gphoto2' from 
gphoto2 was already stripped, this will prevent future debugging! 
[already-stripped]
ERROR: gphoto2-2.5.28-r0 do_package: Fatal QA errors were found, failing task.

Signed-off-by: alperak <alperyasin...@gmail.com>
---
 meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb 
b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
index 513845194..aba590aa0 100644
--- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
+++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
@@ -19,3 +19,8 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
                  --without-cdk \
 "
 
+INSANE_SKIP:${PN} = "already-stripped"
+
+do_install:append() {
+       sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${bindir}/gphoto2
+}
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111091): 
https://lists.openembedded.org/g/openembedded-devel/message/111091
Mute This Topic: https://lists.openembedded.org/mt/106887031/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to