Re: [OE-core] Help with setting up feeds

2011-08-10 Thread Koen Kooi
Op 10 aug. 2011, om 03:44 heeft Joel A Fernandes het volgende geschreven: Hi, I'm trying to setup my own feeds. For this purpose, I have rsync'ed the deploy/ipk directory from my OE core tmp directory to my webserver, and I edited /etc/opkg/base-feed.conf on my board's root filesystem

Re: [OE-core] [PATCH] libc-package bbclass: fix binary localedata dependency code

2011-08-10 Thread Koen Kooi
Nitin, any insights on this? Op 2 aug. 2011, om 17:01 heeft Phil Blundell het volgende geschreven: It does look a bit weird. That code was introduced in 561d8754, ostensibly as a merger of the eglibc and glibc equivalents. But, the original code from glibc-package.bbclass did: def

Re: [OE-core] finding libgcc.a with meta-toolchain-sdk toolchain

2011-08-10 Thread Khem Raj
On Aug 9, 2011, at 9:20 PM, Kumar Gala ga...@kernel.crashing.org wrote: Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x4 -o hello_world -e hello_world hello_world.o libstubs.o -L.

[OE-core] QT4 packaging errors

2011-08-10 Thread Koen Kooi
Hi, This has been sitting on my TODO for way too long now, so I'll just post the errors here and hope someone else finds the time to fix them :) WARNING: For recipe qt4-embedded, the following files were installed but not shipped in any package: WARNING:

Re: [OE-core] finding libgcc.a with meta-toolchain-sdk toolchain

2011-08-10 Thread Phil Blundell
On Tue, 2011-08-09 at 23:20 -0500, Kumar Gala wrote: Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x4 -o hello_world -e hello_world hello_world.o libstubs.o -L. -lgcc

[OE-core] [OE-Core][PATCH 0/1] rootfs_rpm: Fix bug 936

2011-08-10 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com update-alternatives installed: one in /usr/sbin from chkconfig (symlinked to alternatives), and the other in /usr/bin from update-alternatives-cworth. It appears for whatever reason that the one from chkconfig is run during postinst processing but if

Re: [OE-core] Howto create image with -O0 optimization

2011-08-10 Thread Andreas Mueller
On Wednesday, August 10, 2011 01:41:05 AM Khem Raj wrote: On Tue, Aug 9, 2011 at 4:21 PM, Andreas Mueller schnitzelt...@gmx.de wrote: Hi I am debugging thunar to find the reason for segfault and modified the recipe to be compiled without optimization -O0. Now I need to step into shared

[OE-core] difference between udev recipes of meta-oe and oe-core

2011-08-10 Thread Ahsan, Noor
Hello, I was looking at the udev recipes and noticed that there is minor difference between oe-core and meta-oe recipes. I went through logs but could not find the reason. The difference is meta-oe recipe is creating extra files touch ${D}${sysconfdir}/udev/saved.uname touch

Re: [OE-core] bitbake -b busted again?

2011-08-10 Thread Phil Blundell
On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote: Also, it does seem that bitbake -e -b ... really is broken. I get: ERROR: Command execution failed: Traceback (most recent call last): File /home/pb/oe/bitbake/lib/bb/command.py, line 102, in runAsyncCommand

Re: [OE-core] [PATCH] intltool: Use nativeperl binary for PERL instead of 'perl'

2011-08-10 Thread Phil Blundell
On Tue, 2011-08-09 at 20:15 -0700, Khem Raj wrote: +-AC_PATH_PROG(INTLTOOL_PERL, perl) ++AC_PATH_PROG(INTLTOOL_PERL, nativeperl) I don't think you want to do that for the copy of intltool.m4 that's going to be installed on the target, only for the one that goes into the sysroot. p.

