Re: [OE-core] [rocko] [PATCH] glibc:CVE-2017-17426

2018-01-02 Thread Huang, Qiyu
This patch fixes in rocko.

huangqy

> -Original Message-
> From: akuster808 [mailto:akuster...@gmail.com]
> Sent: Saturday, December 30, 2017 12:30 PM
> To: Huang, Qiyu ;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [rocko] [PATCH] glibc:CVE-2017-17426
> 
> 
> 
> On 12/27/2017 09:19 PM, Huang Qiyu wrote:
> > Fix the CVE-2017-17426.
> 
> Is this fix in master?
> 
> - armin
> >
> > Signed-off-by: Huang Qiyu 
> > ---
> >  ...-overflow-in-malloc-when-tcache-is-enable.patch | 49
> ++
> >  meta/recipes-core/glibc/glibc_2.26.bb  |  1 +
> >  2 files changed, 50 insertions(+)
> >  create mode 100644
> > meta/recipes-core/glibc/glibc/0029-Fix-integer-overflow-in-malloc-when
> > -tcache-is-enable.patch
> >
> > diff --git
> > a/meta/recipes-core/glibc/glibc/0029-Fix-integer-overflow-in-malloc-wh
> > en-tcache-is-enable.patch
> > b/meta/recipes-core/glibc/glibc/0029-Fix-integer-overflow-in-malloc-wh
> > en-tcache-is-enable.patch
> > new file mode 100644
> > index 000..fb52be5
> > --- /dev/null
> > +++ b/meta/recipes-core/glibc/glibc/0029-Fix-integer-overflow-in-mallo
> > +++ c-when-tcache-is-enable.patch
> > @@ -0,0 +1,49 @@
> > +From 34697694e8a93b325b18f25f7dcded55d6baeaf6 Mon Sep 17 00:00:00
> > +2001
> > +From: Arjun Shankar 
> > +Date: Thu, 30 Nov 2017 13:31:45 +0100
> > +Subject: [PATCH] Fix integer overflow in malloc when tcache is
> > +enabled [BZ  #22375]
> > +
> > +When the per-thread cache is enabled, __libc_malloc uses request2size
> > +(which does not perform an overflow check) to calculate the chunk
> > +size from the requested allocation size. This leads to an integer
> > +overflow causing malloc to incorrectly return the last successfully
> > +allocated block when called with a very large size argument (close to
> SIZE_MAX).
> > +
> > +This commit uses checked_request2size instead, removing the overflow.
> > +---
> > + ChangeLog   | 6 ++
> > + malloc/malloc.c | 3 ++-
> > + 2 files changed, 8 insertions(+), 1 deletion(-)
> > +
> > +diff --git a/ChangeLog b/ChangeLog
> > +index b55ed22..888f9fb 100644
> > +--- a/ChangeLog
> >  b/ChangeLog
> > +@@ -1,3 +1,9 @@
> > ++2017-11-30  Arjun Shankar  
> > ++
> > ++  [BZ #22375]
> > ++  * malloc/malloc.c (__libc_malloc): Use checked_request2size
> > ++  instead of request2size.
> > ++
> > + 2017-08-02  Siddhesh Poyarekar  
> > +
> > +   * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
> > +diff --git a/malloc/malloc.c b/malloc/malloc.c index 79f0e9e..0c9e074
> > +100644
> > +--- a/malloc/malloc.c
> >  b/malloc/malloc.c
> > +@@ -3050,7 +3050,8 @@ __libc_malloc (size_t bytes)
> > + return (*hook)(bytes, RETURN_ADDRESS (0));  #if USE_TCACHE
> > +   /* int_free also calls request2size, be careful to not pad twice.
> > +*/
> > +-  size_t tbytes = request2size (bytes);
> > ++  size_t tbytes;
> > ++  checked_request2size (bytes, tbytes);
> > +   size_t tc_idx = csize2tidx (tbytes);
> > +
> > +   MAYBE_INIT_TCACHE ();
> > +--
> > +2.7.4
> > +
> > diff --git a/meta/recipes-core/glibc/glibc_2.26.bb
> > b/meta/recipes-core/glibc/glibc_2.26.bb
> > index 135ec4f..d314316 100644
> > --- a/meta/recipes-core/glibc/glibc_2.26.bb
> > +++ b/meta/recipes-core/glibc/glibc_2.26.bb
> > @@ -43,6 +43,7 @@ SRC_URI =
> "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
> >
> file://0026-assert-Suppress-pedantic-warning-caused-by-statement.patch \
> > file://0027-glibc-reset-dl-load-write-lock-after-forking.patch \
> > file://0028-Bug-4578-add-ld.so-lock-while-fork.patch \
> > +
> > + file://0029-Fix-integer-overflow-in-malloc-when-tcache-is-enable.pat
> > + ch\
> >  "
> >
> >  NATIVESDKFIXES ?= ""
> 
> 



-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH][rocko] wic: support filesystem label for rawcopy

2018-01-02 Thread Martin Hundebøll

Hi Armin,

Any idea about when this will land in the rocko branch?

Thanks,
Martin

On 2017-12-11 08:12, Martin Hundebøll wrote:

The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.

Signed-off-by: Martin Hundebøll 
Signed-off-by: Ross Burton 
---

Hi Armin,

Please consider this for Rocko.

Thanks

  scripts/lib/wic/plugins/source/rawcopy.py | 22 ++
  1 file changed, 22 insertions(+)

diff --git a/scripts/lib/wic/plugins/source/rawcopy.py 
b/scripts/lib/wic/plugins/source/rawcopy.py
index 424ed26ed6..e86398ac8f 100644
--- a/scripts/lib/wic/plugins/source/rawcopy.py
+++ b/scripts/lib/wic/plugins/source/rawcopy.py
@@ -32,6 +32,25 @@ class RawCopyPlugin(SourcePlugin):
  
  name = 'rawcopy'
  
+@staticmethod

+def do_image_label(fstype, dst, label):
+if fstype.startswith('ext'):
+cmd = 'tune2fs -L %s %s' % (label, dst)
+elif fstype in ('msdos', 'vfat'):
+cmd = 'dosfslabel %s %s' % (dst, label)
+elif fstype == 'btrfs':
+cmd = 'btrfs filesystem label %s %s' % (dst, label)
+elif fstype == 'swap':
+cmd = 'mkswap -L %s %s' % (label, dst)
+elif fstype == 'squashfs':
+raise WicError("It's not possible to update a squashfs "
+   "filesystem label '%s'" % (label))
+else:
+raise WicError("Cannot update filesystem label: "
+   "Unknown fstype: '%s'" % (fstype))
+
+exec_cmd(cmd)
+
  @classmethod
  def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
   oe_builddir, bootimg_dir, kernel_dir,
@@ -66,4 +85,7 @@ class RawCopyPlugin(SourcePlugin):
  if filesize > part.size:
  part.size = filesize
  
+if part.label:

+RawCopyPlugin.do_image_label(part.fstype, dst, part.label)
+
  part.source_file = dst


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] boost: fix build with x32 and musl

2018-01-02 Thread Anuj Mittal
Make sure that boost picks up correct address model value
for x32 even when musl is enabled.

