[OE-core] [PATCH 01/12] multilib: Add support for cross-canadian multilib packages

2012-09-29 Thread Mark Hatle
Add support for the generation of cross-canadian packages. Each cross-canadian package has: PN = "pkg-cross-canadian-${TRANSLATED_TARGET_ARCH}" in order for that to be evaluated properly with multilibs enabled, it was necessary to detect both the presence of the cross-canadian packages and then

[OE-core] [PATCH 04/12] bb.utils.explode_dep_versions: Update to ensure we avoid duplicate deps

2012-09-29 Thread Mark Hatle
Due to a recent change in bb.utils.explode_dep_version, we need to make sure that we do not have any duplicates in things that use explode_dep_versions. Signed-off-by: Mark Hatle --- meta/classes/insane.bbclass | 55 +- meta/classes/kernel.bbclass |

[OE-core] [PATCH 12/12] rpm: Implement workaround for DB_BUFFER_SMALL error

2012-09-29 Thread Mark Hatle
In certain cases with BerkleyDB 5.3.x we are getting the error: db3.c:1443: dbcursor->pget(-30999): BDB0063 DB_BUFFER_SMALL: User memory too small fo See https://bugs.launchpad.net/rpm/+bug/934420 for more information. It appears to be some type of a bug in the BerkleyDB 5.3.x. In an attempt t

[OE-core] [PATCH 07/12] Cleanup: fix PN == BPN cases

2012-09-29 Thread Mark Hatle
When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'cross-target'. Signed-off-by: Mark Hatle --- meta/classes/distutils-base.bbclass

[OE-core] [PATCH 02/12] multilib - crosssdk: Stop building multilib for crosssdk packages

2012-09-29 Thread Mark Hatle
Crosssdk packages are not actually multilib packages, so treat them the same as other nativesdk packages in the multilib, base, and classextend components. Signed-off-by: Mark Hatle --- meta/classes/base.bbclass |8 meta/classes/multilib.bbclass |4 ++-- meta/lib/oe/classext

[OE-core] [PATCH 08/12] multilib: Move redefinition of STAGING_DIR_KERNEL

2012-09-29 Thread Mark Hatle
If the STAGING_DIR_KERNEL is set in the multilib.conf, then it may be set incorrected. The evaluation happens before TMPDIR and LIBC are defined in other components. Moving the definition process to the multilib.bbclass ensures that everything has been loaded before it is set. Signed-off-by: Mar

[OE-core] [PATCH 00/12] Multilib, duplicate deps, and misc cleanup

2012-09-29 Thread Mark Hatle
The patch set (01-03) implementes SDK multilib support. This was tested by building core-image-minimal and core-image-sato w/ the -c populate_sdk task. The patch (04) removes unintentional duplicate entries from the various dependency variables. This works along side a related bitbake patch. Ev

[OE-core] [PATCH 10/12] rpm: Fix file contention issue

2012-09-29 Thread Mark Hatle
There is an issue that is caused when doing the install step of rpm on systems with high parallelization where two jobs of make will fight for the same file while installing the sub-directory lua. This is caused by the same makefile rule being called twice in a way that both could be trying to inst

[OE-core] [PATCH 06/12] libxcb: Update DEPENDS to avoid duplicate entries

2012-09-29 Thread Mark Hatle
Some items were listed multiple times in DEPENDS, avoid this situation. Note, PR was not incremented as no change to the build process occurs. Signed-off-by: Mark Hatle --- meta/recipes-graphics/xcb/libxcb.inc |2 +- meta/recipes-graphics/xcb/libxcb_1.1.91.bb |2 -- meta/recipes-g

[OE-core] [PATCH 03/12] populate_sdk_base: Update extraction script for multilibs

2012-09-29 Thread Mark Hatle
When multilibs are enabled, there will be more then one environment file created. We need to be sure to process each environment file. The next function can simply use the last environment file processed to get the magic value(s) that it requires. Signed-off-by: Mark Hatle --- meta/classes/popu

[OE-core] [PATCH 11/12] rpm: Add rpm patch to fix git_strerror issues

