Re: [OE-core] uclibc sdk issue

2012-10-29 Thread Giuseppe Condorelli
Hi Khem, what I want to build is the meta-toolchain (uclibc) and looking at the build I can see system tries to build also eglibc packages. Maybe I'm wrong in something. Welcome advice. BR, Giuseppe 2012/10/26 Khem Raj raj.k...@gmail.com Why do you want uClibc for narivesdk ? Do you have a

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

2012-10-29 Thread Steffen Sledz
On 29.07.2012 11:29, Richard Purdie wrote: 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

[OE-core] [PATCH 3/3] babeltrace: fix depends

2012-10-29 Thread Jack Mitchell
From: Jack Mitchell jack.mitch...@dbbroadcast.co.uk Signed-off-by: Jack Mitchell jack.mitch...@dbbroadcast.co.uk --- meta/recipes-kernel/lttng-2.0/babeltrace_0.12.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/lttng-2.0/babeltrace_0.12.bb

[OE-core] [PATCH 1/3] latencytop: disable GTK and remove gtk+ dependacy

2012-10-29 Thread Jack Mitchell
From: Jack Mitchell jack.mitch...@dbbroadcast.co.uk When DISTRO_FEATURES does not contain x11, disable GTK GUI and also don't add gtk+ to the DEPENDS Signed-off-by: Jack Mitchell jack.mitch...@dbbroadcast.co.uk --- .../latencytop/latencytop-0.5/latencytop-makefile.patch | 13 +++--

[OE-core] [PATCH 2/3] packagegroup-core-tools-profile: include sysprof only if x11 is distro feature

2012-10-29 Thread Jack Mitchell
From: Jack Mitchell jack.mitch...@dbbroadcast.co.uk Signed-off-by: Jack Mitchell jack.mitch...@dbbroadcast.co.uk --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] uclibc sdk issue

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 09:48 +0100, Giuseppe Condorelli wrote: Hi Khem, what I want to build is the meta-toolchain (uclibc) and looking at the build I can see system tries to build also eglibc packages. Maybe I'm wrong in something. Welcome advice. So that the toolchain can be used on many

Re: [OE-core] [PATCH] clutter-box2d: add missing glib-2.0 build dependency

2012-10-29 Thread Burton, Ross
Ignore this, brainfart. Something to do with being up at 0430 probably... Ross On 29 October 2012 11:20, Ross Burton ross.bur...@intel.com wrote: Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-graphics/clutter/clutter-box2d_git.bb |4 ++-- 1 file changed, 2

[OE-core] What is TOOLCHAIN_NEED_CONFIGSITE_CACHE for?

2012-10-29 Thread Phil Blundell
This morning I happened to notice that some/all of my images had a dependency on ncurses for no obviously good reason. (Following an earlier small crusade these are now the only remaining dependencies on ncurses in my build, so I would quite like to get rid of them.) It turns out that the

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

2012-10-29 Thread McClintock Matthew-B29882
On Mon, Oct 29, 2012 at 4:26 AM, Steffen Sledz sl...@dresearch-fe.de wrote: On 29.07.2012 11:29, Richard Purdie wrote: 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,

[OE-core] race between aclocal and unstaging of .m4 files

2012-10-29 Thread Phil Blundell
If do_configure() from one recipe runs in parallel with sysroot_cleansstate() from another then aclocal may fail because it doesn't react very well to .m4 files disappearing underneath it. This manifests as slightly obscure failures such as: | aclocal: error: aclocal: file

[OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Enrico Scholz
When packages are recreated after a 'bitbake -c clean', files will get wrong date because tar has been invoked with the '-m' option. Correct timestamps are useful for bug hunting and there are better ways (e.g. using of ntp) than using '-m'. Signed-off-by: Enrico Scholz

[OE-core] [PATCH] openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}

2012-10-29 Thread Phil Blundell
The latter variable is only applicable for target builds and could result in passing incompatible options (and/or failing to pass required options) to ${BUILD_CC} for a virtclass-native build. Signed-off-by: Phil Blundell ph...@gnu.org --- meta/recipes-connectivity/openssl/openssl.inc |2 +-

Re: [OE-core] [PATCH] package.bbclass: search for dangling links in installation directory