Fixes [YOCTO #12119]

Suggested-by: Ovidiu Panait 
Signed-off-by: Anuj Mittal 
---
 meta/recipes-support/boost/boost.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/boost/boost.inc 
b/meta/recipes-support/boost/boost.inc
index f4ecc10..41fc90f 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -169,7 +169,7 @@ BJAM_OPTS= '${BOOST_PARALLEL_MAKE} -d+2 -q \
 BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1'
 
 # Adjust the build for x32
-BJAM_OPTS_append_linux-gnux32 = " abi=x32 address-model=64"
+BJAM_OPTS_append_x86-x32 = " abi=x32 address-model=64"
 
 do_configure() {
cp -f ${S}/boost/config/platform/linux.hpp 
${S}/boost/config/platform/linux-gnueabi.hpp
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] fontcache : fix build warning when using quemu usermode

2018-01-02 Thread Alexander Kanavin

On 12/28/2017 04:21 AM, Jibin Xu wrote:

fontcache uses quemu usermode by default, but some architecture
such as Intel skylake does not support qemu usermode, this can
lead to a build warning as below:
"WARNING: The postinstall intercept hook 'update_font_cache' failed".

Add a judgement of qemu usermode to fix the build warning.


You also need to fix this in pixbufcache.bbclass. Squash all changes 
into a single patch.


Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/4] libatomic-ops: upgrade to 7.6.2

2018-01-02 Thread Maxin B. John
7.6.0 -> 7.6.2

Remove unused patch:
0001-Add-initial-nios2-architecture-support.patch

Signed-off-by: Maxin B. John 
---
 ...01-Add-initial-nios2-architecture-support.patch | 70 --
 ...batomic-ops_7.6.0.bb => libatomic-ops_7.6.2.bb} |  6 +-
 2 files changed, 4 insertions(+), 72 deletions(-)
 delete mode 100644 
meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
 rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.6.0.bb => 
libatomic-ops_7.6.2.bb} (68%)

diff --git 
a/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
 
b/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
deleted file mode 100644
index c051075..000
--- 
a/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 4b005ee56898309e8afba9b3c48cf94f0f5f78e4 Mon Sep 17 00:00:00 2001
-From: Marek Vasut 
-Date: Tue, 15 Mar 2016 10:09:26 +0300
-Subject: [PATCH] Add initial nios2 architecture support
-
-* src/Makefile.am (nobase_private_HEADERS): Add nios2.h.
-* src/atomic_ops.h: Include nios2.h if __nios2__.
-* src/atomic_ops/sysdeps/gcc/nios2.h: New file.
-
-Signed-off-by: Marek Vasut 
-Upstream-Status: Backport [ https://github.com/ivmai/libatomic_ops.git 
4b005ee56898309e8afba9b3c48cf94f0f5f78e4 ]

- src/Makefile.am|  1 +
- src/atomic_ops.h   |  3 +++
- src/atomic_ops/sysdeps/gcc/nios2.h | 17 +
- 3 files changed, 21 insertions(+)
- create mode 100644 src/atomic_ops/sysdeps/gcc/nios2.h
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index fc09b27..d463427 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -79,6 +79,7 @@ nobase_private_HEADERS = atomic_ops/ao_version.h \
-   atomic_ops/sysdeps/gcc/ia64.h \
-   atomic_ops/sysdeps/gcc/m68k.h \
-   atomic_ops/sysdeps/gcc/mips.h \
-+  atomic_ops/sysdeps/gcc/nios2.h \
-   atomic_ops/sysdeps/gcc/powerpc.h \
-   atomic_ops/sysdeps/gcc/s390.h \
-   atomic_ops/sysdeps/gcc/sh.h \
-diff --git a/src/atomic_ops.h b/src/atomic_ops.h
-index 33fe00e..ec02ba4 100644
 a/src/atomic_ops.h
-+++ b/src/atomic_ops.h
-@@ -262,6 +262,9 @@
- # if defined(__m68k__)
- #   include "atomic_ops/sysdeps/gcc/m68k.h"
- # endif /* __m68k__ */
-+# if defined(__nios2__)
-+#   include "atomic_ops/sysdeps/gcc/nios2.h"
-+# endif /* __nios2__ */
- # if defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) \
-  || defined(__powerpc64__) || defined(__ppc64__)
- #   include "atomic_ops/sysdeps/gcc/powerpc.h"
-diff --git a/src/atomic_ops/sysdeps/gcc/nios2.h 
b/src/atomic_ops/sysdeps/gcc/nios2.h
-new file mode 100644
-index 000..f402cbb
 /dev/null
-+++ b/src/atomic_ops/sysdeps/gcc/nios2.h
-@@ -0,0 +1,17 @@
-+/*
-+ * Copyright (C) 2016 Marek Vasut 
-+ *
-+ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
-+ * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
-+ *
-+ * Permission is hereby granted to use or copy this program
-+ * for any purpose, provided the above notices are retained on all copies.
-+ * Permission to modify the code and to distribute modified code is granted,
-+ * provided the above notices are retained, and a notice that the code was
-+ * modified is included with the above copyright notice.
-+ */
-+
-+#include "../test_and_set_t_is_ao_t.h"
-+#include "generic.h"
-+
-+#define AO_T_IS_INT
--- 
-2.7.0
-
diff --git a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb 
b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
similarity index 68%
rename from meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb
rename to meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
index 4463d86..fff8fe2 100644
--- a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb
+++ b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
@@ -7,9 +7,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \
   "
 PV .= "+git${SRCPV}"
+SRCBRANCH ?= "release-7_6"
+UPSTREAM_CHECK_URI = "https://github.com/ivmai/libatomic_ops/releases/";
 
-SRCREV = "73c60c5ef1ed370111549ee5aab6d4020ba70ed4"
-SRC_URI = "git://github.com/ivmai/libatomic_ops"
+SRCREV = "5ae4b4aeea2baf13752d07e3038c47f70f06dcac"
+SRC_URI = "git://github.com/ivmai/libatomic_ops;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/4] harfbuzz: upgrade to 1.7.4

2018-01-02 Thread Maxin B. John
1.7.0 -> 1.7.4

Signed-off-by: Maxin B. John 
---
 .../harfbuzz/{harfbuzz_1.7.0.bb => harfbuzz_1.7.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_1.7.0.bb => harfbuzz_1.7.4.bb} 
(88%)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_1.7.0.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_1.7.4.bb
similarity index 88%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_1.7.0.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_1.7.4.bb
index c45ec84..ce1ead4 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_1.7.0.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_1.7.4.bb
@@ -12,8 +12,8 @@ DEPENDS = "glib-2.0 cairo fontconfig freetype"
 
 SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.bz2";
 
-SRC_URI[md5sum] = "7e70e68ade0ed79719932b38c2130f0a"
-SRC_URI[sha256sum] = 
"042742d6ec67bc6719b69cf38a3fba24fbd120e207e3fdc18530dc730fb6a029"
+SRC_URI[md5sum] = "c7476d8b989869d8b95b37fa53add6bf"
+SRC_URI[sha256sum] = 
"b5d6ac8415f97f3540d73f3f91c41c5c10f8a4d76350f11a7184062aae88ac0b"
 
 inherit autotools pkgconfig lib_package gtk-doc
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/4] pkgconf: upgrade to 1.3.90

2018-01-02 Thread Maxin B. John
1.3.7 -> 1.3.90

Removed following upstreamed and backported patches:
1. 0001-stdinc.h-fix-build-with-mingw.patch
2. 0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch

Signed-off-by: Maxin B. John 
---
 ...imal-tweaks-to-compile-with-Visual-C-2015.patch | 224 -
 .../0001-stdinc.h-fix-build-with-mingw.patch   |  48 -
 .../{pkgconf_1.3.7.bb => pkgconf_1.3.90.bb}|   6 +-
 3 files changed, 2 insertions(+), 276 deletions(-)
 delete mode 100644 
meta/recipes-devtools/pkgconf/pkgconf/0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
 delete mode 100644 
meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch
 rename meta/recipes-devtools/pkgconf/{pkgconf_1.3.7.bb => pkgconf_1.3.90.bb} 
(91%)

diff --git 
a/meta/recipes-devtools/pkgconf/pkgconf/0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
 
b/meta/recipes-devtools/pkgconf/pkgconf/0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
deleted file mode 100644
index 3805ad3..000
--- 
a/meta/recipes-devtools/pkgconf/pkgconf/0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
+++ /dev/null
@@ -1,224 +0,0 @@
-From 4d7b4d7c8e9966c593f472355607204c6c80fecb Mon Sep 17 00:00:00 2001
-From: Dan Kegel 
-Date: Sun, 4 Jun 2017 19:19:55 -0700
-Subject: [PATCH] Minimal tweaks to compile with Visual C 2015
-
-Upstream-Status: Backport
-
-Signed-off-by: Maxin B. John 

- getopt_long.c   |  2 ++
- libpkgconf/bsdstubs.c   |  1 +
- libpkgconf/libpkgconf.h |  2 +-
- libpkgconf/path.c   | 10 +-
- libpkgconf/pkg.c| 28 +++-
- libpkgconf/stdinc.h |  9 +++--
- 6 files changed, 35 insertions(+), 17 deletions(-)
-
-diff --git a/getopt_long.c b/getopt_long.c
-index afeb68d..5ce9bfd 100644
 a/getopt_long.c
-+++ b/getopt_long.c
-@@ -62,7 +62,9 @@
- #include 
- #include 
- #include 
-+#ifndef _WIN32
- #include 
-+#endif
- 
- #define PKGCONF_HACK_LOGICAL_OR_ALL_VALUES
- 
-diff --git a/libpkgconf/bsdstubs.c b/libpkgconf/bsdstubs.c
-index 8f70ff3..2c000ac 100644
 a/libpkgconf/bsdstubs.c
-+++ b/libpkgconf/bsdstubs.c
-@@ -17,6 +17,7 @@
-  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-  */
- 
-+#include 
- #include 
- #include 
- 
-diff --git a/libpkgconf/libpkgconf.h b/libpkgconf/libpkgconf.h
-index 404bf0c..551d85d 100644
 a/libpkgconf/libpkgconf.h
-+++ b/libpkgconf/libpkgconf.h
-@@ -310,7 +310,7 @@ void pkgconf_audit_log_dependency(pkgconf_client_t 
*client, const pkgconf_pkg_t
- /* path.c */
- void pkgconf_path_add(const char *text, pkgconf_list_t *dirlist, bool filter);
- size_t pkgconf_path_split(const char *text, pkgconf_list_t *dirlist, bool 
filter);
--size_t pkgconf_path_build_from_environ(const char *environ, const char 
*fallback, pkgconf_list_t *dirlist, bool filter);
-+size_t pkgconf_path_build_from_environ(const char *envvarname, const char 
*fallback, pkgconf_list_t *dirlist, bool filter);
- bool pkgconf_path_match_list(const char *path, const pkgconf_list_t *dirlist);
- void pkgconf_path_free(pkgconf_list_t *dirlist);
- bool pkgconf_path_relocate(char *buf, size_t buflen);
-diff --git a/libpkgconf/path.c b/libpkgconf/path.c
-index dddb3bf..59e003e 100644
 a/libpkgconf/path.c
-+++ b/libpkgconf/path.c
-@@ -20,7 +20,7 @@
- # include 
- #endif
- 
--#ifdef HAVE_SYS_STAT_H
-+#if defined(HAVE_SYS_STAT_H) && ! defined(_WIN32)
- # include 
- # define PKGCONF_CACHE_INODES
- #endif
-@@ -156,12 +156,12 @@ pkgconf_path_split(const char *text, pkgconf_list_t 
*dirlist, bool filter)
- /*
-  * !doc
-  *
-- * .. c:function:: size_t pkgconf_path_build_from_environ(const char 
*environ, const char *fallback, pkgconf_list_t *dirlist)
-+ * .. c:function:: size_t pkgconf_path_build_from_environ(const char 
*envvarname, const char *fallback, pkgconf_list_t *dirlist)
-  *
-  *Adds the paths specified in an environment variable to a path list.  If 
the environment variable is not set,
-  *an optional default set of paths is added.
-  *
-- *:param char* environ: The environment variable to look up.
-+ *:param char* envvarname: The environment variable to look up.
-  *:param char* fallback: The fallback paths to use if the environment 
variable is not set.
-  *:param pkgconf_list_t* dirlist: The path list to add the path nodes to.
-  *:param bool filter: Whether to perform duplicate filtering.
-@@ -169,11 +169,11 @@ pkgconf_path_split(const char *text, pkgconf_list_t 
*dirlist, bool filter)
-  *:rtype: size_t
-  */
- size_t
--pkgconf_path_build_from_environ(const char *environ, const char *fallback, 
pkgconf_list_t *dirlist, bool filter)
-+pkgconf_path_build_from_environ(const char *envvarname, const char *fallback, 
pkgconf_list_t *dirlist, bool filter)
- {
-   const char *data;
- 
--  data = getenv(environ);
-+  data = getenv(envvarname);
-   if (data != NULL)
-   return pkgconf_path_split(data, dirlist, filter);
- 
-diff --git a/libpkgconf/pkg.c 

[OE-core] [PATCH 3/4] libjpeg-turbo: upgrade to 1.5.3

2018-01-02 Thread Maxin B. John
1.5.2 -> 1.5.3

No change in license. Updates in License Checksums are due to change
in Copyright years.

Signed-off-by: Maxin B. John 
---
 .../jpeg/{libjpeg-turbo_1.5.2.bb => libjpeg-turbo_1.5.3.bb}   | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/jpeg/{libjpeg-turbo_1.5.2.bb => 
libjpeg-turbo_1.5.3.bb} (87%)

diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.2.bb 
b/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
similarity index 87%
rename from meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.2.bb
rename to meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
index 58646d3..8809f2c 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.2.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
@@ -3,17 +3,17 @@ DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that 
uses SIMD instructi
 HOMEPAGE = "http://libjpeg-turbo.org/";
 
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=13;md5=05bab7c7ad899d85bfba60da1a1271f2 \
+LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=13;md5=8184bcc7c4ac7b9edc6a7bc00f231d0b \
 
file://jpeglib.h;endline=16;md5=f67d70e547a2662c079781c72f877f72 \
-
file://djpeg.c;endline=11;md5=b90b6d2b4119f9e5807cd273f525d2af \
+
file://djpeg.c;endline=11;md5=c59e19811c006cb38f82d6477134d314 \
 "
 DEPENDS_append_x86-64_class-target = " nasm-native"
 DEPENDS_append_x86_class-target= " nasm-native"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "6b4923e297a7eaa255f08511017a8818"
-SRC_URI[sha256sum] = 
"9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528"
+SRC_URI[md5sum] = "7c82f0f6a3130ec06b8a4d0b321cbca3"
+SRC_URI[sha256sum] = 
"b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523"
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libjpeg-turbo/files/";
 UPSTREAM_CHECK_REGEX = "/libjpeg-turbo/files/(?P(\d+[\.\-_]*)+)/"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] pkgconf: upgrade to 1.3.90

2018-01-02 Thread Alexander Kanavin

On 01/02/2018 02:41 PM, Maxin B. John wrote:

1.3.7 -> 1.3.90


1.3.90 is a pre-release tag for 1.4.0, can be seen here:

https://github.com/pkgconf/pkgconf/blob/master/NEWS

Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] libatomic-ops: upgrade to 7.6.2

