Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: [PATCH] gstreamer1.0: Upgrade to 1.10.1
From: Khem Raj @ 2016-11-30 21:47 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LYHeb28My6Ek5wBr-dv8budpprpXwZ84T5TYqW_Uj3SFQ@mail.gmail.com>


> On Nov 30, 2016, at 7:17 AM, Burton, Ross <ross.burton@intel.com> wrote:
> 
> Breaks if built from a empty sysroot with wayland enabled:
> 
> gst-plugins-bad:
> | make[3]: *** No rule to make target 'viewporter-protocol.c', needed by 'all'.  Stop.
> 

I am not able to reproduce it however I have added a dep on wayland-protocols 

> Also rtsp-server gains various runtime dependencies on util-linux, can you verify that these are expected and in the depends?

I did a clean build of util-linux and then rtsp-server it reported no missing build time deps 
I am doing it for raspberrypi, how do you reproduce it.

> 
> Ross



^ permalink raw reply

* [PATCH 1/1] parselogs: Whitelist GPT warnings as the device is fully functional
From: Jair Gonzalez @ 2016-11-30 20:43 UTC (permalink / raw)
  To: openembedded-core

The warning occurs when the GPT image is not the same size than the
media into which it's being flashed, causing the backup GPT table
not being at the end of the disk. However, this is expected as the
image is created before having the information about the destination
media. The error is harmless, so it will be whitelisted.

