Marek Vasut | 10 Feb 01:04 2016
Picon
Picon

[PATCH V2 1/7] strace: Fix build for arc, metag, nios2, or1k, tile

Upstream strace 4.11 does not build for arc, metag, nios2, or1k, tile.
Backport patch from strace git master to fix the build issue.

Signed-off-by: Marek Vasut <marex@...>
Cc: Robert Yang <liezhi.yang@...>
Cc: Richard Purdie <richard.purdie@...>
Cc: Ross Burton <ross.burton@...>
---
V2: Add SoB line to the backported patch
---
 .../0001-arc-metag-nios2-or1k-tile-fix-build.patch | 117 +++++++++++++++++++++
 meta/recipes-devtools/strace/strace_4.11.bb        |   1 +
 2 files changed, 118 insertions(+)
 create mode 100644 meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch

diff --git
a/meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch b/meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch
new file mode 100644
index 0000000..a9d3203
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch
 <at>  <at>  -0,0 +1,117  <at>  <at> 
+From dd1a80c8d213eed95fe55b7ebcb07ee165dd8e4b Mon Sep 17 00:00:00 2001
+From: "Dmitry V. Levin" <ldv@...>
+Date: Thu, 24 Dec 2015 15:40:55 +0000
+Subject: [PATCH] arc, metag, nios2, or1k, tile: fix build
+
+Fix build regression introduced by commit
+34683e3926d8c2daa368afb805da422ee7043396.
+
(Continue reading)

Christopher Larson | 10 Feb 00:12 2016
Picon
Gravatar

[PATCH] recipetool.newappend: add -e/--edit argument

From: Christopher Larson <chris_larson@...>

Signed-off-by: Christopher Larson <chris_larson@...>
---
 scripts/lib/recipetool/newappend.py | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/scripts/lib/recipetool/newappend.py b/scripts/lib/recipetool/newappend.py
index f9b8d85..5625a8e 100644
--- a/scripts/lib/recipetool/newappend.py
+++ b/scripts/lib/recipetool/newappend.py
 <at>  <at>  -25,6 +25,7  <at>  <at>  import errno
 import logging
 import os
 import re
+import subprocess
 import sys

 
 <at>  <at>  -89,17 +90,26  <at>  <at>  def newappend(args):
         bb.utils.mkdirhier(os.path.dirname(append_path))

         try:
-            open(append_path, 'a')
+            open(append_path, 'a').close()
         except (OSError, IOError) as exc:
             logger.critical(str(exc))
             return 1

-    print(append_path)
(Continue reading)

Peter Seebach | 9 Feb 20:57 2016

[PATCH 0/1] pseudo 1.7.5

tarball submitted, but this won't work without it... but you should
be able to use pseudo_git if you want to see the new shiny.

Long story short, there has always been a race condition if enough
clients were trying to simultaneously start a server, but that doesn't
come up much. But a while back, I added a "feature" where "pseudo <cmd>"
would try to shut the server down cleanly after running the command,
which is great for casual command-line use, but meant that we would
actually hit the race condition.

Respawn logic drastically reworked, various other changes made to
make this less likely to come up, and so on.

Also, pseudo will now abort() if the client can't get a server, which
could conceivably break things, *but*, it should only be breaking things
which have in fact been broken all along, we just didn't know it.

Also a bug fix for cases where mknod is called with only file permission
bits to create an ordinary file, which GNU tar does if and only if trying
to extract xattrs apparently (!?!??), and then a followup workaround for
a problem making ext4 filesystems, where I'm pretty sure the behavior was
right to begin with but this workaround lets things progress in the mean
time.

Whee.

The following changes since commit d53a0d410ae2390528f1090a131cd3e16d7ebcc5:

  glibc-locale: fix QA warning (2016-02-07 22:53:22 +0000)

(Continue reading)

Andre McCurdy | 9 Feb 20:07 2016
Picon

[PATCH] gstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditional

Include gstreamer1.0-plugins-base-alsa in gstreamer1.0-meta-base only
if "alsa" is present in both MACHINE and DISTRO features.

Note that building of the plugin by gstreamer1.0-plugins-base is
already conditional (based on the "alsa" DISTRO feature).

Signed-off-by: Andre McCurdy <armccurdy@...>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index ffffa63..ecfd082 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
 <at>  <at>  -26,7 +26,7  <at>  <at>  RDEPENDS_gstreamer1.0-meta-base = "\
     gstreamer1.0 \
     gstreamer1.0-plugins-base-playback \
     gstreamer1.0-plugins-base-gio \
-    gstreamer1.0-plugins-base-alsa \
+    ${ <at> bb.utils.contains('COMBINED_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '',d)} \
     gstreamer1.0-plugins-base-volume \
     gstreamer1.0-plugins-base-audioconvert \
     gstreamer1.0-plugins-base-audioresample \
-- 
1.9.1