2018-01-02 Thread Alexander Kanavin

On 01/02/2018 02:41 PM, Maxin B. John wrote:

+UPSTREAM_CHECK_URI = "https://github.com/ivmai/libatomic_ops/releases/";
+SRC_URI = "git://github.com/ivmai/libatomic_ops;branch=${SRCBRANCH}"


I don't think UPSTREAM_CHECK_URI has any effect when fetching from git, 
why was it added?


Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] pkgconf: upgrade to 1.3.90

2018-01-02 Thread Maxin B. John
Hi Alex,

On Tue, Jan 02, 2018 at 02:38:54PM +0200, Alexander Kanavin wrote:
> On 01/02/2018 02:41 PM, Maxin B. John wrote:
> >1.3.7 -> 1.3.90
> 
> 1.3.90 is a pre-release tag for 1.4.0, can be seen here:
> 
> https://github.com/pkgconf/pkgconf/blob/master/NEWS

Thanks. In that case, we can wait till they officially release 1.4.0.

> Alex
Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] pkgconf: upgrade to 1.3.90

2018-01-02 Thread Alexander Kanavin

On 01/02/2018 02:52 PM, Maxin B. John wrote:

Hi Alex,

On Tue, Jan 02, 2018 at 02:38:54PM +0200, Alexander Kanavin wrote:

On 01/02/2018 02:41 PM, Maxin B. John wrote:

1.3.7 -> 1.3.90


1.3.90 is a pre-release tag for 1.4.0, can be seen here:

https://github.com/pkgconf/pkgconf/blob/master/NEWS


Thanks. In that case, we can wait till they officially release 1.4.0.


You can practice your regex skills meanwhile, and exclude tags that have 
9 in the minor version part.


Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] libatomic-ops: upgrade to 7.6.2

2018-01-02 Thread Maxin B. John
Hi,

On Tue, Jan 02, 2018 at 02:42:13PM +0200, Alexander Kanavin wrote:
> On 01/02/2018 02:41 PM, Maxin B. John wrote:
> >+UPSTREAM_CHECK_URI = "https://github.com/ivmai/libatomic_ops/releases/";
> >+SRC_URI = "git://github.com/ivmai/libatomic_ops;branch=${SRCBRANCH}"
> 
> I don't think UPSTREAM_CHECK_URI has any effect when fetching from git, why
> was it added?

It was added as there was a change in SRC_URI with branch info. Thanks for the 
review. I will remove that part.

> Alex
Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] libatomic-ops: upgrade to 7.6.2

2018-01-02 Thread Maxin B. John
7.6.0 -> 7.6.2

Remove unused patch:
0001-Add-initial-nios2-architecture-support.patch

Signed-off-by: Maxin B. John 
---
Changes since V1:
Removed UPSTREAM_CHECK_URI which has no effect while fetching from git repo
---
 ...01-Add-initial-nios2-architecture-support.patch | 70 --
 ...batomic-ops_7.6.0.bb => libatomic-ops_7.6.2.bb} |  5 +-
 2 files changed, 3 insertions(+), 72 deletions(-)
 delete mode 100644 
meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
 rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.6.0.bb => 
libatomic-ops_7.6.2.bb} (76%)

diff --git 
a/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
 
b/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
deleted file mode 100644
index c051075..000
--- 
a/meta/recipes-support/libatomic-ops/libatomic-ops/0001-Add-initial-nios2-architecture-support.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 4b005ee56898309e8afba9b3c48cf94f0f5f78e4 Mon Sep 17 00:00:00 2001
-From: Marek Vasut 
-Date: Tue, 15 Mar 2016 10:09:26 +0300
-Subject: [PATCH] Add initial nios2 architecture support
-
-* src/Makefile.am (nobase_private_HEADERS): Add nios2.h.
-* src/atomic_ops.h: Include nios2.h if __nios2__.
-* src/atomic_ops/sysdeps/gcc/nios2.h: New file.
-
-Signed-off-by: Marek Vasut 
-Upstream-Status: Backport [ https://github.com/ivmai/libatomic_ops.git 
4b005ee56898309e8afba9b3c48cf94f0f5f78e4 ]

- src/Makefile.am|  1 +
- src/atomic_ops.h   |  3 +++
- src/atomic_ops/sysdeps/gcc/nios2.h | 17 +
- 3 files changed, 21 insertions(+)
- create mode 100644 src/atomic_ops/sysdeps/gcc/nios2.h
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index fc09b27..d463427 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -79,6 +79,7 @@ nobase_private_HEADERS = atomic_ops/ao_version.h \
-   atomic_ops/sysdeps/gcc/ia64.h \
-   atomic_ops/sysdeps/gcc/m68k.h \
-   atomic_ops/sysdeps/gcc/mips.h \
-+  atomic_ops/sysdeps/gcc/nios2.h \
-   atomic_ops/sysdeps/gcc/powerpc.h \
-   atomic_ops/sysdeps/gcc/s390.h \
-   atomic_ops/sysdeps/gcc/sh.h \
-diff --git a/src/atomic_ops.h b/src/atomic_ops.h
-index 33fe00e..ec02ba4 100644
 a/src/atomic_ops.h
-+++ b/src/atomic_ops.h
-@@ -262,6 +262,9 @@
- # if defined(__m68k__)
- #   include "atomic_ops/sysdeps/gcc/m68k.h"
- # endif /* __m68k__ */
-+# if defined(__nios2__)
-+#   include "atomic_ops/sysdeps/gcc/nios2.h"
-+# endif /* __nios2__ */
- # if defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) \
-  || defined(__powerpc64__) || defined(__ppc64__)
- #   include "atomic_ops/sysdeps/gcc/powerpc.h"
-diff --git a/src/atomic_ops/sysdeps/gcc/nios2.h 
b/src/atomic_ops/sysdeps/gcc/nios2.h
-new file mode 100644
-index 000..f402cbb
 /dev/null
-+++ b/src/atomic_ops/sysdeps/gcc/nios2.h
-@@ -0,0 +1,17 @@
-+/*
-+ * Copyright (C) 2016 Marek Vasut 
-+ *
-+ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
-+ * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
-+ *
-+ * Permission is hereby granted to use or copy this program
-+ * for any purpose, provided the above notices are retained on all copies.
-+ * Permission to modify the code and to distribute modified code is granted,
-+ * provided the above notices are retained, and a notice that the code was
-+ * modified is included with the above copyright notice.
-+ */
-+
-+#include "../test_and_set_t_is_ao_t.h"
-+#include "generic.h"
-+
-+#define AO_T_IS_INT
--- 
-2.7.0
-
diff --git a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb 
b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
similarity index 76%
rename from meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb
rename to meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
index 4463d86..f7b4163 100644
--- a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb
+++ b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.2.bb
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \
   "
 PV .= "+git${SRCPV}"
