Message ID | 1732163421-28704-1-git-send-email-wangmy@fujitsu.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] cmpi-bindings: allow creation of an empty package | expand |
On Wed, Nov 20, 2024 at 8:30 PM wangmy via lists.openembedded.org <wangmy=fujitsu.com@lists.openembedded.org> wrote: > > From: Wang Mingyu <wangmy@fujitsu.com> > > 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. > what non-empty packages are built by this recipe. I would rather expect them to be included in image install > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > --- > 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..21e6a6ab5 100644 > --- 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 > @@ -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: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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: wangmy@fujitsu.com > -----Original Message----- > From: Khem Raj <raj.khem@gmail.com> > Sent: Thursday, November 21, 2024 1:19 PM > To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com> > Cc: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-oe] cmpi-bindings: allow creation of an empty package > > On Wed, Nov 20, 2024 at 8:30 PM wangmy via lists.openembedded.org > <wangmy=fujitsu.com@lists.openembedded.org> wrote: > > > > From: Wang Mingyu <wangmy@fujitsu.com> > > > > 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. > > > > what non-empty packages are built by this recipe. > I would rather expect them to be included in image install > > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > > --- > > 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..21e6a6ab5 100644 > > --- 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 > > @@ -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} \ > > -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: openembedded-devel+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub > > [raj.khem@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > >
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..21e6a6ab5 100644 --- 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 @@ -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} \