cmpi-bindings: allow creation of an empty package
From: Wang Mingyu <[email protected]>
In the case where cmpi-bindings included into an image, and if no layers is providing the machine configuration, the build fails with the following error:
Problem: conflicting requests
- nothing provides lib32-cmpi-bindings
This error is because no package was created for cmpi-bindings since the recipe does not install any files.
This commit allows the creation of an empty package in order to avoid the do_rootfs failure when this package is included into an image.
--- meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb +2 -0
@@ -18,6 +18,8 @@ S = "${WORKDIR}/git" inherit cmake python3targetconfig +ALLOW_EMPTY:${PN} = "1" + EXTRA_OECMAKE = "-DLIB='${baselib}' \ -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ -DPYTHON_ABI=${PYTHON_ABI} \
Signature · 1 line
2.34.1
Quoted 9 lines · wangmy via lists.openembedded.org
From: Wang Mingyu <[email protected]>
In the case where cmpi-bindings included into an image, and if no layers is providing the machine configuration, the build fails with the following error:
Problem: conflicting requests
- nothing provides lib32-cmpi-bindings
Quoted 6 lines
This error is because no package was created for cmpi-bindings since the recipe does not install any files.
This commit allows the creation of an empty package in order to avoid the
do_rootfsfailure when this package is included into an image.
what non-empty packages are built by this recipe. I would rather expect them to be included in image install
Quoted 30 lines
Signed-off-by Wang Mingyu <[email protected]>--- meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+)meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb +2
-1@@ -18,6 +18,8 @@ S = "${WORKDIR}/git" inherit cmake python3targetconfig +ALLOW_EMPTY:${PN} = "1" + EXTRA_OECMAKE = "-DLIB='${baselib}' \ -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ -DPYTHON_ABI=${PYTHON_ABI} \ --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113950): https://lists.openembedded.org/g/openembedded-devel/message/113950
Mute This Topic: https://lists.openembedded.org/mt/109698797/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Due to 3.13 incompatibility, python3 is disabled.
Because maybe upstream would update for Python3 in the future, I made this modification temporarily.
--
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST) No.6 Wenzhu Road, Nanjing, 210012, China TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
Quoted 64 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Thursday, November 21, 2024 1:19 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>
Cc: [email protected]
Subject: Re: [oe] [meta-oe] cmpi-bindings: allow creation of an empty packageQuoted 9 lines · wangmy via lists.openembedded.org
From: Wang Mingyu <[email protected]>
In the case where cmpi-bindings included into an image, and if no layers is providing the machine configuration, the build fails with the following error:
Problem: conflicting requests
- nothing provides lib32-cmpi-bindingsQuoted 6 lines
This error is because no package was created for cmpi-bindings since the recipe does not install any files.
This commit allows the creation of an empty package in order to avoid the
do_rootfsfailure when this package is included into an image.what non-empty packages are built by this recipe. I would rather expect them to be included in image install
Quoted 12 lines
Signed-off-by Wang Mingyu <[email protected]>--- meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+)diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb index
5bfa31112..21e6a6ab5100644meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb S = "${WORKDIR}/git" · line 24
Quoted 7 lines
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb +2
-0@@ -18,6 +18,8 @@ S = "${WORKDIR}/git" inherit cmake python3targetconfig +ALLOW_EMPTY:${PN} = "1" + EXTRA_OECMAKE = "-DLIB='${baselib}' \-DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSI ON} \
Quoted 15 lines
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb +0
-1-DPYTHON_ABI=${PYTHON_ABI} \ --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#113950):
https://lists.openembedded.org/g/openembedded-devel/message/113950
Mute This Topic: https://lists.openembedded.org/mt/109698797/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-