--

-- 
Andre McCurdy | 9 Feb 20:02 2016
Picon

[PATCH] curl: drop obsolete pkgconfig_fix.patch

This patch has been carried around in oe-core for a long time.
It contains two unrelated changes and neither seem to be required
any more. Drop the patch.

Signed-off-by: Andre McCurdy <armccurdy@...>
---
 meta/recipes-support/curl/curl/pkgconfig_fix.patch | 32 ----------------------
 meta/recipes-support/curl/curl_7.47.1.bb           |  4 +--
 2 files changed, 1 insertion(+), 35 deletions(-)
 delete mode 100644 meta/recipes-support/curl/curl/pkgconfig_fix.patch

diff --git a/meta/recipes-support/curl/curl/pkgconfig_fix.patch b/meta/recipes-support/curl/curl/pkgconfig_fix.patch
deleted file mode 100644
index 5d8769d..0000000
--- a/meta/recipes-support/curl/curl/pkgconfig_fix.patch
+++ /dev/null
 <at>  <at>  -1,32 +0,0  <at>  <at> 
-Upstream-Status: Inappropriate [packaging]
-
-diff -Nurd curl-7.29.0/configure.ac curl-7.29.0/configure.ac
---- curl-7.29.0/configure.ac	2013-02-06 11:47:19.000000000 +0200
-+++ curl-7.29.0/configure.ac	2013-02-16 12:32:22.132327764 +0200
- <at>  <at>  -1883,6 +1883,7  <at>  <at> 
-        AC_SUBST(USE_GNUTLS, [1])
-        GNUTLS_ENABLED=1
-        USE_GNUTLS="yes"
-+       GNUTLS_REQUIRED="gnutls"
-        curl_ssl_msg="enabled (GnuTLS)"
-        ],
-        [
(Continue reading)

Maxin B. John | 9 Feb 18:48 2016
Picon

[PATCH 1/3] mdadm: update to version 3.4

3.3.4 -> 3.4

a) Removed the following upstreamed patches:
        1. mdadm-fix-ptest-build-errors.patch
        2. 0001-Define-_POSIX_C_SOURCE-if-undefined.patch

b) Added following patches to fix uclibc,musl and x32 build failures
        1. 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch
        2. 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch
        3. 0001-Fix-some-type-comparison-problems.patch
        4. 0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch

Signed-off-by: Maxin B. John <maxin.john@...>
---
 .../0001-Define-_POSIX_C_SOURCE-if-undefined.patch | 59 ----------------------
 .../0001-Fix-some-type-comparison-problems.patch   | 50 ++++++++++++++++++
 ...th-of-corosync-and-dlm-header-files-check.patch | 33 ++++++++++++
 ...dadm.h-bswap-is-already-defined-in-uclibc.patch | 55 ++++++++++++++++++++
 ...il.c-include-poll.h-instead-of-sys-poll.h.patch | 45 +++++++++++++++++
 .../mdadm/files/mdadm-3.2.2_fix_for_x32.patch      |  2 +-
 .../mdadm/files/mdadm-fix-ptest-build-errors.patch | 50 ------------------
 .../mdadm/{mdadm_3.3.4.bb => mdadm_3.4.bb}         | 18 ++++---
 8 files changed, 194 insertions(+), 118 deletions(-)
 delete mode 100644 meta/recipes-extended/mdadm/files/0001-Define-_POSIX_C_SOURCE-if-undefined.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-Fix-some-type-comparison-problems.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-util.c-include-poll.h-instead-of-sys-poll.h.patch
 delete mode 100644 meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.3.4.bb => mdadm_3.4.bb} (74%)
(Continue reading)

Mark Hatle | 9 Feb 16:41 2016

[RFC][PATCH] Resolve an issue when using pipes to process data

I'm sending this as an RFC.  I know the patch works, but I think it highlights
a potentially larger issue in the system.

If we're processing data using shell pipes, the return code of a failed
process may end up being lost -- avoiding the regular error capture when
bitbake runs a task.

In this particular case, while working to fix a bug in pseudo we made an
error condition fatal (triggered an abort()), but buildhistory kept on
processing ignoring any issues had occurred.

Breaking up the processing into steps, things that 'could fail', and later
processing steps that shouldn't fail will give us more of an opportunity to
identify failures in the future and deal with them in a quicker manner,
then having to investigate log files for messages.

I'm suspecting we should run a janitor exercise against oe-core looking for
similar situations where we might be piping the data and potentially losing
return codes in the process.

