Skip to contentSkip to conversation

blueman: Fix do_package QA issue

PATCH In review alperak 3 participants 4 messages Aug 8, 2024 – Aug 19, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 blueman: Fix do_package QA issue

ERROR: blueman-2.4.3-r0 do_package: QA Issue: blueman: Files/directories were installed but not shipped in any package:
/usr/lib/systemd/system
/usr/lib/systemd/system/blueman-mechanism.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
blueman: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: blueman-2.4.3-r0 do_package: Fatal QA errors were found, failing task.

---
 meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +1 -0
index 5aa3b2bd5..df2a226f0 100644
@@ -40,6 +40,7 @@ FILES:${PN} += " \
     ${datadir} \
     ${systemd_user_unitdir} \
     ${PYTHON_SITEPACKAGES_DIR} \
+    ${prefix}${systemd_system_unitdir} \
 "
 
 # In code, path to python is a variable that is replaced with path to native version of it
Signature · 1 line
2.25.1
#1 lore raw

Doesn't this just hide the issue that the systemd service file is installed in wrong directory?

with current master I'm seeing:
ERROR: Didn't find service unit 'blueman-mechanism.service', specified in SYSTEMD_SERVICE:blueman.

Quoted 37 lines · Alper Ak via lists.openembedded.org

ERROR: blueman-2.4.3-r0 do_package: QA Issue: blueman: Files/directories were installed but not shipped in any package:
/usr/lib/systemd/system
/usr/lib/systemd/system/blueman-mechanism.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
blueman: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: blueman-2.4.3-r0 do_package: Fatal QA errors were found, failing task.

---
 meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +1 -1
index 5aa3b2bd5..df2a226f0 100644
@@ -40,6 +40,7 @@ FILES:${PN} += " \
     ${datadir} \
     ${systemd_user_unitdir} \
     ${PYTHON_SITEPACKAGES_DIR} \
+    ${prefix}${systemd_system_unitdir} \
 "
 
 # In code, path to python is a variable that is replaced with path to native version of it
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111682): https://lists.openembedded.org/g/openembedded-devel/message/111682
Mute This Topic: https://lists.openembedded.org/mt/107795994/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 4 lines · Martin Jansa via lists.openembedded.org

Doesn't this just hide the issue that the systemd service file is installed in wrong directory?

yes infact it does sadly.

Quoted 46 lines

with current master I'm seeing:
ERROR: Didn't find service unit 'blueman-mechanism.service', specified in SYSTEMD_SERVICE:blueman.

Quoted 26 lines · Alper Ak via lists.openembedded.org

ERROR: blueman-2.4.3-r0 do_package: QA Issue: blueman: Files/directories were installed but not shipped in any package:
/usr/lib/systemd/system
/usr/lib/systemd/system/blueman-mechanism.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
blueman: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: blueman-2.4.3-r0 do_package: Fatal QA errors were found, failing task.

---
 meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +1 -1
index 5aa3b2bd5..df2a226f0 100644
@@ -40,6 +40,7 @@ FILES:${PN} += " \
     ${datadir} \
     ${systemd_user_unitdir} \
     ${PYTHON_SITEPACKAGES_DIR} \
+    ${prefix}${systemd_system_unitdir} \
 "
 
 # In code, path to python is a variable that is replaced with path to native version of it
--
Quoted 5 lines

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111848): https://lists.openembedded.org/g/openembedded-devel/message/111848
Mute This Topic: https://lists.openembedded.org/mt/107795994/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

I've sent fix for that earlier today.

Cheers,

Quoted 57 lines · Khem Raj
Quoted 4 lines · Martin Jansa via lists.openembedded.org

Doesn't this just hide the issue that the systemd service file is installed in wrong directory?

yes infact it does sadly.

Quoted 46 lines

with current master I'm seeing:
ERROR: Didn't find service unit 'blueman-mechanism.service', specified in SYSTEMD_SERVICE:blueman.

Quoted 26 lines · Alper Ak via lists.openembedded.org

ERROR: blueman-2.4.3-r0 do_package: QA Issue: blueman: Files/directories were installed but not shipped in any package:
/usr/lib/systemd/system
/usr/lib/systemd/system/blueman-mechanism.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
blueman: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: blueman-2.4.3-r0 do_package: Fatal QA errors were found, failing task.

---
 meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +1 -1
index 5aa3b2bd5..df2a226f0 100644
@@ -40,6 +40,7 @@ FILES:${PN} += " \
     ${datadir} \
     ${systemd_user_unitdir} \
     ${PYTHON_SITEPACKAGES_DIR} \
+    ${prefix}${systemd_system_unitdir} \
 "
 
 # In code, path to python is a variable that is replaced with path to native version of it
--
Quoted 5 lines

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111848): https://lists.openembedded.org/g/openembedded-devel/message/111848
Mute This Topic: https://lists.openembedded.org/mt/107795994/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-