proj: Fix do_package QA issue for unshipped bash-completion files
PATCH 1/1 proj: Fix do_package QA issue for unshipped bash-completion files
Add bash-completion directory to FILES to resolve the installed-vs-shipped QA error.
Fix:
ERROR: proj-9.7.0-r0 do_package: QA Issue: proj: Files/directories were installed but not shipped in any package:
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/projinfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
proj: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: proj-9.7.0-r0 do_package: Fatal QA errors were found, failing task.
--- meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-navigation/proj/proj_9.7.0.bb +3 -1
@@ -12,7 +12,9 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += "${datadir}/proj" +FILES:${PN} += " \ + ${datadir}/proj \ + ${datadir}/bash-completion" BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
Quoted 40 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Alper Ak via lists.openembedded.org
Sent: den 28 november 2025 20:34
To: [email protected]
Cc: Alper Ak <[email protected]>
Subject: [oe] [meta-oe][PATCH] proj: Fixdo_packageQA issue for unshipped bash-completion filesAdd bash-completion directory to FILES to resolve the installed-vs-shipped QA error.
Fix:
ERROR: proj-9.7.0-r0
do_package: QA Issue: proj: Files/directories were installed but not shipped in any package:
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/projinfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
proj: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: proj-9.7.0-r0do_package: Fatal QA errors were found, failing task.Signed-off-by Alper Ak <[email protected]>--- meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-navigation/proj/proj_9.7.0.bb +3
-2@@ -12,7 +12,9 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += "${datadir}/proj" +FILES:${PN} += " \ + ${datadir}/proj \ + ${datadir}/bash-completion" BBCLASSEXTEND = "native" --
Quoted 1 line
2.43.0
Please inherit the bash-completion bbclass instead.
//Peter