+SRCBRANCH ?= "release-7_6"
 
-SRCREV = "73c60c5ef1ed370111549ee5aab6d4020ba70ed4"
-SRC_URI = "git://github.com/ivmai/libatomic_ops"
+SRCREV = "5ae4b4aeea2baf13752d07e3038c47f70f06dcac"
+SRC_URI = "git://github.com/ivmai/libatomic_ops;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Yocto Project Status WW52’17 & WW01’18

2018-01-02 Thread Jolley, Stephen K
Current Dev Position: YP 2.5 M2 development

Next Deadline: YP 2.5 M2 cut off of 1/15/18


SWAT team rotation: Maxin -> Rebecca on Dec. 22, 2017.

SWAT team rotation: Rebecca -> Cal on Dec. 29, 2017.

SWAT team rotation: Cal -> Joshua on Jan. 5, 2018.

https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team


Key Status/Updates:

·Things have been slow over the holiday season but things should be 
back to normal by the end of this week.

·The QA of YP 2.4.1 rc1 is complete.  See: 
https://wiki.yoctoproject.org/wiki/WW51_-_2017-12-21-_Full_Test_Cycle_-_2.4.1_rc1.

·The QA of YP 2.3.3 rc1 is complete. See: 
https://wiki.yoctoproject.org/wiki/WW51_-_2017-12-20-_Full_Test_Cycle_-_2.3.3_rc1.

·For 2.3.3 and 2.4.1 we have some questions about performance issues 
which the QA process potentially identified and we need to investigate these 
before any release can be made.

·The QA of YP 2.5 M1 rc1 is about 68% complete.  See: 
https://wiki.yoctoproject.org/wiki/2.5_QA_Status

·The QA of YP 2.2.3 rc1 is about 24% complete. See: 
https://wiki.yoctoproject.org/wiki/2.2_QA_Status.

·The kvm apic hang is resolved for qemux86-64 with a workaround. The 
workaround doesn’t work for qemux86 but there is another patch pending to 
address this.

·We keep seeing phantom “inode space” issues with the NFS setup on the 
autobuilder across all releases. I think we’re likely to give in and change the 
disk space monitoring on the infrastructure to ignore this as its breaking too 
many builds and likely not worth tracking down further.

·There are other suspected repository concurrency issues on the 
infrastructure causing failures and we’ve disabled buildhistory to allow builds 
to work until that is resolved.

·We’re hopeful with these changes in place we can get some kind of 
build stability back and have a better chance at merging patches again.


Planned upcoming dot releases:

YP 2.4.1 (Rocko) rc1 is out of QA, see above link.

YP 2.3.3 (Pyro) rc1 is out of QA, see above link.

YP 2.2.3 (Morty) rc1 is in QA, see above link.


Key YP 2.5 Dates are:

YP 2.5 M1 rc1 is in QA, see above link.

YP 2.5 M2 cut off of 1/15/18

YP 2.5 M2 release of 1/26/18

YP 2.5 M3 cut off of 2/19/18

YP 2.5 M3 release of 3/2/18

YP 2.5 M4 cut off of 4/2/18

YP 2.5 M4 release of 4/27/18


Tracking Metrics:

WDD 2764 (last week 2719)

(https://wiki.yoctoproject.org/charts/combo.html)


Key Status Links for YP:

https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.5_Status

https://wiki.yoctoproject.org/wiki/Yocto_2.5_Schedule

https://wiki.yoctoproject.org/wiki/Yocto_2.5_Features


[If anyone has suggestions for other information you’d like to see on this 
weekly status update, let us know!]

Thanks,

Stephen K. Jolley
Yocto Project Program Manager
INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124
•   Work Telephone:(503) 712-0534
•Cell:  (208) 244-4460
• Email:stephen.k.jol...@intel.com

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] gobject-introspection: unset LD_LIBRARY_PATH prior to running qemu

2018-01-02 Thread Alexander Kanavin
Latest g-i upstream adds target paths to this variable which breaks
qemu in various confusing ways.

Also, re-enable parts of g-i on mips64, as it is the same issue.

Signed-off-by: Alexander Kanavin 
---
 .../gobject-introspection/gobject-introspection_1.54.1.bb | 3 +++
 meta/recipes-graphics/clutter/clutter-gst-3.0.inc | 4 
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc| 3 ---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc| 2 --
 4 files changed, 3 insertions(+), 9 deletions(-)