[OE-core] [RFC Bug #892] Putting siteconfig cache files into ROOTFS

2011-08-10 Thread Lu, Lianhao
Hi guys, When trying to fix bug #892(http://bugzilla.pokylinux.org/show_bug.cgi?id=892), I met some problems in generating the default site config files used by cross-canadian toolchain. When using autoconf for cross-compile, it is impossible to check features that require running a test

Re: [OE-core] QT4 packaging errors

2011-08-10 Thread Paul Eggleton
On Wednesday 10 August 2011 09:35:31 Koen Kooi wrote: This has been sitting on my TODO for way too long now, so I'll just post the errors here and hope someone else finds the time to fix them :) ... These are on my todo list, hopefully I will have time to look at them when I get back from the

Re: [OE-core] [PATCH] bitbake.conf: Changed PSEUDO_LOCALSTATEDIR assignment to unconditional.

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 02:06 +, James Limbouris wrote: On Wednesday, 10 August 2011 9:55 AM, Mark Hatle wrote: On 8/9/11 7:32 PM, Scott Garman wrote: On 08/08/2011 07:04 PM, James Limbouris wrote: The pseudo executable sets the PSEUDO_LOCALSTATEDIR environment variable to point to a

Re: [OE-core] [PATCH 3/3] x86 tune inc files: add x32 abi tune parameters

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 10:28 +0800, Lu, Lianhao wrote: nitin.a.kam...@intel.com wrote on 2011-08-06: From: Nitin A Kamble nitin.a.kam...@intel.com Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta/conf/machine/include/ia32/arch-ia32.inc | 19 +--

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 11:18 +0800, Cui, Dexuan wrote: Darren Hart wrote on 2011-08-09: On 08/09/2011 07:04 AM, Cui, Dexuan wrote: Hi Darren, thanks a lot for all the suggestions! I appreciate your efforts to help to make the patch better. Below is the updated patch (also pasted at the end

Re: [OE-core] [PATCH(v3) 0/2] Rework the devshell

2011-08-10 Thread Richard Purdie
On Tue, 2011-08-09 at 11:05 -0700, Christopher Larson wrote: This version addresses the issue brought up by Richard regarding unconditional export of variables resulting in checksum changes. This exports the required variables specifically within the subprocess for the terminal. A future

Re: [OE-core] [PATCH] eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk

2011-08-10 Thread Richard Purdie
On Mon, 2011-08-08 at 22:52 -0500, Kumar Gala wrote: Don't use GLIBC_EXTRA_OECONF for the nativesdk builds. Easiest solution is to just override it settings. Otherwise we might pickup configure options ment for the target build. Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

Re: [OE-core] [PATCH 1/1] qt3: Solve the failure to compile qt3 on platform arm

2011-08-10 Thread Richard Purdie
On Tue, 2011-08-09 at 16:50 +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan xiaofeng@windriver.com [YOCTO #1348] The variable TARGET_OS has different value when building qt-x11-free-native and \ qt-x11-free. The different cause failure to compile qt3. $ bitbake qt-x11-free-native -e |

Re: [OE-core] [PATCH V2] defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR

2011-08-10 Thread Richard Purdie
On Fri, 2011-08-05 at 12:56 -0700, Khem Raj wrote: From: Daniel Lazzari dlazz...@leapfrog.com Lazily appending causes a bug where wrong cache is cleared when BB_SRCREV_POLICY = clear. Tested with qemuarm on uclibc/eglibc in same build dir Signed-off-by: Daniel Lazzari Jr

Re: [OE-core] [PATCH 1/1] libsdl: Add libSDL.so into Sato image

2011-08-10 Thread Richard Purdie
Hi Jiajun, On Fri, 2011-08-05 at 14:11 +0800, Jiajun Xu wrote: [YOCTO #883] Some graphics 3D game(urbanterror, openarena) tests need libSDL.so. Change libsdl-nativesdk to libsdl and add it into Sato image. Signed-off-by: Jiajun Xu jiajun...@intel.com --- ...libsdl-nativesdk_1.2.11.bb =

Re: [OE-core] finding libgcc.a with meta-toolchain-sdk toolchain

2011-08-10 Thread Kumar Gala
On Aug 10, 2011, at 4:19 AM, Phil Blundell wrote: On Tue, 2011-08-09 at 23:20 -0500, Kumar Gala wrote: Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x4 -o hello_world -e

Re: [OE-core] finding libgcc.a with meta-toolchain-sdk toolchain

2011-08-10 Thread Phil Blundell
On Wed, 2011-08-10 at 07:43 -0500, Kumar Gala wrote: While these are good suggestions, I still think the toolchain is broken as u-boot has been this way for sometime and numerous other cross toolchains work perfectly fine. I just tried ld -lgcc on my Ubuntu desktop and it didn't work there

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Kumar Gala
On Aug 9, 2011, at 12:57 PM, Richard Purdie wrote: If we don't do this, the SDK target sysroot is named generically even when it contains package architecture specific optimisations. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- diff --git

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Kumar Gala
On Aug 9, 2011, at 11:00 PM, Lu, Lianhao wrote: Richard Purdie wrote on 2011-08-10: If we don't do this, the SDK target sysroot is named generically even when it contains package architecture specific optimisations. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- diff

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 11:18 +0800, Cui, Dexuan wrote: Darren Hart wrote on 2011-08-09: On 08/09/2011 07:04 AM, Cui, Dexuan wrote: Hi Darren, thanks a lot for all the suggestions! I appreciate your efforts to help to make the patch better. Below is the updated patch (also pasted at the end

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 14:07 +0100, Richard Purdie wrote: On Wed, 2011-08-10 at 07:59 -0500, Kumar Gala wrote: On Aug 9, 2011, at 11:00 PM, Lu, Lianhao wrote: Richard Purdie wrote on 2011-08-10: If we don't do this, the SDK target sysroot is named generically even when it contains

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 07:34 -0600, Gary Thomas wrote: On a related thought to these changes - how does this play if you use multiple SDKs for different, but somewhat related, architectures? I'd like to create a simple SDK (just toolchain mostly) using 'meta-toolchain' for both armv5te and

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Gary Thomas
On 2011-08-10 07:40, Richard Purdie wrote: On Wed, 2011-08-10 at 07:34 -0600, Gary Thomas wrote: On a related thought to these changes - how does this play if you use multiple SDKs for different, but somewhat related, architectures? I'd like to create a simple SDK (just toolchain mostly) using

Re: [OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

2011-08-10 Thread Kumar Gala
On Aug 10, 2011, at 8:48 AM, Gary Thomas wrote: On 2011-08-10 07:40, Richard Purdie wrote: On Wed, 2011-08-10 at 07:34 -0600, Gary Thomas wrote: On a related thought to these changes - how does this play if you use multiple SDKs for different, but somewhat related, architectures? I'd like

Re: [OE-core] python automake dirs (was meta-toolchain-sdk failure)

2011-08-10 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So the root of this seems to stem from the following in automake's python.m4: am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages

Re: [OE-core] [PATCH] intltool: Use nativeperl binary for PERL instead of 'perl'

2011-08-10 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/10/2011 04:30 AM, Phil Blundell wrote: On Tue, 2011-08-09 at 20:15 -0700, Khem Raj wrote: +-AC_PATH_PROG(INTLTOOL_PERL, perl) ++AC_PATH_PROG(INTLTOOL_PERL, nativeperl) I don't think you want to do that for the copy of intltool.m4 that's

Re: [OE-core] [PATCH] intltool: Use nativeperl binary for PERL instead of 'perl'

2011-08-10 Thread Phil Blundell
On Wed, 2011-08-10 at 07:59 -0700, Khem Raj wrote: On 08/10/2011 04:30 AM, Phil Blundell wrote: On Tue, 2011-08-09 at 20:15 -0700, Khem Raj wrote: +-AC_PATH_PROG(INTLTOOL_PERL, perl) ++AC_PATH_PROG(INTLTOOL_PERL, nativeperl) I don't think you want to do that for the copy of intltool.m4

Re: [OE-core] difference between udev recipes of meta-oe and oe-core

2011-08-10 Thread Ahsan, Noor
Hi, Kindly explain this difference to me. Thanks. Regards, Noor -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Ahsan, Noor Sent: Wednesday, August 10, 2011 3:12 PM To:

Re: [OE-core] python automake dirs (was meta-toolchain-sdk failure)

2011-08-10 Thread Kumar Gala
On Aug 10, 2011, at 9:44 AM, Khem Raj wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So the root of this seems to stem from the following in automake's python.m4: am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages

[OE-core] [PATCH v2] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-10 Thread Kumar Gala
We need --with-cpu based to glibc to get proper support on 603e e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES specifically to the sub-arch only as we arent

Re: [OE-core] python automake dirs (was meta-toolchain-sdk failure)

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 11:51 -0500, Kumar Gala wrote: On Aug 10, 2011, at 9:44 AM, Khem Raj wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So the root of this seems to stem from the following in automake's python.m4:

[OE-core] sscache signature?

2011-08-10 Thread Kumar Gala
the yocto wiki references mentions a bitbake-diffsigs https://wiki.yoctoproject.org/wiki/Enable_sstate_cache but not seeing that. How can one compare signature or try and figure out why a cache item isn't being reused between cfgs. - k ___

Re: [OE-core] sscache signature?

2011-08-10 Thread Chris Larson
On Wed, Aug 10, 2011 at 10:51 AM, Kumar Gala ga...@kernel.crashing.org wrote: the yocto wiki references mentions a bitbake-diffsigs https://wiki.yoctoproject.org/wiki/Enable_sstate_cache but not seeing that.  How can one compare signature or try and figure out why a cache item isn't being

[OE-core] multilib warnings?

2011-08-10 Thread Kumar Gala
I feel like I have something not configured correctly. The setup is as follows: base is ppc64 with 'lib64'. # Uncomment the following lines to enable multilib builds require conf/multilib.conf MULTILIBS = multilib:lib DEFAULTTUNE_virtclass-multilib-lib = powerpc And I get: NOTE: Resolving any

Re: [OE-core] sscache signature?

2011-08-10 Thread Joshua Lock
On Wed, 2011-08-10 at 12:51 -0500, Kumar Gala wrote: the yocto wiki references mentions a bitbake-diffsigs https://wiki.yoctoproject.org/wiki/Enable_sstate_cache but not seeing that. How can one compare signature or try and figure out why a cache item isn't being reused between cfgs.

[OE-core] [PATCH] sstate: Add level 2 debug so its possible to see what sstate is doing

2011-08-10 Thread Richard Purdie
Currently its hard to figure out if/when sstate is checking for possible packages to speed up builds. This patch adds level 2 debug output which better indicates what files are being searched for an why. [YOCTO #1259] Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- diff

Re: [OE-core] [PATCH v2] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-10 Thread Mark Hatle
I don't think the patch is correct. If these tune files are included, the GLIBC_EXTRA_OECONF is set unconditionally. It is possible to include the tune files, but not actually use the tunings. (There are cases where you might want to inherit specific tunings, etc.) Instead, I'd suggest you do:

Re: [OE-core] [PATCH v2] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-10 Thread Kumar Gala
Why? - k On Aug 10, 2011, at 2:19 PM, Mark Hatle wrote: I don't think the patch is correct. If these tune files are included, the GLIBC_EXTRA_OECONF is set unconditionally. It is possible to include the tune files, but not actually use the tunings. (There are cases where you might want

Re: [OE-core] [PATCH v2] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-10 Thread Mark Hatle
On 8/10/11 3:06 PM, Kumar Gala wrote: Why? - k On Aug 10, 2011, at 2:19 PM, Mark Hatle wrote: I don't think the patch is correct. If these tune files are included, the GLIBC_EXTRA_OECONF is set unconditionally. It is possible to include the tune files, but not actually use the

Re: [OE-core] multilib warnings?

2011-08-10 Thread Richard Purdie
On Wed, 2011-08-10 at 13:04 -0500, Kumar Gala wrote: I feel like I have something not configured correctly. The setup is as follows: base is ppc64 with 'lib64'. # Uncomment the following lines to enable multilib builds require conf/multilib.conf MULTILIBS = multilib:lib

Re: [OE-core] [PATCHv2] gst-plugins: partially sync packaging with OE .dev

2011-08-10 Thread Saul Wold
On 07/28/2011 02:44 AM, Koen Kooi wrote: Gst-plugins get 2 extra packages: ${PN}-apps: helper apps in ${bindir} ${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates And all libs are split out and run through debian style renaming if enabled. The packaging

Re: [OE-core] [PATCH 0/1]python-native: Fix a compiler finding issue

2011-08-10 Thread Saul Wold
On 07/28/2011 12:20 AM, Mei Lei wrote: Hi, This patch will fix an compiler finding issue. The CC variable, its value sometimes like x86_64-poky-linux-gcc -m64 --sysroot=/${TMPDIR}/sysroots/qemux86-64, contains option information. This will confuse python when finding the compiler

Re: [OE-core] [PATCH] ti-codec-engine: Use latest CE and update all dependencies

2011-08-10 Thread Joel A Fernandes
On Wed, Aug 10, 2011 at 12:29 PM, Koen Kooi k...@dominion.thruhere.net wrote: Op 10 aug. 2011 om 17:54 heeft Joel A Fernandes agnel.j...@gmail.com het volgende geschreven: On Sat, Aug 6, 2011 at 2:31 PM, Joel A Fernandes agnel.j...@gmail.com wrote: Switch to the latest CE 2.26.02.11 [1]

Re: [OE-core] [PATCH] uclibc_0.9.32: Sync mount.h from eglibc

2011-08-10 Thread Saul Wold
On 08/08/2011 02:48 PM, Khem Raj wrote: mount.h has few more defines that are being used by newer applications such as systemd Signed-off-by: Khem Rajraj.k...@gmail.com --- .../uclibc/uclibc-0.9.32/mount.h-update.patch | 85

Re: [OE-core] [PATCH 5/7] multilib: remove MULTILIB_PACKAGE_ARCHS variable

2011-08-10 Thread Xu, Dongxiao
-Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Xu, Dongxiao Sent: Thursday, August 04, 2011 9:00 AM To: Patches and discussions about the oe-core layer Subject: Re: [OE-core] [PATCH

[OE-core] [meta-ti PATCH 1/2] linux-3.0: rtc-twl: Updated Sakoman patches with newer versions

2011-08-10 Thread Joel A Fernandes
This fixes all IRQ kernel panics that were showing up on my BeagleBoard-xM * Refreshed patch that switched to using threaded IRQ (0009-rtc-twl-Switch-to-using-threaded-irq.patch) * Added patch to fix registration vs init order (0010-fix-registration-vs-init-order.patch) * Modified batter

[OE-core] [meta-ti PATCH 2/2] linux-3.0: Remove the 1GHz support hack

2011-08-10 Thread Joel A Fernandes
This makes the errors possibly related to a corruption of the memory such as Undefined Instruction and Unable to handle kernel paging request at virtual address go away. I have verified this multiple times Signed-off-by: Joel A Fernandes agnel.j...@gmail.com ---

[OE-core] [PATCH 1/1] init-install.sh: Fix make partition and make file system issues

2011-08-10 Thread Mei Lei
[YOCTO #1151] Change the offset from the beginning of the disk to aligne the blocks. In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly, and get some warnings about choose another specific tools to create file system for

[OE-core] [PATCH 0/1]Fix bug 1151

2011-08-10 Thread Mei Lei
The following changes since commit a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711: Kumar Gala (1): eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk are available in the git repository at: git://git.pokylinux.org/poky-contrib lmei3/bug1151

Re: [OE-core] [PATCH] bitbake.conf: Changed PSEUDO_LOCALSTATEDIR assignment to unconditional.

2011-08-10 Thread James Limbouris
Worse, I don't think bitbake.conf is guaranteed to be in the same spot in every layers.conf, so different layers will parse with different environments. Sorry, that last line is wrong. Bitbake.conf always parses last. James ___ Openembedded-core