Re: [OE-core] [PATCH] bison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native too if host has (e)glibc-2.16

2012-07-29 Thread Richard Purdie
On Sat, 2012-07-28 at 22:20 +0200, Martin Jansa wrote:
 Signed-off-by: Martin Jansa martin.ja...@gmail.com
 ---
  meta/recipes-devtools/bison/bison_2.5.bb |4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCHv2] qt-mobility, xserver-xorg, ofono, bluez4, gst-plugins-good: bump PR to rebuild after libudev0 soname change to libudev1

2012-07-29 Thread Richard Purdie
On Sat, 2012-07-28 at 13:10 +0200, Martin Jansa wrote:
 From: Martin Jansa martin.ja...@gmail.com
 
 * this patch depends on http://patchwork.openembedded.org/patch/32085/
 
 Signed-off-by: Martin Jansa martin.ja...@gmail.com
 
 ---
 v2: rebased bluez4 PR bump
 
 ---
  meta/recipes-connectivity/bluez/bluez4_4.101.bb|2 +-
  meta/recipes-connectivity/ofono/ofono_1.8.bb   |1 +
  meta/recipes-connectivity/ofono/ofono_git.bb   |2 +-
  .../xorg-xserver/xserver-xorg-1.11.2.inc   |2 +-
  .../gstreamer/gst-plugins-good_0.10.31.bb  |2 +-
  meta/recipes-qt/qt4/qt-mobility_1.2.0.inc  |2 +-
  6 files changed, 6 insertions(+), 5 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH V2] guile:meta/Makefile change install-data-hook to install-exec-hook