diff --git 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
index 156dac7ca78..ef1d561bbf8 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
@@ -52,6 +52,9 @@ do_configure_prepend_class-target() {
 # Use a modules directory which doesn't exist so we don't load random things
 # which may then get deleted (or their dependencies) and potentially segfault
 export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
+# g-ir-scanner (which executes this script) adds some target library paths to 
LD_LIBRARY_PATH
+# which fails horribly when running native qemu
+unset LD_LIBRARY_PATH
 
 $qemu_binary "\$@"
 if [ \$? -ne 0 ]; then
diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc 
b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
index 26ae91c4847..4c877982b74 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
@@ -15,7 +15,3 @@ PACKAGES  =+ "${PN}-examples"
 FILES_${PN}  += "${libdir}/gstreamer-1.0/lib*.so"
 FILES_${PN}-dev  += "${libdir}/gstreamer-1.0/*.la"
 FILES_${PN}-examples  = "${bindir}/video-player ${bindir}/video-sink"
-
-# Needs to be disable due to a dependency on gstreamer-plugins introspection 
files
-EXTRA_OECONF_append_mips64 = " --disable-introspection "
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index c40d3989119..3f6d4c37038 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -49,6 +49,3 @@ patch_gtk_doc_makefiles() {
 do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles"
 
 PACKAGES_DYNAMIC = "^${PN}-.*"
-
-# qemu-mips64: error while loading shared libraries: 
.../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not 
little-endian
-EXTRA_OECONF_append_mips64 = " --disable-introspection "
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
index 68173ce7d94..7191f9892d7 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
@@ -36,5 +36,3 @@ patch_gtk_doc_makefiles() {
 
 do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles"
 
-# Needs to be disable due to a dependency on gstreamer-plugins introspection 
files
-EXTRA_OECONF_append_mips64 = " --disable-introspection "
-- 
2.15.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86

2018-01-02 Thread Richard Purdie
On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.

[YOCTO #12301]

Signed-off-by: Richard Purdie 
---
 scripts/runqemu | 5 +
 1 file changed, 5 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index f2b4b3c..d998494 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -510,6 +510,11 @@ class BaseConfig(object):
 
 if os.access(dev_kvm, os.W_OK|os.R_OK):
 self.qemu_opt_script += ' -enable-kvm'
+if self.get('MACHINE') == "qemux86":
+# Workaround for broken APIC window on pre 4.15 host kernels 
which causes boot hangs
+# See YOCTO #12301
+# On 64 bit we use x2apic
+self.kernel_cmdline_script += " clocksource=kvm-clock 
hpet=disable noapic nolapic"
 else:
 logger.error("You have no read or write permission on /dev/kvm.")
 logger.error("Please change the ownership of this file as 
described at:")
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] ✗ patchtest: failure for runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86

2018-01-02 Thread Patchwork
== Series Details ==

Series: runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86
Revision: 1
URL   : https://patchwork.openembedded.org/series/10357/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue Series does not apply on top of target branch 
[test_series_merge_on_head] 
  Suggested fixRebase your series on top of targeted branch
  Targeted branch  master (currently at 82e67b82ea)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines: 
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-commits] [openembedded-core] 13/44: u-boot-fw-utils: Fix broken makefile in v2017.11.

2018-01-02 Thread Martin Jansa
On Tue, Jan 02, 2018 at 05:28:13PM +, g...@git.openembedded.org wrote:
> This is an automated email from the git hooks/post-receive script.
> 
> rpurdie pushed a commit to branch master
> in repository openembedded-core.

Looks like older version of this patch was merged.

This version https://patchwork.openembedded.org/patch/146668/

adds the Upstream-Status from the commit message to the .patch file
where it belongs.

> commit bb6a45bc7e122c61386d0657e7c97895d1697bd7
> Author: Kristian Amlie 
> AuthorDate: Wed Dec 13 15:03:27 2017 +0100
> 
> u-boot-fw-utils: Fix broken makefile in v2017.11.
> 
> See the patch for details. This patch has already been applied
> upstream, but we need it for v2017.11.
> 
> Upstream-Status: Accepted 
> [http://git.denx.de/?p=u-boot.git;a=commit;h=ded84f90a1066eef5f34daa4539273de64f7b811]
> 
> Signed-off-by: Kristian Amlie 
> Signed-off-by: Ross Burton 
> ---
>  .../u-boot/files/v2017.11-fw-utils-build-fix.patch | 37 
> ++
>  meta/recipes-bsp/u-boot/u-boot-common_2017.11.inc  |  1 +
>  2 files changed, 38 insertions(+)
> 
> diff --git a/meta/recipes-bsp/u-boot/files/v2017.11-fw-utils-build-fix.patch 
> b/meta/recipes-bsp/u-boot/files/v2017.11-fw-utils-build-fix.patch
> new file mode 100644
> index 000..fe89735
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/files/v2017.11-fw-utils-build-fix.patch
> @@ -0,0 +1,37 @@
> +From ded84f90a1066eef5f34daa4539273de64f7b811 Mon Sep 17 00:00:00 2001
> +From: Stefan Agner 
> +Date: Tue, 14 Nov 2017 15:47:18 +0100
> +Subject: [PATCH 1/1] envtools: make sure version/timestamp header file are
> + available
> +
> +With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version")
> +the fw_env utilities need the version.h header file. Building only
> +the envtools in a pristine build directory will fail due to missing
> +header files.
> +
> +Make sure the header files are a dependency of the envtools target.
> +
> +Fixes: 84d46e7e8948 ("tools: env: allow to print U-Boot version")
> +Signed-off-by: Stefan Agner 
> +Tested-by: Peter Robinson 
> +Reviewed-by: Simon Glass 
> +---
> + Makefile | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 61fd973..f8c66a2 100644
> +--- a/Makefile
>  b/Makefile
> +@@ -1447,7 +1447,7 @@ checkarmreloc: u-boot
> + false; \
> + fi
> + 
> +-envtools: scripts_basic
> ++envtools: scripts_basic $(version_h) $(timestamp_h)
> + $(Q)$(MAKE) $(build)=tools/env
> + 
> + tools-only: scripts_basic $(version_h) $(timestamp_h)
> +-- 
> +2.7.4
> +
> diff --git a/meta/recipes-bsp/u-boot/u-boot-common_2017.11.inc 
> b/meta/recipes-bsp/u-boot/u-boot-common_2017.11.inc
> index bfdf1a0..65f1228 100644
> --- a/meta/recipes-bsp/u-boot/u-boot-common_2017.11.inc
> +++ b/meta/recipes-bsp/u-boot/u-boot-common_2017.11.inc
> @@ -12,6 +12,7 @@ SRCREV = "c253573f3e269fd9a24ee6684d87dd91106018a5"
>  SRC_URI = "git://git.denx.de/u-boot.git \
>  file://MPC8315ERDB-enable-DHCP.patch \
>  file://10m50-update-device-tree.patch \
> +file://v2017.11-fw-utils-build-fix.patch \
>  "
>  
>  S = "${WORKDIR}/git"
> 
> -- 
> To stop receiving notification emails like this one, please contact
> the administrator of this repository.
> -- 
> ___
> Openembedded-commits mailing list
> openembedded-comm...@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][PATCH 1/1] allarch: do not set baselib

2018-01-02 Thread Joe Slater
postinstall scripts may run target binaries and need to know
where shared libraries are.

Signed-off-by: Joe Slater 
---
 meta/classes/allarch.bbclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 51ba509..3749328 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -11,9 +11,8 @@ python () {
 # No need for virtual/libc or a cross compiler
 d.setVar("INHIBIT_DEFAULT_DEPS","1")
 
-# Set these to a common set of values, we shouldn't be using them 
other that for WORKDIR directory
-# naming anyway
-d.setVar("baselib", "lib")
+# Set these to a common set of values, we shouldn't be using them 
other than for WORKDIR directory
+# naming anyway.  Do not set baselib because postinstall may need to 
know where shared libraries are.
 d.setVar("TARGET_ARCH", "allarch")
 d.setVar("TARGET_OS", "linux")
 d.setVar("TARGET_CC_ARCH", "none")
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-commits] [openembedded-core] 13/44: u-boot-fw-utils: Fix broken makefile in v2017.11.

2018-01-02 Thread Richard Purdie
On Tue, 2018-01-02 at 20:15 +0100, Martin Jansa wrote:
> On Tue, Jan 02, 2018 at 05:28:13PM +, g...@git.openembedded.org
> wrote:
> > 
> > This is an automated email from the git hooks/post-receive script.
> > 
> > rpurdie pushed a commit to branch master
> > in repository openembedded-core.
> Looks like older version of this patch was merged.
> 
> This version https://patchwork.openembedded.org/patch/146668/
> 
> adds the Upstream-Status from the commit message to the .patch file
> where it belongs.

Sorry, well spotted!

I've queued a fixup in master-next, thanks.

Richard
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-core][PATCH 1/1] allarch: do not set baselib

2018-01-02 Thread Richard Purdie
On Tue, 2018-01-02 at 12:00 -0800, Joe Slater wrote:
> postinstall scripts may run target binaries and need to know
> where shared libraries are.
> 
> Signed-off-by: Joe Slater 
> ---
>  meta/classes/allarch.bbclass | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
> index 51ba509..3749328 100644
> --- a/meta/classes/allarch.bbclass
> +++ b/meta/classes/allarch.bbclass
> @@ -11,9 +11,8 @@ python () {
>  # No need for virtual/libc or a cross compiler
>  d.setVar("INHIBIT_DEFAULT_DEPS","1")
>  
> -# Set these to a common set of values, we shouldn't be using them 
> other that for WORKDIR directory
> -# naming anyway
> -d.setVar("baselib", "lib")
> +# Set these to a common set of values, we shouldn't be using them 
> other than for WORKDIR directory
> +# naming anyway.  Do not set baselib because postinstall may need to 
> know where shared libraries are.
>  d.setVar("TARGET_ARCH", "allarch")
>  d.setVar("TARGET_OS", "linux")
>  d.setVar("TARGET_CC_ARCH", "none")

Sorry, but I don't think this can work :/.

Do the sstate sig selftests pass with this change?

I appreciate this will make some things "work" but it will mean that
allarch packages rebuild for each architecture or multilib and that
isn't right either.

So we need a better solution here. Why do we need libdir paths to run
binaries anyway? Is this a libexec issue? Perhaps the things in
question shouldn't be allarch?

Cheers,

Richard
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] rpm_4.14.0: clamp timestamps by default

2018-01-02 Thread Juro Bystricky
Improve reproducibility by making sure that timestamps
in built rpms are not later than the value of SOURCE_DATE_EPOCH as
found in the environment.
Timestamps as usual when SOURCE_DATE_EPOCH is not set.

[YOCTO #12425]

Signed-off-by: Juro Bystricky 
---
 .../recipes-devtools/rpm/files/0001-support-sde.patch | 19 +++
 meta/recipes-devtools/rpm/rpm_4.14.0.bb   |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/rpm/files/0001-support-sde.patch

diff --git a/meta/recipes-devtools/rpm/files/0001-support-sde.patch 
b/meta/recipes-devtools/rpm/files/0001-support-sde.patch
new file mode 100644
index 000..b947c62d
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-support-sde.patch
@@ -0,0 +1,19 @@
+
+Improve reproducibility: clamp timestamps by default.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Juro Bystricky 
+
+diff --git a/macros.in b/macros.in
+index d086248..af39c4a 100644
+--- a/macros.in
 b/macros.in
+@@ -248,7 +248,7 @@ package or when debugging this package.\
+ # If true, make sure that timestamps in built rpms
+ # are not later than the value of SOURCE_DATE_EPOCH.
+ # Is ignored when SOURCE_DATE_EPOCH is not set.
+-%clamp_mtime_to_source_date_epoch 0
++%clamp_mtime_to_source_date_epoch 1
+ 
+ # The directory where newly built binary packages will be written.
+ %_rpmdir  %{_topdir}/RPMS
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.0.bb 
b/meta/recipes-devtools/rpm/rpm_4.14.0.bb
index e4e9c3e..83af18e 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.0.bb
@@ -40,6 +40,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/rpm;branch=rpm-4.14.x \

file://0003-rpmstrpool.c-make-operations-over-string-pools-threa.patch \

file://0004-build-pack.c-remove-static-local-variables-from-buil.patch \
file://0001-perl-disable-auto-reqs.patch \
+   file://0001-support-sde.patch \
"
 
 PE = "1"
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] rpm_4.14.0: clamp timestamps

2018-01-02 Thread Juro Bystricky
The recipe for RPM has been upgraded to version 4.14.0.
This version introduced a new macro "clamp_mtime_to_source_date_epoch".
The macro allows the RPM packages to set buildtime and mtime of files to
values as specified by SOURCE_DATE_EPOCH. This, however, is not the enabled by 
default:
The default setting for "clamp_mtime_to_source_date_epoch" is "0".
This patch sets the macro to "1", thus allowing clamping of the timestamps.
As the user needs to jump through some hoops to set SOURCE_DATE_EPOCH in
the environment, clamping the timestamps is very likely what the user wants.

I am aware that the macro can be set on command line.
This would involve patching the file package_rpm.bbclass, something like:

cmd = cmd + " --define 'clamp_mtime_to_source_date_epoch 1'"

However, I think a better approach was to patch the upgraded recipe for the RPM,
in order to keep package_rpm.bbclass as RPM version agnostic as possible.

I tested this patch by a simple test, adding to local.conf:

export SOURCE_DATE_EPOCH
SOURCE_DATE_EPOCH="0"
PACKAGE_CLASSES = "package_rpm package_deb"

Then I ran twice (in two different folders, same machine, different times, no 
SSTATE):

$ bitbake core-image-minimal

The build created 3952 target packages (RPM and Debian each).

Without this patch the binary package comparison for RPM packages was:

Same: 538
Different: 3414
Total: 3952

With the patch the results were substantially better (same numbers for RPM and 
Debian):

Same: 3917
Different: 35
Total: 3952

Few caveats:
You need two additional patches by Alex Kanavin:
"rpm: update to 4.14.0"
"package.bbclass: replace rpm/debugedit with dwarfsrcfiles"

The resulting numbers need to be taken with a grain of salt, as there are
addional factors that can cause different results.
I realize SOURCE_DATE_EPOCH should be determined based on source code,
instead of setting it to "0", but that is not crucial to test the patch.

Finally, RPM 4.14.0 supports yet another macro "_buildhost" which should be used
to define some kind of a "standard" buildhost name in order to improve
reproducibility. (Otherwise, I think, buildost is taken from /etc/hosts).
But that's a subject of a separate patch.


Juro Bystricky (1):
  rpm_4.14.0: clamp timestamps by default

 .../recipes-devtools/rpm/files/0001-support-sde.patch | 19 +++
 meta/recipes-devtools/rpm/rpm_4.14.0.bb   |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/rpm/files/0001-support-sde.patch

-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] glib-2.0: Remove python3 modules when building for mingw

2018-01-02 Thread Alistair Francis
Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.

Signed-off-by: Alistair Francis 
---
 meta/recipes-core/glib-2.0/glib.inc | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index fbc655a012..f8e803a90a 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -121,6 +121,12 @@ RDEPENDS_${PN}-codegen += "\
 python3-xml \
"
 
+RDEPENDS_${PN}-codegen_remove_mingw32 = "\
+python3 \
+python3-distutils \
+python3-xml \
+   "
+
 RDEPENDS_${PN}-ptest += "\
 dbus \
 gnome-desktop-testing \
-- 
2.14.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] glibc: fix C++ compile failures related to 'assert'