Comments?

Mark Hatle (1):
  buildhistory.bbclass: Break up the find to catch failures

 meta/classes/buildhistory.bbclass | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--

-- 
2.5.0
(Continue reading)

Mark Hatle | 9 Feb 16:34 2016

[RFC][PATCH] buildhistory.bbclass: Break up the find to catch failures

If for some reason the 'find' operation were to fail, the buildhistory would
not fail, but instead store invalid history!

[YOCTO #9031]

Note this fixes the symptom, but not the cause of 9031.  That is a separate
issue, see the defect for more details on the work being done to resolve the
cause of the failure.

Signed-off-by: Mark Hatle <mark.hatle@...>
---
 meta/classes/buildhistory.bbclass | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 5e2581f..189881e 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
 <at>  <at>  -439,10 +439,12  <at>  <at>  buildhistory_list_files() {
 	# List the files in the specified directory, but exclude date/time etc.
 	# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
 	if [ "$3" = "fakeroot" ] ; then
-		( cd $1 && ${FAKEROOTENV} ${FAKEROOTCMD} find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort
-k5 | sed 's/ * -> $//' > $2 )
+		( cd $1 && ${FAKEROOTENV} ${FAKEROOTCMD} find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" > $2.tmp )
 	else
-		( cd $1 && find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort -k5 | sed 's/ * -> $//' > $2 )
+		( cd $1 && find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" > $2.tmp )
 	fi
+	cat $2.tmp | sort -k5 | sed 's/ * -> $//' > $2
(Continue reading)

Jussi Kukkonen | 9 Feb 16:27 2016
Picon

[PATCH 0/2] Openssh test fixes

The following changes since commit 7d5d8d0cd985edf507c8d00e2e162d1b9fff3589:

  scripts/lib/bsp/engine: trailing whitespace cleanup (2016-02-08 10:54:56 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jku/openssh-tests
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/openssh-tests

Jussi Kukkonen (2):
  openssh: Fix regex that sets sftp-server path for tests
  openssh: Properly skip ptrace test if tools are missing

 meta/recipes-connectivity/openssh/openssh/run-ptest | 6 +++---
 meta/recipes-connectivity/openssh/openssh_7.1p2.bb  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.1.4

--

-- 
Martin Jansa | 9 Feb 15:54 2016
Picon
Gravatar

[PATCH][fido] tzdata: remove 2015d version

* this is left-over from upgrade to 2016a

* it's safer to remove so that .bbappends in other layers really apply to version
  used in build (currently we have bbappend for 2015d and build will use 2016a
  without any warning

* the same problem was reported with 2015f upgrade:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-August/109708.html

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
 meta/recipes-extended/tzdata/tzdata_2015d.bb | 6 ------
 1 file changed, 6 deletions(-)
 delete mode 100644 meta/recipes-extended/tzdata/tzdata_2015d.bb

diff --git a/meta/recipes-extended/tzdata/tzdata_2015d.bb b/meta/recipes-extended/tzdata/tzdata_2015d.bb
deleted file mode 100644
index d8e5f24..0000000
--- a/meta/recipes-extended/tzdata/tzdata_2015d.bb
+++ /dev/null
 <at>  <at>  -1,6 +0,0  <at>  <at> 
-SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
-
-SRC_URI[tzdata.md5sum] = "b595bdc4474b8fc1a15cffc67c66025b"
-SRC_URI[tzdata.sha256sum] = "8b9f5008277f09e251e97dba7813f56168d691115bda90ade4638d72f296d531"
-
-require tzdata.inc
--

-- 
2.7.0

(Continue reading)

Nathan Rossi | 9 Feb 15:33 2016
Gravatar

[PATCH] insane.bbclass: Support MicroBlaze with musl

MicroBlaze is supported by musl, add entries for the 3 variants.

Signed-off-by: Nathan Rossi <nathan@...>
---
 meta/classes/insane.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 47b441a..2bc9315 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
 <at>  <at>  -127,6 +127,9  <at>  <at>  def package_qa_get_machine_dict():
                         "mipsel":     (   8,     0,    0,          True,          32),
                         "mips64":     (   8,     0,    0,          False,         64),
                         "mips64el":   (   8,     0,    0,          True,          64),
+                        "microblaze":  (189,     0,    0,          False,         32),
+                        "microblazeeb":(189,     0,    0,          False,         32),
+                        "microblazeel":(189,     0,    0,          True,          32),
                       },
             "uclinux-uclibc" : {
                         "bfin":       ( 106,     0,    0,          True,         32),
-- 
2.7.0

--

-- 

Gmane