Re: [OE-core] waf.bbclass does not clean up properly

2014-09-22 Thread Burton, Ross
On 21 September 2014 08:35, Carlos Rafael Giani wrote: > is there a reason why the waf bbclass does not call "./waf distclean" in a > do_clean() function? > As a result, the out-of-tree build directory is around even after performing > a bitbake -c clean or bitbake -c cleansstate call. It sounds

[OE-core] [PATCH] oeqa/selftest: Added decorators to buildoptions.py

2014-09-22 Thread Lucian Musat
Signed-off-by: Lucian Musat --- meta/lib/oeqa/selftest/buildoptions.py | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index ec541e5..a250cae 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/met

Re: [OE-core] internal compiler error while building valgrind ptest

2014-09-22 Thread Burton, Ross
On 21 September 2014 09:01, Carlos Rafael Giani wrote: > /home/build/OE/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed_float_VFP.c:147:3: > warning: dereferencing type-punned pointer will break strict-aliasing rules > [-Wstrict

[OE-core] [PATCH 1/9] wic: minor comment update

2014-09-22 Thread Maciej Borzecki
Update comment about types of generated partition images. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- scripts/lib/wic/kickstart/custom_commands/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/kickstart/custom_commands/partit

[OE-core] [PATCH 3/9] wic: fix vfat partition sector count only if needed

2014-09-22 Thread Maciej Borzecki
VFAT rootfs partitions sector count would get updated always even if there is no need. Since parition size in wic is expressed in MB, any sub MB change will cause the generated partition image to be larger than allocated space within the disk image. Fortunately, partitions sized in MB will most of

[OE-core] [Patch 0/9]: support for generating SD images from wic

2014-09-22 Thread Maciej Borzecki
This patch series is a proposal that adds support for generating SD card images for embedded boards using wic. I did not want to cross post to meta-ti and meta-freescale so Denys and Otavio are added in CC. I would be glad to receive some feedback from you. So far, the 2 most common scenarios I've

[OE-core] [PATCH 2/9] wic: use IMAGE_EXTRA_SPACE for vfat rootfs

2014-09-22 Thread Maciej Borzecki
Functions for generating rootfs use IMAGE_EXTRA_SPACE rather than BOOTDD_EXTRA_SPACE. The latter is used in boot image source plugins. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- scripts/lib/wic/kickstart/custom_commands/partition.py | 4 ++-- 1 file changed, 2 insertions(

[OE-core] [PATCH 5/9] ref-manual: document IMAGE_BOOT_FILES

2014-09-22 Thread Maciej Borzecki
Document IMAGE_BOOT_FILES variable. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- documentation/ref-manual/ref-variables.xml | 18 ++ 1 file changed, 18 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-var

[OE-core] [PATCH 7/9] wic: add new bootimg-partition plugin

2014-09-22 Thread Maciej Borzecki
This patch implements 'bootimg-partition source plugin class for 'wic'. The plugin creates an image of boot partition, copying over files listed in IMAGE_BOOT_FILES bitbake variable. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- .../lib/wic/plugins/source/bootimg-partition.p

[OE-core] [PATCH 4/9] wic: set bootimg_dir when using image-name artifacts

2014-09-22 Thread Maciej Borzecki
Running wic with -e to use artifacts from a named image, bootimg_dir was always passed as empty string to partition source plugins. The patch sets bootimg_dir to current value of DEPLOY_DIR_IMAGE, as bootloader artifacts end up in that location as well. Signed-off-by: Maciej Borzecki Signed-off-b

[OE-core] [PATCH 8/9] wic: add sdimage-bootpart kickstart file

2014-09-22 Thread Maciej Borzecki
Add kickstart for generating a SD card image that should cover most use case scenarios. The layout is as follows: - 16MB vfat partition that IMAGE_BOOT_FILES will be copied to, 4k alignment - ext4 rootfs, 4k alignment Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- scripts/l

[OE-core] [PATCH 9/9] beaglebone.conf: add IMAGE_BOOT_FILES

2014-09-22 Thread Maciej Borzecki
Set IMAGE_BOOT_FILES to list of files that end up in boot partition. This in turn is used by wic to generate a bootable SD card image. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 ++ 1 file changed, 2 insertions(+) diff --gi

[OE-core] [PATCH 6/9] documentation.conf: document IMAGE_BOOT_FILES

2014-09-22 Thread Maciej Borzecki
Document IMAGE_BOOT_FILES variable. Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki --- meta/conf/documentation.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index dd55685..66ec093 100644 --- a/meta/conf/docume

Re: [OE-core] [PATCH 2/2] gnupg: add pinentry RDEPENDS

2014-09-22 Thread Paul Barker
On Mon, Sep 22, 2014 at 08:23:01AM +0800, Rongqing Li wrote: > > > On 09/19/2014 11:08 PM, Burton, Ross wrote: > >On 19 September 2014 07:49, wrote: > >>gnupg needs pinentry to run > > > >Isn't this only needed if the agent is enabled? > > > >Ross > > > > > > > No, gnupg 2.x.x always need it;

[OE-core] [PATCH] libpng 1.6.13: fix build for aarch64

2014-09-22 Thread Koen Kooi
The configure override was too restrictive, it needed both 'arm' and 'neon' to trigger, which breaks on aarch64. Since TUNE_FEATURES is the only qualifier that matters, drop the 'arm' override. Buildtested for 'genericarmv8' and 'qemux86' machines. Signed-off-by: Koen Kooi --- meta/recipes-mu

[OE-core] ?Regression? Removed linker symbolic link

2014-09-22 Thread Ricardo Ribalda Delgado
Hello On my distribution I have a couple of binary packages (java and fglrx) that expect the dynamic linker on /lib64/ld-linux-x86-64.so.2 Therefore I have added a dummy package that justs creates a link on /lib/ld-linux-x86-64.so.2 and make both packages depend on this. This was working ok, but

Re: [OE-core] [PATCH 2/2] gnupg: add pinentry RDEPENDS

2014-09-22 Thread Burton, Ross
On 22 September 2014 13:00, Paul Barker wrote: >> You also need the Pinentry package for most function of GnuPG; however >> it is not a build requirement. Pinentry is available at >> ftp://ftp.gnupg.org/gcrypt/pinentry/ . >> > > There are some uses of gnupg which never need pinentry. For example,

Re: [OE-core] [PATCH 5/9] ref-manual: document IMAGE_BOOT_FILES

2014-09-22 Thread Alexandre Belloni
Hi, On 22/09/2014 at 13:35:17 +0200, Maciej Borzecki wrote : > Document IMAGE_BOOT_FILES variable. > > Signed-off-by: Maciej Borzecki > Signed-off-by: Maciek Borzecki > --- > documentation/ref-manual/ref-variables.xml | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git

Re: [OE-core] [Patch 0/9]: support for generating SD images from wic

2014-09-22 Thread Alexandre Belloni
Hi, On 22/09/2014 at 13:35:12 +0200, Maciej Borzecki wrote : > This patch series is a proposal that adds support for generating SD > card images for embedded boards using wic. I did not want to cross > post to meta-ti and meta-freescale so Denys and Otavio are added in > CC. I would be glad to rec

Re: [OE-core] [PATCH] Phoronix Test Suite package

2014-09-22 Thread Otavio Salvador
On Fri, Sep 19, 2014 at 9:05 PM, Todd E Brandt < todd.e.bra...@linux.intel.com> wrote: > On Sat, Sep 20, 2014 at 12:03:43AM +0100, Burton, Ross wrote: > > On 19 September 2014 23:44, Todd E Brandt > wrote: > > > This is the package recipe for the phoronix test suite v5.2.1. The > > > tool is for

Re: [OE-core] [RFC] kernel: Enable externalsrc on kernels which instantiate kernel.bbclass

2014-09-22 Thread Paul Eggleton
On Thursday 06 February 2014 02:05:05 Khem Raj wrote: > This also make a change where for kernel > S != B, this is done because when S = B > and we use O= option or set KBUILD_OUTPUT > to point to objectdir, kernel build system > ends up denoting itself dirty and asking for > running mrproper durin

Re: [OE-core] [RFC] kernel: Enable externalsrc on kernels which instantiate kernel.bbclass

2014-09-22 Thread Bruce Ashfield
On 14-09-22 11:24 AM, Paul Eggleton wrote: On Thursday 06 February 2014 02:05:05 Khem Raj wrote: This also make a change where for kernel S != B, this is done because when S = B and we use O= option or set KBUILD_OUTPUT to point to objectdir, kernel build system ends up denoting itself dirty and

Re: [OE-core] [PATCH 9/9] perf: disable libunwind support for aarch64

2014-09-22 Thread Fathi Boudra
On 19 September 2014 12:21, Kai Kang wrote: > Disable libunwind support of perl for aarch aarch64 that libunwind > doesn't support aarch64. typo: perl -> perf aarch -> arch Otherwise, the patch doesn't seems correct. libunwind supports aarch64 since libunwind 1.1 (you need to build with --enable

Re: [OE-core] [RFC] kernel: Enable externalsrc on kernels which instantiate kernel.bbclass

2014-09-22 Thread Khem Raj
On Mon, Sep 22, 2014 at 8:27 AM, Bruce Ashfield wrote: > But the reports we've been getting have been that externalsrc > builds are working for kernels, and linux-yocto without the change > in place, so I'm looking to reduce the patch footprint and re-submit. no, it cant work if folks were trying

Re: [OE-core] [RFC] kernel: Enable externalsrc on kernels which instantiate kernel.bbclass

2014-09-22 Thread Bruce Ashfield
On 14-09-22 01:03 PM, Khem Raj wrote: On Mon, Sep 22, 2014 at 8:27 AM, Bruce Ashfield wrote: But the reports we've been getting have been that externalsrc builds are working for kernels, and linux-yocto without the change in place, so I'm looking to reduce the patch footprint and re-submit. n

[OE-core] OE Changelog since 2014-09-14 until 2014-09-21

2014-09-22 Thread cliff . brake
Changelog since 2014-09-14 until 2014-09-21. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distr

Re: [OE-core] [PATCH 2/2] gnupg: add pinentry RDEPENDS

2014-09-22 Thread Rongqing Li
On 09/22/2014 08:00 PM, Paul Barker wrote: On Mon, Sep 22, 2014 at 08:23:01AM +0800, Rongqing Li wrote: On 09/19/2014 11:08 PM, Burton, Ross wrote: On 19 September 2014 07:49, wrote: gnupg needs pinentry to run Isn't this only needed if the agent is enabled? Ross No, gnupg 2.x.x

[OE-core] [PATCH v2] gnupg: add pinentry into RRECOMMENDS

2014-09-22 Thread rongqing.li
From: Roy Li Pinentry is needed for most function of GnuPG, so add it into RRECOMMENDS Signed-off-by: Roy Li --- meta/recipes-support/gnupg/gnupg_2.0.26.bb |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/gnupg/gnupg_2.0.26.bb b/meta/recipes-support/gnupg/gnupg_2.0.

[OE-core] Python Large File System Support

2014-09-22 Thread Ong, Boon Leong
Dear all, Based on https://docs.python.org/2/library/posix.html, in order to support LFS in python, there is a special CFLAGS "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" needed. I did a search around meta/recipes-devtool/python found many recipes files. So, I am reaching out to expert in

[OE-core] [PATCH 0/1] ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed

2014-09-22 Thread Robert Yang
The following changes since commit e72aac2ae9e5fce1715fa04b7e94034fd06892d9: alsa-lib: libasound should runtime depends on alsa-conf (2014-09-03 11:30:11 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ncurses http://cgit.openembedd

[OE-core] [PATCH 1/1] ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed

2014-09-22 Thread Robert Yang
Fixed ncurses.do_configure: configure: WARNING: did not find library /path/to/tmp/sysroots/qemuarm/usr/lib/pkgconfig And then anyone requires ncurses.pc will fail. The configure.in checks: [snip] if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then [snip] Create PKG_CONFIG_LIB

Re: [OE-core] [PATCH 9/9] perf: disable libunwind support for aarch64

2014-09-22 Thread Kang Kai
On 2014年09月23日 00:01, Fathi Boudra wrote: On 19 September 2014 12:21, Kai Kang wrote: Disable libunwind support of perl for aarch aarch64 that libunwind doesn't support aarch64. typo: perl -> perf aarch -> arch Otherwise, the patch doesn't seems correct. libunwind supports aarch64 since libun