2018-01-02 Thread S. Lockwood-Childs
* fixes "lambda-expression in unevaluated context" compile failures such as
  https://github.com/nlohmann/json/issues/705

* fixes "no match for 'operator==" compile failures such as
  https://bugzilla.redhat.com/show_bug.cgi?id=1482990

Signed-off-by: S. Lockwood-Childs 
---
 ...pport-types-without-operator-int-BZ-21972.patch | 194 +
 meta/recipes-core/glibc/glibc_2.26.bb  |   1 +
 2 files changed, 195 insertions(+)
 create mode 100644 
meta/recipes-core/glibc/glibc/0029-assert-Support-types-without-operator-int-BZ-21972.patch

diff --git 
a/meta/recipes-core/glibc/glibc/0029-assert-Support-types-without-operator-int-BZ-21972.patch
 
b/meta/recipes-core/glibc/glibc/0029-assert-Support-types-without-operator-int-BZ-21972.patch
new file mode 100644
index 000..3c7050f
--- /dev/null
+++ 
b/meta/recipes-core/glibc/glibc/0029-assert-Support-types-without-operator-int-BZ-21972.patch
@@ -0,0 +1,194 @@
+Upstream-Status: Backport
+
+* fixes "lambda-expression in unevaluated context" compile failures such as
+  https://github.com/nlohmann/json/issues/705
+
+* fixes "no match for 'operator==" compile failures such as
+  https://bugzilla.redhat.com/show_bug.cgi?id=1482990
+
+* Changelog edit was removed from upstream commit because it caused conflict
+
+Signed-off-by: S. Lockwood-Childs 
+
+From b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Mon, 21 Aug 2017 13:03:29 +0200
+Subject: [PATCH] assert: Support types without operator== (int) [BZ #21972]
+
+---
+ assert/Makefile  | 11 ++-
+ assert/assert.h  | 16 ++
+ assert/tst-assert-c++.cc | 78 
+ assert/tst-assert-g++.cc | 19 
+ 4 files changed, 128 insertions(+), 7 deletions(-)
+ create mode 100644 assert/tst-assert-c++.cc
+ create mode 100644 assert/tst-assert-g++.cc
+
+diff --git a/assert/Makefile b/assert/Makefile
+index 1c3be9b..9ec1be8 100644
+--- a/assert/Makefile
 b/assert/Makefile
+@@ -25,6 +25,15 @@ include ../Makeconfig
+ headers   := assert.h
+ 
+ routines := assert assert-perr __assert
+-tests := test-assert test-assert-perr
++tests := test-assert test-assert-perr tst-assert-c++ tst-assert-g++
+ 
+ include ../Rules
++
++ifeq ($(have-cxx-thread_local),yes)
++CFLAGS-tst-assert-c++.o = -std=c++11
++LDLIBS-tst-assert-c++ = -lstdc++
++CFLAGS-tst-assert-g++.o = -std=gnu++11
++LDLIBS-tst-assert-g++ = -lstdc++
++else
++tests-unsupported += tst-assert-c++ tst-assert-g++
++endif
+diff --git a/assert/assert.h b/assert/assert.h
+index 6801cfe..640c95c 100644
+--- a/assert/assert.h
 b/assert/assert.h
+@@ -85,7 +85,12 @@ __END_DECLS
+ /* When possible, define assert so that it does not add extra
+parentheses around EXPR.  Otherwise, those added parentheses would
+suppress warnings we'd expect to be detected by gcc's -Wparentheses.  */
+-# if !defined __GNUC__ || defined __STRICT_ANSI__
++# if defined __cplusplus
++#  define assert(expr)
\
++ (static_cast  (expr)   
\
++  ? void (0)  \
++  : __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION))
++# elif !defined __GNUC__ || defined __STRICT_ANSI__
+ #  define assert(expr)
\
+ ((expr)   \
+  ? __ASSERT_VOID_CAST (0) \
+@@ -93,12 +98,11 @@ __END_DECLS
+ # else
+ /* The first occurrence of EXPR is not evaluated due to the sizeof,
+but will trigger any pedantic warnings masked by the __extension__
+-   for the second occurrence.  The explicit comparison against zero is
+-   required to support function pointers and bit fields in this
+-   context, and to suppress the evaluation of variable length
+-   arrays.  */
++   for the second occurrence.  The ternary operator is required to
++   support function pointers and bit fields in this context, and to
++   suppress the evaluation of variable length arrays.  */
+ #  define assert(expr)
\
+-  ((void) sizeof ((expr) == 0), __extension__ ({  \
++  ((void) sizeof ((expr) ? 1 : 0), __extension__ ({   \
+   if (expr)   
\
+ ; /* empty */ \
+   else\
+diff --git a/assert/tst-assert-c++.cc b/assert/tst-assert-c++.cc
+new file mode 100644
+index 000..12a5e69
+--- /dev/null
 b/assert/tst-assert-c++.cc
+@@ -0,0 +1,78 @@
++/* Tests for interactions between C++ and assert.
++   Copyright (C) 2017 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Librar

[OE-core] [PATCH] kernel-fitimage.bbclass: Fix bad image type replacement for microblaze

2018-01-02 Thread Manjukumar Matha
When using kernel-fitimage class with microblaze, the image type has to be
linux.bin not zImage. This patch fixes the bad image type replacement
for microblaze

Signed-off-by: Manjukumar Matha 
---
 meta/classes/kernel-fitimage.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/kernel-fitimage.bbclass 
b/meta/classes/kernel-fitimage.bbclass
index 9baf399..a50f8a1 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -14,6 +14,8 @@ python __anonymous () {
 replacementtype = "vmlinuz.bin"
 elif uarch == "x86":
 replacementtype = "bzImage"
+elif uarch == "microblaze":
+replacementtype = "linux.bin"
 else:
 replacementtype = "zImage"
 
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] systemd-boot: fix build with musl and x32

2018-01-02 Thread Anuj Mittal
systemd-boot shouldn't be built for x32. Make sure that this is the
case when TCLIBC is set to something other than glibc.

Fixes [YOCTO #12122]

Signed-off-by: Anuj Mittal 
---
 meta/recipes-core/systemd/systemd-boot_234.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-boot_234.bb 
b/meta/recipes-core/systemd/systemd-boot_234.bb
index 7b18b25..88a14ac 100644
--- a/meta/recipes-core/systemd/systemd-boot_234.bb
+++ b/meta/recipes-core/systemd/systemd-boot_234.bb
@@ -21,7 +21,7 @@ EXTRA_OECONF = " --enable-gnuefi \
 # Imported from the old gummiboot recipe
 TUNE_CCARGS_remove = "-mfpmath=sse"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
-COMPATIBLE_HOST_linux-gnux32 = "null"
+COMPATIBLE_HOST_x86-x32 = "null"
 
 do_compile() {
SYSTEMD_BOOT_EFI_ARCH="ia32"
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [pyro][PATCH] v86d: take tarball from debian

2018-01-02 Thread Anuj Mittal
From: Alexander Kanavin 

Gentoo is removing the package due to dead upstream;
Debian might carry it for a while longer.

Fixes [YOCTO #12452]

Signed-off-by: Alexander Kanavin 
Signed-off-by: Richard Purdie 
Signed-off-by: Anuj Mittal 
---
 meta/recipes-bsp/v86d/v86d_0.1.10.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb 
b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
index 579a0a2..e5f6fff 100644
--- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb
+++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
@@ -9,14 +9,14 @@ DEPENDS = "virtual/kernel"
 RRECOMMENDS_${PN} = "kernel-module-uvesafb"
 PR = "r2"
 
-SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \
+SRC_URI = "${DEBIAN_MIRROR}/main/v/${BPN}/${BPN}_${PV}.orig.tar.gz \
file://Update-x86emu-from-X.org.patch \
file://ar-from-env.patch \
file://aarch64-host.patch \
 "
 
-SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0"
-SRC_URI[sha256sum] = 
"634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25e6735c"
+SRC_URI[md5sum] = "889686ec8424468fe0d205742e77a4c2"
+SRC_URI[sha256sum] = 
"93575c82e4307d8c4c370ec6b767f5cf87e527b2378146d652a6d8e25d5bdbc5"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] fontcache : fix build warning when using quemu usermode

2018-01-02 Thread Jibin Xu



On 2018年01月02日 20:00, Alexander Kanavin wrote:

On 12/28/2017 04:21 AM, Jibin Xu wrote:

fontcache uses quemu usermode by default, but some architecture
such as Intel skylake does not support qemu usermode, this can
lead to a build warning as below:
"WARNING: The postinstall intercept hook 'update_font_cache' failed".

Add a judgement of qemu usermode to fix the build warning.


You also need to fix this in pixbufcache.bbclass. Squash all changes 
into a single patch.
Do you mean that change gio-module-cache.bbclass pixbufcache.bbclass and 
fontcache.bbclass,
then Squash all changes into a single patch? or change 
pixbufcache.bbclass and do a path

for pixbufcache.bbclass only?

thanks,
Jibin


Alex


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core