2012-10-29 Thread Enrico Scholz
Phil Blundell philb-mXXj517/z...@public.gmane.org writes: +# make path absolute; do not use os.path.join() here +# because target might start with multiple '/' +rtarget = inst_root + target I think you can use the join() ... You somehow

Re: [OE-core] What is TOOLCHAIN_NEED_CONFIGSITE_CACHE for?

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 13:33 +, Phil Blundell wrote: This morning I happened to notice that some/all of my images had a dependency on ncurses for no obviously good reason. (Following an earlier small crusade these are now the only remaining dependencies on ncurses in my build, so I would

Re: [OE-core] race between aclocal and unstaging of .m4 files

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 14:42 +, Phil Blundell wrote: If do_configure() from one recipe runs in parallel with sysroot_cleansstate() from another then aclocal may fail because it doesn't react very well to .m4 files disappearing underneath it. This manifests as slightly obscure failures such

[OE-core] [PATCH] udev: Use correct variable in udev.conf for run_path

2012-10-29 Thread Richard Purdie
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc index ce7eec1..4705b9b 100644 --- a/meta/recipes-core/udev/udev.inc +++ b/meta/recipes-core/udev/udev.inc @@ -96,5 +96,5 @@ do_install_append () {

[OE-core] [PATCH] udev: Ensure tmpfs are mounted and volatile/run exists

2012-10-29 Thread Richard Purdie
There is a race with udev where eiher the run directory can get replaced during bootup leading to ude errors, or if the tmpfs was mounted and populate-volatiles hasn't run, udev won't start at all. This ensures that any tmpfs get mounted before udev starts and that the default volatiles/run

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 16:11 +0100, Enrico Scholz wrote: When packages are recreated after a 'bitbake -c clean', files will get wrong date because tar has been invoked with the '-m' option. Correct timestamps are useful for bug hunting and there are better ways (e.g. using of ntp) than using

[OE-core] shadow-native build failure

2012-10-29 Thread Marko Lindqvist
shadow-native do_configure fails with: cp: cannot stat '.../tmp-eglibc/sysroots/x86_64-linux/usr/share/gettext/config.rpath': No such file or directory -ML ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

Re: [OE-core] shadow-native build failure

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 18:14 +0200, Marko Lindqvist wrote: shadow-native do_configure fails with: cp: cannot stat '.../tmp-eglibc/sysroots/x86_64-linux/usr/share/gettext/config.rpath': No such file or directory Is this master and did you upgrade recently? Does bitbake gettext-minimal-native

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Enrico Scholz
Richard Purdie richard.pur...@linuxfoundation.org writes: When packages are recreated after a 'bitbake -c clean', files will get wrong date because tar has been invoked with the '-m' option. Correct timestamps are useful for bug hunting and there are better ways (e.g. using of ntp) than

Re: [OE-core] shadow-native build failure

2012-10-29 Thread Marko Lindqvist
On 29 October 2012 18:16, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2012-10-29 at 18:14 +0200, Marko Lindqvist wrote: shadow-native do_configure fails with: cp: cannot stat '.../tmp-eglibc/sysroots/x86_64-linux/usr/share/gettext/config.rpath': No such file or directory

Re: [OE-core] [RFC] OpenGL packaging/staging policy

2012-10-29 Thread Burton, Ross
Hi, This was interesting discussion and certainly achieved the goal of soliciting comments... A less aggressive plan: Rule 1. Unambiguous package naming I won't repeat this, everyone agreed this was sane. I've a patch for mesa that I'll submit shortly. Rule 2. No whitelisting for GL driver

Re: [OE-core] What is TOOLCHAIN_NEED_CONFIGSITE_CACHE for?

2012-10-29 Thread Chris Larson
On Mon, Oct 29, 2012 at 8:43 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2012-10-29 at 13:33 +, Phil Blundell wrote: This morning I happened to notice that some/all of my images had a dependency on ncurses for no obviously good reason. (Following an earlier small

[OE-core] [PATCH] polkit: remove license.html from LIC_FILES_CHKSUM

2012-10-29 Thread Phil Blundell
This is a generated file and gets removed by make clean which then causes subsequent rebuilds to fail. Also, the content in this file is taken verbatim from COPYING (which is already in LIC_FILES_CHKSUM) so checking it for a second time doesn't accomplish much. Signed-off-by: Phil Blundell

Re: [OE-core] What is TOOLCHAIN_NEED_CONFIGSITE_CACHE for?

2012-10-29 Thread Mark Hatle
On 10/29/12 12:33 PM, Chris Larson wrote: On Mon, Oct 29, 2012 at 8:43 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2012-10-29 at 13:33 +, Phil Blundell wrote: This morning I happened to notice that some/all of my images had a dependency on ncurses for no obviously

Re: [OE-core] What is TOOLCHAIN_NEED_CONFIGSITE_CACHE for?

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 10:33 -0700, Chris Larson wrote: On Mon, Oct 29, 2012 at 8:43 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: We ship the site cache files with the toolchain. We decided to include the generated cache files as well as the static ones. We currently

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Enrico Scholz
Richard Purdie richard.pur...@linuxfoundation.org writes: where the option was added deliberately to deal with time mismatch between autobuilders which was causing real world bugs. But the real bug is the time mismatch in the autobuilders, isn't it? And this can/should be solved by

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

2012-10-29 Thread McClintock Matthew-B29882
On Mon, Oct 29, 2012 at 9:36 AM, Matthew McClintock m...@freescale.com wrote: On Mon, Oct 29, 2012 at 4:26 AM, Steffen Sledz sl...@dresearch-fe.de wrote: On 29.07.2012 11:29, Richard Purdie wrote: On Thu, 2012-07-26 at 11:21 -0500, Matthew McClintock wrote: If we are building from sstate-cache

[OE-core] [PATCH] autotools: Attempt to clean build directory when rerunning configure

2012-10-29 Thread Phil Blundell
Existing logic in autotools_preconfigure() will clean the build directory before rerunning configure in the case where ${S} != ${B}. It is, however, desirable to make at least some attempt to clean the build artifacts for in-tree builds since many packages lack the appropriate dependency rules to

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 18:59 +0100, Enrico Scholz wrote: Richard Purdie richard.pur...@linuxfoundation.org writes: where the option was added deliberately to deal with time mismatch between autobuilders which was causing real world bugs. But the real bug is the time mismatch in the

Re: [OE-core] [RFC] OpenGL packaging/staging policy

2012-10-29 Thread Tomas Frydrych
On 29/10/12 17:26, Burton, Ross wrote: Rule 1. Unambiguous package naming I won't repeat this, everyone agreed this was sane. I've a patch for mesa that I'll submit shortly. Rule 2. No whitelisting for GL driver conflicts The target GL shall be staged, and situations which result in

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Enrico Scholz
Richard Purdie richard.pur...@linuxfoundation.org writes: But the real bug is the time mismatch in the autobuilders, isn't it? And this can/should be solved by synchronizing time by ntp on them instead of applying dirty hacks like resetting file dates. ... Worse, when this does happen

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 20:00 +0100, Enrico Scholz wrote: Richard Purdie richard.pur...@linuxfoundation.org writes: But the real bug is the time mismatch in the autobuilders, isn't it? And this can/should be solved by synchronizing time by ntp on them instead of applying dirty hacks like

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Enrico Scholz
Richard Purdie richard.pur...@linuxfoundation.org writes: But the real bug is the time mismatch in the autobuilders, isn't it? And this can/should be solved by synchronizing time by ntp on them instead of applying dirty hacks like resetting file dates. ... Imagine system A generates

Re: [OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

2012-10-29 Thread Richard Purdie
On Mon, 2012-10-29 at 22:41 +0100, Enrico Scholz wrote: Richard Purdie richard.pur...@linuxfoundation.org writes: But the real bug is the time mismatch in the autobuilders, isn't it? And this can/should be solved by synchronizing time by ntp on them instead of applying dirty hacks

Re: [OE-core] devshell spawning twice

2012-10-29 Thread Andrea Adami
On Sun, Oct 28, 2012 at 1:59 AM, Andrea Adami andrea.ad...@gmail.com wrote: On Sun, Oct 28, 2012 at 1:55 AM, Andrea Adami andrea.ad...@gmail.com wrote: Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add support for running custom terminals.) screen opens also in the master