Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.8.0

2017-01-16 Thread Aníbal Limón
On 01/16/2017 10:47 AM, Burton, Ross wrote: > On 16 January 2017 at 16:43, Aníbal Limón > wrote: > >> It's weird, i'll review it, but i don't imagine what is failing >> gobject-introspection because a qemu upgrade. >> > > The g-i build runs largely inside a qemu-user instance (the crash is ins

[OE-core] [PATCH v2 0/5] LTTng, Babeltrace updates

2017-01-16 Thread Nathan Lynch
Update LTTng components and Babeltrace to their latest available tagged stable releases. Changes since v1: * Avoid using install's -D and -t options together in lttng-tools recipe. This doesn't work with versions of coreutils prior to 8.23. Nathan Lynch (5): lttng-ust: don't exclude manual pa

[OE-core] [PATCH v2 5/5] babeltrace: upgrade to 1.5.1

2017-01-16 Thread Nathan Lynch
Signed-off-by: Nathan Lynch --- .../lttng/{babeltrace_1.5.0.bb => babeltrace_1.5.1.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-kernel/lttng/{babeltrace_1.5.0.bb => babeltrace_1.5.1.bb} (81%) diff --git a/meta/recipes-kernel/lttng/babeltrace_

[OE-core] [PATCH v2 4/5] lttng-tools: upgrade to 2.9.3

2017-01-16 Thread Nathan Lynch
Notable recipe changes: * switch to using release tarball * brokensep no longer required * drop upstreamed error.h patch * change do_install_ptest to selectively copy build artifacts to install tree. * use backported patch to address file-rdeps warning Signed-off-by: Nathan Lynch --- .../0001

[OE-core] [PATCH v2 3/5] lttng-modules: upgrade to 2.9.0

2017-01-16 Thread Nathan Lynch
Switch to using release tarballs. Signed-off-by: Nathan Lynch --- .../lttng/{lttng-modules_git.bb => lttng-modules_2.9.0.bb} | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_git.bb => lttng-modules_2.9.0.bb} (84%) diff --git

[OE-core] [PATCH v2 2/5] lttng-ust: upgrade to 2.9.0

2017-01-16 Thread Nathan Lynch
buildhistory-diff says: /usr/lib/liblttng-ust-python-agent.so.0 was removed /usr/lib/liblttng-ust-python-agent.so.0.0.0 was removed This is because prior versions of lttng-ust unconditionally built the Python agent libraries; this was fixed upstream in 21ddb8e ("Only build python lib when age

[OE-core] [PATCH v2 1/5] lttng-ust: don't exclude manual pages from build

2017-01-16 Thread Nathan Lynch
Adding "manpages" to PACKAGECONFIG results in a lttng-ust-doc package with no manpages. Fix the patch we carry to only exclude the examples directory, which seems to have been its original intent anyway. Signed-off-by: Nathan Lynch --- .../recipes-kernel/lttng/lttng-ust/lttng-ust-doc-examples-d

Re: [OE-core] [PATCH][Morty] binutils-2.27.inc: Fix alignment frags for aarch64

2017-01-16 Thread Manjukumar Harthikote Matha
Ping, this has been applied to master Thanks Manju > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Tuesday, November 22, 2016 2:03 PM > To: Manjukumar Harthikote Matha > Cc: Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCH][Morty] b

Re: [OE-core] [PATCH v7] rootfs: Modify RPM installation

2017-01-16 Thread Burton, Ross
On 12 January 2017 at 09:08, David Vincent wrote: > When using a custom RPM data directory instead of the default dir > '/var/lib/rpm', the final image did not contain any of the database > files in the expected location. This commit takes into account the > 'rpmlibdir' variable set into 'rootfs_

Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.8.0

2017-01-16 Thread Burton, Ross
On 16 January 2017 at 16:43, Aníbal Limón wrote: > It's weird, i'll review it, but i don't imagine what is failing > gobject-introspection because a qemu upgrade. > The g-i build runs largely inside a qemu-user instance (the crash is inside qemu). Ross -- __

Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.8.0