2012-07-29 Thread Richard Purdie
On Sat, 2012-07-28 at 17:31 +0800, song...@windriver.com wrote:
 From: Song.Li song...@windriver.com
 
 In guile meta/Makefile, what install-data-hook do
 must be run after install-binSCRIPTS.so it's a exec hook, not a data hook.
 If keep these exec-hook in data-hook,when we run make with multi-jobbing ,
 install-data-hook and install-binSCRIPTS will be separately
 processed in different thread, no any dependence.
 that will cause error sometimes.
 
 [YOCTO #2796]
 
 Signed-off-by: Song.Li song...@windriver.com
 ---
  ...all-data-hook-to-install-exec-hook-in-gui.patch |   39 
 
  meta/recipes-devtools/guile/guile_2.0.5.bb |3 +-
  2 files changed, 41 insertions(+), 1 deletion(-)
  create mode 100644 
 meta/recipes-devtools/guile/files/change-install-data-hook-to-install-exec-hook-in-gui.patch

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] pseudo.inc/pseudo_1.4.bb: update pseudo to 1.4

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 16:54 -0500, Peter Seebach wrote:
 This update replaces the half-baked --arch logic with the use
 of $CFLAGS to pick compiler flags, on the grounds that it makes
 a lot more sense for the build system to pick flags than for
 pseudo to try to guess what they should be; this should allow
 pseudo to at least compile for targets, and possibly run on
 them.
 
 This doesn't solve the problem of guessing how to forcibly
 build the 32-bit variant on hosts, because we really don't
 have a general solution for that. There's no idiom for given
 this set of compiler flags and this architecture, what flags
 would you use to request a 32-bit compile instead? So we
 basically ignore that for now. If someone comes along trying
 to use the build system to build pseudo-native on a 64-bit
 host that also supports 32-bit binaries and isn't x86, we
 will revisit this.
 ---
  meta/recipes-devtools/pseudo/pseudo.inc  |   12 +---
  meta/recipes-devtools/pseudo/pseudo_1.3.1.bb |8 
  meta/recipes-devtools/pseudo/pseudo_1.4.bb   |8 
  meta/recipes-devtools/pseudo/pseudo_git.bb   |8 
  4 files changed, 21 insertions(+), 15 deletions(-)
  delete mode 100644 meta/recipes-devtools/pseudo/pseudo_1.3.1.bb
  create mode 100644 meta/recipes-devtools/pseudo/pseudo_1.4.bb


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/4] drm updates

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 12:53 +0100, Ross Burton wrote:
 Forwarding some patches to libdrm.  More mesa-related changes later.
 
 The following changes since commit fb53d69d9c726e6a663ea276cc440676e20f8326:
 
   documentation/dev-manual/dev-manual-intro.xml: typo fixed. (2012-07-26 
 18:53:04 +0100)
 
 are available in the git repository at:
 
   git://git.yoctoproject.org/poky-contrib ross/mesa
 
 for you to fetch changes up to cae0f7ba7693529116ae5e21cdddc35bf96aa8fe:
 
   libdrm: Bump libdrm_git to 2.4.37 (2012-07-27 12:51:29 +0100)
 
 
 Damien Lespiau (3):
   libdrm: libdrm does not depend on xcb any more
   libdrm: Put the license md5sum in the common include
   libdrm: Bump libdrm_git to 2.4.37
 
 Ross Burton (1):
   drm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1
 
  meta/recipes-graphics/drm/libdrm.inc   |5 -
  meta/recipes-graphics/drm/libdrm_2.4.35.bb |4 +---
  meta/recipes-graphics/drm/libdrm_git.bb|7 ---
  3 files changed, 9 insertions(+), 7 deletions(-)
 
 Damien Lespiau (3):
   libdrm: libdrm does not depend on xcb any more
   libdrm: Put the license md5sum in the common include
   libdrm: Bump libdrm_git to 2.4.37
 
 Ross Burton (1):
   drm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] libpciaccess: lpci access does not depend on X

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 12:58 +0100, Ross Burton wrote:
 From: Damien Lespiau damien.lesp...@intel.com
 
 So let's remove the X dependencies from DEPENDS and white list it in
 xorg-lib-common.inc.
 
 Signed-off-by: Damien Lespiau damien.lesp...@intel.com
 Signed-off-by: Ross Burton ross.bur...@intel.com
 ---
  meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb |4 +---
  meta/recipes-graphics/xorg-lib/xorg-lib-common.inc|2 +-
  2 files changed, 2 insertions(+), 4 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] usbutils 0.91: Fix NULL pointer crash.

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 20:03 +0800, rongqing...@windriver.com wrote:
 From: Roy.Li rongqing...@windriver.com
 
 [YOCTO #2847]
 
 Before use usbbuslist, we should check if it is valid.
 
 Signed-off-by: Roy.Li rongqing...@windriver.com
 ---
  .../usbutils/usbutils/Fix-NULL-pointer-crash.patch |   28 
 
  meta/recipes-bsp/usbutils/usbutils_0.91.bb |5 ++-
  2 files changed, 31 insertions(+), 2 deletions(-)
  create mode 100644 
 meta/recipes-bsp/usbutils/usbutils/Fix-NULL-pointer-crash.patch


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] ppp: bump PR to rebuild against libpcap1 instead libpcap

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 13:07 +0200, Martin Jansa wrote:
 Signed-off-by: Martin Jansa martin.ja...@gmail.com
 ---
  meta/recipes-connectivity/ppp/ppp_2.4.5.bb |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/3] A few random pending fixes

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-20 at 16:46 -0700, Christopher Larson wrote:
 From: Christopher Larson chris_lar...@mentor.com
 
 The following changes since commit ef637e417ae1c2dff7fc0ad6cb30989e72ac35ab:
 
   grub-efi-native: remove help2man dependency (2012-07-20 12:32:13 +0100)
 
 are available in the git repository at:
 
   git://github.com/kergoth/oe-core.git misc
 
 Christopher Larson (3):
   bluez4: use PACKAGECONFIG to control 'pie'
   initscripts: don't bg mk_dirs in populate-volatile
   libpcap: fix pcap-config to not return -Wl,-rpath


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] gtk-doc.bbclass: unbreak dependency-chain for native recipes

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 18:17 +0200, Andreas Müller wrote:
 see [1]  [2] for discussion of this patch
 
 [1] 
 http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026606.html
 [2] 
 http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026611.html
 
 Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
 ---
  meta/classes/gtk-doc.bbclass |1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] u-boot.inc: update linker arguments to pass --sysroot arg

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 11:21 -0500, Matthew McClintock wrote:
 If we are building from sstate-cache it's possible to be building
 from another folder on another machine, therefore the linker requires
 that a proper --sysroot is passed too it so it can find things like
 libgcc.a and avoid errors such as:
 
 | arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   
 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 
 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include
  -fno-builtin -ffreestanding -nostdinc -isystem 
 /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include
  -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
 -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector 
 -fno-toplevel-reorder   -o hello_world.o hello_world.c -c
 | arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   
 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 
 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include
  -fno-builtin -ffreestanding -nostdinc -isystem 
 /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include
  -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
 -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector 
 -fno-toplevel-reorder   -o stubs.o stubs.c -c
 | arm-poky-linux-gnueabi-ld  -r -o libstubs.o  stubs.o
 | arm-poky-linux-gnueabi-ld -g -Ttext 0x8030 \
 | -o hello_world -e hello_world hello_world.o libstubs.o \
 | -L. -lgcc
 | arm-poky-linux-gnueabi-ld: cannot find -lgcc
 | make[1]: *** [hello_world] Error 1
 
 Signed-off-by: Matthew McClintock m...@freescale.com
 ---
  meta/recipes-bsp/u-boot/u-boot.inc   |2 +-
  meta/recipes-bsp/u-boot/u-boot_2011.03.bb|2 +-
  meta/recipes-bsp/u-boot/u-boot_2011.06.bb|2 +-
  meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |1 +
  4 files changed, 4 insertions(+), 3 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/2] dbg/dev package dependency improvements

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 15:34 +0100, Paul Eggleton wrote:
 The following changes since commit 14b70cd222519e5bccaca955334787f123d9fc54:
 
   base/perlnative/pythonnative/gzipnative: Add a new variable to enable 
 easier handling of native path issues (2012-07-26 14:55:35 +0100)
 
 are available in the git repository at:
 
   git://git.openembedded.org/openembedded-core-contrib paule/dbgdeps
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/dbgdeps
 
 Paul Eggleton (2):
   classes/package: do not add self-dependencies to dev/dbg packages
   classes/package: reduce dbg package dependencies


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v3] bzip2-native: handling native path issue

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 16:34 -0400, Yao Zhao wrote:
 follow Richard's approach, modify bzip2-native recipe to install bzip2 package
 binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other
 package is doing upack to reference bzip2. libbz2.so* still installs to
 STAGING_LIBDIR_NATIVE.
 
 change python-native to depends on bzip2-replacement-native instead of
 bzip2-full-native and add EXTRANATIVEPATH for bzip2-native.
 
 Didn't add bzip2native.bbclass as python-native is the only user so far.
 
 Signed-off-by: Yao Zhao yao.z...@windriver.com
 ---
  .../recipes-devtools/python/python-native_2.7.3.bb |4 +++-
  meta/recipes-extended/bzip2/bzip2_1.0.6.bb |4 +++-
  2 files changed, 6 insertions(+), 2 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] image.bbclass: Fix a couple innocuous typoes, should cause no functional change

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 16:55 -0400, Robert P. J. Day wrote:
 error_promt - error_prompt changed in both places
 subfolers - subfolders since it's not referenced anyway
 
 Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] socat 1.7.2: add readline dependency

