Skip to contentSkip to conversation

libpthread-stubs: add ALLOW_EMPTY_${PN} = "1"

PATCH In review Hongxu Jia 1 participant 3 messages Nov 19, 2013

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover libpthread-stubs: add ALLOW_EMPTY_${PN} = "1"

The following changes since commit ea92671d9823e3667d6ced7ac2af20f991da404d:

bitbake: cooker: replace "w" file opening mode with "a" mode (2013-11-12 17:01:37 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-libpthread-stub
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-libpthread-stub

Hongxu Jia (1):
libpthread-stubs: add ALLOW_EMPTY_${PN} = "1"

 meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 libpthread-stubs: add ALLOW_EMPTY_${PN} = "1"

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.

---
 meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb +1 -0
index ad046d1..f4264b4 100644
@@ -22,3 +22,4 @@ RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
 
 BBCLASSEXTEND = "native nativesdk"
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.8.1.2
author
#2 lore raw
Quoted 8 lines · Hongxu Jia

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

Quoted 15 lines
---
  meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 1 +
  1 file changed, 1 insertion(+)
meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb +1 -0
index ad046d1..f4264b4 100644
@@ -22,3 +22,4 @@ RDEPENDS_${PN}-dev = ""
  RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
 
  BBCLASSEXTEND = "native nativesdk"
+ALLOW_EMPTY_${PN} = "1"