2017-01-16 Thread Aníbal Limón
On 01/16/2017 10:36 AM, Burton, Ross wrote: > Looks like this is broken for ppc when building gobject-introspection: It's weird, i'll review it, but i don't imagine what is failing gobject-introspection because a qemu upgrade. Cheers, alimon > > http://errors.yoctoproject.org/Errors/L

Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.8.0

2017-01-16 Thread Burton, Ross
Looks like this is broken for ppc when building gobject-introspection: http://errors.yoctoproject.org/Errors/Latest/Autobuilder/?filter=%20gobject-introspection:%20do_compile&type=failure&page=1 (top seven results in ross/mut2) Ross On 12 January 2017 at 16:19, Aníbal Limón wrote: > Rebased p

[OE-core] [PATCH] python3-pip: fixed dependecy with python3-enum

2017-01-16 Thread Edwin Plauchu
it solved problem of pip's console showing error "module enum not ..." [YOCTO #10904] Signed-off-by: Edwin Plauchu --- meta/recipes-devtools/python/python3-pip_9.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-pip_9.0.1.bb b/meta/recipes-devtools

[OE-core] [PATCH] gstreamer1.0: make libunwind detection deterministic

2017-01-16 Thread Ross Burton
Otherwise libunwind support will be based on the contents of the sysroot, which can cause problems. Signed-off-by: Ross Burton --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 + .../gstreamer1.0/deterministic-unwind.patch| 24 ++ .../gstreamer/gstreamer1.0

[OE-core] [wic][PATCH 14/14] selftest: wic: fix test_iso_image test case

2017-01-16 Thread Ed Bartosh
Added "iso" to IMAGE_FSTYPES to build iso artifacts required to fix test of isoimage-isohybrid wic plugin. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/wic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.

[OE-core] [wic][PATCH 13/14] selftest: stop using hddimg in the wic test suite

2017-01-16 Thread Ed Bartosh
Removed hddimg from IMAGE_FEATURES as wic code doesn't use hddimg anymore. [YOCTO #10835] Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/wic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 82f4206

[OE-core] [wic][PATCH 12/14] isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH

2017-01-16 Thread Ed Bartosh
isoimage-sihybrid plugin uses MACHINE_ARCH to get the name of initrd image. It doesn't work for all machines, for example for quemux86-64 machine MACHINE_ARCH is quemux86_64 and initrd name is core-image-minimal-initramfs-qemux86-64.cpio.gz Used TRANSLATED_TARGET_ARCH variable to get the initrd im

[OE-core] [wic][PATCH 11/14] image-wic: remove HDDDIR from WICVARS

2017-01-16 Thread Ed Bartosh
Removed HDDDIR as it's not used by wic anymore. Stopped usage of HDDDIR in wic test suite. Signed-off-by: Ed Bartosh --- meta/classes/image-wic.bbclass | 2 +- meta/lib/oeqa/selftest/wic.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/image-wic.bbclass b

[OE-core] [wic][PATCH 09/14] wic: use INITRD_LIVE in isoimage-isohybrid

2017-01-16 Thread Ed Bartosh
INITRD variable is not set if hddimg is disabled. isoimage-isohybrid can't get correct name for initrd if INITRD variable is not set. Added INITRD_LIVE to WICVARS and used it in isoimage-isohybrid code to get initrd artifact name. Used INITRD if INITRD_LIVE is not set. Signed-off-by: Ed Bartosh

[OE-core] [wic][PATCH 10/14] wic: isoimage-isohybrid: stop using HDDDIR