2012-09-29 Thread Mark Hatle
Remove the optimzation append from recipe and add the patch that is in the rpm cvs repo, http://www.mail-archive.com/rpm-cvs@rpm5.org/msg08907.html. The -O2 optimzation append is removed since it can limit debugging options that are provided when -O0 is used. This was tested by setting: SELECTED_O

[OE-core] [PATCH 05/12] package_deb/ipk: Remap < and > to << and >>

2012-09-29 Thread Mark Hatle
In deb and ipk, < means <=, while > means >=... there is a different operator << and >> that means < and >, so we map them when constructing the packages. Signed-off-by: Mark Hatle --- meta/classes/package_deb.bbclass | 18 ++ meta/classes/package_ipk.bbclass | 18 +++

[OE-core] [PATCH 09/12] rpm-native: Fix 'uuid_rc_t' undeclared error when compiling

2012-09-29 Thread Mark Hatle
When attempting to build with uuid and all tests compiling will error because uuid.h doesn't exist in the rpm tarball. Fix this by changing the include to use the one in ossp which solves the issue. The recipe already depends on ossp so ossp/uuid.h will be there when rpm-native is built. Signed-o

[OE-core] [PATCHv2] opkg: fix version constraints in conflicts, depends, replaces

2012-09-29 Thread Martin Jansa
* http://code.google.com/p/opkg/issues/detail?id=94 Signed-off-by: Martin Jansa --- .../0009-pkg_depends-fix-version-constraints.patch | 188 + ...depends-fix-version_constraints_satisfied.patch | 37 meta/recipes-devtools/opkg/opkg_svn.bb | 4 +- 3 files

[OE-core] [PATCH] opkg: fix version constraints in conflicts, depends, replaces

2012-09-29 Thread Martin Jansa
* http://code.google.com/p/opkg/issues/detail?id=94 Signed-off-by: Martin Jansa --- .../0009-pkg_depends-fix-version-constraints.patch | 188 + ...depends-fix-version_constraints_satisfied.patch | 37 meta/recipes-devtools/opkg/opkg_svn.bb | 4 +- 3 files

Re: [OE-core] [PATCH] Revert "opkg svn: respect to the arch priority"

2012-09-29 Thread Koen Kooi
Op 28 sep. 2012, om 23:27 heeft Richard Purdie het volgende geschreven: > On Fri, 2012-09-28 at 23:04 +0200, Koen Kooi wrote: >> This completely breaks installing packages from feeds: >> >> root@bone-mainline:~# opkg install libgtk-2.0 >> Installing libgtk-2.0 (2.24.8-r7.1) to root... >> Downl

[OE-core] [PATCH] opkg: Don't call sync() when installing into an offline root

2012-09-29 Thread Phil Blundell
Even when installing onto a live target system, calling sync() during package installation is of somewhat questionable benefit. But calling it on the build host during rootfs construction is certainly useless and can cause I/O to stall for several seconds on even a moderately sized host which is c

Re: [OE-core] [PATCH] autotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring (and ${S} != ${B})

2012-09-29 Thread Richard Purdie
On Sat, 2012-09-29 at 09:24 +0200, Martin Jansa wrote: > On Sat, Sep 29, 2012 at 07:42:48AM +0100, Ross Burton wrote: > > On Friday, 28 September 2012 at 22:20, Richard Purdie wrote: > > > Totally unrelated, likely a transient race we're meant to have fixed but > > > don't seem to have done so :/ >

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-29 Thread Martin Jansa
On Fri, Sep 28, 2012 at 09:02:47AM -0300, Otavio Salvador wrote: > On Thu, Sep 27, 2012 at 7:50 PM, Martin Jansa wrote: > > On Fri, Sep 28, 2012 at 12:41 AM, Mark Hatle > > wrote: > >> Just an FYI -- Martin Jansa found a problem with the implement of the > >> package version comparison. > >> > >

Re: [OE-core] [PATCH] autotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring (and ${S} != ${B})

2012-09-29 Thread Martin Jansa
On Sat, Sep 29, 2012 at 07:42:48AM +0100, Ross Burton wrote: > On Friday, 28 September 2012 at 22:20, Richard Purdie wrote: > > Totally unrelated, likely a transient race we're meant to have fixed but > > don't seem to have done so :/ > > > > The supposed fix was: > > http://git.yoctoproject.org/c