From: Mingli Yu <[email protected]>

Fixes:
  ERROR: yq-1.13.1+gite0f5cb3c5958e57c7f250a7030e92c768c1b2b19-r0 
do_package_qa: QA Issue: /usr/lib64/go/src/github.com/mikefarah/yq/debian/rules 
contained in package yq-dev requires /usr/bin/make, but no providers found in 
RDEPENDS:yq-dev? [file-rdeps]
  ERROR: yq-1.13.1+gite0f5cb3c5958e57c7f250a7030e92c768c1b2b19-r0 
do_package_qa: QA Issue: 
/usr/lib64/go/src/github.com/mikefarah/yq/scripts/xcompile.sh contained in 
package yq-dev requires /bin/bash, but no providers found in RDEPENDS:yq-dev? 
[file-rdeps]

Signed-off-by: Mingli Yu <[email protected]>
---
 recipes-devtools/yq/yq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index 0f73362c..daa9ab8f 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -49,8 +49,8 @@ do_compile:prepend() {
 do_install:append() {
     # these bring in dependencies for the -dev package on bash, and we don't
     # need them .. so we remove them to avoid needing that rdepends
-    rm -rf ${D}/${prefix}/lib/go/src/${GO_IMPORT}/debian/rules
-    rm -rf ${D}/${prefix}/lib/go/src/${GO_IMPORT}/scripts
+    rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/debian/rules
+    rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/scripts
 }
 
 BBCLASSEXTEND = "native"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7838): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7838
Mute This Topic: https://lists.yoctoproject.org/mt/96648195/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to