2012-07-29 Thread Richard Purdie
On Fri, 2012-07-27 at 16:15 +0800, rongqing...@windriver.com wrote:
 From: Roy.Li rongqing...@windriver.com
 
 [YOCTO #2844]
 
 socat has dependency on readline
 
 Signed-off-by: Roy.Li rongqing...@windriver.com
 ---
  meta/recipes-connectivity/socat/socat_1.7.2.0.bb |4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/6] rootfs generation improvements v4

2012-07-29 Thread Richard Purdie
On Thu, 2012-07-26 at 00:03 +0100, Paul Eggleton wrote:
 Fix up handling of complementary package installation (dev, dbg, doc,
 etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.
 
 Changes since the brown paper bag patchset that was v3:
 
 * Remove bogus clearing of IMAGE_FEATURES in core-image-minimal
 * Fix broken fix for errors with the ipk and deb backends if no
   complementary packages need to be installed that prevented it from
   actually installing anything (!)
 
 
 The following changes since commit 4148bc80c008d25c8a536c7c7dfdeac1669a6662:
 
   libgcc: Add missing dependency on libc:do_package (2012-07-24 10:12:08 
 +0100)
 
 are available in the git repository at:
 
   git://git.openembedded.org/openembedded-core-contrib paule/rootfs2
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/rootfs2
 
 Andrei Gherzan (1):
   package.bbclass: Create symlinks for packages with different packaged
 name
 
 Paul Eggleton (5):
   classes/rootfs_rpm: improve speed of RPM rootfs construction
   classes/package_deb: add PackageArch field
   Rework installation of dev, dbg, doc, and locale packages
   classes/image: add staticdev-pkgs IMAGE_FEATURES feature
   buildhistory: improve performance of image info collection

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH] libdrm: add DEFAULT_PREFERENCE = -1 to git recipe

2012-07-29 Thread Martin Jansa
* recipe from tarball should be default version

Signed-off-by: Martin Jansa martin.ja...@gmail.com
---
 meta/recipes-graphics/drm/libdrm_git.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-graphics/drm/libdrm_git.bb 
b/meta/recipes-graphics/drm/libdrm_git.bb
index 2b3ef47..4f4d4f7 100644
--- a/meta/recipes-graphics/drm/libdrm_git.bb
+++ b/meta/recipes-graphics/drm/libdrm_git.bb
@@ -4,6 +4,8 @@ SRC_URI = 
git://anongit.freedesktop.org/git/mesa/drm;protocol=git
 
 S = ${WORKDIR}/git
 
+DEFAULT_PREFERENCE = -1
+
 SRCREV = 1b1a4f0a779f7ab2ba5673b9c9fe2a37047fe765
 PV = 2.4.37+git${SRCPV}
 PR = ${INC_PR}.0
-- 
1.7.8.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-commits] Morgan Little : python: Update for python-native changes

2012-07-29 Thread Martin Jansa
On Mon, Jul 23, 2012 at 01:18:29PM +0200, Martin Jansa wrote:
 On Sun, Jul 22, 2012 at 10:43:53AM +, g...@git.openembedded.org wrote:
  Module: openembedded-core.git
  Branch: master
  Commit: 284a65d55f0ffad0f4f7f32d72da0f9410578643
  URL:
  http://git.openembedded.org/?p=openembedded-core.gita=commit;h=284a65d55f0ffad0f4f7f32d72da0f9410578643
  
  Author: Morgan Little morgan.lit...@windriver.com
  Date:   Thu Jul 19 13:46:07 2012 -0400
  
  python: Update for python-native changes
  
  Add pythonnative onto the list of inherits and update the paths to the 
  binaries
  referenced in the recipe to the new paths.
  
  Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
  
 
 Any idea why is opkg package-index now failing _sometimes_ ?
 
 | + '[' -e 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/ ']'
 | + touch 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
 | + flock 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages.flock
  -c 'opkg-make-index -r 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
  -p 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
  -m /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/'
 | Traceback (most recent call last):
 |   File 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
  line 569, in module
 | main()
 |   File 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
  line 552, in main
 | known_paths = addsitepackages(known_paths)
 |   File 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
  line 329, in addsitepackages
 | for sitedir in getsitepackages():
 |   File 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
  line 303, in getsitepackages
 | sitepackages.append(os.path.join(prefix, sys.lib,
 | AttributeError: 'module' object has no attribute 'lib'
 | ERROR: Function failed: do_package_index (see 
 /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/package-index-1.0-r0/temp/log.do_package_index.17223
  for further information)
 NOTE: package package-index-1.0-r0: task do_package_index: Failed

similar issue when building libxcb (http://pastie.org/4352949), works after 
applying

http://patchwork.openembedded.org/patch/31987/
http://patchwork.openembedded.org/patch/31977/

and bitbake -c cleansstate libxcb-native libxcb xcb-proto-native xcb-proto to 
rebuild them (missing PR bumps).

Cheers,

NOTE: package inputproto-1_2.2-r0: task do_populate_sysroot: Started
ERROR: Function failed: do_compile (see 
/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxcb/libxcb-1.8.1-r0/temp/log.do_compile.17687
 for further information)
ERROR: Logfile of failure stored in: 
/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxcb/libxcb-1.8.1-r0/temp/log.do_compile.17687
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 
'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| Making all in src
| make[1]: Entering directory 
`/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxcb/libxcb-1.8.1-r0/libxcb-1.8.1/src'
| /usr/bin/python ./c_client.py -p 
/OE/shr-core/tmp-eglibc/sysroots/crespo//usr/lib64/python2.7/site-packages 
/OE/shr-core/tmp-eglibc/sysroots/crespo//usr/share/xcb/xproto.xml
| 
| Failed to load the xcbgen Python package!
| Make sure that xcb/proto installed it on your Python path.
| If not, you will need to create a .pth file or define $PYTHONPATH
| to extend the path.
| Refer to the README file in xcb/proto for more info.
| 
| Traceback (most recent call last):
|   File ./c_client.py, line 2307, in module
| from xcbgen.state import Module
| ImportError: No module named xcbgen.state
| make[1]: *** [xproto.c] Error 1
| make[1]: Leaving directory 
`/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxcb/libxcb-1.8.1-r0/libxcb-1.8.1/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxcb/libxcb-1.8.1-r0/temp/log.do_compile.17687
 for further information)
NOTE: package libxcb-1.8.1-r0: task do_compile: Failed
ERROR: Task 2798 
(/OE/shr-core/openembedded-core/meta/recipes-graphics/xcb/libxcb_1.8.1.bb, 
do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: inputproto-1_2.2-r0 do_populate_sysroot (pid 17723)
NOTE: package inputproto-1_2.2-r0: task do_populate_sysroot: Succeeded
NOTE: Tasks Summary: Attempted 2315 tasks of which 1252 didn't need to be rerun 
and 1 failed.

Re: [OE-core] [oe-commits] Morgan Little : python: Update for python-native changes

2012-07-29 Thread Richard Purdie
On Sun, 2012-07-29 at 14:50 +0200, Martin Jansa wrote:
 On Mon, Jul 23, 2012 at 01:18:29PM +0200, Martin Jansa wrote:
  On Sun, Jul 22, 2012 at 10:43:53AM +, g...@git.openembedded.org wrote:
   Module: openembedded-core.git
   Branch: master
   Commit: 284a65d55f0ffad0f4f7f32d72da0f9410578643
   URL:
   http://git.openembedded.org/?p=openembedded-core.gita=commit;h=284a65d55f0ffad0f4f7f32d72da0f9410578643
   
   Author: Morgan Little morgan.lit...@windriver.com
   Date:   Thu Jul 19 13:46:07 2012 -0400
   
   python: Update for python-native changes
   
   Add pythonnative onto the list of inherits and update the paths to the 
   binaries
   referenced in the recipe to the new paths.
   
   Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
   
  
  Any idea why is opkg package-index now failing _sometimes_ ?
  
  | + '[' -e 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/ ']'
  | + touch 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
  | + flock 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages.flock
   -c 'opkg-make-index -r 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
   -p 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/Packages
   -m 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/deploy/ipk/'
  | Traceback (most recent call last):
  |   File 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
   line 569, in module
  | main()
  |   File 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
   line 552, in main
  | known_paths = addsitepackages(known_paths)
  |   File 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
   line 329, in addsitepackages
  | for sitedir in getsitepackages():
  |   File 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/site.py,
   line 303, in getsitepackages
  | sitepackages.append(os.path.join(prefix, sys.lib,
  | AttributeError: 'module' object has no attribute 'lib'
  | ERROR: Function failed: do_package_index (see 
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/package-index-1.0-r0/temp/log.do_package_index.17223
   for further information)
  NOTE: package package-index-1.0-r0: task do_package_index: Failed
 
 similar issue when building libxcb (http://pastie.org/4352949), works after 
 applying
 
 http://patchwork.openembedded.org/patch/31987/
 http://patchwork.openembedded.org/patch/31977/

I've merged the latter. The former is incorrect and we need to fix up
the paths in the python module. I'll try and look at it tomorrow if
nobody beats me to it.

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale

2012-07-29 Thread Khem Raj
On Thu, Jul 26, 2012 at 2:47 PM, Mark Hatle mark.ha...@windriver.com wrote:
 On 7/26/12 4:27 PM, Khem Raj wrote:

 On Thu, Jul 26, 2012 at 1:53 PM, Phil Blundell ph...@gnu.org wrote:

 On Thu, 2012-07-26 at 21:38 +0100, Richard Purdie wrote:

 the other alternative which comes to mind would be so set a variable
 with the name we want used there, defaulting it to PN.


 That sounds like the most wholesome plan to me.


 can we use BPN, unless we generate locale for native and nativesdk
 cross and crosssdk
 class of recipes that should work too. I thought about it  and thought
 it was too
 intrusive.


 There are cases for multilibs where locales for specific multilib packages
 will be generated.  We theoretically could generate them for native(sdk) and
 cross(sdk) as well, but I don't believe we do that in the general cases.

 --Mark


After RPs fix and Paul's root file system rework I am still seeing

temp/run.do_rootfs.25593: 932: local: locale-base-en-gb: bad variable name







 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale

2012-07-29 Thread Khem Raj


 After RPs fix and Paul's root file system rework I am still seeing

 temp/run.do_rootfs.25593: 932: local: locale-base-en-gb: bad variable name


OK I think my fault is that I am dash'ing and not bash'ing and
meta/classes/package_rpm.bbclass is full of bashism

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH] package_rpm.bbclass: Accomodate dash when using arrays

2012-07-29 Thread Khem Raj
we were assigning local variable to an array coming through
positional arguments. local is a non posix contruct thats
also supported by dash luckily but operates differently in this
case it exapnds the array before assignment. so

local pkgs=$@

turns into pkgs=locale-base-en-us locale-base-en-gb

ant we see errors

run.do_rootfs.25593: 932: local: locale-base-en-gb: bad variable name

So lets not use defining and assigning local in one go
first define a local and then the assignment

Signed-off-by: Khem Raj raj.k...@gmail.com
---
 meta/classes/package_rpm.bbclass |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index b4bc52e..50e9b31 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -200,7 +200,12 @@ rpm_update_pkg () {
 process_pkg_list_rpm() {
local insttype=$1
shift
-   local pkgs=$@
+   # $@ is special POSIX linear array can not be assigned
+   # to a local variable directly in dash since its separated by
+   # space and dash expands it before assignment
+   # and local x=1 2 3 and not x=1 2 3
+   local pkgs
+   pkgs=$@
local confbase=${INSTALL_CONFBASE_RPM}
 
echo -n  ${target_rootfs}/install/base_archs.pkglist
-- 
1.7.9.5


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/6] relocatable SDK

2012-07-29 Thread Philip Balister

On 07/27/2012 02:05 PM, Saul Wold wrote:

On 07/27/2012 04:21 AM, Laurentiu Palcu wrote:

Hi,

This patchset adds relocatable SDK functionality. Instead of a
tarball, the
output of bitbake meta-toolchain/meta-toolchain-sdk will be a self
extracting
archive.

The user will then execute the .sh script and give it the target
directory for SDK installation (default is /opt/poky). The installer


For oe-core the default should be something like /opt/oe-core, not 
/opt/some-distro.


Philip


will then
extract the embedded tarball to the user provided location and will
set up the
SDK: change the paths in the environment script, change the dynamic
loader path
in all binaries and, also, change the ls.so.cache path in the dynamic
loader
itself, together with the SYSDIR paths/lengths.

With that, no more root privileges are needed in order to install the
SDK.

Thanks,
Laurentiu

The following changes since commit
651b223c5fc93c7504e304e954b9ae4640ed47c6:

   usbutils: avoid dependency on bash (2012-07-26 18:52:00 +0100)

are available in the git repository at:

   git://git.yoctoproject.org/poky-contrib lpalcu/relocatable_sdk

http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/relocatable_sdk


Laurentiu Palcu (6):
   eglibc: relocatable SDK changes
   binutils: relocatable SDK: change PT_INTERP section size
   scripts: add script for relocating the SDK
   populate_sdk_base.bbclass: create self-extracting archive
   relocatable.bbclass: split it up, to reuse code
   package.bbclass: change RPATHs for nativesdk packages

  meta/classes/chrpath.bbclass   |   89 +
  meta/classes/package.bbclass   |5 +
  meta/classes/populate_sdk_base.bbclass |   82 
  meta/classes/relocatable.bbclass   |   91 +
  .../eglibc/eglibc-2.15/relocatable_sdk.patch   |   70 +++
  meta/recipes-core/eglibc/eglibc_2.15.bb|6 +-
  .../binutils/binutils-crosssdk_2.22.bb |5 +
  .../binutils/binutils/relocatable_sdk.patch|   13 ++
  scripts/relocate_sdk.py|  200

  9 files changed, 470 insertions(+), 91 deletions(-)
  create mode 100644 meta/classes/chrpath.bbclass
  create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/relocatable_sdk.patch
  create mode 100644
meta/recipes-devtools/binutils/binutils/relocatable_sdk.patch
  create mode 100755 scripts/relocate_sdk.py


Your patches need to have Upstream-Status and Signed-off-by: added along
with a header explaining why the patch is needed.

Just a quick first pass review, there may be more comments as I review
deeper.

Sau!


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core