[OE-core] [PATCH 1/1 RFC - Denzil] nativesdk.bbclass: Fix the remapping code on nativesdk

2013-03-28 Thread Mark Hatle
tries. In addition, if a package has "-nativesdk" already in the name we want to add it to RPROVIDES to avoid compatibility problems. Signed-off-by: Mark Hatle --- meta/classes/insane.bbclass|2 + meta/classes/nativesdk.bbclass | 61 +++

Re: [OE-core] [OE-Core][PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package

2013-04-02 Thread Mark Hatle
On 4/2/13 2:27 PM, Khem Raj wrote: On Apr 2, 2013, at 9:46 AM, Richard Purdie wrote: On Mon, 2013-04-01 at 20:18 -0700, Khem Raj wrote: eglibc-extra-nss-dev is a dependency for libc6-dev but the package is empty and is not created as a result target install of libc6-dev fails. This will cre

[OE-core] [PATCH] Enable additional kernel parameters for syslinux

2013-04-03 Thread Mark Hatle
From: Konrad Scherer Add additional parameter 'SYSLINUX_KERNEL_ARGS' in order to allow for specific kernel parameters to be set when using syslinux. Signed-off-by: Konrad Scherer Signed-off-by: Mark Hatle --- meta/classes/syslinux.bbclass | 5 + 1 file changed, 5 insertion

Re: [OE-core] experiences with images based on current layer heads

2013-04-05 Thread Mark Hatle
If you are unable to look into this yourself, can you please file a bug on the bugzilla.yoctoproject.org website? This issue is likely to get more attention if there is an active bug with reproducer steps. (What you have below may be enough for someone who understands X and xfce to reproduce i

Re: [OE-core] [PATCH 1/2] libpng12: rename libpng_1.2.50 to libpng12

2013-04-08 Thread Mark Hatle
that enabled) as well as the new version for newer applications. CC: Mark Hatle Signed-off-by: Kang Kai --- .../{libpng_1.2.50.bb => libpng12_1.2.50.bb} | 18 +++--- 1 files changed, 15 insertions(+), 3 deletions(-) rename meta/recipes-lsb4/libpng/{libpng_1

Re: [OE-core] [PATCH] smart: disable CHANNELSDIR

2013-04-08 Thread Mark Hatle
On 4/8/13 10:02 AM, Bogdan Marinescu wrote: Make CHANNELSDIR in smart empty, since this causes host contamination issues on some RPM-based hosts on which smart is already installed. [YOCTO #3881] Signed-off-by: Bogdan Marinescu --- .../python/python-smartpm/smart-channelsdir.patch | 24

Re: [OE-core] [PATCH] bluez4: add readline dependency

2013-04-08 Thread Mark Hatle
On 4/8/13 12:57 PM, Saul Wold wrote: On 04/08/2013 05:56 AM, Alex DAMIAN wrote: From: Alexandru DAMIAN bluez4 uses readline to be build, but the dependency is not listed This is listed in the configuration log. So we add it. As far as I can tell it's needed only for gatttool, is this a tool

Re: [OE-core] [PATCH 1/2] libpng12: rename libpng_1.2.50 to libpng12

2013-04-09 Thread Mark Hatle
newer applications. And drop link files that conflict with higher version. [YOCTO #4221] Signed-off-by: Kang Kai CC: Mark Hatle Thanks for the additional comment below. I'm happy with this, it should help resolve one of the LSB test failures. --Mark --- .../{libpng_1.2.50.bb => libpn

Re: [OE-core] [PATCH v2] udev: Move udevd back to /sbin

2013-04-09 Thread Mark Hatle
On 4/9/13 10:07 AM, Richard Purdie wrote: On Tue, 2013-04-09 at 16:44 +0200, Koen Kooi wrote: Op 9 apr. 2013, om 16:41 heeft Koen Kooi het volgende geschreven: Op 9 apr. 2013, om 16:36 heeft Otavio Salvador het volgende geschreven: On Tue, Apr 9, 2013 at 9:35 AM, Richard Purdie wrote:

Re: [OE-core] [PATCH 2/3] oe-buildenv-internal: Only add to $PATH if needed

2013-04-09 Thread Mark Hatle
On 4/9/13 12:29 PM, Trevor Woerner wrote: On Mon, Apr 8, 2013 at 1:48 PM, Paul Eggleton wrote: Unfortunately I think this is specific to bash, so it may not be portable. Maybe the equivalent can be achieved with sed however. Under which shells do we expect a Yocto build to succeed? The latest

Re: [OE-core] [oe][meta-oe][PATCH 2/4] xterm: add latest version of xterm

2013-04-10 Thread Mark Hatle
On 4/10/13 2:36 PM, Martin Jansa wrote: On Wed, Apr 10, 2013 at 08:10:11PM +0200, Marco wrote: Il 10/04/2013 18:56, Trevor Woerner ha scritto: This whole thread has me thoroughly confused. Isn't xterm_277.bb already part of meta-openembedded? $ find . -name "*xterm*" -pri

[OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Mark Hatle
s the package begins with kernel-module-. Signed-off-by: Mark Hatle --- meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb | 8 1 file changed, 8 insertions(+) diff --git a/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb b/meta-skeleton/recipes-kernel/hello-mod/hello-mod_

Re: [OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Mark Hatle
On 4/12/13 3:06 PM, Bruce Ashfield wrote: On Fri, Apr 12, 2013 at 3:42 PM, Mark Hatle wrote: The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf: IMAGE_INSTALL_append = " hello-mod" bitbake

Re: [OE-core] [PATCH 7/7] allarch: Drop various problematic allarch usages

2013-04-15 Thread Mark Hatle
On 4/15/13 6:07 AM, Richard Purdie wrote: In each of these cases allarch is used where the package in question has a dependency on things which are not allach and change when MACHINE is changed. This leads to a rebuild of the package each time MACHINE is switched and the sstate checksum changes.

Re: [OE-core] [PATCH 7/7] allarch: Drop various problematic allarch usages

2013-04-15 Thread Mark Hatle
On 4/15/13 10:40 AM, Richard Purdie wrote: On Mon, 2013-04-15 at 10:16 -0500, Mark Hatle wrote: On 4/15/13 6:07 AM, Richard Purdie wrote: In each of these cases allarch is used where the package in question has a dependency on things which are not allach and change when MACHINE is changed

Re: [OE-core] tweaking insane.bbclass to handle MIPS SEAD-3?

2013-04-18 Thread Mark Hatle
On 4/18/13 7:38 AM, Robert P. J. Day wrote: students from a class of mine last year are currently playing with a MIPS SEAD-3: http://www.mips.com/products/development-kits/mips-sead-3/ and asked for some assistance getting oe/yocto to build for that kit. they started with the routerstation

Re: [OE-core] [PATCH] package_rpm.bbclass: fix /etc/rpm/platform generation

2013-04-18 Thread Mark Hatle
On 4/18/13 9:27 AM, Bogdan Marinescu wrote: For some platforms (for example emenlow) the RPM installer prefers an invalid package architecture (for example i586 over core2) because /etc/rpm/platform is not properly generated (for example, i586 is listed before core2 in /etc/rpm/platform). [YOCTO

Re: [OE-core] tweaking insane.bbclass to handle MIPS SEAD-3?

2013-04-18 Thread Mark Hatle
On 4/18/13 9:25 AM, Robert P. J. Day wrote: On Thu, 18 Apr 2013, Mark Hatle wrote: On 4/18/13 7:38 AM, Robert P. J. Day wrote: students from a class of mine last year are currently playing with a MIPS SEAD-3: http://www.mips.com/products/development-kits/mips-sead-3/ and asked for some

Re: [OE-core] [PATCH] package_rpm.bbclass: fix /etc/rpm/platform generation

2013-04-18 Thread Mark Hatle
On 4/18/13 9:46 AM, Mark Hatle wrote: On 4/18/13 9:27 AM, Bogdan Marinescu wrote: For some platforms (for example emenlow) the RPM installer prefers an invalid package architecture (for example i586 over core2) because /etc/rpm/platform is not properly generated (for example, i586 is listed

Re: [OE-core] tweaking insane.bbclass to handle MIPS SEAD-3?

2013-04-18 Thread Mark Hatle
On 4/18/13 10:44 AM, Robert P. J. Day wrote: On Thu, 18 Apr 2013, Mark Hatle wrote: On 4/18/13 9:25 AM, Robert P. J. Day wrote: ... snip ... DEFAULTTUNE ?= "mips32" require conf/machine/include/mips/arch-mips.inc TUNEVALID[mips32] = "Enable mips32 specific processo

Re: [OE-core] [PATCH] package_rpm.bbclass: fix /etc/rpm/platform generation

2013-04-18 Thread Mark Hatle
On 4/18/13 11:59 AM, Richard Purdie wrote: On Thu, 2013-04-18 at 10:10 -0500, Mark Hatle wrote: On 4/18/13 9:46 AM, Mark Hatle wrote: On 4/18/13 9:27 AM, Bogdan Marinescu wrote: For some platforms (for example emenlow) the RPM installer prefers an invalid package architecture (for example

Re: [OE-core] [PATCH] rpm: change arch scoring items

2013-04-23 Thread Mark Hatle
On 4/23/13 8:37 AM, Bogdan Marinescu wrote: Don't add the first line of /etc/rpm/platform to the list of patterns to match when computing an arch score, use it just for getting information about the platform (cpu/vendor/os). [YOCTO #3864] Signed-off-by: Bogdan Marinescu --- .../rpm/rpm/rpm-p

Re: [OE-core] [PATCH v2] rpm: change arch scoring items

2013-04-24 Thread Mark Hatle
On 4/24/13 3:48 AM, Bogdan Marinescu wrote: Don't add the first line of /etc/rpm/platform to the list of patterns to match when computing an arch score, use it just for getting information about the platform (cpu/vendor/os). [YOCTO #3864] Signed-off-by: Bogdan Marinescu Acked-by: Mark

Re: [OE-core] Problems with PACKAGE_CLASSES = "package_tar"

2013-04-24 Thread Mark Hatle
On 4/24/13 10:58 AM, Lewis, Nick wrote: I am seeing problems when using PACKAGE_CLASSES = "package_tar" There are many warnings about python indents and there are errors regarding missing populate_sdk_tar.bbclass and rootfs_tar.bbclass I don't believe that package class has been updated in a w

Re: [OE-core] [PATCH] connman: replace hardcoded path in init script

2013-04-25 Thread Mark Hatle
On 4/24/13 8:05 PM, Stefan Stanacar wrote: Because the connman init script sources a config file from /usr/lib we end up with no network in multilib enabled sato images, so replace with the real libdir. Signed-off-by: Stefan Stanacar --- meta/recipes-connectivity/connman/connman.inc | 3 +

Re: [OE-core] [PATCH] rootfs_ipk, image: Add debug capture support

2013-04-25 Thread Mark Hatle
On 4/25/13 6:12 AM, Phil Blundell wrote: On Tue, 2012-10-02 at 12:38 +0100, Richard Purdie wrote: On Tue, 2012-10-02 at 12:15 +0100, Phil Blundell wrote: On Tue, 2012-10-02 at 12:12 +0100, Richard Purdie wrote: Hasn't Paul added a general mechanism for doing this so we could add this feature a

Re: [OE-core] [PATCH 4/4] scripts/postinst-intercepts: create separete hooks for multilib

2013-04-25 Thread Mark Hatle
On 4/25/13 7:24 AM, Laurentiu Palcu wrote: When using multilib, the hooks for lib32/lib64 must be different because the libdir/base_libdir point to different locations. Nothing has to be done in the postinstalls for this. When a hook is installed, it will be detected automatically if this is a ML

Re: [OE-core] [PATCH] cracklib: generate the default dictionary on the target

2013-04-25 Thread Mark Hatle
On 4/25/13 8:28 AM, Martin Donnelly wrote: Currently cracklib-native is used to generate the dictionary database from the wordlist during install. Unfortunately the database files are endian-specific and this results in errors when the host and target endianness differ. This patch creates the de

Re: [OE-core] debugedit: canonicalization unexpectedly shrank by one character

2013-04-25 Thread Mark Hatle
On 4/25/13 3:43 PM, Ian Geiser wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Martin Jansa Sent: Wednesday, April 24, 2013 3:20 AM To: openembedded-core@lists.openembedded.org Subject:

Re: [OE-core] dylan: meta-toolchain and u-boot : "cannot find -lgcc"

2013-04-26 Thread Mark Hatle
On 4/26/13 2:26 AM, Eric Bénard wrote: Hi, here is a problem I met while trying to build u-boot with a toolchain generated using dylan. steps to reproduce : - bitbake meta-toolchain for an armv5t target - install the sdk to a custom path ($HOME/oecore-x86_64/ for example instead of /usr/loc

Re: [OE-core] [PATCH] rootfs_ipk, image: Add debug capture support

2013-04-26 Thread Mark Hatle
On 4/26/13 8:57 AM, Phil Blundell wrote: On Thu, 2013-04-25 at 08:47 -0500, Mark Hatle wrote: Is this a problem that they should have used the update-alternatives for sulogin? (Sounds like it might be a security issue though...) This would avoid the .debug conflict. I dunno. It seems a bit

Re: [OE-core] [PATCH] rootfs_ipk, image: Add debug capture support

2013-04-26 Thread Mark Hatle
On 4/26/13 9:27 AM, Phil Blundell wrote: On Fri, 2013-04-26 at 09:16 -0500, Mark Hatle wrote: The alternative of course is to crease special -dbg packages for the two conflicting items. I.e. foo-dbg, foo-sulogin-dbg, bar-dbg and bar-sulogin-dbg... Yeah, indeed, that's what I suggested

Re: [OE-core] dylan: meta-toolchain and u-boot : "cannot find -lgcc"

2013-04-26 Thread Mark Hatle
On 4/26/13 9:41 AM, Eric Bénard wrote: Hi Mark, Le Fri, 26 Apr 2013 08:51:58 -0500, Mark Hatle a écrit : On 4/26/13 2:26 AM, Eric Bénard wrote: this can be fixed by installing the sdk to it's standard path (/usr/local/oecore-x86_64/ in the present case). Is that an expected behaviou

Re: [OE-core] [PATCH] rootfs_ipk, image: Add debug capture support

2013-04-26 Thread Mark Hatle
On 4/26/13 9:50 AM, Otavio Salvador wrote: On Fri, Apr 26, 2013 at 11:41 AM, Phil Blundell wrote: On Fri, 2013-04-26 at 09:39 -0500, Mark Hatle wrote: On 4/26/13 9:27 AM, Phil Blundell wrote: On Fri, 2013-04-26 at 09:16 -0500, Mark Hatle wrote: The alternative of course is to crease special

Re: [OE-core] Debug Packaging

2013-04-30 Thread Mark Hatle
On 4/29/13 3:10 PM, Richard Purdie wrote: On Sat, 2013-04-27 at 17:15 -0400, Chris Larson wrote: On Thu, Apr 25, 2013 at 7:12 AM, Phil Blundell wrote: I'm not quite sure what the right way to fix (2) is. I suppose in an ideal world the -dbg packages would be sepa

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 2:49 AM, Andreas Müller wrote: Hi, on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On other machines useradd works correct. I have the follwing in gdm: do_install_append() { ... chown -R gdm:gdm ${D}${localstatedir}/lib/gdm chmod 075

Re: [OE-core] [PATCH] package.bbclass: Remove redundant chmod/chown operations

2013-05-02 Thread Mark Hatle
On 5/2/13 8:20 AM, Phil Blundell wrote: These were introduced in 6021e309e69d823e1467648aee12a32182945569. The code currently reads: os.link(file, fpath) fstat = cpath.stat(file) os.chmod(fpath, fstat.st_mode) os.chown(fpath, f

Re: [OE-core] [PATCH] fs-perms.txt: Don't tinker with file modes in /usr/src/debug

2013-05-02 Thread Mark Hatle
st also be permissive enough for subsequent debugging. I'm fine with this as long as the uid/gid is set to root. (it is below) Acked-by: Mark Hatle Signed-off-by: Phil Blundell --- meta/files/fs-perms.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/files/fs-p

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13 2:49 AM, Andreas Müller wrote: on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On other machines useradd works correct. I have the follwing in gdm

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13 2:49 AM, Andreas Müller wrote: on one of my build machines useradd.bbclass seem to use the UID

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 10:18 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 10:31 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:18 PM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On

Re: [OE-core] libexecdir and multilib

2013-05-02 Thread Mark Hatle
On 5/2/13 11:10 AM, Burton, Ross wrote: Hi all, There were several issues being discussed here under the topic of libexecdir, some simple and some less so. I'll ramble for a bit to try and get a proper conclusion debated. The situation where you have a 32-bit dropbear but a 64-bit openssh is r

Re: [OE-core] libexecdir and multilib

2013-05-02 Thread Mark Hatle
On 5/2/13 12:24 PM, Enrico Scholz wrote: "Burton, Ross" writes: rpm allows "executables" (but not libraries) to conflict and will prefer the 64-bit version, Sure? At least rpm-4 (Fedora, RHEL) does not allow files to conflict. Fedora solves the multilib problem by splitting the distribution

Re: [OE-core] SDK meta-toolchain

2013-05-07 Thread Mark Hatle
On 5/7/13 11:09 AM, Kyle Farnsworth wrote: I'm a bit confused about what exactly meta-toolchain is building? It seems to be bitbaking gcc and creating a toolchain with the prefix x86_64-oesdk-linux- (default SDK_PREFIX) but I'm not sure what it is. Is it a cross-compile for my target MACHINE or

Re: [OE-core] SDK meta-toolchain

2013-05-07 Thread Mark Hatle
On 5/7/13 11:49 AM, Trevor Woerner wrote: On Tue, May 7, 2013 at 12:36 PM, Mark Hatle wrote: There are two ways to generate an SDK. * targeted SDK -- This is a meta-toolchain* recipe that lists -exactly- what is going to be in the SDK. This is great if you want to limit your SDK to specific

Re: [OE-core] SDK meta-toolchain

2013-05-07 Thread Mark Hatle
On 5/7/13 12:35 PM, Kyle Farnsworth wrote: On 05/07/2013 11:36 AM, Mark Hatle wrote: On 5/7/13 11:09 AM, Kyle Farnsworth wrote: I'm a bit confused about what exactly meta-toolchain is building? It seems to be bitbaking gcc and creating a toolchain with the prefix x86_64-oesdk-linux- (de

Re: [OE-core] SDK meta-toolchain

2013-05-07 Thread Mark Hatle
On 5/7/13 1:21 PM, Trevor Woerner wrote: On Tue, May 7, 2013 at 1:41 PM, Mark Hatle wrote: - nativesdk -- runs on the 'sdkhost' (variant called 'crosssdk') Is this related to the SDKMACHINE setting? Yes that's the variable I was thinking of. You can build a

Re: [OE-core] SDK meta-toolchain

2013-05-07 Thread Mark Hatle
On 5/7/13 2:33 PM, Kyle Farnsworth wrote: On 05/07/2013 01:35 PM, Mark Hatle wrote: - nativesdk -- runs on the 'sdkhost' (variant called 'crosssdk') Is this related to the SDKMACHINE setting? Yes that's the variable I was thinking of. You can build an SDK for &

Re: [OE-core] [PATCH] eglibc: include libgcc when libpthread is enabled

2013-05-09 Thread Mark Hatle
On 5/9/13 9:32 AM, Khem Raj wrote: On May 9, 2013, at 5:55 AM, Bogdan Marinescu wrote: libpthread needs libgcc to function properly. Without libgcc I get the following error: root@qemux86:~# tclsh % exit 0 libgcc_s.so.1 must be installed for pthread_cancel to work Aborted root@qemux86:~# T

Re: [OE-core] [PATCH] eglibc: include libgcc when libpthread is enabled

2013-05-09 Thread Mark Hatle
On 5/9/13 10:40 AM, Phil Blundell wrote: On Thu, 2013-05-09 at 10:26 -0500, Mark Hatle wrote: This would be my suggestion. I'd also want to make sure there is a libpthread-dev (which for some reason I think there already is) because the links in there are required for on-target t

Re: [OE-core] proposal to move cogl, clutter and related recipes from oe-core to dedicated meta-clutter layer

2013-05-10 Thread Mark Hatle
On 5/10/13 3:22 PM, Otavio Salvador wrote: On Fri, May 10, 2013 at 2:19 PM, Richard Purdie wrote: On Fri, 2013-05-10 at 17:39 +0100, Tomas Frydrych wrote: On 10/05/13 12:32, Richard Purdie wrote: On Fri, 2013-05-10 at 11:56 +0100, Tomas Frydrych wrote: On 10/05/13 10:05, Richard Purdie wrote

Re: [OE-core] [PATCH 1/1] zlib: put shared libraries in base_libdir

2013-05-15 Thread Mark Hatle
On 5/15/13 4:54 AM, Phil Blundell wrote: On Tue, 2013-05-14 at 16:35 -0700, Joe Slater wrote: We put the shared libraries in base_libdir because at least one library under base_libdir, pam_cracklib.so, needs them and will cause a qa warning when it is built. Which warning are you getting? Fro

Re: [OE-core] Redefine variable in bbappend

2013-05-17 Thread Mark Hatle
On 5/16/13 7:08 PM, Yevhen Kyriukha wrote: Hi! I'm using "base-files" recipe but I don't want that /var/log be a symlink to temp directory. Therefore in my custom layer I created base-files bbappend file with following content: PRINC := "${@int(PRINC) + 1}" dirs755_append += "${localstatedir}/

Re: [OE-core] Clashing man pages

2013-05-20 Thread Mark Hatle
On 5/19/13 7:00 AM, Paul Barker wrote: I'm generating a rootfs image which I intend to be usable interactively so I've added IMAGE_FEATURES += "doc-pkgs" to my image recipe. do_rootfs fails with the following clashes: | * check_data_file_clashes: Package ncurses-doc wants to install file /home

Re: [OE-core] [PATCH] update-alternatives: Drop deprecated code, update to show error message

2013-05-21 Thread Mark Hatle
this to go in 'eventually'.. I'm happy for eventually to be now. Acked-by: Mark Hatle --- meta/classes/update-alternatives.bbclass | 95 +--- 1 file changed, 1 insertion(+), 94 deletions(-) diff --git a/meta/classes/update-alternatives.bbclass

Re: [OE-core] [PATCH] patch: diable xattr as default

2013-05-21 Thread Mark Hatle
On 5/21/13 6:54 PM, Saul Wold wrote: There is a optional dependency on xattr (and thus the attr package), disable it by default, to ensure it builds correctly. Signed-off-by: Saul Wold --- meta/recipes-devtools/patch/patch_2.7.1.bb |2 ++ 1 file changed, 2 insertions(+) diff --git a/met

Re: [OE-core] [PATCH] patch: diable xattr as default

2013-05-21 Thread Mark Hatle
On 5/21/13 7:20 PM, Mark Hatle wrote: On 5/21/13 6:54 PM, Saul Wold wrote: There is a optional dependency on xattr (and thus the attr package), disable it by default, to ensure it builds correctly. Signed-off-by: Saul Wold --- meta/recipes-devtools/patch/patch_2.7.1.bb |2 ++ 1 file

Re: [OE-core] [PATCH v2] patch: use PACKAGECONFIG to ensure correct dependency for xattr

2013-05-22 Thread Mark Hatle
On 5/21/13 9:14 PM, Saul Wold wrote: This will enable or disable xattr with the correct dependency on attr as needed. Signed-off-by: Saul Wold Looks right. :) Acked-by: Mark Hatle --- meta/recipes-devtools/patch/patch_2.7.1.bb |3 +++ 1 file changed, 3 insertions(+) diff --git a

Re: [OE-core] [PATCH] libpam: fix multilib packaging issue for pam-plugins

2013-05-23 Thread Mark Hatle
we could come up with. (If any of the above should be added to the commit message, the YP bug, or documentation, please let me know and I'll make sure it gets added.) Signed-off-by: Mark Hatle --Mark --- meta/recipes-extended/pam/libpam_1.1.6.bb | 29 + 1 file c

Re: [OE-core] Query for multilib support in Yocto

2013-05-23 Thread Mark Hatle
On 5/23/13 3:46 AM, Luo Zhenhua-B19537 wrote: Hi all, I am trying the multilib feature of Yocto, and I want to make sure if below scenarios are supported, who can help to clarify? Thanks in advance. For standalone toolchain built by "bitbake meta-toolchain" 1. Can the same gcc binary build bot

Re: [OE-core] [PATCH] siteinfo: add existiance check for site config file

2013-05-23 Thread Mark Hatle
On 5/23/13 10:51 AM, Saul Wold wrote: Ignore this patch, I was quick on the draw and did not notice the listdir which means the file is there, Could the issue be that the file -was- there, then we ncurses updated it and now it's no longer there? (or in the process of being written?) I've

[OE-core] gcc 4.8

2013-05-23 Thread Mark Hatle
I found an issue w/ the gcc 4.8 in oe-core as on Monday. Some of my automated build machines are RHEL 5.9 machines. These boxes have a host compiler that does not support -Wno-narrowing and -Wno-overlength-strings. Unfortunately, when building target gcc (via the cross compiler) the system tr

Re: [OE-core] [PATCH] libpam: fix multilib packaging issue for pam-plugins

2013-05-24 Thread Mark Hatle
On 5/24/13 3:52 AM, Paul Eggleton wrote: On Thursday 23 May 2013 09:40:51 Mark Hatle wrote: On 5/23/13 3:01 AM, Ming Liu wrote: libpam might miss ABI specific dependencies for pam-plugins-*, for RPM uses generic names to check the packages depending on it and doesn't consider the arch,

Re: [OE-core] [PATCH 1/1] cracklib: do_compile failed on RHEL5.8 in which glibc version less than 2.9

2013-05-24 Thread Mark Hatle
On 5/24/13 4:56 AM, Hongxu Jia wrote: cracklib invokes C functions `be16toh/be32toh/be64toh/htobe16/htobe32/htobe64' to fix endian issue on multi platform, but these functions are nonstandard which were added to glibc in version 2.9. The do_compile failed while host's glibc version < 2.9, so use

[OE-core] [PATCH] cracklib: Allow byte order patch to work on older Linux hosts

2013-05-24 Thread Mark Hatle
Older hosts don't have the htobe* and be*toh functions defined. Instead we fall back to checking the endian and calling bswap_* directly. This works on both old and new hosts. Signed-off-by: Mark Hatle --- ...c-support-dictionary-byte-order-dependent.patch | 120 +++-- 1

Re: [OE-core] [oe-commits] Mark Hatle : base.bbclass: Deprecate the PRINC logic

2013-05-28 Thread Mark Hatle
://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e1cf564ebc8e7b4fa626a645356f6a4d7f5ba064 Author: Mark Hatle Date: Tue May 21 13:29:03 2013 -0500 base.bbclass: Deprecate the PRINC logic The PRINC logic is now deprecated, the PR server should be used to handle the automatic incrementing of

[OE-core] [RFC PATCH] base.bbclass: Deprecate the PRINC logic

2013-05-29 Thread Mark Hatle
python to increment the PRINC filed. This fails if the base PRINC is not defined. Signed-off-by: Mark Hatle --- meta/classes/base.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index b1642a2..29084a2 100644 --- a/meta/classe

[OE-core] [PATCH 0/21] Misc patch set

2013-05-29 Thread Mark Hatle
The following is a set of patches that I've been merging forward for a while now. Almost all of these items have been sent up previously to the oe-core list, but they have not yet been integrated. As far as I'm aware, all comments to previous submissions have been addressed. _

[OE-core] [PATCH 1/21] libxpm: inherit gettext

2013-05-29 Thread Mark Hatle
From: Jesse Zhang libxpm requires the xgettext command to build. Signed-off-by: Jesse Zhang Signed-off-by: Robert Yang Signed-off-by: Mark Hatle --- meta/recipes-graphics/xorg-lib/libxpm_3.5.10.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib

[OE-core] [PATCH 2/21] Add directory information to the pkgdata files

2013-05-29 Thread Mark Hatle
Add S(ource) and B(uild) directory information to the recipe pkgdata files. This allows external tools to find the appropriate information, and be able to easily access the corresponding sources and build directories. Signed-off-by: Mark Hatle --- meta/classes/package.bbclass | 2 ++ 1 file

[OE-core] [PATCH 3/21] cmake.bbclass: modify construction of compiler flags

2013-05-29 Thread Mark Hatle
From: Joe Slater Use CFLAGS instead of CPPFLAGS for C_FLAGS variants. When debug optimization is enabled in the local.conf, the debug (-O0) vs production (-O2) does not change in the builds. As the CPPFLAGS do not contain the optimization settings. Also the CXX_FLAGS are based on CXXFLAGS, so

[OE-core] [PATCH 4/21] acpid: modify CFLAGS

2013-05-29 Thread Mark Hatle
CFLAGS, we simply define the proper set within the recipe itself. Signed-off-by: Joe Slater Signed-off-by: Jeff Polk Signed-off-by: Mark Hatle --- meta/recipes-bsp/acpid/acpid.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta

[OE-core] [PATCH 5/21] libpam: Avoid wildcards in the SRC_URI

2013-05-29 Thread Mark Hatle
Remove the wildcard from the SRC_URI. This causes problems when you .bbappend and add a FILESEXTRAPATHS entry. The unpack task may be unable to find the files to unpack leading to an error. Avoid wildcards at all costs... Signed-off-by: Jackie Huang Signed-off-by: Mark Hatle --- meta

[OE-core] [PATCH 6/21] util-linux: Add ability to compile with nativesdk

2013-05-29 Thread Mark Hatle
From: Jason Wessel Some of the tools in the util-linux are used for disk and text file operations in the nativesdk so as to get around different versions that may exist on the host system. Signed-off-by: Jason Wessel --- meta/recipes-core/util-linux/util-linux.inc | 5 - meta/recipes-c

[OE-core] [PATCH 7/21] dbus-glib: use BPN instead of PN

2013-05-29 Thread Mark Hatle
From: Jesse Zhang Fix warnings in multilib build: WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/dbus-glib WARNING: /usr/share/dbus-glib/tests Signed-off-by: Jesse Zhang Signed-off-by: Robert Ya

[OE-core] [PATCH 8/21] initscripts: let status return 0 when proc is running well

2013-05-29 Thread Mark Hatle
From: Jesse Zhang Ensure that the status returns 0 instead of the last shell command result, otherwise the calling script can not properly detect the status of pid. Signed-off-by: Jesse Zhang Signed-off-by: Robert Yang --- meta/recipes-core/initscripts/initscripts-1.0/functions | 1 + 1 file

[OE-core] [PATCH 9/21] pull ldlinux.sys and isolinux.bin from correct places

2013-05-29 Thread Mark Hatle
From: Joe Slater ldlinux.sys is used when building an hdd image, and isolinux.bin when building an iso bootimage. In both cases, we want to look in the sysroot for MACHINE, not in the one for the multilib we might be using. Signed-off-by: Joe Slater Signed-off-by: Jason Wessel --- meta/class

[OE-core] [PATCH 10/21] ncurses, busybox, cml1.bbclass: Fix menuconfig display corruption

2013-05-29 Thread Mark Hatle
From: Jason Wessel Previously there was a change to the ncurses compile to make it more like the typical way it was compiled on a host system. This fixed a whole class of host machines, but masked the real underlying problem with the display corruption issues and menuconfig. The corner case tha

[OE-core] [PATCH 11/21] guile: don't search for libreadline in host libdir

2013-05-29 Thread Mark Hatle
From: Jackie Huang Fix the QA warning: WARNING: guile: The compile log indicates that host include and/or library paths were used. Signed-off-by: Jackie Huang Signed-off-by: Robert Yang --- meta/recipes-devtools/guile/guile_2.0.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH 12/21] dpkg-native: Fix native perl path

2013-05-29 Thread Mark Hatle
From: Ming Liu The path to the native perl was incorrect leading to rootfs failures. This patch corrects that problem, it's a complementary fix for commit:04432446. Signed-off-by: Ming Liu --- meta/recipes-devtools/dpkg/dpkg.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recip

[OE-core] [PATCH 13/21] qmake_base.bbclass:add linux-gnun32-oe-g++ to QMAKESPEC

2013-05-29 Thread Mark Hatle
: Randy MacLeod Signed-off-by: Mark Hatle --- meta/classes/qmake_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass index fa1b5f0..52e7fb0 100644 --- a/meta/classes/qmake_base.bbclass +++ b/meta/classes

[OE-core] [PATCH 14/21] portmap: /etc/init.d/portmap restart complains "command not found"

2013-05-29 Thread Mark Hatle
: Mark Hatle --- meta/recipes-connectivity/portmap/portmap/portmap.init | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/meta/recipes-connectivity/portmap/portmap/portmap.init b/meta/recipes-connectivity/portmap/portmap/portmap.init index e46513e..e7031af 100755

[OE-core] [PATCH 15/21] fix libnl two parentheses bugs in lib/cache_mngr.c file

2013-05-29 Thread Mark Hatle
Signed-off-by: Song Li Signed-off-by: Mark Hatle --- ...fix-lib-cache_mngr.c-two-parentheses-bugs.patch | 37 ++ meta/recipes-support/libnl/libnl_3.2.22.bb | 3 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libn

[OE-core] [PATCH 17/21] grep: fix for CVE-2012-5667

2013-05-29 Thread Mark Hatle
From: Ming Liu Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving a long input line that triggers a heap-based buffer overflow. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5667 Signed-off-by: Mi

[OE-core] [PATCH 16/21] bind: add ipv6 support

2013-05-29 Thread Mark Hatle
From: Li Wang Make ipv6 configure dependent on DISTRO_FEATURES. Signed-off-by: Li Wang Signed-off-by: Mark Hatle --- meta/recipes-connectivity/bind/bind_9.8.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bind/bind_9.8.1.bb b/meta/recipes

[OE-core] [PATCH 18/21] Fix problems expanding the IMAGE_INSTALL package groups

2013-05-29 Thread Mark Hatle
tinfo' Signed-off-by: Jason Wessel Signed-off-by: Mark Hatle --- meta/recipes-core/ncurses/ncurses.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 8a81381..584ad46 100644 --- a/meta/recipes-co

[OE-core] [PATCH 19/21] siteinfo.bbclass: Add mips64 common siteinfo

2013-05-29 Thread Mark Hatle
There is no mips64-common file, replace the definition with mips-common. Signed-off-by: Mark Hatle --- meta/classes/siteinfo.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 09f88c6..8705eaa

[OE-core] [PATCH 20/21] cracklib: Allow byte order patch to work on older Linux hosts

2013-05-29 Thread Mark Hatle
Older hosts don't have the htobe* and be*toh functions defined. Instead we fall back to checking the endian and calling bswap_* directly. This works on both old and new hosts. Signed-off-by: Mark Hatle Signed-off-by: Hongxu Jia --- ...c-support-dictionary-byte-order-dependent.patch

[OE-core] [PATCH 21/21] libarchive: Fix build dependencies

2013-05-29 Thread Mark Hatle
x27;t need acl or xattr support for nativesdk. Signed-off-by: Mark Hatle --- meta/recipes-extended/libarchive/libarchive_2.8.5.bb | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb b/meta/recipes-ext

Re: [OE-core] [PATCH 2/21] Add directory information to the pkgdata files

2013-05-29 Thread Mark Hatle
On 5/29/13 10:11 AM, Paul Eggleton wrote: On Wednesday 29 May 2013 10:09:44 Mark Hatle wrote: Add S(ource) and B(uild) directory information to the recipe pkgdata files. This allows external tools to find the appropriate information, and be able to easily access the corresponding sources and

Re: [OE-core] [PATCH 2/21] Add directory information to the pkgdata files

2013-05-29 Thread Mark Hatle
On 5/29/13 10:59 AM, Martin Jansa wrote: On Wed, May 29, 2013 at 10:09:44AM -0500, Mark Hatle wrote: Add S(ource) and B(uild) directory information to the recipe pkgdata files. This allows external tools to find the appropriate information, and be able to easily access the corresponding sources

Re: [OE-core] [PATCH 2/21] Add directory information to the pkgdata files

2013-05-29 Thread Mark Hatle
On 5/29/13 2:59 PM, Phil Blundell wrote: On Wed, 2013-05-29 at 11:30 -0500, Mark Hatle wrote: It's up to the tooling that are using these files to check if the directory exists, if it does not -- then using bitbake -c patch will create it. (even in the sstate-cache case.) I'

[OE-core] [PATCH 9/21 v2] syslinux.bbclass: pull ldlinux.sys and isolinux.bin from correct places

2013-05-29 Thread Mark Hatle
: Mark Hatle --- meta/classes/syslinux.bbclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 501bc6d..2c7ecf6 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass @@ -38,11

[OE-core] [PATCH 15/21 v2] libnl: fix two parentheses bugs in lib/cache_mngr.c file

2013-05-29 Thread Mark Hatle
Signed-off-by: Song Li Signed-off-by: Mark Hatle --- ...fix-lib-cache_mngr.c-two-parentheses-bugs.patch | 37 ++ meta/recipes-support/libnl/libnl_3.2.22.bb | 3 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libn

[OE-core] [PATCH 18/21 v2] ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL

2013-05-29 Thread Mark Hatle
tinfo' Signed-off-by: Jason Wessel Signed-off-by: Mark Hatle --- meta/recipes-core/ncurses/ncurses.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 8a81381..584ad46 100644 --- a/meta/recipes-co

Re: [OE-core] [PATCH 18/21] Fix problems expanding the IMAGE_INSTALL package groups

2013-05-29 Thread Mark Hatle
On 5/29/13 4:10 PM, Richard Purdie wrote: On Wed, 2013-05-29 at 10:10 -0500, Mark Hatle wrote: From: Jason Wessel The ncurses package was generating the following error as a result of not specifing the PACKAGES_DYNAMIC correctly. This error only appear when using the IMAGE_INSTALL list that

Re: [OE-core] [RFC PATCH] base.bbclass: Deprecate the PRINC logic

2013-05-29 Thread Mark Hatle
On 5/29/13 4:24 PM, Richard Purdie wrote: On Wed, 2013-05-29 at 14:00 -0300, Otavio Salvador wrote: On Wed, May 29, 2013 at 11:47 AM, Richard Purdie wrote: On Wed, 2013-05-29 at 16:37 +0200, Martin Jansa wrote: > On Wed, May 29, 2013 at 08:51:36AM -0500, Mark Hatle wr

[OE-core] [PATCH 18/21 v3] ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL

2013-05-29 Thread Mark Hatle
tinfo' The dynamic packages are named using "${PN}-lib%s". So we check for ${PN}-lib* Signed-off-by: Jason Wessel Signed-off-by: Mark Hatle --- meta/recipes-core/ncurses/ncurses.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/

[OE-core] [PATCH 17/21 v2] grep: fix for CVE-2012-5667

2013-05-29 Thread Mark Hatle
: Ming Liu Signed-off-by: Mark Hatle --- .../grep/grep-2.5.1a/grep-CVE-2012-5667.patch | 32 ++ meta/recipes-extended/grep/grep_2.5.1a.bb | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/grep/grep-2.5.1a/grep-CVE

<    3   4   5   6   7   8   9   10   11   12   >