Fixes [YOCTO 10481].

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
---
 meta/lib/oeqa/runtime/parselogs.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 58f62da..8d396f8 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -43,6 +43,7 @@ common_errors = [
     "controller can't do DEVSLP, turning off",
     "stmmac_dvr_probe: warning: cannot get CSR clock",
     "error: couldn\'t mount because of unsupported optional features",
+    "GPT: Use GNU Parted to correct GPT errors",
     ]
 
 video_related = [
@@ -69,7 +70,7 @@ qemux86_common = [
     'tsc: HPET/PMTIMER calibration failed',
 ] + common_errors
 
-ignore_errors = { 
+ignore_errors = {
     'default' : common_errors,
     'qemux86' : [
         'Failed to access perfctr msr (MSR',
@@ -201,7 +202,7 @@ class ParseLogsTest(oeRuntimeTest):
         hwi += "*******************************\n"
         return hwi
 
-    #go through the log locations provided and if it's a folder create a list with all the .log files in it, if it's a file just add 
+    #go through the log locations provided and if it's a folder create a list with all the .log files in it, if it's a file just add
     #it to that list
     def getLogList(self, log_locations):
         logs = []
-- 
2.7.4



^ permalink raw reply related

* [PATCH v3] python3-setuptools: upgrade to 29.0.1
From: Edwin Plauchu @ 2016-11-30 20:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Edwin Plauchu

From: Edwin Plauchu <edwin.plauchu.camacho@intel.com>

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
---
 meta/recipes-devtools/python/python-setuptools.inc                    | 4 ++--
 .../{python-setuptools_28.8.0.bb => python-setuptools_29.0.1.bb}      | 0
 .../{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb}    | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python-setuptools_28.8.0.bb => python-setuptools_29.0.1.bb} (100%)
 rename meta/recipes-devtools/python/{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index d3eef13..e76484a 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42"
-SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61"
+SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324"
+SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python-setuptools_28.8.0.bb
rename to meta/recipes-devtools/python/python-setuptools_29.0.1.bb
diff --git a/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-setuptools_28.8.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
-- 
2.9.3



^ permalink raw reply related

* Re: [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.
From: Paul Eggleton @ 2016-11-30 19:29 UTC (permalink / raw)
  To: openembedded-core, ed.bartosh
In-Reply-To: <20161130152923.GA4811@linux.intel.com>

On Wed, 30 Nov 2016 17:29:23 Ed Bartosh wrote:
> On Wed, Nov 30, 2016 at 02:30:12PM +0100, Kristian Amlie wrote:
> > In the interest of saving me some build time, am I correct in assuming
> > that I need the "qemux86-64" MACHINE target for this to work? It appears
> > to be dependent on syslinux which has COMPATIBLE_HOSTS set to non-arm
> > only. Sorry, I'm a bit new to this framework.
> 
> You're right. oe-selftest requires qemux86-64 target.

That's definitely not a design decision of oe-selftest. If we have certain 
tests that can only work with a particular configuration, those tests need to 
be explicitly skipped if that configuration is not active.

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply

* [PATCH 1/2] bash: use update-alternatives for the bash binary
From: Andreas Oberritter @ 2016-11-30 18:50 UTC (permalink / raw)
  To: openembedded-core

Busybox may offer a bash applet. If enabled, the alternatives mechanism
avoids breaking logins if bash gets deinstalled while /bin/bash is configured
as a login shell.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-extended/bash/bash.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 1d08526..a05b987 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -14,9 +14,11 @@ EXTRA_OECONF = "--enable-job-control --without-bash-malloc"
 # This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137.
 CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS"
 
-ALTERNATIVE_${PN} = "sh"
+ALTERNATIVE_${PN} = "bash sh"
+ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash"
+ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash"
 ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
-ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash"
+ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash.${BPN}"
 ALTERNATIVE_PRIORITY = "100"
 
 RDEPENDS_${PN} += "base-files"
-- 
2.7.4



^ permalink raw reply related

* [PATCH 2/2] util-linux: create own package for lsblk
From: Andreas Oberritter @ 2016-11-30 18:50 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <1480531827-11799-1-git-send-email-obi@opendreambox.org>

Let util-linux-bash-completion depend on it, because it uses it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-core/util-linux/util-linux.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 70cba6b..ae85fd1 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -30,7 +30,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
              util-linux-swaponoff util-linux-losetup util-linux-umount \
              util-linux-mount util-linux-readprofile util-linux-uuidd \
              util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \
-             util-linux-mkfs util-linux-mcookie util-linux-reset \
+             util-linux-mkfs util-linux-mcookie util-linux-reset util-linux-lsblk \
              util-linux-mkfs.cramfs util-linux-fsck.cramfs util-linux-fstrim \
              util-linux-partx util-linux-hwclock util-linux-mountpoint \
              util-linux-findfs util-linux-getopt util-linux-sulogin util-linux-prlimit"
@@ -95,6 +95,7 @@ FILES_util-linux-prlimit = "${bindir}/prlimit"
 FILES_util-linux-pylibmount = "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so \
                                ${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.* \
                                ${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__/*"
+FILES_util-linux-lsblk = "${bindir}/lsblk"
 FILES_util-linux-lscpu = "${bindir}/lscpu"
 
 FILES_util-linux-fsck = "${base_sbindir}/fsck*"
@@ -116,7 +117,7 @@ RDEPENDS_util-linux-reset += "ncurses"
 
 RDEPENDS_util-linux-runuser += "libpam"
 
-RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin"
+RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk"
 RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser', '', d)}"
 
 RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs util-linux-mountpoint util-linux-prlimit"
@@ -285,6 +286,7 @@ python populate_packages_prepend() {
                       extra_depends='', prepend=True, allow_links=True)
 }
 
+RDEPENDS_${PN}-bash-completion += "util-linux-lsblk"
 RDEPENDS_${PN}-ptest = "bash grep coreutils"
 
 do_compile_ptest() {
-- 
2.7.4



^ permalink raw reply related

* [PATCH v3 2/2] gummiboot: Remove old gummiboot recipe, related class and wks file
From: Alejandro Hernandez @ 2016-11-30 18:00 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <20161130180043.2242-1-alejandro.hernandez@linux.intel.com>

Since the gummiboot project is no longer being maintained
and we are using systemd-boot as a replacement instead,
we can now clean up all remaining gummiboot files.

[YOCTO #10332]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
---
 meta/classes/gummiboot.bbclass                     | 121 ---------------------
 ...-C-syntax-errors-for-function-declaration.patch |  74 -------------
 .../gummiboot/gummiboot/fix-objcopy.patch          |  45 --------
 meta/recipes-bsp/gummiboot/gummiboot_git.bb        |  39 -------
 scripts/lib/wic/canned-wks/mkgummidisk.wks         |  11 --
 5 files changed, 290 deletions(-)
 delete mode 100644 meta/classes/gummiboot.bbclass
 delete mode 100644 meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch
 delete mode 100644 meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
 delete mode 100644 meta/recipes-bsp/gummiboot/gummiboot_git.bb
 delete mode 100644 scripts/lib/wic/canned-wks/mkgummidisk.wks

diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
deleted file mode 100644
index 4f2dea6..0000000
--- a/meta/classes/gummiboot.bbclass
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright (C) 2014 Intel Corporation
-#
-# Released under the MIT license (see COPYING.MIT)
-
-# gummiboot.bbclass - equivalent of grub-efi.bbclass
-# Set EFI_PROVIDER = "gummiboot" to use gummiboot on your live images instead of grub-efi
-# (images built by image-live.bbclass or image-vm.bbclass)
-
-do_bootimg[depends] += "${MLPREFIX}gummiboot:do_deploy"
-do_bootdirectdisk[depends] += "${MLPREFIX}gummiboot:do_deploy"
-
-EFIDIR = "/EFI/BOOT"
-
-GUMMIBOOT_CFG ?= "${S}/loader.conf"
-GUMMIBOOT_ENTRIES ?= ""
-GUMMIBOOT_TIMEOUT ?= "10"
-
-# Need UUID utility code.
-inherit fs-uuid
-
-efi_populate() {
-        DEST=$1
-
-        EFI_IMAGE="gummibootia32.efi"
-        DEST_EFI_IMAGE="bootia32.efi"
-        if [ "${TARGET_ARCH}" = "x86_64" ]; then
-            EFI_IMAGE="gummibootx64.efi"
-            DEST_EFI_IMAGE="bootx64.efi"
-        fi
-
-        install -d ${DEST}${EFIDIR}
-        # gummiboot requires these paths for configuration files
-        # they are not customizable so no point in new vars
-        install -d ${DEST}/loader
-        install -d ${DEST}/loader/entries
-        install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_IMAGE}
-        EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
-        printf 'fs0:%s\%s\n' "$EFIPATH" "$DEST_EFI_IMAGE" >${DEST}/startup.nsh
-        install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf
-        for i in ${GUMMIBOOT_ENTRIES}; do
-            install -m 0644 ${i} ${DEST}/loader/entries
-        done
-}
-
-efi_iso_populate() {
-        iso_dir=$1
-        efi_populate $iso_dir
-        mkdir -p ${EFIIMGDIR}/${EFIDIR}
-        cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
-        cp $iso_dir/vmlinuz ${EFIIMGDIR}
-        EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
-        echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh
-        if [ -f "$iso_dir/initrd" ] ; then
-            cp $iso_dir/initrd ${EFIIMGDIR}
-        fi
-}
-
-efi_hddimg_populate() {
-        efi_populate $1
-}
-
-python build_efi_cfg() {
-    s = d.getVar("S", True)
-    labels = d.getVar('LABELS', True)
-    if not labels:
-        bb.debug(1, "LABELS not defined, nothing to do")
-        return
-
-    if labels == []:
-        bb.debug(1, "No labels, nothing to do")
-        return
-
-    cfile = d.getVar('GUMMIBOOT_CFG', True)
-    try:
-         cfgfile = open(cfile, 'w')
-    except OSError:
-        bb.fatal('Unable to open %s' % cfile)
-
-    cfgfile.write('# Automatically created by OE\n')
-    cfgfile.write('default %s\n' % (labels.split()[0]))
-    timeout = d.getVar('GUMMIBOOT_TIMEOUT', True)
-    if timeout:
-        cfgfile.write('timeout %s\n' % timeout)
-    else:
-        cfgfile.write('timeout 10\n')
-    cfgfile.close()
-
-    for label in labels.split():
-        localdata = d.createCopy()
-
-        overrides = localdata.getVar('OVERRIDES', True)
-        if not overrides:
-            bb.fatal('OVERRIDES not defined')
-
-        entryfile = "%s/%s.conf" % (s, label)
-        d.appendVar("GUMMIBOOT_ENTRIES", " " + entryfile)
-        try:
-            entrycfg = open(entryfile, "w")
-        except OSError:
-            bb.fatal('Unable to open %s' % entryfile)
-        localdata.setVar('OVERRIDES', label + ':' + overrides)
-        bb.data.update_data(localdata)
-
-        entrycfg.write('title %s\n' % label)
-        entrycfg.write('linux /vmlinuz\n')
-
-        append = localdata.getVar('APPEND', True)
-        initrd = localdata.getVar('INITRD', True)
-
-        if initrd:
-            entrycfg.write('initrd /initrd\n')
-        lb = label
-        if label == "install":
-            lb = "install-efi"
-        entrycfg.write('options LABEL=%s ' % lb)
-        if append:
-            append = replace_rootfs_uuid(d, append)
-            entrycfg.write('%s' % append)
-        entrycfg.write('\n')
-        entrycfg.close()
-}
diff --git a/meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch b/meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch
deleted file mode 100644
index fa50bc4..0000000
--- a/meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 55957faf1272c8f5f304909faeebf647a78e3701 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 9 Sep 2015 07:19:45 +0000
-Subject: [PATCH] console: Fix C syntax errors for function declaration
-
-To address this, the semicolons after the function parameters should be
-replaced by commas, and the last one should be omitted
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Pending
-
- src/efi/console.c | 26 +++++++++++++-------------
- 1 file changed, 13 insertions(+), 13 deletions(-)
-
-diff --git a/src/efi/console.c b/src/efi/console.c
-index 6206c80..66aa88f 100644
---- a/src/efi/console.c
-+++ b/src/efi/console.c
-@@ -27,8 +27,8 @@
- struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL;
- 
- typedef EFI_STATUS (EFIAPI *EFI_INPUT_RESET_EX)(
--        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This;
--        BOOLEAN ExtendedVerification;
-+        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
-+        BOOLEAN ExtendedVerification
- );
- 
- typedef UINT8 EFI_KEY_TOGGLE_STATE;
-@@ -44,29 +44,29 @@ typedef struct {
- } EFI_KEY_DATA;
- 
- typedef EFI_STATUS (EFIAPI *EFI_INPUT_READ_KEY_EX)(
--        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This;
--        EFI_KEY_DATA *KeyData;
-+        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
-+        EFI_KEY_DATA *KeyData
- );
- 
- typedef EFI_STATUS (EFIAPI *EFI_SET_STATE)(
--        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This;
--        EFI_KEY_TOGGLE_STATE *KeyToggleState;
-+        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
-+        EFI_KEY_TOGGLE_STATE *KeyToggleState
- );
- 
- typedef EFI_STATUS (EFIAPI *EFI_KEY_NOTIFY_FUNCTION)(
--        EFI_KEY_DATA *KeyData;
-+        EFI_KEY_DATA *KeyData
- );
- 
- typedef EFI_STATUS (EFIAPI *EFI_REGISTER_KEYSTROKE_NOTIFY)(
--        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This;
--        EFI_KEY_DATA KeyData;
--        EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction;
--        VOID **NotifyHandle;
-+        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
-+        EFI_KEY_DATA KeyData,
-+        EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
-+        VOID **NotifyHandle
- );
- 
- typedef EFI_STATUS (EFIAPI *EFI_UNREGISTER_KEYSTROKE_NOTIFY)(
--        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This;
--        VOID *NotificationHandle;
-+        struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
-+        VOID *NotificationHandle
- );
- 
- typedef struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL {
--- 
-2.5.1
-
diff --git a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
deleted file mode 100644
index 49f5593..0000000
--- a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 0f7f9e3bb1d0e1b93f3ad8a1d5d7bdd3fbf27494 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Thu, 27 Mar 2014 07:20:33 +0000
-Subject: [PATCH] Makefile.am: use objcopy from the env
-
-It uses the "objcopy" directly, which is not suitable for cross compile.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
----
- Makefile.am | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-Index: git/Makefile.am
-===================================================================
---- git.orig/Makefile.am
-+++ git/Makefile.am
-@@ -19,6 +19,8 @@
- ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
- AM_MAKEFLAGS = --no-print-directory
- 
-+OBJCOPY ?= objcopy
-+
- gummibootlibdir = $(prefix)/lib/gummiboot
- 
- AM_CPPFLAGS = -include config.h
-@@ -148,7 +150,7 @@ $(gummiboot_solib): $(gummiboot_objects)
- .DELETE_ON_ERROR: $(gummboot_solib)
- 
- $(gummiboot): $(gummiboot_solib)
--	$(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
-+	$(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
- 	  -j .dynsym -j .rel -j .rela -j .reloc \
- 	  --target=efi-app-$(ARCH) $< $@
- 
-@@ -183,7 +185,7 @@ $(stub_solib): $(stub_objects)
- .DELETE_ON_ERROR: $(gummboot_solib)
- 
- $(stub): $(stub_solib)
--	$(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
-+	$(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
- 	  -j .dynsym -j .rel -j .rela -j .reloc \
- 	  --target=efi-app-$(ARCH) $< $@
- 
diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
deleted file mode 100644
index c684b83..0000000
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-SUMMARY = "Gummiboot is a simple UEFI boot manager which executes configured EFI images."
-HOMEPAGE = "http://freedesktop.org/wiki/Software/gummiboot"
-
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
-
-DEPENDS = "gnu-efi util-linux"
-
-inherit autotools pkgconfig manpages
-inherit deploy
-
-PV = "48+git${SRCPV}"
-SRCREV = "2bcd919c681c952eb867ef1bdb458f1bc49c2d55"
-SRC_URI = "git://anongit.freedesktop.org/gummiboot \
-           file://fix-objcopy.patch \
-           file://0001-console-Fix-C-syntax-errors-for-function-declaration.patch \
-          "
-
-PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
-
-# Note: Add COMPATIBLE_HOST here is only because it depends on gnu-efi
-# which has set the COMPATIBLE_HOST, the gummiboot itself may work on
-# more hosts.
-COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OECONF = "--with-efi-includedir=${STAGING_INCDIR} \
-                --with-efi-ldsdir=${STAGING_LIBDIR} \
-                --with-efi-libdir=${STAGING_LIBDIR}"
-
-EXTRA_OEMAKE += "gummibootlibdir=${libdir}/gummiboot"
-
-TUNE_CCARGS_remove = "-mfpmath=sse"
-
-do_deploy () {
-        install ${B}/gummiboot*.efi ${DEPLOYDIR}
-}
-addtask deploy before do_build after do_compile
diff --git a/scripts/lib/wic/canned-wks/mkgummidisk.wks b/scripts/lib/wic/canned-wks/mkgummidisk.wks
deleted file mode 100644
index f3ae090..0000000
--- a/scripts/lib/wic/canned-wks/mkgummidisk.wks
+++ /dev/null
@@ -1,11 +0,0 @@
-# short-description: Create an EFI disk image
-# long-description: Creates a partitioned EFI disk image that the user
-# can directly dd to boot media.
-
-part /boot --source bootimg-efi --sourceparams="loader=gummiboot" --ondisk sda --label msdos --active --align 1024
-
-part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
-
-part swap --ondisk sda --size 44 --label swap1 --fstype=swap
-
-bootloader --ptable gpt --timeout=5  --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"
-- 
2.10.1



^ permalink raw reply related

* [PATCH v3 1/2] gummiboot: Remove/change gummiboot references with systemd-boot
From: Alejandro Hernandez @ 2016-11-30 18:00 UTC (permalink / raw)
  To: openembedded-core

After systemd-boot was introduced, its been tested for a while with no major
issues being found until now, this patch completely replaces all gummiboot
instances with systemd-boot ones, taking the next step into cleaning
up systemd-boot/gummiboot.

[YOCTO #10332]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
---
 meta/classes/fs-uuid.bbclass                       |  2 +-
 meta/classes/systemd-boot.bbclass                  |  4 +---
 meta/conf/distro/include/distro_alias.inc          |  2 +-
 meta/lib/oeqa/controllers/masterimage.py           |  4 ++--
 meta/lib/oeqa/selftest/wic.py                      |  6 ++---
 meta/recipes-bsp/systemd-boot/systemd-boot.bb      |  2 +-
 .../initrdscripts/files/init-install-efi-testfs.sh | 12 +++++-----
 .../initrdscripts/files/init-install-efi.sh        | 12 +++++-----
 scripts/contrib/mkefidisk.sh                       | 26 +++++++++++-----------
 scripts/lib/wic/plugins/source/bootimg-efi.py      | 22 +++++++++---------
 10 files changed, 44 insertions(+), 48 deletions(-)

diff --git a/meta/classes/fs-uuid.bbclass b/meta/classes/fs-uuid.bbclass
index bd2613c..1d5d0c3 100644
--- a/meta/classes/fs-uuid.bbclass
+++ b/meta/classes/fs-uuid.bbclass
@@ -13,7 +13,7 @@ def get_rootfs_uuid(d):
     bb.fatal('Could not determine filesystem UUID of %s' % rootfs)
 
 # Replace the special <<uuid-of-rootfs>> inside a string (like the
-# root= APPEND string in a syslinux.cfg or gummiboot entry) with the
+# root= APPEND string in a syslinux.cfg or systemd-boot entry) with the
 # actual UUID of the rootfs. Does nothing if the special string
 # is not used.
 def replace_rootfs_uuid(d, string):
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass
index 05244c7..3398218 100644
--- a/meta/classes/systemd-boot.bbclass
+++ b/meta/classes/systemd-boot.bbclass
@@ -4,9 +4,7 @@
 
 # systemd-boot.bbclass - The "systemd-boot" is essentially the gummiboot merged into systemd.
 #                        The original standalone gummiboot project is dead without any more
-#                        maintenance. As a start point, we replace all gummitboot occurrences
-#                        with systemd-boot in gummiboot.bbclass to have a base version of this
-#                        systemd-boot.bbclass.
+#                        maintenance.
 #
 # Set EFI_PROVIDER = "systemd-boot" to use systemd-boot on your live images instead of grub-efi
 # (images built by image-live.bbclass or image-vm.bbclass)
diff --git a/meta/conf/distro/include/distro_alias.inc b/meta/conf/distro/include/distro_alias.inc
index 10efb09..9c82854 100644
--- a/meta/conf/distro/include/distro_alias.inc
+++ b/meta/conf/distro/include/distro_alias.inc
@@ -135,7 +135,7 @@ DISTRO_PN_ALIAS_pn-gtk-doc = "Fedora=gtk-doc Ubuntu=gtk-doc"
 DISTRO_PN_ALIAS_pn-gtk-engines = "Fedora=gtk2-engines OpenSuSE=gtk2-engines Ubuntu=gtk2-engines Mandriva=gtk-engines2 Debian=gtk2-engines"
 DISTRO_PN_ALIAS_pn-gtk-sato-engine = "OpenedHand"
 DISTRO_PN_ALIAS_pn-gtk-icon-utils-native = "OSPDT"
-DISTRO_PN_ALIAS_pn-gummiboot = "Debian=gummiboot Fedora=gummiboot"
+DISTRO_PN_ALIAS_pn-systemd-boot = "Ubuntu=systemd-boot Fedora=systemd-boot"
 DISTRO_PN_ALIAS_pn-hello-mod = "OE-Core"
 DISTRO_PN_ALIAS_pn-hostap-conf = "OE-Core"
 DISTRO_PN_ALIAS_pn-hwlatdetect = "OSPDT"
diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py
index 9ce3bf8..7fcbb6d 100644
--- a/meta/lib/oeqa/controllers/masterimage.py
+++ b/meta/lib/oeqa/controllers/masterimage.py
@@ -159,10 +159,10 @@ class MasterImageHardwareTarget(oeqa.targetcontrol.BaseTarget, metaclass=ABCMeta
         self.power_cycle(self.connection)
 
 
-class GummibootTarget(MasterImageHardwareTarget):
+class SystemdbootTarget(MasterImageHardwareTarget):
 
     def __init__(self, d):
-        super(GummibootTarget, self).__init__(d)
+        super(SystemdbootTarget, self).__init__(d)
         # this the value we need to set in the LoaderEntryOneShot EFI variable
         # so the system boots the 'test' bootloader label and not the default
         # The first four bytes are EFI bits, and the rest is an utf-16le string
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index faac11e..61081cc 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -243,9 +243,9 @@ class Wic(oeSelfTest):
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
     @testcase(1349)
-    def test_mkgummidisk(self):
-        """Test creation of mkgummidisk image"""
-        image = "mkgummidisk"
+    def test_systemd-bootdisk(self):
+        """Test creation of systemd-bootdisk image"""
+        image = "systemd-bootdisk"
         self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
diff --git a/meta/recipes-bsp/systemd-boot/systemd-boot.bb b/meta/recipes-bsp/systemd-boot/systemd-boot.bb
index 7036664..602052c 100644
--- a/meta/recipes-bsp/systemd-boot/systemd-boot.bb
+++ b/meta/recipes-bsp/systemd-boot/systemd-boot.bb
@@ -15,7 +15,7 @@ EXTRA_OECONF = " --enable-gnuefi \
                  --disable-manpages \
                "
 
-# Imported from gummiboot recipe
+# Imported from the old gummiboot recipe
 TUNE_CCARGS_remove = "-mfpmath=sse"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
 
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh
index b562109..9c4b263 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh
@@ -171,19 +171,19 @@ if [ -f /run/media/$1/EFI/BOOT/grub.cfg ]; then
 fi
 
 if [ -d /run/media/$1/loader ]; then
-    GUMMIBOOT_CFGS="/ssd/loader/entries/*.conf"
-    # copy config files for gummiboot
+    SYSTEMDBOOT_CFGS="/ssd/loader/entries/*.conf"
+    # copy config files for systemd-boot
     cp -dr /run/media/$1/loader /ssd
     # delete the install entry
     rm -f /ssd/loader/entries/install.conf
     # delete the initrd lines
-    sed -i "/initrd /d" $GUMMIBOOT_CFGS
+    sed -i "/initrd /d" $SYSTEMDBOOT_CFGS
     # delete any LABEL= strings
-    sed -i "s/ LABEL=[^ ]*/ /" $GUMMIBOOT_CFGS
+    sed -i "s/ LABEL=[^ ]*/ /" $SYSTEMDBOOT_CFGS
     # delete any root= strings
-    sed -i "s/ root=[^ ]*/ /" $GUMMIBOOT_CFGS
+    sed -i "s/ root=[^ ]*/ /" $SYSTEMDBOOT_CFGS
     # add the root= and other standard boot options
-    sed -i "s@options *@options root=$rootfs rw $rootwait quiet @" $GUMMIBOOT_CFGS
+    sed -i "s@options *@options root=$rootfs rw $rootwait quiet @" $SYSTEMDBOOT_CFGS
     # Add the test label
     echo -ne "title test\nlinux /test-kernel\noptions root=$testfs rw $rootwait quiet\n" > /ssd/loader/entries/test.conf
 fi
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index ffb709c..5ad3a60 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -245,19 +245,19 @@ fi
 
 if [ -d /run/media/$1/loader ]; then
     rootuuid=$(blkid -o value -s PARTUUID ${rootfs})
-    GUMMIBOOT_CFGS="/boot/loader/entries/*.conf"
-    # copy config files for gummiboot
+    SYSTEMDBOOT_CFGS="/boot/loader/entries/*.conf"
+    # copy config files for systemd-boot
     cp -dr /run/media/$1/loader /boot
     # delete the install entry
     rm -f /boot/loader/entries/install.conf
     # delete the initrd lines
-    sed -i "/initrd /d" $GUMMIBOOT_CFGS
+    sed -i "/initrd /d" $SYSTEMDBOOT_CFGS
     # delete any LABEL= strings
-    sed -i "s/ LABEL=[^ ]*/ /" $GUMMIBOOT_CFGS
+    sed -i "s/ LABEL=[^ ]*/ /" $SYSTEMDBOOT_CFGS
     # delete any root= strings
-    sed -i "s/ root=[^ ]*/ /" $GUMMIBOOT_CFGS
+    sed -i "s/ root=[^ ]*/ /" $SYSTEMDBOOT_CFGS
     # add the root= and other standard boot options
-    sed -i "s@options *@options root=PARTUUID=$rootuuid rw $rootwait quiet @" $GUMMIBOOT_CFGS
+    sed -i "s@options *@options root=PARTUUID=$rootuuid rw $rootwait quiet @" $SYSTEMDBOOT_CFGS
 fi
 
 umount /tgt_root
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index a175895..800733f 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -384,7 +384,7 @@ EFIDIR="$BOOTFS_MNT/EFI/BOOT"
 cp $HDDIMG_MNT/vmlinuz $BOOTFS_MNT >$OUT 2>&1 || error "Failed to copy vmlinuz"
 # Copy the efi loader and configs (booti*.efi and grub.cfg if it exists)
 cp -r $HDDIMG_MNT/EFI $BOOTFS_MNT >$OUT 2>&1 || error "Failed to copy EFI dir"
-# Silently ignore a missing gummiboot loader dir (we might just be a GRUB image)
+# Silently ignore a missing systemd-boot loader dir (we might just be a GRUB image)
 cp -r $HDDIMG_MNT/loader $BOOTFS_MNT >$OUT 2>&1
 
 # Update the boot loaders configurations for an installed image
@@ -410,25 +410,25 @@ if [ -e "$GRUB_CFG" ]; then
 	sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GRUB_CFG
 fi
 
-# Look for a gummiboot installation
-GUMMI_ENTRIES="$BOOTFS_MNT/loader/entries"
-GUMMI_CFG="$GUMMI_ENTRIES/boot.conf"
-if [ -d "$GUMMI_ENTRIES" ]; then
-	info "Configuring Gummiboot"
+# Look for a systemd-boot installation
+SYSTEMD_BOOT_ENTRIES="$BOOTFS_MNT/loader/entries"
+SYSTEMD_BOOT_CFG="$SYSTEMD_BOOT_ENTRIES/boot.conf"
+if [ -d "$SYSTEMD_BOOT_ENTRIES" ]; then
+	info "Configuring SystemD-boot"
 	# remove the install target if it exists
-	rm $GUMMI_ENTRIES/install.conf >$OUT 2>&1
+	rm $SYSTEMD_BOOT_ENTRIES/install.conf >$OUT 2>&1
 
-	if [ ! -e "$GUMMI_CFG" ]; then
-		echo "ERROR: $GUMMI_CFG not found"
+	if [ ! -e "$SYSTEMD_BOOT_CFG" ]; then
+		echo "ERROR: $SYSTEMD_BOOT_CFG not found"
 	fi
 
-	sed -i "/initrd /d" $GUMMI_CFG
-	sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG
-	sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GUMMI_CFG
+	sed -i "/initrd /d" $SYSTEMD_BOOT_CFG
+	sed -i "s@ root=[^ ]*@ @" $SYSTEMD_BOOT_CFG
+	sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $SYSTEMD_BOOT_CFG
 fi
 
 # Ensure we have at least one EFI bootloader configured
-if [ ! -e $GRUB_CFG ] && [ ! -e $GUMMI_CFG ]; then
+if [ ! -e $GRUB_CFG ] && [ ! -e $SYSTEMD_BOOT_CFG ]; then
 	die "No EFI bootloader configuration found"
 fi
 
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py
index 4adb80b..305e910 100644
--- a/scripts/lib/wic/plugins/source/bootimg-efi.py
+++ b/scripts/lib/wic/plugins/source/bootimg-efi.py
@@ -36,7 +36,7 @@ from wic.utils.oe.misc import exec_cmd, exec_native_cmd, get_bitbake_var, \
 class BootimgEFIPlugin(SourcePlugin):
     """
     Create EFI boot partition.
-    This plugin supports GRUB 2 and gummiboot bootloaders.
+    This plugin supports GRUB 2 and systemd-boot bootloaders.
     """
 
     name = 'bootimg-efi'
@@ -82,7 +82,7 @@ class BootimgEFIPlugin(SourcePlugin):
         cfg.close()
 
     @classmethod
-    def do_configure_gummiboot(cls, hdddir, creator, cr_workdir):
+    def do_configure_systemdboot(cls, hdddir, creator, cr_workdir):
         """
         Create loader-specific systemd-boot/gummiboot config
         """
@@ -98,7 +98,7 @@ class BootimgEFIPlugin(SourcePlugin):
         loader_conf += "default boot\n"
         loader_conf += "timeout %d\n" % bootloader.timeout
 
-        msger.debug("Writing gummiboot config %s/hdd/boot/loader/loader.conf" \
+        msger.debug("Writing systemd-boot config %s/hdd/boot/loader/loader.conf" \
                         % cr_workdir)
         cfg = open("%s/hdd/boot/loader/loader.conf" % cr_workdir, "w")
         cfg.write(loader_conf)
@@ -109,16 +109,16 @@ class BootimgEFIPlugin(SourcePlugin):
         if configfile:
             custom_cfg = get_custom_config(configfile)
             if custom_cfg:
-                # Use a custom configuration for gummiboot
+                # Use a custom configuration for systemd-boot
                 boot_conf = custom_cfg
                 msger.debug("Using custom configuration file "
-                        "%s for gummiboots's boot.conf" % configfile)
+                        "%s for systemd-boots's boot.conf" % configfile)
             else:
                 msger.error("configfile is specified but failed to "
                         "get it from %s." % configfile)
 
         if not custom_cfg:
-            # Create gummiboot configuration using parameters from wks file
+            # Create systemd-boot configuration using parameters from wks file
             kernel = "/bzImage"
 
             boot_conf = ""
@@ -127,7 +127,7 @@ class BootimgEFIPlugin(SourcePlugin):
             boot_conf += "options LABEL=Boot root=%s %s\n" % \
                              (creator.rootdev, bootloader.append)
 
-        msger.debug("Writing gummiboot config %s/hdd/boot/loader/entries/boot.conf" \
+        msger.debug("Writing systemd-boot config %s/hdd/boot/loader/entries/boot.conf" \
                         % cr_workdir)
         cfg = open("%s/hdd/boot/loader/entries/boot.conf" % cr_workdir, "w")
         cfg.write(boot_conf)
@@ -149,9 +149,8 @@ class BootimgEFIPlugin(SourcePlugin):
         try:
             if source_params['loader'] == 'grub-efi':
                 cls.do_configure_grubefi(hdddir, creator, cr_workdir)
-            elif source_params['loader'] == 'gummiboot' \
-                 or source_params['loader'] == 'systemd-boot':
-                cls.do_configure_gummiboot(hdddir, creator, cr_workdir)
+            elif source_params['loader'] == 'systemd-boot':
+                cls.do_configure_systemdboot(hdddir, creator, cr_workdir)
             else:
                 msger.error("unrecognized bootimg-efi loader: %s" % source_params['loader'])
         except KeyError:
@@ -190,8 +189,7 @@ class BootimgEFIPlugin(SourcePlugin):
                 exec_cmd(cp_cmd, True)
                 shutil.move("%s/grub.cfg" % cr_workdir,
                             "%s/hdd/boot/EFI/BOOT/grub.cfg" % cr_workdir)
-            elif source_params['loader'] == 'gummiboot' \
-                 or source_params['loader'] == 'systemd-boot':
+            elif source_params['loader'] == 'systemd-boot':
                 cp_cmd = "cp %s/EFI/BOOT/* %s/EFI/BOOT" % (bootimg_dir, hdddir)
                 exec_cmd(cp_cmd, True)
             else:
-- 
2.10.1



^ permalink raw reply related

* [PATCH v2] python3-setuptools: upgrade to 29.0.1
From: Edwin Plauchu @ 2016-11-30 17:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
---
 meta/recipes-devtools/python/python-setuptools.inc                    | 4 ++--
 .../{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb}    | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index d3eef13..e76484a 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42"
-SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61"
+SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324"
+SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-setuptools_28.8.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
-- 
2.9.3



^ permalink raw reply related

* Re: [PATCH 1/2] oeqa/utils/metadata.py: Add metadata library
From: Mariano Lopez @ 2016-11-30 17:32 UTC (permalink / raw)
  To: benjamin.esquivel; +Cc: openembedded-core
In-Reply-To: <1480457845.2973.3.camel@linux.intel.com>

On Tuesday, November 29, 2016 04:17:25 PM Benjamin Esquivel wrote:
> On Tue, 2016-11-29 at 08:42 -0600, mariano.lopez@linux.intel.com wrote:
> > From: Mariano Lopez <mariano.lopez@linux.intel.com>
> > 
> > Adds functions to get metadata from the host running the tests.
> > 
> > [YOCTO #9954]
> > 
> > Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
> > ---
> >  meta/lib/oeqa/utils/metadata.py | 77
> > +++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 77 insertions(+)
> >  create mode 100644 meta/lib/oeqa/utils/metadata.py
> > 
> > diff --git a/meta/lib/oeqa/utils/metadata.py
> > b/meta/lib/oeqa/utils/metadata.py
> > new file mode 100644
> > index 0000000..3be805c
> > --- /dev/null
> > +++ b/meta/lib/oeqa/utils/metadata.py
> > @@ -0,0 +1,77 @@
> > +# Copyright (C) 2016 Intel Corporation
> > +#
> > +# Released under the MIT license (see COPYING.MIT)
> > +#
> > +# Functions to get metadata from the testing host used
> > +# for analytics of test results.
> > +
> > +from git import Repo
> > +from collections import OrderedDict
> > +from collections.abc import MutableMapping
> > +from xml.dom.minidom import parseString
> > +from xml.etree.ElementTree import Element, tostring
> > +
> > +from oe.lsb import distro_identifier
> > +from oeqa.utils.commands import runCmd, get_bb_var
> > +
> > +def metadata_from_bb():
> > +    """ Returns test's metadata as OrderedDict.
> > +
> > +        Data will be gathered using bitbake -e thanks to get_bb_var.
> > +    """
> > +
> > +    info_dict = OrderedDict()
> > +    hostname = runCmd('hostname')
> > +    info_dict['hostname'] = hostname.output
> > +    info_dict['machine'] = get_bb_var('MACHINE')
> > +    info_dict['distro'] = get_bb_var('DISTRO')
> > +    info_dict['distro_version'] = get_bb_var('DISTRO_VERSION')
> > +    host_distro= distro_identifier()
> > +    host_distro, _, host_distro_release = host_distro.partition('-')
> > +    info_dict['host_distro'] = host_distro
> > +    info_dict['host_distro_release'] = host_distro_release
> > +    info_dict['layers'] = get_layers(get_bb_var('BBLAYERS'))
> is none of the upper statements going to throw exceptions? otherwise
> try/except as appropriate.
> > +    return info_dict
> > +
> > +def metadata_from_data_store(d):
> > +    """ Returns test's metadata as OrderedDict.
> > +
> > +        Data will be collected from the provided data store.
> > +    """
> > +    # TODO: Getting metadata from the data store would
> > +    # be useful when running within bitbake.
> > +    pass
> > +
> > +def get_layers(layers):
> > +    """ Returns layer name, branch, and revision as OrderedDict. """
> > +
> > +    layer_dict = OrderedDict()
> > +    for layer in layers.split():
> > +        layer_name = os.path.basename(layer)
> > +        layer_dict[layer_name] = OrderedDict()
> > +        repo = Repo(layer, search_parent_directories=True)
> > +        revision, branch = repo.head.object.name_rev.split()
> > +        layer_dict[layer_name]['branch'] = branch
> > +        layer_dict[layer_name]['revision'] = revision
> same here for the try/except, did you test with usual cases of zero
> input and unexisting path's, etc?
> > +    return layer_dict
> > +
> > +def write_metadata_file(file_path, metadata):
> > +    """ Writes metadata to a XML file in directory. """
> > +
> > +    xml = dict_to_XML('metadata', metadata)
> > +    xml_doc = parseString(tostring(xml).decode('UTF-8'))
> > +    with open(file_path, 'w') as f:
> > +        f.write(xml_doc.toprettyxml())
> > +
> > +def dict_to_XML(tag, dictionary):
> > +    """ Return XML element converting dicts recursively. """
> > +
> > +    elem = Element(tag)
> > +    for key, val in dictionary.items():
> > +        if isinstance(val, MutableMapping):
> > +            child = (dict_to_XML(key, val))
> > +        else:
> > +            child = Element(key)
> > +            child.text = str(val)
> > +        elem.append(child)
> > +    return elem
> > -- 
> > 2.7.3
> > 

I'll implement the proposded changes and will send another version

Mariano



^ permalink raw reply

* [PATCH] add minicoredumper tool/libs
From: John Ogness @ 2016-11-30 16:39 UTC (permalink / raw)
  To: openembedded-core

The minicoredumper project provides tools and libraries for extending
the Linux core dump facility in order to produce very small and highlx
customizable core dumps. This is particularly interesting for embedded
projects.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 .../minicoredumper/remove-script-deps.patch        | 22 +++++++
 .../minicoredumper/minicoredumper_2.0.0.bb         | 73 ++++++++++++++++++++++
 2 files changed, 95 insertions(+)
 create mode 100644 meta/recipes-extended/minicoredumper/minicoredumper/remove-script-deps.patch
 create mode 100644 meta/recipes-extended/minicoredumper/minicoredumper_2.0.0.bb

diff --git a/meta/recipes-extended/minicoredumper/minicoredumper/remove-script-deps.patch b/meta/recipes-extended/minicoredumper/minicoredumper/remove-script-deps.patch
new file mode 100644
index 0000000..bcb64af
--- /dev/null
+++ b/meta/recipes-extended/minicoredumper/minicoredumper/remove-script-deps.patch
@@ -0,0 +1,22 @@
+--- a/etc/init.d/minicoredumper.in	2016-11-22 10:44:28.060000000 +0000
++++ b/etc/init.d/minicoredumper.in	2016-11-22 10:49:24.656000000 +0000
+@@ -33,13 +33,13 @@
+ # Read configuration variable file if it is present
+ [ -r @initdefaultsdir@/$NAME ] && . @initdefaultsdir@/$NAME
+ 
+-# Load the VERBOSE setting and other rcS variables
+-. /lib/init/vars.sh
++log_daemon_msg() {
++	echo "$@"
++}
+ 
+-# Define LSB log_* functions.
+-# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+-# and status_of_proc is working.
+-. /lib/lsb/init-functions
++log_end_msg() {
++	[ $1 -eq 0 ] || echo "$NAME: failed"
++}
+ 
+ #
+ # Function that starts the daemon/service
diff --git a/meta/recipes-extended/minicoredumper/minicoredumper_2.0.0.bb b/meta/recipes-extended/minicoredumper/minicoredumper_2.0.0.bb
new file mode 100644
index 0000000..7f7d5e2
--- /dev/null
+++ b/meta/recipes-extended/minicoredumper/minicoredumper_2.0.0.bb
@@ -0,0 +1,73 @@
+SUMMARY = "generate minimal and customized core dump files on Linux"
+DESCRIPTION = "minicoredumper is a program that handles the creation of core dump files on \
+Linux. It can produce much smaller core dump files by making use of sparse \
+files, compression, and allowing the user to configure what parts of the \
+process memory image should be dumped."
+HOMEPAGE = "https://www.linutronix.de/minicoredumper"
+BUGTRACKER = "https://bugs.linuxfoundation.org/buglist.cgi?product=Diamon&component=minicoredumper"
+
+SECTION = "devel"
+
+LICENSE = "BSD-2-Clause & LGPL-2.1"
+LICENSE_minicoredumper = "BSD-2-Clause"
+LICENSE_minicoredumper-utils = "BSD-2-Clause"
+LICENSE_libminicoredumper-dev = "LGPL-2.1"
+LICENSE_libminicoredumper = "LGPL-2.1"
+
+LIC_FILES_CHKSUM = " \
+	file://COPYING;md5=709087c2ed0acda54a4d91497a889e42 \
+	file://COPYING.BSD;md5=b915ac80d5236d6aa659cb986daf00e5 \
+	file://COPYING.LGPLv2.1;md5=321bf41f280cf805086dd5a720b37785 \
+	"
+
+DEPENDS = "elfutils json-c pkgconfig"
+RDEPENDS_${PN} = "base-files"
+
+SRC_URI = " \
+	https://linutronix.de/minicoredumper/files/minicoredumper-${PV}.tar.xz \
+	file://remove-script-deps.patch \
+	"
+
+SRC_URI[md5sum] = "543001b51de20a8b17fce462a7dfa377"
+SRC_URI[sha256sum] = "6b5355f94b8ba676515b4243752f231ace200dbb9195065bc2fdd397ae20d8c5"
+
+PACKAGECONFIG ??= ""
+
+EXTRA_OECONF = ""
+
+PACKAGES += "minicoredumper-utils libminicoredumper-dev libminicoredumper"
+
+FILES_${PN} = " \
+	${sbindir}/minicoredumper \
+	${sbindir}/minicoredumper_regd \
+	${sysconfdir}/minicoredumper \
+	${sysconfdir}/init.d \
+	${sysconfdir}/default \
+	${localstatedir}/crash \
+	${localstatedir}/run \
+	/run \
+	"
+FILES_minicoredumper-utils = " \
+	${bindir}/coreinject \
+	${sbindir}/minicoredumper_trigger \
+	"
+FILES_libminicoredumper-dev = " \
+	${includedir}/* \
+	${libdir}/lib*.a \
+	${libdir}/lib*.la \
+	${libdir}/lib*.so \
+	${libdir}/pkgconfig/* \
+	"
+FILES_${PN}-dbg = " \
+	${libdir}/.debug \
+	${bindir}/.debug \
+	${sbindir}/.debug \
+	${prefix}/src/debug \
+	"
+FILES_libminicoredumper = "${libdir}/lib*.so.*"
+FILES_libminicoredumper-doc = "${mandir}/*/*"
+
+INITSCRIPT_NAME = "minicoredumper"
+INITSCRIPT_PARAMS = "defaults 8"
+
+inherit autotools update-rc.d
-- 
2.1.4


^ permalink raw reply related

* [PATCH] python3-setuptools: upgrade to 29.0.1
From: Edwin Plauchu @ 2016-11-30 16:05 UTC (permalink / raw)
  To: openembedded-core; +Cc: Edwin Plauchu

From: Edwin Plauchu <edwin.plauchu.camacho@intel.com>

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
---
 meta/recipes-devtools/python/python-setuptools.inc |   6 +-
 ...tools_22.0.5.bb => python-setuptools_28.8.0.bb} |   0
 ...ools_22.0.5.bb => python3-setuptools_29.0.1.bb} |   0
 tatus                                              | 109 +++++++++++++++++++++
 4 files changed, 112 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python-setuptools_22.0.5.bb => python-setuptools_28.8.0.bb} (100%)
 rename meta/recipes-devtools/python/{python3-setuptools_22.0.5.bb => python3-setuptools_29.0.1.bb} (100%)
 create mode 100644 tatus

diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index 92ca9a0..e76484a 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -3,14 +3,14 @@ HOMEPAGE = "https://pypi.python.org/pypi/setuptools"
 SECTION = "devel/python"
 LICENSE = "MIT"
 
-LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475"
 
 SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"
-SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"
+SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324"
+SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python-setuptools_28.8.0.bb
similarity index 100%
rename from meta/recipes-devtools/python/python-setuptools_22.0.5.bb
rename to meta/recipes-devtools/python/python-setuptools_28.8.0.bb
diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-setuptools_22.0.5.bb
rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
diff --git a/tatus b/tatus
new file mode 100644
index 0000000..18b9527
--- /dev/null
+++ b/tatus
@@ -0,0 +1,109 @@
+^[[1mdiff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc^[[m
+^[[1mindex 92ca9a0..d3eef13 100644^[[m
+^[[1m--- a/meta/recipes-devtools/python/python-setuptools.inc^[[m
+^[[1m+++ b/meta/recipes-devtools/python/python-setuptools.inc^[[m
+^[[36m@@ -3,14 +3,14 @@^[[m ^[[mHOMEPAGE = "https://pypi.python.org/pypi/setuptools"^[[m
+ SECTION = "devel/python"^[[m
+ LICENSE = "MIT"^[[m
+ ^[[m
+^[[31m-LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475"^[[m
+^[[32m+^[[m^[[32mLIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475"^[[m
+ ^[[m
+ SRCNAME = "setuptools"^[[m
+ ^[[m
+ SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"^[[m
+ ^[[m
+^[[31m-SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"^[[m
+^[[31m-SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"^[[m
+^[[32m+^[[m^[[32mSRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42"^[[m
+^[[32m+^[[m^[[32mSRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61"^[[m
+ ^[[m
+ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"^[[m
+ ^[[m
+^[[1mdiff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python-setuptools_22.0.5.bb^[[m
+^[[1mdeleted file mode 100644^[[m
+^[[1mindex 526474c..0000000^[[m
+^[[1m--- a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb^[[m
+^[[1m+++ /dev/null^[[m
+^[[36m@@ -1,38 +0,0 @@^[[m
+^[[31m-require python-setuptools.inc^[[m
+^[[31m-^[[m
+^[[31m-PROVIDES = "python-distribute"^[[m
+^[[31m-^[[m
+^[[31m-DEPENDS += "python"^[[m
+^[[31m-DEPENDS_class-native += "python-native"^[[m
+^[[31m-^[[m
+^[[31m-inherit distutils^[[m
+^[[31m-^[[m
+^[[31m-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"^[[m
+^[[31m-^[[m
+^[[31m-RDEPENDS_${PN} = "\^[[m
+^[[31m-  python-stringold \^[[m
+^[[31m-  python-email \^[[m
+^[[31m-  python-shell \^[[m
+^[[31m-  python-distutils \^[[m
+^[[31m-  python-compression \^[[m
+^[[31m-  python-pkgutil \^[[m
+^[[31m-  python-plistlib \^[[m
+^[[31m-  python-numbers \^[[m
+^[[31m-  python-html \^[[m
+^[[31m-  python-netserver \^[[m
+^[[31m-  python-ctypes \^[[m
+^[[31m-  python-subprocess \^[[m
+^[[31m-  python-unittest \^[[m
+^[[31m-  python-compile \^[[m
+^[[31m-"^[[m
+^[[31m-^[[m
+^[[31m-RDEPENDS_${PN}_class-native = "\^[[m
+^[[31m-  python-distutils \^[[m
+^[[31m-  python-compression \^[[m
+^[[31m-"^[[m
+^[[31m-^[[m
+^[[31m-RREPLACES_${PN} = "python-distribute"^[[m
+^[[31m-RPROVIDES_${PN} = "python-distribute"^[[m
+^[[31m-RCONFLICTS_${PN} = "python-distribute"^[[m
+^[[31m-^[[m
+^[[31m-BBCLASSEXTEND = "native nativesdk"^[[m
+^[[1mdiff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb^[[m
+^[[1mdeleted file mode 100644^[[m
+^[[1mindex 65af6f0..0000000^[[m
+^[[1m--- a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb^[[m
+^[[1m+++ /dev/null^[[m
+^[[36m@@ -1,37 +0,0 @@^[[m
+^[[31m-require python-setuptools.inc^[[m
+^[[31m-^[[m
+^[[31m-DEPENDS += "python3"^[[m
+^[[31m-DEPENDS_class-native += "python3-native"^[[m
+^[[31m-^[[m
+^[[31m-inherit distutils3^[[m
+^[[31m-^[[m
+^[[31m-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"^[[m
+^[[31m-^[[m
+^[[31m-# The installer puts the wrong path in the setuptools.pth file.  Correct it.^[[m
+^[[31m-do_install_append() {^[[m
+^[[31m-    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth^[[m
+^[[31m-    mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install^[[m
+^[[31m-    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth^[[m
+^[[31m-}^[[m
+^[[31m-^[[m
+^[[31m-RDEPENDS_${PN} = "\^[[m
+^[[31m-  python3-distutils \^[[m
+^[[31m-  python3-compression \^[[m
+^[[31m-"^[[m
+^[[31m-RDEPENDS_${PN}_class-target = "\^[[m
+^[[31m-  python3-ctypes \^[[m
+^[[31m-  python3-distutils \^[[m
+^[[31m-  python3-email \^[[m
+^[[31m-  python3-importlib \^[[m
+^[[31m-  python3-numbers \^[[m
+^[[31m-  python3-compression \^[[m
+^[[31m-  python3-shell \^[[m
+^[[31m-  python3-subprocess \^[[m
+^[[31m-  python3-textutils \^[[m
+^[[31m-  python3-pkgutil \^[[m
+^[[31m-  python3-threading \^[[m
+^[[31m-  python3-misc \^[[m
+^[[31m-  python3-unittest \^[[m
+^[[31m-  python3-xml \^[[m
+^[[31m-"^[[m
+^[[31m-BBCLASSEXTEND = "native"^[[m
-- 
2.9.3



^ permalink raw reply related

* Re: [PATCH] gstreamer1.0: Upgrade to 1.10.1
From: Khem Raj @ 2016-11-30 15:53 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LYHeb28My6Ek5wBr-dv8budpprpXwZ84T5TYqW_Uj3SFQ@mail.gmail.com>

On Wed, Nov 30, 2016 at 7:17 AM, Burton, Ross <ross.burton@intel.com> wrote:
> Breaks if built from a empty sysroot with wayland enabled:
>
> gst-plugins-bad:
> | make[3]: *** No rule to make target 'viewporter-protocol.c', needed by
> 'all'.  Stop.
>
> Also rtsp-server gains various runtime dependencies on util-linux, can you
> verify that these are expected and in the depends?

I havent done individual builds so there might be issues let me do
these and send v2

>
> Ross


^ permalink raw reply

* Re: [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.
From: Ed Bartosh @ 2016-11-30 15:29 UTC (permalink / raw)
  To: Kristian Amlie; +Cc: openembedded-core
In-Reply-To: <420c72b7-b5dd-14f3-a4b0-c57eb3512252@mender.io>

On Wed, Nov 30, 2016 at 02:30:12PM +0100, Kristian Amlie wrote:
> On 28/11/16 12:18, Ed Bartosh wrote:
> > I'd appreciate if you also do the following before sending v2:
> >  - check that your code doesn't regress pylint checks
> 
> Is there an official process here? Sorry, it's not very well documented.
No official process yet, I'm sorry. I can put it on wiki if it helps.

> Just running pylint3 manually on the scripts/lib/wic folder gives
> identical results, however, running on rootfs.py alone, the rating
> increases:
> 
>   Your code has been rated at 5.67/10 (previous run: 2.26/10, +3.41)
Looks good to me. Thanks.
Running pylint on the files you've changed before and after the changes should be enough.

> >  - add test case for your code to meta/lib/oeqa/selftest/wic.py
> >  - check that your code doesn't break oe-selftest --coverage -r wic and
> >    doesn't regress test coverage
> 
> In the interest of saving me some build time, am I correct in assuming
> that I need the "qemux86-64" MACHINE target for this to work? It appears
> to be dependent on syslinux which has COMPATIBLE_HOSTS set to non-arm
> only. Sorry, I'm a bit new to this framework.
> 

You're right. oe-selftest requires qemux86-64 target.

Even if you usually work in different environment it makes sense to run
oe-selftest to ensure that your changes don't breake it.
This is because our maintainers use oe-selftest results as one of the
acceptance criterias. It means that your changes would be be rejected anyway
if they break oe-selftest, so it's better to check it in advance.

--
Regards,
Ed


^ permalink raw reply

* Re: [PATCH] gstreamer1.0: Upgrade to 1.10.1
From: Burton, Ross @ 2016-11-30 15:17 UTC (permalink / raw)
  To: Khem Raj; +Cc: OE-core
In-Reply-To: <20161130073953.18166-1-raj.khem@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

Breaks if built from a empty sysroot with wayland enabled:

gst-plugins-bad:
| make[3]: *** No rule to make target 'viewporter-protocol.c', needed by
'all'.  Stop.

Also rtsp-server gains various runtime dependencies on util-linux, can you
verify that these are expected and in the depends?

Ross

[-- Attachment #2: Type: text/html, Size: 422 bytes --]

^ permalink raw reply

* Re: tslib 1.3
From: Christopher Larson @ 2016-11-30 14:58 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: Patches and discussions about the oe-core layer
In-Reply-To: <79e963e5-84c3-808b-754b-ed284775b60c@ginzinger.com>

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

On Wed, Nov 30, 2016 at 2:39 AM, Martin Kepplinger <
martin.kepplinger@ginzinger.com> wrote:

> I found some discussions on tslib in your archives and want to give you
> a little update. I'm not even sure core is the correct list for this.
>
> I'm working on tslib for quite some time now. The project page is
> https://github.com/kergoth/tslib and has been for quite some time, and
> I'm maintaining it there.
>
> With version 1.3 there shouldn't be any need for your environment to be
> compatible with tslib's API, as tslib/tools/ts_uinput provides an input
> event device to use:
>
> https://github.com/kergoth/tslib#use-tslib-via-a-normal-input-event-device
>
> and you can run it as a daemon (ts_uinput -d).
>
> As of now tslib-1.3-rc1 is out for testing. It adds a new multitouch
> API, but ts_uinput should work for single- and multitouch devices and
> there shouldn't be a need to wait for Qt or X tslib wrappers to
> implement tslib's API or to even have them at all.
>
> The more feedback we get, the earlier we can consider releasing it as
> version 1.3.
>
> I hope this is useful,
>

This sounds great, thanks again for taking over as project maintainer.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics

[-- Attachment #2: Type: text/html, Size: 2067 bytes --]

^ permalink raw reply

* Re: [oe-commits] [openembedded-core] 01/22: libsdl2: update to 2.0.5
From: Martin Jansa @ 2016-11-30 13:38 UTC (permalink / raw)
  To: openembedded-core, Andreas Müller; +Cc: openembedded-commits
In-Reply-To: <20161031142355.AA7B3501AD@opal.openembedded.org>

[-- Attachment #1: Type: text/plain, Size: 25187 bytes --]

On Mon, Oct 31, 2016 at 02:23:55PM +0000, git@git.openembedded.org wrote:
> rpurdie pushed a commit to branch master-next
> in repository openembedded-core.
> 
> commit 97fff54efe6b03798ad1c5e39155eaeab0a33300
> Author: Andreas Müller <schnitzeltony@googlemail.com>
> AuthorDate: Thu Oct 27 22:07:19 2016 +0200
> 
>     libsdl2: update to 2.0.5
>     
>     * 0001-src-video-make-it-compatible-with-wayland-1.10.patch is removed because
>       the problem has been resolved upstream
>     * Add 0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
>       so that WAYLAND_PROTOCOLS_SYSROOT_DIR is substituted in a way similar to gtk3
>     
>     Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>     Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  ...-sysroot-path-so-that-make-finds-our-wayl.patch | 32 ++++++++++++
>  ...ideo-make-it-compatible-with-wayland-1.10.patch | 57 ----------------------
>  .../libsdl2/{libsdl2_2.0.4.bb => libsdl2_2.0.5.bb} | 14 +++---
>  3 files changed, 40 insertions(+), 63 deletions(-)
> 
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch b/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
> new file mode 100644
> index 0000000..d042430
> --- /dev/null
> +++ b/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
> @@ -0,0 +1,32 @@
> +From b44808e43130dcd13b43e5b978b9b24aeb4c134c Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> +Date: Thu, 20 Oct 2016 14:57:51 +0200
> +Subject: [PATCH] prepend our sysroot path so that make finds our
> + wayland-protocol files
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +---
> + configure.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.in b/configure.in
> +index 726ded3..3376600 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -1206,7 +1206,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for
> +                 WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client wayland-egl wayland-cursor xkbcommon`
> +                 WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
> +                 WAYLAND_CORE_PROTOCOL_DIR=`$PKG_CONFIG --variable=pkgdatadir wayland-client`
> +-                WAYLAND_PROTOCOLS_DIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
> ++                WAYLAND_PROTOCOLS_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
> +                 video_wayland=yes
> +             fi
> +         fi
> +-- 
> +2.5.5
> +
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0001-src-video-make-it-compatible-with-wayland-1.10.patch b/meta/recipes-graphics/libsdl2/libsdl2/0001-src-video-make-it-compatible-with-wayland-1.10.patch
> deleted file mode 100644
> index 44e6d4d..0000000
> --- a/meta/recipes-graphics/libsdl2/libsdl2/0001-src-video-make-it-compatible-with-wayland-1.10.patch
> +++ /dev/null
> @@ -1,57 +0,0 @@
> -From b1ed3533433501ec52c8289a5b3a294e57e7f798 Mon Sep 17 00:00:00 2001
> -From: Martin Jansa <martin.jansa@gmail.com>
> -Date: Thu, 26 May 2016 11:31:52 +0000
> -Subject: [PATCH] src/video: make it compatible with wayland 1.10
> -
> -| build/.libs/SDL_waylandevents.o: In function `wl_registry_bind':
> -| /usr/include/wayland-client-protocol.h:305: undefined reference to `wl_proxy_marshal_constructor_versioned'
> -| /usr/include/wayland-client-protocol.h:305: undefined reference to `wl_proxy_marshal_constructor_versioned'
> -| build/.libs/SDL_waylandkeyboard.o: In function `wl_registry_bind':
> -| /usr/include/wayland-client-protocol.h:305: undefined reference to `wl_proxy_marshal_constructor_versioned'
> -| /usr/include/wayland-client-protocol.h:305: undefined reference to `wl_proxy_marshal_constructor_versioned'
> -| build/.libs/SDL_waylandvideo.o: In function `wl_registry_bind':
> -| /usr/include/wayland-client-protocol.h:305: undefined reference to `wl_proxy_marshal_constructor_versioned'
> -| collect2: error: ld returned 1 exit status
> -| make: *** [build/libSDL2.la] Error 1
> -| ERROR: oe_runmake failed
> -
> -Upstream-Status: Pending
> -Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> -
> ----
> - src/video/wayland/SDL_waylanddyn.h | 1 +
> - src/video/wayland/SDL_waylandsym.h | 4 ++++
> - src/video/webos/SDL_waylanddyn.h   | 1 +
> - src/video/webos/SDL_waylandsym.h   | 4 ++++
> - 4 files changed, 10 insertions(+)
> -
> -diff --git a/src/video/wayland/SDL_waylanddyn.h b/src/video/wayland/SDL_waylanddyn.h
> -index 8d9313a..c7b0157 100644
> ---- a/src/video/wayland/SDL_waylanddyn.h
> -+++ b/src/video/wayland/SDL_waylanddyn.h
> -@@ -79,6 +79,7 @@ void SDL_WAYLAND_UnloadSymbols(void);
> - #define wl_proxy_get_user_data (*WAYLAND_wl_proxy_get_user_data)
> - #define wl_proxy_add_listener (*WAYLAND_wl_proxy_add_listener)
> - #define wl_proxy_marshal_constructor (*WAYLAND_wl_proxy_marshal_constructor)
> -+#define wl_proxy_marshal_constructor_versioned (*WAYLAND_wl_proxy_marshal_constructor_versioned)
> - 
> - #define wl_seat_interface (*WAYLAND_wl_seat_interface)
> - #define wl_surface_interface (*WAYLAND_wl_surface_interface)
> -diff --git a/src/video/wayland/SDL_waylandsym.h b/src/video/wayland/SDL_waylandsym.h
> -index c3b4fa5..b9a0d97 100644
> ---- a/src/video/wayland/SDL_waylandsym.h
> -+++ b/src/video/wayland/SDL_waylandsym.h
> -@@ -55,6 +55,10 @@ SDL_WAYLAND_SYM(void, wl_list_insert_list, (struct wl_list *, struct wl_list *))
> - SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_4)
> - SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor, (struct wl_proxy *, uint32_t opcode, const struct wl_interface *interface, ...))
> - 
> -+/* These functions are available in Wayland >= 1.10 */
> -+SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_10)
> -+SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor_versioned, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, ...))
> -+
> - SDL_WAYLAND_INTERFACE(wl_seat_interface)
> - SDL_WAYLAND_INTERFACE(wl_surface_interface)
> - SDL_WAYLAND_INTERFACE(wl_shm_pool_interface)
> --- 
> -1.9.1
> -
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> similarity index 86%
> rename from meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
> rename to meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> index 844ff33..ac7312b 100644
> --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
> +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> @@ -14,15 +14,16 @@ PROVIDES = "virtual/libsdl2"
>  
>  DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
>  
> -SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
> -           file://linkage.patch \
> -           file://0001-src-video-make-it-compatible-with-wayland-1.10.patch \
> +SRC_URI = " \
> +    http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
> +    file://linkage.patch \
> +    file://0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch \
>  "
>  
>  S = "${WORKDIR}/SDL2-${PV}"
>  
> -SRC_URI[md5sum] = "44fc4a023349933e7f5d7a582f7b886e"
> -SRC_URI[sha256sum] = "da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b"
> +SRC_URI[md5sum] = "d4055424d556b4a908aa76fad63abd3c"
> +SRC_URI[sha256sum] = "442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785"
>  
>  inherit autotools lib_package binconfig pkgconfig
>  
> @@ -31,7 +32,8 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
>                  --disable-video-dummy \
>                  --enable-pthreads \
>                  --enable-sdl-dlopen \
> -                --disable-rpath"
> +                --disable-rpath \
> +                WAYLAND_PROTOCOLS_SYSROOT_DIR=${STAGING_DIR}/${MACHINE}"

This makes libsdl2 (and everything which depends on libsdl2) effectively
MACHINE_ARCH because of MACHINE variable dependency here :/

Causing following errors in sstate-diff-machines.sh:

 === Comparing signatures for task do_configure.sigdata between qemux86copy and qemux86 ===
ERROR: libsdl2 different signature for task do_configure.sigdata between qemux86copy and qemux86
basehash changed from ae22843ed7e59c7323c53451def0a83f to e223ad424c562edfeb8f41d378160fee
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'

ERROR: libsdl2-image different signature for task do_configure.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'jpeglibjpeg-turbo_1.5.1.bb.do_populate_sysroot', 'libpnglibpng_1.6.26.bb.do_populate_sysroot', 'libsdl-imagelibsdl2-image_2.0.1.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtifftiff_4.0.6.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot', 'pkgconfigpkgconfig_git.bb.do_populate_sysroot:virtual:native', 'webplibwebp_0.5.1.bb.do_populate_sysroot', 'zlibzlib_1.2.8.bb.do_populate_sysroot'] to ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'jpeglibjpeg-turbo_1.5.1.bb.do_populate_sysroot', 'libpnglibpng_1.6.26.bb.do_populate_sysroot', 'libsdl-imagelibsdl2-image_2.0.1.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtifftiff_4.0.6.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot', 'pkgconfigpkgconfig_git.bb.do_populate_sysroot:virtual:native', 'webplibwebp_0.5.1.bb.do_populate_sysroot', 'zlibzlib_1.2.8.bb.do_populate_sysroot']
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 1d06351fd7d8b49b409bd04d1da33a4e
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 48c1a2c250f06b79314bb38ac797489d
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_populate_sysroot changed from 1d06351fd7d8b49b409bd04d1da33a4e to 48c1a2c250f06b79314bb38ac797489d

ERROR: libsdl2-mixer different signature for task do_configure.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'flacflac_1.3.1.bb.do_populate_sysroot', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot', 'libvorbislibvorbis_1.3.5.bb.do_populate_sysroot', 'mikmodlibmikmod_3.3.6.bb.do_populate_sysroot'] to ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'flacflac_1.3.1.bb.do_populate_sysroot', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot', 'libvorbislibvorbis_1.3.5.bb.do_populate_sysroot', 'mikmodlibmikmod_3.3.6.bb.do_populate_sysroot']
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 1d06351fd7d8b49b409bd04d1da33a4e
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 48c1a2c250f06b79314bb38ac797489d
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_populate_sysroot changed from 1d06351fd7d8b49b409bd04d1da33a4e to 48c1a2c250f06b79314bb38ac797489d

ERROR: libsdl2-ttf different signature for task do_configure.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'freetypefreetype_2.7.bb.do_populate_sysroot', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'libsdl-ttflibsdl2-ttf_2.0.14.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot'] to ['autoconfautoconf_2.69.bb.do_populate_sysroot:virtual:native', 'automakeautomake_1.15.bb.do_populate_sysroot:virtual:native', 'freetypefreetype_2.7.bb.do_populate_sysroot', 'gccgcc-cross_6.2.bb.do_populate_sysroot', 'gccgcc-runtime_6.2.bb.do_populate_sysroot', 'glibcglibc_2.24.bb.do_populate_sysroot', 'gnu-configgnu-config_git.bb.do_populate_sysroot:virtual:native', 'libsdl-ttflibsdl2-ttf_2.0.14.bb.do_patch', 'libsdl2libsdl2_2.0.5.bb.do_populate_sysroot', 'libtoollibtool-cross_2.4.6.bb.do_populate_sysroot', 'libtoollibtool-native_2.4.6.bb.do_populate_sysroot']
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 1d06351fd7d8b49b409bd04d1da33a4e
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_populate_sysroot with hash 48c1a2c250f06b79314bb38ac797489d
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_populate_sysroot changed from 1d06351fd7d8b49b409bd04d1da33a4e to 48c1a2c250f06b79314bb38ac797489d

ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_configure.sigdata.log


 === Comparing signatures for task do_populate_sysroot.sigdata between qemux86copy and qemux86 ===
ERROR: libsdl2 different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl2libsdl2_2.0.5.bb.do_install'] to ['libsdl2libsdl2_2.0.5.bb.do_install']
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_install with hash 90e8395dfac628621ea1f98df4bca17c
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_install with hash e081c57a1fd9f27e84386bbebbdd9e20
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_install changed from 90e8395dfac628621ea1f98df4bca17c to e081c57a1fd9f27e84386bbebbdd9e20

ERROR: libsdl2-image different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-imagelibsdl2-image_2.0.1.bb.do_install'] to ['libsdl-imagelibsdl2-image_2.0.1.bb.do_install']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_install with hash 3f8719a5261e78e9ea7f9b4237db0584
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_install with hash 191379773af72224225a3c7cc3a14ca9
Hash for dependent task libsdl-imagelibsdl2-image_2.0.1.bb.do_install changed from 3f8719a5261e78e9ea7f9b4237db0584 to 191379773af72224225a3c7cc3a14ca9

ERROR: libsdl2-mixer different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_install'] to ['libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_install']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_install with hash 16c251552600d8dae3b4f72abd5a53ff
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_install with hash abcc9d98c9f2fc0843a7c042591552f6
Hash for dependent task libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_install changed from 16c251552600d8dae3b4f72abd5a53ff to abcc9d98c9f2fc0843a7c042591552f6

ERROR: libsdl2-ttf different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-ttflibsdl2-ttf_2.0.14.bb.do_install'] to ['libsdl-ttflibsdl2-ttf_2.0.14.bb.do_install']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_install with hash 456957de750f96360f66cd18cd9890d7
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_install with hash 05b5f818e53714e27c83c904317fd652
Hash for dependent task libsdl-ttflibsdl2-ttf_2.0.14.bb.do_install changed from 456957de750f96360f66cd18cd9890d7 to 05b5f818e53714e27c83c904317fd652

ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_populate_sysroot.sigdata.log


 === Comparing signatures for task do_package_write_ipk.sigdata between qemux86copy and qemux86 ===
ERROR: libsdl2 different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl2libsdl2_2.0.5.bb.do_package', 'libsdl2libsdl2_2.0.5.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native'] to ['libsdl2libsdl2_2.0.5.bb.do_package', 'libsdl2libsdl2_2.0.5.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native']
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_package with hash eb6ccb082bc5413d85bdbf14fe88858c
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_package with hash 0c2b956baa0042b411ad34b470a28032
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_packagedata with hash 2943b532f9b6eff573f2f6c8612a8718
 changed to
/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb.do_packagedata with hash ec4269cc0c02d7a589aff791522f7803
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_packagedata changed from 2943b532f9b6eff573f2f6c8612a8718 to ec4269cc0c02d7a589aff791522f7803
Hash for dependent task libsdl2libsdl2_2.0.5.bb.do_package changed from eb6ccb082bc5413d85bdbf14fe88858c to 0c2b956baa0042b411ad34b470a28032

ERROR: libsdl2-image different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-imagelibsdl2-image_2.0.1.bb.do_package', 'libsdl-imagelibsdl2-image_2.0.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native'] to ['libsdl-imagelibsdl2-image_2.0.1.bb.do_package', 'libsdl-imagelibsdl2-image_2.0.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_package with hash 55a54e811424e9b38ca6e29a2e549c13
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_package with hash f2b732ca24f53434db6204272ce0247d
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_packagedata with hash 58fb2e9fcdd482303dade154e2d35246
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb.do_packagedata with hash 08f393d5d3671bbb9fb843e6cfed1c8a
Hash for dependent task libsdl-imagelibsdl2-image_2.0.1.bb.do_packagedata changed from 58fb2e9fcdd482303dade154e2d35246 to 08f393d5d3671bbb9fb843e6cfed1c8a
Hash for dependent task libsdl-imagelibsdl2-image_2.0.1.bb.do_package changed from 55a54e811424e9b38ca6e29a2e549c13 to f2b732ca24f53434db6204272ce0247d

ERROR: libsdl2-mixer different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_package', 'libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native'] to ['libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_package', 'libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_package with hash def8b4574c0f2cf9f3b36b1236de17c2
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_package with hash de207cd8f60bf6718fb2b62281cac734
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_packagedata with hash 10f1a98e9e080e50750dec9ad48e8102
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.1.bb.do_packagedata with hash fd269e63c155a2f10a09374b9e598f0e
Hash for dependent task libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_packagedata changed from 10f1a98e9e080e50750dec9ad48e8102 to fd269e63c155a2f10a09374b9e598f0e
Hash for dependent task libsdl-mixerlibsdl2-mixer_2.0.1.bb.do_package changed from def8b4574c0f2cf9f3b36b1236de17c2 to de207cd8f60bf6718fb2b62281cac734

ERROR: libsdl2-ttf different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['libsdl-ttflibsdl2-ttf_2.0.14.bb.do_package', 'libsdl-ttflibsdl2-ttf_2.0.14.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native'] to ['libsdl-ttflibsdl2-ttf_2.0.14.bb.do_package', 'libsdl-ttflibsdl2-ttf_2.0.14.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native']
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_package with hash 46bba6e61e7df0c5b37f76a315116a7b
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_package with hash e011c608a72fa9f5abe52ae9fec79ed4
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_packagedata with hash 693d461c00a824471697be5b12f9aa90
 changed to
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb.do_packagedata with hash e3c76bfb20e841d73be46a02220b971f
Hash for dependent task libsdl-ttflibsdl2-ttf_2.0.14.bb.do_packagedata changed from 693d461c00a824471697be5b12f9aa90 to e3c76bfb20e841d73be46a02220b971f
Hash for dependent task libsdl-ttflibsdl2-ttf_2.0.14.bb.do_package changed from 46bba6e61e7df0c5b37f76a315116a7b to e011c608a72fa9f5abe52ae9fec79ed4

ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_package_write_ipk.sigdata.log


>  
>  # opengl packageconfig factored out to make it easy for distros
>  # and BSP layers to pick either (desktop) opengl, gles2, or no GL
> 
> -- 
> To stop receiving notification emails like this one, please contact
> the administrator of this repository.
> -- 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply

* Re: [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.
From: Maciej Borzęcki @ 2016-11-30 13:37 UTC (permalink / raw)
  To: Kristian Amlie; +Cc: Patches and discussions about the oe-core layer
In-Reply-To: <420c72b7-b5dd-14f3-a4b0-c57eb3512252@mender.io>

On Wed, Nov 30, 2016 at 2:30 PM, Kristian Amlie
<kristian.amlie@mender.io> wrote:
> On 28/11/16 12:18, Ed Bartosh wrote:
>> I'd appreciate if you also do the following before sending v2:
>>  - check that your code doesn't regress pylint checks
>
> Is there an official process here? Sorry, it's not very well documented.
>
> Just running pylint3 manually on the scripts/lib/wic folder gives
> identical results, however, running on rootfs.py alone, the rating
> increases:
>
>   Your code has been rated at 5.67/10 (previous run: 2.26/10, +3.41)
>
>>  - add test case for your code to meta/lib/oeqa/selftest/wic.py
>>  - check that your code doesn't break oe-selftest --coverage -r wic and
>>    doesn't regress test coverage
>
> In the interest of saving me some build time, am I correct in assuming
> that I need the "qemux86-64" MACHINE target for this to work? It appears
> to be dependent on syslinux which has COMPATIBLE_HOSTS set to non-arm
> only. Sorry, I'm a bit new to this framework.

You can either build for qemux86-64 or you can try patches from this series:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129187.html

Basically, you should be interested in these:

  oe-selftest: enforce en_US.UTF-8 locale
  oeqa/utils/commands.py: allow use of binaries from native sysroot
  wic: selftest: avoid COMPATIBLE_HOST issues
  wic: selftest: do not assume bzImage kernel image

This is how you add a test:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129192.html

Running tests is as simple as:

 oe-selftest -r wic.Wic.test_your_test  # runs single test
 oe-selftest -r wic.Wic                 # runs all wic tests

Regards,
-- 
Maciej Borzecki
RnDity


^ permalink raw reply

* State of bitbake world, Failed tasks 2016-11-29
From: Martin Jansa @ 2016-11-30 13:36 UTC (permalink / raw)
  To: openembedded-core, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 31855 bytes --]

== Number of issues - stats ==
{| class='wikitable'
!|Date		     !!colspan='3'|Failed tasks			    !!colspan='6'|Failed depencencies			 !!|Signatures		  !!colspan='12'|QA !!Comment
|-
||		||qemuarm	||qemux86	||qemux86_64	||qemuarm||max||min	||qemux86||max||min	||all 	||already-stripped	||libdir	||textrel	||build-deps	||file-rdeps	||version-going-backwards	||host-user-contaminated	||installed-vs-shipped	||unknown-configure-option	||symlink-to-sysroot	||invalid-pkgconfig	||pkgname	||	
|-
||2016-11-29	||3	||6	||4	||6	||3	||2	||9	||5	||3	||12	||0		||0		||0		||6		||2		||0		||0		||1		||0		||0		||0		||0		||	
|}

http://www.openembedded.org/wiki/Bitbake_World_Status

== Failed tasks 2016-11-29 ==

INFO: jenkins-job.sh-1.8.12 Complete log available at http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.report.20161130_033054.log

=== common (2) ===
    * meta-openembedded/meta-multimedia/recipes-mediacenter/kodi/kodi_16.bb:do_configure
    * openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb:do_compile

=== common-x86 (2) ===
    * meta-openembedded/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb:do_compile
    * meta-qt5/recipes-qt/qt5/qt5-creator_3.5.1.bb:do_compile

=== qemuarm (1) ===
    * openembedded-core/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb:do_compile

=== qemux86 (2) ===
    * meta-browser/recipes-browser/chromium/chromium_52.0.2743.76.bb:do_compile
    * meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile

=== qemux86_64 (0) ===

=== Number of failed tasks (13) ===
{| class=wikitable
|-
|| qemuarm 	|| 3	 || http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.world.qemuarm.20161129_011138.log/ || http://errors.yoctoproject.org/Errors/Build/25227/
|-
|| qemux86 	|| 6	 || http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.world.qemux86.20161129_011143.log/ || http://errors.yoctoproject.org/Errors/Build/25228/
|-
|| qemux86_64 	|| 4	 || http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.world.qemux86-64.20161129_101718.log/ || http://errors.yoctoproject.org/Errors/Build/25242/
|}

=== PNBLACKLISTs (115) ===

=== QA issues (9) ===
{| class=wikitable
!| Count		||Issue
|-
||0	||already-stripped
|-
||0	||host-user-contaminated
|-
||0	||invalid-pkgconfig
|-
||0	||libdir
|-
||0	||pkgname
|-
||0	||symlink-to-sysroot
|-
||0	||textrel
|-
||0	||unknown-configure-option
|-
||0	||version-going-backwards
|-
||1	||installed-vs-shipped
|-
||2	||file-rdeps
|-
||6	||build-deps
|}



=== Failed dependencies for qemuarm (6) ===

Complete log: http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log/
Found differences: 
Found errors: 
    * ERROR: 6 issues were found in these recipes: kodi libsdl2 webkitgtk

=== Recipes failing with maximal dependencies for qemuarm (3) ===
    * kodi -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log//2_max/failed/kodi.log
    * libsdl2 -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log//2_max/failed/libsdl2.log
    * webkitgtk -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log//2_max/failed/webkitgtk.log

=== Recipes failing with minimal dependencies for qemuarm (2) ===
    * kodi -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log//3_min/failed/kodi.log
    * webkitgtk -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161129_094840.log//3_min/failed/webkitgtk.log

=== Failed dependencies for qemux86 (9) ===

Complete log: http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log/
Found differences: 
Found errors: 
    * ERROR: 9 issues were found in these recipes: chromium kodi libsdl2 libvncserver qtwebengine

=== Recipes failing with maximal dependencies for qemux86 (5) ===
    * chromium -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//2_max/failed/chromium.log
    * kodi -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//2_max/failed/kodi.log
    * libsdl2 -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//2_max/failed/libsdl2.log
    * libvncserver -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//2_max/failed/libvncserver.log
    * qtwebengine -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//2_max/failed/qtwebengine.log

=== Recipes failing with minimal dependencies for qemux86 (3) ===
    * chromium -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//3_min/failed/chromium.log
    * kodi -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//3_min/failed/kodi.log
    * qtwebengine -- http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemux86.20161129_204323.log//3_min/failed/qtwebengine.log

=== Incorrect PACKAGE_ARCH or sstate signatures (12) ===

Complete log: http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.signatures.20161129_151644.log/
    * ERROR: 12 issues were found in these recipes: libsdl2 libsdl2-image libsdl2-mixer libsdl2-ttf

    * ERROR: 4 errors found in signatures.qemux86.do_configure.sigdata.log
    * ERROR: 4 errors found in signatures.qemux86.do_populate_sysroot.sigdata.log
    * ERROR: 4 errors found in signatures.qemux86.do_package_write_ipk.sigdata.log

    * ERROR: libsdl2 different signature for task do_configure.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-image different signature for task do_configure.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-mixer different signature for task do_configure.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-ttf different signature for task do_configure.sigdata between qemux86copy and qemux86
    * ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_configure.sigdata.log
    * ERROR: libsdl2 different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-image different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-mixer different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-ttf different signature for task do_populate_sysroot.sigdata between qemux86copy and qemux86
    * ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_populate_sysroot.sigdata.log
    * ERROR: libsdl2 different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-image different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-mixer different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
    * ERROR: libsdl2-ttf different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
    * ERROR: 4 errors found in /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1480468604/signatures.qemux86.do_package_write_ipk.sigdata.log
    * ERROR: 12 issues were found in these recipes: libsdl2 libsdl2-image libsdl2-mixer libsdl2-ttf


PNBLACKLISTs:
openembedded-core/:
meta-browser:
recipes-browser/chromium/cef3_280796.bb:PNBLACKLIST[cef3] ?= "BROKEN: fails to build with gcc-6"
meta-openembedded:
meta-efl/recipes-efl/e17/diskio_svn.bb:PNBLACKLIST[diskio] ?= "broken: switch to https://git.enlightenment.org/enlightenment/modules/diskio.git/ and fix 0.0.1+svnr82070-r0.0/E-MODULES-EXTRA/diskio/e-module-diskio.edc:58. invalid state name: 'off'. "default" state must always be first."
meta-efl/recipes-efl/e17/elbow_git.bb:PNBLACKLIST[elbow] ?= "Depends on blacklisted webkit-efl"
meta-efl/recipes-efl/e17/elmdentica_svn.bb:PNBLACKLIST[elmdentica] ?= "OLD and depends on broken azy"
meta-efl/recipes-efl/e17/emprint_svn.bb:PNBLACKLIST[emprint] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from http://git.enlightenment.org/apps/emprint.git/"
meta-efl/recipes-efl/e17/news_svn.bb:PNBLACKLIST[news] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from http://git.enlightenment.org/enlightenment/modules/news.git/"
meta-efl/recipes-efl/e17/rage_svn.bb:PNBLACKLIST[rage] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from  http://git.enlightenment.org/apps/rage.git/"
meta-efl/recipes-efl/e17/screenshot_svn.bb:PNBLACKLIST[screenshot] ?= "depends on blacklisted emprint"
meta-efl/recipes-efl/efl/azy_svn.bb:PNBLACKLIST[azy] ?= "OLD and doesn't build with gcc-5"
meta-efl/recipes-efl/efl/engrave_svn.bb:PNBLACKLIST[engrave] ?= "BROKEN: fails to build with latest oe-core"
meta-efl/recipes-efl/efl/entrance_svn.bb:PNBLACKLIST[entrance] ?= "broken: switch to https://git.enlightenment.org/misc/entrance.git and fix 0.0.4+svnr82070-r7/entrance/data/themes/old/default.edc:678. invalid state name: 'defaault'. "default" state must always be first."
meta-efl/recipes-efl/webkit/webkit-efl.inc:PNBLACKLIST[webkit-efl] ?= "Old and unmaintaned fork with many security issues"
meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb:PNBLACKLIST[mcnavi] ?= "BROKEN: latest version 0.3.4 is 3 years old and now broken with more strict ejde_cc from efl-1.13"
meta-filesystems/recipes-utils/dmapi/dmapi_2.2.12.bb:PNBLACKLIST[dmapi] ?= "Depends on broken xfsprogs"
meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb:PNBLACKLIST[xfsdump] ?= "Depends on broken xfsprogs"
meta-gnome/recipes-apps/epdfview/epdfview_0.1.8.bb:PNBLACKLIST[epdfview] ?= "BROKEN: images are not displayed anymore"
meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb:PNBLACKLIST[gnome-mplayer] ?= "rdepends on blacklisted mplayer"
meta-gnome/recipes-extended/gtk-theme-torturer/gtk-theme-torturer_git.bb:PNBLACKLIST[gtk-theme-torturer] ?= "BROKEN: gmacros.h:182:53: error: size of array '_GStaticAssertCompileTimeAssertion_2' is negative"
meta-gnome/recipes-gnome/gcalctool/gcalctool_5.32.0.bb:PNBLACKLIST[gcalctool] ?= "broken at least since April 2013 http://permalink.gmane.org/gmane.comp.handhelds.openembedded/57920 and nobody complained, it's also replaced by gnome calculator"
meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb:PNBLACKLIST[gdm] ?= "Depends on broken gnome-panel"
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb:PNBLACKLIST[gnome-control-center] ?= "Depends on broken gnome-menus"
meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb:PNBLACKLIST[gnome-keyring] ?= "This version conflicts with gcr from oe-core"
meta-gnome/recipes-gnome/gnome-menus/gnome-menus_2.30.5.bb:PNBLACKLIST[gnome-menus] ?= "BROKEN: fails to build because of python + conflicts with gnome-menu3"
meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb:PNBLACKLIST[gnome-panel3] ?= "CONFLICT: depends on libgweather3 which conflicts with libgweather"
meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb:PNBLACKLIST[gnome-panel3] ?= "Depends on broken gnome-menus"
meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb:PNBLACKLIST[gnome-panel] ?= "Depends on broken libgweather"
meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb:PNBLACKLIST[gnome-power-manager] ?= "BROKEN: not compatible with current libnotify"
meta-gnome/recipes-gnome/gnome-session/gnome-session_2.32.1.bb:PNBLACKLIST[gnome-session] ?= "BROKEN: fails to build with gcc-6"
meta-gnome/recipes-gnome/gnome/gnome-terminal_2.30.2.bb:PNBLACKLIST[gnome-terminal] ?= "BROKEN: fails to build with gcc-6"
meta-gnome/recipes-gnome/gnome/libgnomecups_0.2.3.bb:PNBLACKLIST[libgnomecups] ?= "Depends on broken libgnomeui"
meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb:PNBLACKLIST[libgnomeprint] ?= "Depends on broken libgnomecups"
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb:PNBLACKLIST[gnumeric] ?= "Depends on broken libgnomeprint"
meta-gnome/recipes-gnome/gweather/libgweather3_3.0.2.bb:PNBLACKLIST[libgweather3] ?= "CONFLICT: 876 files are conflicting with libgweather"
meta-gnome/recipes-gnome/gweather/libgweather_2.30.3.bb:PNBLACKLIST[libgweather] ?= "BROKEN: fails to build with gcc-6"
meta-gnome/recipes-gnome/nautilus/nautilus3_3.2.1.bb:PNBLACKLIST[nautilus3] ?= "BROKEN: fails to build, maybe missing dependency on gnome-desktop-utils.h provider"
meta-gnome/recipes-gnome/pimlico/tasks_0.19.bb:PNBLACKLIST[tasks] ?= "Fails to build with gcc-6"
meta-gnome/recipes-gnome/pimlico/tasks_git.bb:PNBLACKLIST[tasks] ?= "Fails to build with gcc-6"
meta-gnome/recipes-gnome/system-tools/system-tools-backends_2.10.2.bb:PNBLACKLIST[system-tools-backends] ?= "does not build with distroless qemuarm as reported in 'State of bitbake world' thread, nobody volunteered to fix them"
meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb:PNBLACKLIST[zenity] ?= "BROKEN: doesn't build with B!=S"
meta-gnome/recipes-support/goffice/goffice_0.10.1.bb:PNBLACKLIST[goffice] ?= "BROKEN: fails to build with gcc-6"
meta-gnome/recipes-support/tracker/tracker_0.14.2.bb:PNBLACKLIST[tracker] ?= "BROKEN: fails to build with new binutils-2.27"
meta-gpe/recipes-support/fbreader/fbreader_git.bb:PNBLACKLIST[fbreader] ?= "BROKEN: fails to build with gcc-6"
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb:PNBLACKLIST[mkvtoolnix] ?= "BROKEN: Failx to build with gcc-5"
meta-multimedia/recipes-multimedia/coriander/coriander_2.0.2.bb:PNBLACKLIST[coriander] ?= "BROKEN: fails to use SDL probably because libsdl-config was removed, error: unknown type name 'SDL_Overlay'"
meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb:PNBLACKLIST[renderer-service-upnp] ?= "BROKEN: doesn't build with B!=S (trying to install rendererconsole.py from ${B} instead of ${S})"
meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg_0.10.13.bb:PNBLACKLIST[gst-ffmpeg] ?= "Not compatible with currently used ffmpeg 3"
meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb:PNBLACKLIST[gst123] ?= "gst123 is still "sometimes" using wrong sysroot"
meta-networking/recipes-daemons/dnrd/dnrd_2.20.3.bb:PNBLACKLIST[dnrd] ?= "BROKEN: dnrd-2.20.3-r0 do_package: QA Issue: dnrd: Files/directories were installed but not shipped in any package:"
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb:PNBLACKLIST[netmap-modules] ?= "BROKEN: not compatible with default kernel version 4.8"
meta-networking/recipes-kernel/netmap/netmap_git.bb:PNBLACKLIST[netmap] ?= "BROKEN: Tries to build kernel module and fails, either it should be disabled or there should be dependency on kernel like in netmap-modules"
meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb:PNBLACKLIST[accel-ppp] ?= "BROKEN: fails to build with new binutils-2.27"
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to link against sctp_connectx symbol", '', d)}"
meta-networking/recipes-support/nis/ypbind-mt_2.2.bb:PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools"
meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNBLACKLIST[bluez-hcidump] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:PNBLACKLIST[gst-plugin-bluetooth] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-connectivity/soft66/soft66_git.bb:PNBLACKLIST[soft66] ?= "BROKEN: depends on broken libftdi"
meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb:PNBLACKLIST[wvdial] ?= "Depends on broken wvstreams"
meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb:PNBLACKLIST[wvstreams] ?= "BROKEN: fails to build with gcc-6"
meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb:PNBLACKLIST[zeroc-ice] ?= "BROKEN: not compatible with default db version"
meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb:PNBLACKLIST[fakeroot] ?= "BROKEN: QA Issue: -dev package contains non-symlink .so"
meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb:PNBLACKLIST[cloud9] ?= "Not comatible with current nodejs 0.12, but upstream is working on it for v3"
meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb:PNBLACKLIST[ltp-ddt] ?= "BROKEN: fails since last autotools.bbclass changes"
meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb:PNBLACKLIST[packagekit] ?= "BROKEN: depends on old deprecated libopkg which is currently disabled and will be removed soon"
meta-oe/recipes-extended/subsurface/subsurface_git.bb:PNBLACKLIST[subsurface] ?= "Needs to be upgraded for compatibility with new libdivecomputer"
meta-oe/recipes-gnome/gtkextra/gtkextra_3.0.5.bb:PNBLACKLIST[gtkextra] ?= "BROKEN: Fails to build with gcc-5"
meta-oe/recipes-graphics/clutter/clutter-box2d_git.bb:PNBLACKLIST[clutter-box2d] ?= "BROKEN: doesn't build with B!=S"
meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb:PNBLACKLIST[fim] ?= "BROKEN: doesn't build with B!=S (flex: can't open lex.lex)"
meta-oe/recipes-graphics/slim/slim_1.3.2.bb:PNBLACKLIST[slim] ?= "does not build with distroless qemuarm as reported in 'State of bitbake world' thread, nobody volunteered to fix them"
meta-oe/recipes-graphics/xorg-driver/xf86-input-mtev_git.bb:PNBLACKLIST[xf86-input-mtev] ?= "BROKEN: doesn't build with B!=S (Makefile without ${S} in sed call)"
meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:PNBLACKLIST[xf86-video-geode] ?= "BROKEN, fails to build"
meta-oe/recipes-kernel/ktap/ktap-module_git.bb:PNBLACKLIST[ktap-module] ?= "Not compatible with 3.19 kernel"
meta-oe/recipes-kernel/ktap/ktap_git.bb:PNBLACKLIST[ktap] ?= "Depends on blacklisted kernel-module-ktapvm"
meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb:PNBLACKLIST[mplayer2] ?= "Not compatible with currently used ffmpeg 3"
meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb:PNBLACKLIST[foxtrotgps] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-navigation/gdal/gdal_1.11.1.bb:PNBLACKLIST[gdal] ?= "BROKEN: fails to build with gcc-5"
meta-oe/recipes-navigation/gypsy/gypsy.inc:PNBLACKLIST[gypsy] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-navigation/navit/navit.inc:PNBLACKLIST[navit] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb:PNBLACKLIST[claws-mail] ?= "depends on blacklisted libetpan"
meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb:PNBLACKLIST[claws-plugin-gtkhtml2-viewer] ?= "depends on blacklisted claws-mail"
meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb:PNBLACKLIST[claws-plugin-mailmbox] ?= "depends on blacklisted claws-mail"
meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb:PNBLACKLIST[claws-plugin-rssyl] ?= "depends on blacklisted claws-mail"
meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb:PNBLACKLIST[apcupsd] ?= "BROKEN: doesn't build with B!=S"
meta-oe/recipes-support/emacs/emacs_23.4.bb:PNBLACKLIST[emacs] ?= "qemu: uncaught target signal 11 (Segmentation fault) - core dumped"
meta-oe/recipes-support/fftw/benchfft_3.1.bb:PNBLACKLIST[benchfft] ?= "does not build with distroless qemuarm as reported in 'State of bitbake world' thread, nobody volunteered to fix them"
meta-oe/recipes-support/iksemel/iksemel_1.4.bb:PNBLACKLIST[iksemel] ?= "Not compatible with gnutls version 3.4 currently in oe-core"
meta-oe/recipes-support/libdbi/libdbi-drivers_0.8.3-1.bb:PNBLACKLIST[libdbi-drivers] ?= "BROKEN: fails to build with gcc-5"
meta-oe/recipes-support/libetpan/libetpan_0.57.bb:PNBLACKLIST[libetpan] ?= "Not compatible with gnutls version 3.4 currently in oe-core"
meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.4.bb:PNBLACKLIST[open-vcdiff] ?= "BROKEN: fails to build with gcc-6"
meta-oe/recipes-support/opencv/opencv-samples_2.4.bb:PNBLACKLIST[opencv-samples] ?= "Depends on blacklisted opencv"
meta-oe/recipes-support/opencv/opencv_2.4.bb:PNBLACKLIST[opencv] ?= "Not compatible with currently used ffmpeg 3"
meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb:PNBLACKLIST[openmotif] ?= "BROKEN: doesn't build with B!=S"
meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb:PNBLACKLIST[libsyncml] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-support/openwbem/openwbem_3.2.3.bb:PNBLACKLIST[openwbem] ?= "BROKEN: fails to build with gcc-6"
meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb:PNBLACKLIST[pidgin-otr] ?= "depends on blacklisted pidgin"
meta-oe/recipes-support/vala-terminal/vala-terminal_git.bb:PNBLACKLIST[vala-terminal] ?= "BROKEN: Doesn't work with B!=S, touch: cannot touch `src/.stamp': No such file or directory"
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.36.bb:PNBLACKLIST[vboxguestdrivers] ?= "BROKEN: not compatible with default kernel version 4.8"
meta-qt5:
meta-smartphone:
meta-fso/recipes-freesmartphone/freesmartphone/libframeworkd-glib_git.bb:PNBLACKLIST[libframeworkd-glib] ?= "BROKEN: many errors when building with gcc-6"
meta-fso/recipes-freesmartphone/freesmartphone/zhone_git.bb:PNBLACKLIST[zhone] ?= "rdepends on python-pycairo which was removed"
meta-shr/recipes-shr/3rdparty/advancedcaching_git.bb:PNBLACKLIST[advancedcaching] ?= "RDEPENDS on python-pygtk was removed from oe-core"
meta-shr/recipes-shr/3rdparty/emtooth2_svn.bb:PNBLACKLIST[emtooth2] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-shr/recipes-shr/3rdparty/ffalarms_git.bb:PNBLACKLIST[ffalarms] = "Doesn't build after vala upgrade from 0.24.0 to 0.26.1"
meta-shr/recipes-shr/3rdparty/gwaterpas_0.3.bb:PNBLACKLIST[gwaterpas] ?= "broken: depends on blacklisted fltk"
meta-shr/recipes-shr/3rdparty/iliwi_git.bb:PNBLACKLIST[iliwi] = "Doesn't build after vala upgrade from 0.24.0 to 0.26.1"
meta-shr/recipes-shr/3rdparty/intone_git.bb:PNBLACKLIST[intone] = "rdepends on blacklisted mplayer2"
meta-shr/recipes-shr/3rdparty/jefliks_git.bb:PNBLACKLIST[jefliks] ?= "depends on blacklisted iksemel"
meta-shr/recipes-shr/3rdparty/openmoko-gps_svn.bb:PNBLACKLIST[openmoko-gps] ?= "RDEPENDS on python-pygtk which was removed from oe-core"
meta-shr/recipes-shr/3rdparty/pisi_0.5.3.bb:PNBLACKLIST[pisi] ?= "RDEPENDS on python-pygtk which was removed from oe-core"
meta-shr/recipes-shr/3rdparty/podboy_svn.bb:PNBLACKLIST[podboy] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-shr/recipes-shr/3rdparty/sensmon_git.bb:PNBLACKLIST[sensmon] = "Doesn't build after vala upgrade from 0.24.0 to 0.26.1"
meta-shr/recipes-shr/3rdparty/valacompass_git.bb:PNBLACKLIST[valacompass] = "Doesn't build after vala upgrade from 0.24.0 to 0.26.1"
meta-shr/recipes-shr/games/aceofpenguins_1.4.bb:PNBLACKLIST[aceofpenguins] ?= "BROKEN: fails to build with new binutils-2.27"
meta-shr/recipes-shr/shr/shr-installer_git.bb:PNBLACKLIST[shr-installer] ?= "Depends on blacklisted packagekit"
meta-webos-ports:
meta-luneos/recipes-luneos/luna-webappmanager/luna-webappmanager.bb:PNBLACKLIST[luna-webappmanager] 
meta-luneui/recipes-luneui/luna-next/luna-next.bb:PNBLACKLIST[luna-next] ?= "BROKEN: needs to be adapted to new qtwayland-5.7"
PNBLACKLIST[android-system] = "depends on lxc from meta-virtualiazation which isn't included in my world builds"
PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need to be tested so much"
PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to be tested so much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so much"
PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so much"
PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/"
PNBLACKLIST[linux-yocto-tiny-kexecboot] = "does weird sh!t breaking other kernels and modules - broken for years"
PNBLACKLIST[linux-yocto-tiny] = "does weird sh!t breaking other kernels and modules - broken for years"

QA issues by type:
count: 0	issue: already-stripped


count: 0	issue: libdir


count: 0	issue: textrel


count: 6	issue: build-deps
ffmpeg-3.2: libavutil rdepends on libvdpau, but it isn't a build dependency, missing libvdpau in DEPENDS or PACKAGECONFIG? [build-deps]
mpv-0.15.0: mpv rdepends on libva, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
mpv-0.15.0: mpv rdepends on libva-x11, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-sfm rdepends on glog, but it isn't a build dependency, missing glog in DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-text rdepends on tesseract, but it isn't a build dependency, missing tesseract in DEPENDS or PACKAGECONFIG? [build-deps]
qt3d-5.7.99+5.8.0-beta+gitAUTOINC+6e8e228852: qt3d-plugins rdepends on assimp, but it isn't a build dependency, missing assimp in DEPENDS or PACKAGECONFIG? [build-deps]


count: 2	issue: file-rdeps
numptyphysics-0.2+svnr109: /usr/share/numptyphysics/convert_all.sh contained in package numptyphysics requires /bin/bash, but no providers found in RDEPENDS_numptyphysics? [file-rdeps]
numptyphysics-0.2+svnr109: /usr/share/numptyphysics/convert.pl contained in package numptyphysics requires /usr/bin/perl, but no providers found in RDEPENDS_numptyphysics? [file-rdeps]


count: 0	issue: version-going-backwards


count: 0	issue: host-user-contaminated


count: 1	issue: installed-vs-shipped
mesa: 8 installed and not shipped files. [installed-vs-shipped]


count: 0	issue: unknown-configure-option


count: 0	issue: symlink-to-sysroot


count: 0	issue: invalid-pkgconfig


count: 0	issue: pkgname



== Tested changes (not included in master yet) - bitbake ==
latest upstream commit: 
d140f0e COW.py: fix sample codes
not included in master yet: 
6d0590b world-image: add extra target

== Tested changes (not included in master yet) - openembedded-core ==
latest upstream commit: 
9f1fe76 libpcap: Fix build when PACKAGECONFIG ipv6 is not enable
not included in master yet: 
30575b8 qemux86: Add identical qemux86copy variant for tests
143b64c sstate-sysroot-cruft.sh: Extend the whitelist
91d989d recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
7719b19 buildhistory.bbclass: metadata-revs show repo parent
b4f98e5 metadata-revs: provide more information
ef1e06a report-error: Allow to upload reports automatically
cd55355 libpcap: Disable exposed bits of WinPCAP remote capture support

== Tested changes (not included in master yet) - meta-openembedded ==
latest upstream commit: 
761639b mpv: Add libvdpau to DEPENDS
not included in master yet: 
c668f6d lksctp-tools: 1.0.16 -> 1.0.17
1547c8c remove True option to getVar calls
49ca57b drbd-utils: 8.9.3 -> 8.9.6
3e4dd3a squid: disable gnu atomic operations for mipsel
17acc5f chrony: remove unrecognized option ipv6
5e69f46 opensaf: fix QA Issue
296a94b tsock: Make use of LDFLAGS
03bc87c fwknop: Initial add 2.6.9
9e2356b samba: Fix build with musl
384edca ifenslave: make option '-h' work
61be422 libowfat: add v0.31
dc2592a samba: Fix qa issue and update ctdb-tests
f983e2f samba: correct sub-package name for multilib
f7b8642 curlpp: fix qa issue of do_configure
ba03167 ncp: add v1.2.4
dd47d91 syslog-ng: don't use update-alternatives to manage init script
2a77999 rsyslog: don't use update-alternatives to manage init script
de494a7 dnsmasq: read the conf files found in dnsmasq.d
775c0f8 dnsmasq: allow for dnsmasq instances to reuse default dnsmasq.conf
b7193a7 net-snmp: fix snmptrap to use clientaddr from snmp.conf.
3c83480 net-snmp: snmplib, UDPIPv6 transport: Add a missing return statement
1cde07a libva: Import from meta-intel and update to 1.7.3
2c845ee kodi: Add krypton/17.x Jarvis/16.x recipes
eb73dbd kodi: Fix build with pic on x86_64
2e7c6fe kodi-17: Add packageconfig for lcms support
d83238d kodi-17: Fix build with musl
8a40765 breakpad: Upgrade to latest
159dec3 arno-iptables-firewall: Add recipe
2d9312f dibbler: Add recipe
6ded968 ez-ipupdate: Add recipe
ba00827 miniupnpd: Add recipe
dc1e359 inetutils: Disable rsh,rcp,rlogin on musl
0c9a519 ssmtp: Add recipe
92c2c66 dante: Add recipe for 1.4.1
b23b8bb openobex,obexftp: Update recipes
6e6d5a1 ipsec-tools: Fix build with clang
389acf9 crda: Fix build with clang
6aef29f obex-data-server: Fix build with new openobex version
9ca1a6f kodi-17: Update to latest
50f34c5 tvheadend: Update to 4.0.9
0692969 memcached: Update to 1.4.33
1f76467 vala-dbus-binding-tool: remove redundant dependency on intltool
f278842 meta-oe: add explicit dependencies on gnome-common
93135d4 meta-gnome: remove redundant gnome-common dependencies
4d2ace2 meta-gnome: add explicit gnome-common dependencies
5748b4d xserver-nodm-init-2.0: Remove recipe
dbbfb3b xserver-common: Don't install some Xsession files
5c203e6 iscsi-initiator-utils: Update to 2.0.874
e18a0b5 iscsi-initiator-utils, open-isns: Add systemd to REQUIRED_DISTRO_FEATURES
7357e52 samba: fix the hardcoded path in init script
5b93ff2 xfsprogs: Upgrade 3.2.3 -> 4.8.0
4312591 gpsd: fix multilib build
7971172 libdbus-c++: missing DEPENDS, fix musl build, oe-stylize.py
eaf694e meta_oe_security_flags: disable PIE for libdbus-c++
b496283 kodi-17: Fix build for qemuarm and update to latest
0d22878 ntp: update to version 4.8p9
9ea065e jsoncpp: Remove unused patch
c45c97b python-pyconnman: Add new recipe
eb164a3 xfce4-vala: fix build
0305ff7 libxml++: fix LICENSE

== Tested changes (not included in master yet) - meta-qt5 ==
latest upstream commit: 
81fb771 Update Qt5's git repositories to match new locations
not included in master yet: 
2542e2c Upgrade to Qt 5.8
825231c qtwebengine: use QT_GIT_PROTOCOL variable

== Tested changes (not included in master yet) - meta-browser ==
latest upstream commit: 
1edcce7 chromium-wayland: skip when CHROMIUM_ENABLE_WAYLAND isn't enabled
not included in master yet: 

== Tested changes (not included in master yet) - meta-webos-ports ==
latest upstream commit: 
e1432c6 libqofono: use the recipe from meta-qt5
not included in master yet: 

== Tested changes (not included in master yet) - meta-smartphone ==
latest upstream commit: 
176f337  linux-hp-tenderloin: Update kernel
not included in master yet: 
0ad046f meta-fso: replace deprecated bb.data.getVar('PV',d,1) with d.getVar('PV', True)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply

* Re: [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.
From: Kristian Amlie @ 2016-11-30 13:30 UTC (permalink / raw)
  To: ed.bartosh; +Cc: openembedded-core
In-Reply-To: <20161128111825.GA16035@linux.intel.com>

On 28/11/16 12:18, Ed Bartosh wrote:
> I'd appreciate if you also do the following before sending v2:
>  - check that your code doesn't regress pylint checks

Is there an official process here? Sorry, it's not very well documented.

Just running pylint3 manually on the scripts/lib/wic folder gives
identical results, however, running on rootfs.py alone, the rating
increases:

  Your code has been rated at 5.67/10 (previous run: 2.26/10, +3.41)

>  - add test case for your code to meta/lib/oeqa/selftest/wic.py
>  - check that your code doesn't break oe-selftest --coverage -r wic and
>    doesn't regress test coverage

In the interest of saving me some build time, am I correct in assuming
that I need the "qemux86-64" MACHINE target for this to work? It appears
to be dependent on syslinux which has COMPATIBLE_HOSTS set to non-arm
only. Sorry, I'm a bit new to this framework.

-- 
Kristian


^ permalink raw reply

* [PATCH] update-rc.d: ignore initscript in prerm and preinst when systemd is active
From: Andreas Oberritter @ 2016-11-30 12:27 UTC (permalink / raw)
  To: openembedded-core

In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/classes/update-rc.d.bbclass | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 321924b..2c3ef9e 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -11,11 +11,20 @@ INITSCRIPT_PARAMS ?= "defaults"
 
 INIT_D_DIR = "${sysconfdir}/init.d"
 
+def use_updatercd(d):
+    # If the distro supports both sysvinit and systemd, and the current recipe
+    # supports systemd, only call update-rc.d on rootfs creation or if systemd
+    # is not running. That's because systemctl enable/disable will already call
+    # update-rc.d if it detects initscripts.
+    if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) and bb.data.inherits_class('systemd', d):
+        return '[ -n "$D" -o ! -d /run/systemd/system ]'
+    return 'true'
+
 updatercd_preinst() {
-if [ -z "$D" -a -f "${INIT_D_DIR}/${INITSCRIPT_NAME}" ]; then
+if ${@use_updatercd(d)} && [ -z "$D" -a -f "${INIT_D_DIR}/${INITSCRIPT_NAME}" ]; then
 	${INIT_D_DIR}/${INITSCRIPT_NAME} stop || :
 fi
-if type update-rc.d >/dev/null 2>/dev/null; then
+if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
 	if [ -n "$D" ]; then
 		OPT="-f -r $D"
 	else
@@ -26,7 +35,7 @@ fi
 }
 
 updatercd_postinst() {
-if type update-rc.d >/dev/null 2>/dev/null; then
+if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
 	if [ -n "$D" ]; then
 		OPT="-r $D"
 	else
@@ -37,13 +46,13 @@ fi
 }
 
 updatercd_prerm() {
-if [ -z "$D" -a -x "${INIT_D_DIR}/${INITSCRIPT_NAME}" ]; then
+if ${@use_updatercd(d)} && [ -z "$D" -a -x "${INIT_D_DIR}/${INITSCRIPT_NAME}" ]; then
 	${INIT_D_DIR}/${INITSCRIPT_NAME} stop || :
 fi
 }
 
 updatercd_postrm() {
-if type update-rc.d >/dev/null 2>/dev/null; then
+if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
 	if [ -n "$D" ]; then
 		OPT="-f -r $D"
 	else
-- 
2.7.4



^ permalink raw reply related

* [PATCH 1/2] connman: Simplify and fix packaging of VPN plug-ins
From: Andreas Oberritter @ 2016-11-30 12:22 UTC (permalink / raw)
  To: openembedded-core

- Use simple static packaging.
- Move VPN runtime dependencies from connman to the individual plug-ins.
- Create a connmann-ppp package containing libppp-plugin.so, which is
  a shared library needed by l2tp and pptp plug-ins.
- Let connman suggest VPN packages instead of recommending them, so they
  don't get installed by default.
- Remove unknown configure options (--with-pptp --with-l2tp)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-connectivity/connman/connman.inc | 95 +++++++++------------------
 1 file changed, 32 insertions(+), 63 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 35a7eed..091e402 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -46,24 +46,17 @@ PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-suppli
 PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}, ${BLUEZ}"
 PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono"
 PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
-PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn"
-PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc,,vpnc"
-PACKAGECONFIG[l2tp] = "--enable-l2tp --with-l2tp=${sbindir}/xl2tpd,--disable-l2tp,,xl2tpd"
-PACKAGECONFIG[pptp] = "--enable-pptp --with-pptp=${sbindir}/pptp,--disable-pptp,,pptp-linux"
+PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn"
+PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc"
+PACKAGECONFIG[l2tp] = "--enable-l2tp,--disable-l2tp"
+PACKAGECONFIG[pptp] = "--enable-pptp,--disable-pptp"
 # WISPr support for logging into hotspots, requires TLS
 PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
 
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
 
-python __anonymous () {
-    systemd_packages = "${PN}"
-    pkgconfig = d.getVar('PACKAGECONFIG', True)
-    if ('openvpn' or 'vpnc' or 'l2tp' or 'pptp') in pkgconfig.split():
-        systemd_packages += " ${PN}-vpn"
-    d.setVar('SYSTEMD_PACKAGES', systemd_packages)
-}
-
+SYSTEMD_PACKAGES = "${PN} ${PN}-vpn"
 SYSTEMD_SERVICE_${PN} = "connman.service"
 SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service"
 SYSTEMD_SERVICE_${PN}-wait-online = "connman-wait-online.service"
@@ -103,36 +96,6 @@ RDEPENDS_${PN} = "\
 	dbus \
 	"
 
-PACKAGES_DYNAMIC += "^${PN}-plugin-.*"
-
-def add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, add_insane_skip):
-    plugintype = pkg.split( '-' )[-1]
-    if plugintype in depmap:
-        rdepends = map(lambda x: multilib_prefix + x, \
-                       depmap[plugintype].split())
-        d.setVar("RDEPENDS_%s" % pkg, " ".join(rdepends))
-    if add_insane_skip:
-        d.appendVar("INSANE_SKIP_%s" % pkg, "dev-so")
-
-python populate_packages_prepend() {
-    depmap = dict(pppd="ppp")
-    multilib_prefix = (d.getVar("MLPREFIX", True) or "")
-
-    hook = lambda file,pkg,x,y,z: \
-        add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, False)
-    plugin_dir = d.expand('${libdir}/connman/plugins/')
-    plugin_name = d.expand('${PN}-plugin-%s')
-    do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, \
-        '${PN} plugin for %s', extra_depends='', hook=hook, prepend=True )
-
-    hook = lambda file,pkg,x,y,z: \
-        add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, True)
-    plugin_dir = d.expand('${libdir}/connman/plugins-vpn/')
-    plugin_name = d.expand('${PN}-plugin-vpn-%s')
-    do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, \
-        '${PN} VPN plugin for %s', extra_depends='', hook=hook, prepend=True )
-}
-
 PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client"
 
 FILES_${PN}-tools = "${bindir}/wispr"
@@ -152,7 +115,12 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
 
 FILES_${PN}-dev += "${libdir}/connman/*/*.la"
 
-PACKAGES =+ "${PN}-vpn ${PN}-wait-online"
+PACKAGES =+ "${PN}-vpn ${PN}-wait-online \
+             ${PN}-ppp \
+             ${PN}-plugin-vpn-l2tp \
+             ${PN}-plugin-vpn-openvpn \
+             ${PN}-plugin-vpn-pptp \
+             ${PN}-plugin-vpn-vpnc"
 
 SUMMARY_${PN}-vpn = "A daemon for managing VPN connections within embedded devices"
 DESCRIPTION_${PN}-vpn = "The ConnMan VPN provides a daemon for \
@@ -161,10 +129,10 @@ operating system.  The connman-vpnd handles all the VPN connections \
 and starts/stops VPN client processes when necessary. The connman-vpnd \
 provides a DBus API for managing VPN connections. All the different \
 VPN technogies are implemented using plug-ins."
-FILES_${PN}-vpn += "${sbindir}/connman-vpnd \
-                    ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \
-                    ${datadir}/dbus-1/system-services/net.connman.vpn.service \
-                    ${systemd_unitdir}/system/connman-vpn.service"
+FILES_${PN}-vpn = "${sbindir}/connman-vpnd \
+                   ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \
+                   ${datadir}/dbus-1/system-services/net.connman.vpn.service \
+                   ${systemd_unitdir}/system/connman-vpn.service"
 
 SUMMARY_${PN}-wait-online = "A program that will return once ConnMan has connected to a network"
 DESCRIPTION_${PN}-wait-online = "A service that can be enabled so that \
@@ -175,31 +143,32 @@ FILES_${PN}-wait-online += "${sbindir}/connmand-wait-online \
 SUMMARY_${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN"
 DESCRIPTION_${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \
 to create a VPN connection to OpenVPN server."
-FILES_${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script \
-                                   ${libdir}/connman/plugins-vpn/openvpn.so"
-RDEPENDS_${PN}-plugin-vpn-openvpn += "${PN}-vpn"
-RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','openvpn','${PN}-plugin-vpn-openvpn', '', d)}"
+FILES_${PN}-plugin-vpn-openvpn = "${libdir}/connman/scripts/openvpn-script \
+                                  ${libdir}/connman/plugins-vpn/openvpn.so"
+RDEPENDS_${PN}-plugin-vpn-openvpn = "${PN}-vpn openvpn"
+RSUGGESTS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','openvpn','${PN}-plugin-vpn-openvpn', '', d)}"
 
 SUMMARY_${PN}-plugin-vpn-vpnc = "A vpnc plugin for ConnMan VPN"
 DESCRIPTION_${PN}-plugin-vpn-vpnc = "The ConnMan vpnc plugin uses vpnc client \
 to create a VPN connection to Cisco3000 VPN Concentrator."
-FILES_${PN}-plugin-vpn-vpnc += "${libdir}/connman/scripts/openconnect-script \
-                                ${libdir}/connman/plugins-vpn/vpnc.so"
-RDEPENDS_${PN}-plugin-vpn-vpnc += "${PN}-vpn"
-RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','vpnc','${PN}-plugin-vpn-vpnc', '', d)}"
+FILES_${PN}-plugin-vpn-vpnc = "${libdir}/connman/scripts/openconnect-script \
+                               ${libdir}/connman/plugins-vpn/vpnc.so"
+RDEPENDS_${PN}-plugin-vpn-vpnc = "${PN}-vpn vpnc"
+RSUGGESTS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','vpnc','${PN}-plugin-vpn-vpnc', '', d)}"
 
 SUMMARY_${PN}-plugin-vpn-l2tp = "A L2TP plugin for ConnMan VPN"
 DESCRIPTION_${PN}-plugin-vpn-l2tp = "The ConnMan L2TP plugin uses xl2tpd daemon \
 to create a VPN connection to L2TP server."
-FILES_${PN}-plugin-vpn-l2tp += "${libdir}/connman/scripts/libppp-plugin.so* \
-                                ${libdir}/connman/plugins-vpn/l2tp.so"
-RDEPENDS_${PN}-plugin-vpn-l2tp += "${PN}-vpn"
-RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','l2tp','${PN}-plugin-vpn-l2tp', '', d)}"
+FILES_${PN}-plugin-vpn-l2tp = "${libdir}/connman/plugins-vpn/l2tp.so"
+RDEPENDS_${PN}-plugin-vpn-l2tp = "${PN}-vpn ${PN}-ppp xl2tpd"
+RSUGGESTS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','l2tp','${PN}-plugin-vpn-l2tp', '', d)}"
 
 SUMMARY_${PN}-plugin-vpn-pptp = "A PPTP plugin for ConnMan VPN"
 DESCRIPTION_${PN}-plugin-vpn-pptp = "The ConnMan PPTP plugin uses pptp-linux client \
 to create a VPN connection to PPTP server."
-FILES_${PN}-plugin-vpn-pptp += "${libdir}/connman/scripts/libppp-plugin.so* \
-                                ${libdir}/connman/plugins-vpn/pptp.so"
-RDEPENDS_${PN}-plugin-vpn-pptp += "${PN}-vpn"
-RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','pptp','${PN}-plugin-vpn-pptp', '', d)}"
+FILES_${PN}-plugin-vpn-pptp = "${libdir}/connman/plugins-vpn/pptp.so"
+RDEPENDS_${PN}-plugin-vpn-pptp = "${PN}-vpn ${PN}-ppp pptp-linux"
+RSUGGESTS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','pptp','${PN}-plugin-vpn-pptp', '', d)}"
+
+FILES_${PN}-ppp = "${libdir}/connman/scripts/libppp-plugin.so"
+RDEPENDS_${PN}-ppp = "ppp"
-- 
2.7.4



^ permalink raw reply related

* [PATCH 2/2] connman: enable connman-wait-online.service
From: Andreas Oberritter @ 2016-11-30 12:22 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <1480508551-26893-1-git-send-email-obi@opendreambox.org>

Fixes network mounts on boot.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-connectivity/connman/connman.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 091e402..0480257 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -56,7 +56,7 @@ PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
 
-SYSTEMD_PACKAGES = "${PN} ${PN}-vpn"
+SYSTEMD_PACKAGES = "${PN} ${PN}-vpn ${PN}-wait-online"
 SYSTEMD_SERVICE_${PN} = "connman.service"
 SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service"
 SYSTEMD_SERVICE_${PN}-wait-online = "connman-wait-online.service"
-- 
2.7.4



^ permalink raw reply related

* purpose of variables like "base_bindir_native"?
From: Robert P. J. Day @ 2016-11-30 11:34 UTC (permalink / raw)
  To: OE Core mailing list


  i'm putting together a tutorial on the structure of the native
sysroot and how it's built and variables involved, and was poking
around in both bitbake.conf and native.bbclass, and i'm curious about
one or two things.

  i could be totally wrong but it *seems* like there's native-related
content in bitbake.conf that could be moved over to native.bbclass to
reduce a little of the clutter. i'm perusing bitbake.conf and it's
hard to keep track of some of the variables just because there's both
native- and target- related settings in there. but i'll admit i
haven't finished my inspection.

  on a more specific note, in the entire oe-core layer, there are two
references to the variable "base_bindir_native" (formatted for
aesthetics):

$ grep -rw base_bindir_native *
meta/conf/bitbake.conf:base_bindir_native = "/bin"
meta/conf/bitbake.conf:PATH_prepend =
 "${COREBASE}/scripts:i
 ${STAGING_BINDIR_TOOLCHAIN}:
 ${STAGING_BINDIR_CROSS}:
 ${STAGING_DIR_NATIVE}${sbindir_native}:
 ${STAGING_BINDIR_NATIVE}:
 ${STAGING_DIR_NATIVE}${base_sbindir_native}:
 ${STAGING_DIR_NATIVE}${base_bindir_native}:"      <----- there

  so, given that that variable is set in bitbake.conf, and is only
referenced in that same file, what's the point of making it a
variable? doesn't hurt, of course, but when i see a variable, i
normally assume it's because it might be modified later somewhere, but
i don't see that happening here. is there a reason for it? same thing
could be said for "base_sbindir_native" as well.

  thoughts?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




^ permalink raw reply

* [PATCH V2 11/11] pybootchartgui: support reading reduced /proc logs
From: Patrick Ohly @ 2016-11-30  9:50 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1480499133.git.patrick.ohly@intel.com>

Pre-processing /proc data during the build considerably reduces the
amount of data written to disk: 176KB instead of 4.7MB for a 20
minuted build. Parsing also becomes faster.

buildstats.bbclass only writes the reduced logs now, but support for
the full /proc files is kept around as reference.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
 scripts/pybootchartgui/pybootchartgui/parsing.py | 31 ++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/scripts/pybootchartgui/pybootchartgui/parsing.py b/scripts/pybootchartgui/pybootchartgui/parsing.py
index 1c8d8ef..bcfb2da 100644
--- a/scripts/pybootchartgui/pybootchartgui/parsing.py
+++ b/scripts/pybootchartgui/pybootchartgui/parsing.py
@@ -442,6 +442,12 @@ def _parse_proc_stat_log(file):
         # skip the rest of statistics lines
     return samples
 
+def _parse_reduced_log(file, sample_class):
+    samples = []
+    for time, lines in _parse_timed_blocks(file):
+        samples.append(sample_class(time, *[float(x) for x in lines[0].split()]))
+    return samples
+
 def _parse_proc_disk_stat_log(file):
     """
     Parse file for disk stats, but only look at the whole device, eg. sda,
@@ -483,6 +489,25 @@ def _parse_proc_disk_stat_log(file):
 
     return disk_stats
 
+def _parse_reduced_proc_meminfo_log(file):
+    """
+    Parse file for global memory statistics with
+    'MemTotal', 'MemFree', 'Buffers', 'Cached', 'SwapTotal', 'SwapFree' values
+    (in that order) directly stored on one line.
+    """
+    used_values = ('MemTotal', 'MemFree', 'Buffers', 'Cached', 'SwapTotal', 'SwapFree',)
+
+    mem_stats = []
+    for time, lines in _parse_timed_blocks(file):
+        sample = MemSample(time)
+        for name, value in zip(used_values, lines[0].split()):
+            sample.add_value(name, int(value))
+
+        if sample.valid():
+            mem_stats.append(DrawMemSample(sample))
+
+    return mem_stats
+
 def _parse_proc_meminfo_log(file):
     """
     Parse file for global memory statistics.
@@ -702,10 +727,16 @@ def _do_parse(writer, state, filename, file):
     name = os.path.basename(filename)
     if name == "proc_diskstats.log":
         state.disk_stats = _parse_proc_disk_stat_log(file)
+    elif name == "reduced_proc_diskstats.log":
+        state.disk_stats = _parse_reduced_log(file, DiskSample)
     elif name == "proc_stat.log":
         state.cpu_stats = _parse_proc_stat_log(file)
+    elif name == "reduced_proc_stat.log":
+        state.cpu_stats = _parse_reduced_log(file, CPUSample)
     elif name == "proc_meminfo.log":
         state.mem_stats = _parse_proc_meminfo_log(file)
+    elif name == "reduced_proc_meminfo.log":
+        state.mem_stats = _parse_reduced_proc_meminfo_log(file)
     elif name == "cmdline2.log":
         state.cmdline = _parse_cmdline_log(writer, file)
     elif name == "monitor_disk.log":
-- 
2.1.4



^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox