Revert "proj: Fix do_package QA issue for unshipped bash-completion files"
PATCH 1/1 Revert "proj: Fix do_package QA issue for unshipped bash-completion files"
This reverts commit 1175d5c8c13d73568d4ab55a3cf628456fcc1a7d.
Since this recipe inherits bash-completion, adding ${datadir}/bash-completion to FILES:${PN} should not be needed (in addition to being the wrong thing to do as the files are expected to be packaged in the ${PN}-bash-completion package). The reason the problem addressed in commit 1175d5c8c13d73568d4ab55a3cf628456fcc1a7d turned up is due to the recent change to the bash-completion bbclass, where it started to use PACKAGE_BEFORE_PN. This clashed with the lib_package bbclass, which used to set rather than add to PACKAGE_BEFORE_PN, and since it is inherited after bash-completion, it overrid what bash-completion does.
---
I have sent a patch to openembedded-core to correct lib_package.bbclass, and it obviously needs to be accepted before this is integrated.
meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-oe/recipes-navigation/proj/proj_9.7.0.bb +1 -3
@@ -12,9 +12,7 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += " \ - ${datadir}/proj \ - ${datadir}/bash-completion" +FILES:${PN} += "${datadir}/proj" BBCLASSEXTEND = "native"
Thanks, please send a reminder once it's merged in OE-core lest I forget about it.
Quoted 50 lines · Peter Kjellerstedt via lists.openembedded.org
This reverts commit
1175d5c8c13d73568d4ab55a3cf628456fcc1a7d.Since this recipe inherits bash-completion, adding ${datadir}/bash-completion to FILES:${PN} should not be needed (in addition to being the wrong thing to do as the files are expected to be packaged in the ${PN}-bash-completion package). The reason the problem addressed in commit
1175d5c8c13d73568d4ab55a3cf628456fcc1a7dturned up is due to the recent change to the bash-completion bbclass, where it started to usePACKAGE_BEFORE_PN. This clashed with thelib_packagebbclass, which used to set rather than add toPACKAGE_BEFORE_PN, and since it is inherited after bash-completion, it overrid what bash-completion does.Signed-off-by Peter Kjellerstedt <[email protected]>---
I have sent a patch to openembedded-core to correct lib_package.bbclass, and it obviously needs to be accepted before this is integrated.
meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)meta-oe/recipes-navigation/proj/proj_9.7.0.bb +1
-4@@ -12,9 +12,7 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += " \ - ${datadir}/proj \ - ${datadir}/bash-completion" +FILES:${PN} += "${datadir}/proj" BBCLASSEXTEND = "native" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group. View/Reply Online (#122277):
https://lists.openembedded.org/g/openembedded-devel/message/122277
Mute This Topic: https://lists.openembedded.org/mt/116594502/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
This can be integrated now as the fix for OE-Core has been applied.
//Peter
From: Khem Raj <[email protected]>
Sent: den 3 december 2025 17:53
To: Peter Kjellerstedt <[email protected]>
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/1] Revert "proj: Fix do_package QA issue for unshipped bash-completion files"
Thanks, please send a reminder once it's merged in OE-core lest I forget about it.
On Wed, Dec 3, 2025 at 6:35 AM Peter Kjellerstedt via lists.openembedded.org<http://lists.openembedded.org> <[email protected]<mailto:[email protected]>> wrote:
This reverts commit 1175d5c8c13d73568d4ab55a3cf628456fcc1a7d.
Since this recipe inherits bash-completion, adding ${datadir}/bash-completion to FILES:${PN} should not be needed (in addition to being the wrong thing to do as the files are expected to be packaged in the ${PN}-bash-completion package). The reason the problem addressed in commit 1175d5c8c13d73568d4ab55a3cf628456fcc1a7d turned up is due to the recent change to the bash-completion bbclass, where it started to use PACKAGE_BEFORE_PN. This clashed with the lib_package bbclass, which used to set rather than add to PACKAGE_BEFORE_PN, and since it is inherited after bash-completion, it overrid what bash-completion does.
---
I have sent a patch to openembedded-core to correct lib_package.bbclass, and it obviously needs to be accepted before this is integrated.
meta-oe/recipes-navigation/proj/proj_9.7.0.bb<http://proj_9.7.0.bb> | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-oe/recipes-navigation/proj/proj_9.7.0.bb<http://proj_9.7.0.bb> +1 -3
@@ -12,9 +12,7 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += " \ - ${datadir}/proj \ - ${datadir}/bash-completion" +FILES:${PN} += "${datadir}/proj" BBCLASSEXTEND = "native"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122277): https://lists.openembedded.org/g/openembedded-devel/message/122277
Mute This Topic: https://lists.openembedded.org/mt/116594502/1997914
Group Owner: [email protected]<mailto:openembedded-devel%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Peter Kjellerstedt
This can be integrated now as the fix for OE-Core has been applied.
Thanks for the nudge
Quoted 74 lines
//Peter
*From:* Khem Raj <[email protected]>
*Sent:* den 3 december 2025 17:53
*To:* Peter Kjellerstedt <[email protected]>
*Cc:* [email protected]
*Subject:* Re: [oe] [meta-oe][PATCH 1/1] Revert "proj: Fixdo_packageQA issue for unshipped bash-completion files"Thanks, please send a reminder once it's merged in OE-core lest I forget about it.
On Wed, Dec 3, 2025 at 6:35 AM Peter Kjellerstedt via lists.openembedded.org <[email protected]> wrote:
This reverts commit
1175d5c8c13d73568d4ab55a3cf628456fcc1a7d.Since this recipe inherits bash-completion, adding ${datadir}/bash-completion to FILES:${PN} should not be needed (in addition to being the wrong thing to do as the files are expected to be packaged in the ${PN}-bash-completion package). The reason the problem addressed in commit
1175d5c8c13d73568d4ab55a3cf628456fcc1a7dturned up is due to the recent change to the bash-completion bbclass, where it started to usePACKAGE_BEFORE_PN. This clashed with thelib_packagebbclass, which used to set rather than add toPACKAGE_BEFORE_PN, and since it is inherited after bash-completion, it overrid what bash-completion does.Signed-off-by Peter Kjellerstedt <[email protected]>---
I have sent a patch to openembedded-core to correct lib_package.bbclass, and it obviously needs to be accepted before this is integrated.
meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)meta-oe/recipes-navigation/proj/proj_9.7.0.bb +1
-4@@ -12,9 +12,7 @@ inherit bash-completion cmake lib_package pkgconfig EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" -FILES:${PN} += " \ - ${datadir}/proj \ - ${datadir}/bash-completion" +FILES:${PN} += "${datadir}/proj" BBCLASSEXTEND = "native" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group. View/Reply Online (#122277):
https://lists.openembedded.org/g/openembedded-devel/message/122277
Mute This Topic: https://lists.openembedded.org/mt/116594502/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-