Skip to contentSkip to conversation

proj: Fix do_package QA issue for unshipped bash-completion files

PATCH In review Alper Ak 2 participants 2 messages Nov 28, 2025 – Dec 2, 2025

lore
Share & tools
lore

Alper Ak

author
#0 lore raw

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
index 2a41f1ec52..eb9fe46f30 100644
@@ -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
#1 lore raw
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: 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 -2
index 2a41f1ec52..eb9fe46f30 100644
@@ -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