2017-01-16 Thread Ed Bartosh
Stop using HDDDIR in isoimage-isohybrid wic plugin. This variable is set by hddimg code, which is going to be removed soon. All required artifacts should be available from ISODIR. wic-image.bbclass has been modified to build iso artifacts, so it should be safe to remove usage of HDDDIR. [YOCTO #1

[OE-core] [wic][PATCH 07/14] wic: use EFI artifacts from $WORKDIR/efi

2017-01-16 Thread Ed Bartosh
Made bootimg-efi to use EFI artifacts from $WORKDIR/efi instead of $HDDDIR. This should eliminate its dependency on hddimg functionality which is going to be removed soon. [YOCTO #10835] Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/bootimg-efi.py | 4 +--- 1 file changed, 1 inse

[OE-core] [wic][PATCH 06/14] systemd-boot: make do_efi_populate depend on do_deploy

2017-01-16 Thread Ed Bartosh
Added dependency do_efi_populate -> systemd-boot:do_deploy to make sure EFI artifacts are depfloyed. Signed-off-by: Ed Bartosh --- meta/classes/systemd-boot.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass index 67

[OE-core] [wic][PATCH 08/14] image-wic: add task do_build_iso

2017-01-16 Thread Ed Bartosh
This task is needed to provide iso artifacts for isoimage-isohybrid wic plugin. Currently this pluing uses hddimg, which is going to be dropped from the codebase soon. [YOCTO #10835] Signed-off-by: Ed Bartosh --- meta/classes/image-wic.bbclass | 9 + 1 file changed, 9 insertions(+) dif

[OE-core] [wic][PATCH 05/14] grub-efi: make do_efi_populate depend on do_deploy

2017-01-16 Thread Ed Bartosh
Added dependency do_efi_populate -> grub-efi:do_deploy to make sure EFI artifacts are depfloyed. Signed-off-by: Ed Bartosh --- meta/classes/grub-efi.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 48b4b34..d00fa6c 10

[OE-core] [wic][PATCH 04/14] image-wic.bbclas: add task do_efi_populate

2017-01-16 Thread Ed Bartosh
Produce EFI artifacts by calling efi_populate function provided by current EFI provider. This should eliminate dependency of wic image-efi plugin to hddimg. Instead of getting EFI artifacts from HDDDIR it can get it from $WORKDIR/efi. [YOCTO #10835] Signed-off-by: Ed Bartosh --- meta/classes/i

[OE-core] [wic][PATCH 03/14] systemd-boot: set default desination dir

2017-01-16 Thread Ed Bartosh
Function efi_populate requires mandatory parameter DESTDIR. It makes it impossible to call this function from python code using bb.build.exec_func as there is no way to pass parameters this way. Set default value of DESTDIR to ${WORKDIR}/efi. This destination will be used in image-wic.bbclass to i

[OE-core] [wic][PATCH 02/14] grub-efi: set default desination dir

2017-01-16 Thread Ed Bartosh
Function efi_populate requires mandatory parameter DESTDIR. It makes it impossible to call this function from python code using bb.build.exec_func as there is no way to pass parameters this way. Set default value of DESTDIR to ${WORKDIR}/efi. This destination will be used in image-wic.bbclass to i

[OE-core] [wic][PATCH 01/14] image-wic: move wic-related code to image-wic

2017-01-16 Thread Ed Bartosh
There is a lot of wic code in image.bbclass and image_types.bbclass Having all code in one place should make it more readable and easier to maintain. Signed-off-by: Ed Bartosh --- meta/classes/image-wic.bbclass | 113 +++ meta/classes/image.bbclass |

[OE-core] [wic][PATCH 00/14] Fix for #10835 - WIC should not rely on hddimg creation for finding all needed artifacts

2017-01-16 Thread Ed Bartosh
Hi, This patchset usage of hddimg from wic codebase due to planned deprecation of hddimg. Wic used hddimg to get 2 types of artifacts - efi and iso artifacts. This dependency is resolved by introducing new tasks to build efi and iso artifacts. This removes dependency to hddimg and also speeds u

[OE-core] [PATCH] extrausers: Use static ids when available

2017-01-16 Thread David Vincent
When creating users at the image level using extrausers class, the current behavior is to ignore the status of USERADDEXTENSION. This could lead to undefined behavior when static ids are expected but the system falls back to dynamic ones. Signed-off-by: David Vincent --- meta/classes/extrausers.

[OE-core] [PATCH 28/30] qemu: Consolidate EXTRA_OECONF

2017-01-16 Thread Nathan Rossi
Consolidate the configure options into the EXTRA_OECONF variable, including merging any native specific options. Also move the options specified in the do_configure into the EXTRA_OECONF variable. And flesh out all the target directories. Signed-off-by: Nathan Rossi --- meta/recipes-devtools/qe

[OE-core] [PATCH 29/30] qemu: Convert KVMOPTS to PACKAGECONFIG

2017-01-16 Thread Nathan Rossi
Move the KVMOPTS configuration checks and option setting to a PACKAGECONFIG option. This also changes the checking of KVM support on the host build machine so that it is processed as a PACKAGECONFIG _remove for class-native only. The darwin/mingw32 overrides are kept and applied as _remove overrid

[OE-core] [PATCH 26/30] libgcrypt.inc: Handle packaging of .exe files

2017-01-16 Thread Nathan Rossi
Use a wildcard to handle packaging of .exe for the hmac/dumpexp packages. Also add the packaging of mpicalc* to the -dev package. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgcrypt/libgcrypt.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-supp

[OE-core] [PATCH 30/30] qemu: Move recipe version specific patches and features to recipe

2017-01-16 Thread Nathan Rossi
Move all the version specific patches, overrides and configuration that are in qemu.inc to the versioned QEMU recipe. This includes moving patches that target the versioned recipe as well as ptest configuration (which is not available in QEMU by default) and well and the installing of the powerpc_

[OE-core] [PATCH 27/30] qemu: Improve and add PACKAGECONFIG options

2017-01-16 Thread Nathan Rossi
Move the '--disable-bluez' and '--disable-iscsi' options to PACKAGECONFIG. Fix up the 'gcrypt' option to depend on 'libgcrypt' instead of gcrypt. This is the expected dependency as noted in the QEMU configure help. Handle the '--audio-drv-list' option inside the PACKAGECONFIG[alsa] args. The prev

Re: [OE-core] [PATCH 1/2] perf: use PACKAGECONFIG instead of hand-rolled logic

2017-01-16 Thread Bruce Ashfield
On 2017-01-16 8:44 AM, Ross Burton wrote: PERF_FEATURES_ENABLE and perf_feature_enabled() was basically a poor man's clone of PACKAGECONFIG, without the automatic handling of dependencies and configure options. I think some of the parts pre-dated packageconfig capabilities, but yah, something t

Re: [OE-core] [PATCH 2/2] perf: add PACKAGECONFIG for systemtap

2017-01-16 Thread Bruce Ashfield
On 2017-01-16 8:44 AM, Ross Burton wrote: Otherwise it's possible to race with systemtap headers being present during the autodetection and disappearing during the build: tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory #include ^ Signed-off-by: Ross B

[OE-core] [PATCH 21/30] libgcrypt.inc: Enable nativesdk

2017-01-16 Thread Nathan Rossi
Enable nativesdk on this recipe. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgcrypt/libgcrypt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc index 15805cd436..c8a4862

[OE-core] [PATCH 25/30] libgcrypt.inc: Enable use of binconfig

2017-01-16 Thread Nathan Rossi
Due to pkg-config support for libgcrypt being un-available for upstream libgcrypt, some packages that depend on libgcrypt rely on the use of libgcrypt-config (e.g. QEMU). Signed-off-by: Nathan Rossi --- meta/recipes-support/libgcrypt/libgcrypt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[OE-core] [PATCH 24/30] libgcrypt.inc: Add patch to resolve configure bug for mingw32

2017-01-16 Thread Nathan Rossi
Resolve bug with the generation of the versioninfo.rc file which depends on the BUILD_REVISION being set during configure. The BUILD_REVISION is unset when building against tarball source due to no git repository information. This patch sets the BUILD_REVISION to 0 when no information is available.

[OE-core] [PATCH 22/30] libgcrypt.inc: Add PACKAGECONFIG for 'capabilities' and 'asm'

2017-01-16 Thread Nathan Rossi
Add PACKAGECONFIG options for 'capabilities' and 'asm'. The 'capabilities' option implies the libcap dependency. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgcrypt/libgcrypt.inc | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/libgcrypt/

[OE-core] [PATCH 23/30] libgcrypt.inc: Disable 'capabilities' for mingw32

2017-01-16 Thread Nathan Rossi
libcap does not support mingw32, so disable 'capabilities' support for the mingw32 targets. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgcrypt/libgcrypt.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcr

[OE-core] [PATCH 20/30] libgpg-error_1.25.bb: Handle packaging .exe files

2017-01-16 Thread Nathan Rossi
Handle packaging gpg-error.exe in the -dev package. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgpg-error/libgpg-error_1.25.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.25.bb b/meta/recipes-support/libgpg-err

[OE-core] [PATCH 19/30] libgpg-error_1.25.bb: Don't replace the syscfg header for mingw32

2017-01-16 Thread Nathan Rossi
For mingw32 targets do not attempt to replace the syscfg/lock-obj-pub.*.h as for mingw32 there are no arch specific headers that are included in the libgpg-error source. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgpg-error/libgpg-error_1.25.bb | 11 --- 1 file changed, 8 ins

[OE-core] [PATCH 18/30] libgpg-error_1.25.bb: Add patch to resolve configure bug for mingw32

2017-01-16 Thread Nathan Rossi
Resolve bug with the generation of the versioninfo.rc file which depends on the BUILD_REVISION being set during configure. The BUILD_REVISION is unset when building against tarball source due to no git repository information. This patch sets the BUILD_REVISION to 0 when no information is available.

[OE-core] [PATCH 17/30] libgpg-error_1.25.bb: Enable nativesdk

2017-01-16 Thread Nathan Rossi
Enable nativesdk on this recipe. Signed-off-by: Nathan Rossi --- meta/recipes-support/libgpg-error/libgpg-error_1.25.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.25.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.2

[OE-core] [PATCH 15/30] glib-2.0/glib.inc: If 'charset.alias' exists drop it

2017-01-16 Thread Nathan Rossi
Delete the 'charset.alias' file during the do_install task if it exists. This file is not shipped in any packages and on the targets that it is generated (musl and mingw32) it is undesired. Signed-off-by: Nathan Rossi --- meta/recipes-core/glib-2.0/glib.inc | 8 1 file changed, 4 insert

[OE-core] [PATCH 16/30] glib-2.0/glib.inc: Handle packaging .dll and .exe files for mingw32

2017-01-16 Thread Nathan Rossi
Handle the packaging of .dll files into the ${PN} package, this is required due to the mingw/windows convention where .dll's are shipped in the bindir. Wildcard the suffix of '*gio-querymodules' so that the .exe versions are also included in the ${PN} package. Also handle the packaging of only .e

[OE-core] [PATCH 14/30] glib-2.0/glib.inc: Only apply MLPREFIX renaming to class-target

2017-01-16 Thread Nathan Rossi
When renaming the 'gio-querymodules' binary to prefix with the current MLPREFIX, only do this for target packages where the MLPREFIX makes sense. This skips renaming for nativesdk targets which have MLPREFIX set to 'nativesdk-'. Signed-off-by: Nathan Rossi --- meta/recipes-core/glib-2.0/glib.inc

[OE-core] [PATCH 13/30] glib-2.0/glib.inc: Disable libmount support for mingw32 targets

2017-01-16 Thread Nathan Rossi
MinGW/Windows does not have support for libmount, so disable it when targeting mingw32. Signed-off-by: Nathan Rossi --- meta/recipes-core/glib-2.0/glib.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index cb6ac

[OE-core] [PATCH 12/30] libsdl_1.2.15.bb: Add 'stdio-redirect' PACKAGECONFIG

2017-01-16 Thread Nathan Rossi
Add a PACKAGECONFIG for 'stdio-redirect'. This configure option enables/disables the Windows only option for redirecting the stdout/stderr to files instead of to the console. Signed-off-by: Nathan Rossi --- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 1 + 1 file changed, 1 insertion(+) diff

[OE-core] [PATCH 11/30] libsdl_1.2.15.bb: Add 'directx' PACKAGECONFIG

2017-01-16 Thread Nathan Rossi
Add the 'directx' PACKAGECONFIG to configure whether to build with DirectX support. By default this is enabled (when targeting mingw32/windows) however this requires the DirectX libraries in order to include and link against. Signed-off-by: Nathan Rossi --- meta/recipes-graphics/libsdl/libsdl_1.

[OE-core] [PATCH 9/30] gettext_0.19.8.1.bb: Add 'gettext-libintl' package

2017-01-16 Thread Nathan Rossi
Add a package called 'gettext-libintl' which ships the libintl shared objects (.so/.dll). This allows for the library to be shipped without the additional components included in the gettext-runtime package. This packages is prefixed with 'gettext-' to define the source of the library due to the ex

[OE-core] [PATCH 10/30] libsdl_1.2.16.bb: Disable x11 for nativesdk mingw32

2017-01-16 Thread Nathan Rossi
Disable X11 support when building for the nativesdk mingw32. Signed-off-by: Nathan Rossi --- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index 9c0e

[OE-core] [PATCH 8/30] gettext_0.19.8.1.bb: Handle packaging .dll's for mingw32

2017-01-16 Thread Nathan Rossi
Package the libgettext*.dll files in their respective packages. Signed-off-by: Nathan Rossi --- meta/recipes-core/gettext/gettext_0.19.8.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext

[OE-core] [PATCH 7/30] gettext_0.19.8.1.bb: Fix shared building of gettext for mingw32

2017-01-16 Thread Nathan Rossi
Fix building of shared gettext for i686/32-bit mingw32. This adds a patch which fixes an issue with gnulib that is included in gettext. This patch does not need to be submitted upstream as it is fixing an issue with the included version of gnulib. Upstream gnulib has already fixed this issue and u

[OE-core] [PATCH 6/30] libpcre_8.39.bb: Handle shipping .exe and .dll files for mingw32

2017-01-16 Thread Nathan Rossi
Package the .dll and .exe files into their expected packages. Signed-off-by: Nathan Rossi --- meta/recipes-support/libpcre/libpcre_8.39.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/libpcre/libpcre_8.39.bb b/meta/recipes-support/libpcre/libp

[OE-core] [PATCH 5/30] bitbake.conf: Override FILES_${PN}-bin for mingw32

2017-01-16 Thread Nathan Rossi
On MinGW32 targets (aka Windows) it is convention to have DLLs in bindir along side the executables. This is due to how Windows does not have a bindir/libdir separation and thus cannot handle dynamic loading in the same way as other targets (e.g. glibc). To avoid grouping anything other that .exe f

[OE-core] [PATCH 2/30] update-alternatives.bbclass: Disable for mingw32 targets

2017-01-16 Thread Nathan Rossi
When building for mingw32 targets (e.g. nativesdk cross compiling for windows), disable the dependency on update-alternatives as the Windows platform does not support symlinks or package management. This avoids the complex (partly non-buildable for mingw32) dependency chain virtual/update-alternat

[OE-core] [PATCH 4/30] bitbake.conf: Add '${libdir}/*.def' to FILES_${PN}-dev defaults

2017-01-16 Thread Nathan Rossi
The *.def files that are populated in ${libdir} define the list of exported functions for Windows DLLs. Whilst *.def files exist for other formats they are not shipped in the ${libdir}. Signed-off-by: Nathan Rossi --- meta/conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[OE-core] [PATCH 3/30] package.bbclass: Add SHLIB detection support for mingw targets

2017-01-16 Thread Nathan Rossi
Add support to detect dll files as shared objects as well as process Windows .dll and .exe files to determine the runtime libraries dependencies. This implementation is sufficient to detect and map runtime library dependencies between packages. And does not implement any version naming conventions

[OE-core] [PATCH 1/30] gcc-configure-common.inc: Change 'initfini-array' to PACKAGECONFIG

2017-01-16 Thread Nathan Rossi
Change the '--enable-initfini-array' default config to a PACKAGECONFIG so that it can be disabled (e.g. for mingw32). The 'initfini-array' option works only for Linux so disable it for mingw32. Otherwise eventually the build will encounter errors like (gcc-crosssdk): multiple definition of `_

[OE-core] [PATCH 0/30] Adding support for building QEMU for Windows (with meta-mingw)

2017-01-16 Thread Nathan Rossi
This series is paired with a series that is sent for the meta-mingw layer. That series depends on changes in this series and vice-versa. The following series is a number of patches to improve mingw32 support both in oe-core itself as well as for individual recipes. The goal is to enable the buildi

[OE-core] [PATCH 1/2] perf: use PACKAGECONFIG instead of hand-rolled logic

2017-01-16 Thread Ross Burton
PERF_FEATURES_ENABLE and perf_feature_enabled() was basically a poor man's clone of PACKAGECONFIG, without the automatic handling of dependencies and configure options. As part of the port to PACKAGECONFIG the options have been changed to remove the perf- prefix, but are otherwise unchanged. Also

[OE-core] [PATCH 2/2] perf: add PACKAGECONFIG for systemtap

2017-01-16 Thread Ross Burton
Otherwise it's possible to race with systemtap headers being present during the autodetection and disappearing during the build: tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory #include ^ Signed-off-by: Ross Burton Signed-off-by: Ross Burton --- met

Re: [OE-core] [PATCH 1/1] image.bbclass: reactivate do_fetch, do_unpack and do_patch

2017-01-16 Thread Geoffrey Levillain
On 03/01/2017 14:23, Geoffrey Levillain wrote : On 03/01/2017 12:49, Richard Purdie wrote : On Tue, 2017-01-03 at 12:12 +0100, Geoffrey Levillain wrote: Running fetch/unpack/patch can be used to get some image-specific configurations files to apply with a function in the ROOTFS_POSTPROCESS_COMM

[OE-core] [PATCH] wic: partitionedfs: account for non-table partitions when checking if logical parititon is needed

2017-01-16 Thread Maciej Borzecki
Commit 8c1c43b7901a9fcd8b279eb4250b08157ad345b7 `wic: Create a logical partition only when it is really mandatory` did not account for partitions that are not present in partition table. Signed-off-by: Maciej Borzecki --- scripts/lib/wic/utils/partitionedfs.py | 3 ++- 1 file changed, 2 insertio

Re: [OE-core] [PATCH 1/2] ccache: enable max size setup for ccache dir

2017-01-16 Thread Yannick GICQUEL
2017-01-13 15:43 GMT+01:00 Burton, Ross : > > On 13 January 2017 at 14:23, Yannick Gicquel > wrote: >> >> +def init_ccache(): >> +# dummy python version >> +return >> + >> +init_ccache() { >> +if [ -n "${CCACHE}" ]; then >> +${CCACHE} -M ${CCACHE_MAX_SIZE} >> +fi >> +} >> +

Re: [OE-core] [PATCH v4 2/2] selftest/wic: Add tests for --exclude-dir option.

2017-01-16 Thread Kristian Amlie
On 29/12/16 15:03, Kristian Amlie wrote: > Rebased patchset, otherwise identical to the last one: > > * Removed e2tools recipe. > * Switched to using 'debugfs' instead of 'e2ls' in selftest. Is anything missing here? Would be nice to get this done so I can start on the do_image part of this. --