Patchwork [1/1] libpthread-stubs: add ALLOW_EMPTY_${PN} = "1"

login
register
mail settings
Submitter Hongxu Jia
Date Nov. 19, 2013, 2:15 a.m.
Message ID <4e295b4e41dca18db1acab845627396eddb39633.1384827264.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/61941/
State New
Headers show

Comments

Hongxu Jia - Nov. 19, 2013, 2:15 a.m.
There was an image build failure while installing libpthread-stubs to rootfs.
...
Failed to buld rootfs image for fsl-b4xxx-standard-glibc-std after adding
multilib package lib64-libpthread-stubs.
...

The libpthread-stubs was empty and the package didn't exist by default. Add
ALLOW_EMPTY_${PN} = "1" to create the empty libpthread-stubs fixed this issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 1 +
 1 file changed, 1 insertion(+)
Hongxu Jia - Nov. 19, 2013, 2:20 a.m.
On 11/19/2013 10:15 AM, Hongxu Jia wrote:
> There was an image build failure while installing libpthread-stubs to rootfs.
> ...
> Failed to buld rootfs image for fsl-b4xxx-standard-glibc-std after adding
> multilib package lib64-libpthread-stubs.
> ...
>
> The libpthread-stubs was empty and the package didn't exist by default. Add
> ALLOW_EMPTY_${PN} = "1" to create the empty libpthread-stubs fixed this issue.

In libpthread-stubs recipe, the PN-dbg and PN-dev existed,
so the PN should also exist.

//Hongxu

>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>   meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
> index ad046d1..f4264b4 100644
> --- a/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
> +++ b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
> @@ -22,3 +22,4 @@ RDEPENDS_${PN}-dev = ""
>   RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
>   
>   BBCLASSEXTEND = "native nativesdk"
> +ALLOW_EMPTY_${PN} = "1"

Patch

diff --git a/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
index ad046d1..f4264b4 100644
--- a/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
+++ b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
@@ -22,3 +22,4 @@  RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
 
 BBCLASSEXTEND = "native nativesdk"
+ALLOW_EMPTY_${PN} = "1"