Re: [OE-core] [PATCH 16/20] dtc: upgrade to 1.4.6

2018-02-04 Thread Burton, Ross
This breaks u-boot builds:

|
/data/poky-tmp/master/work/beaglebone_yocto-poky-linux-gnueabi/u-boot/1_2018.01-r0/recipe-sysroot-native/usr/include/libfdt_env.h:70:30:
error: conflicting types for 'fdt64_t'
|  typedef uint64_t FDT_BITWISE fdt64_t;
|   ^~~
| In file included from :0:0:
|
/data/poky-tmp/master/work/beaglebone_yocto-poky-linux-gnueabi/u-boot/1_2018.01-r0/git/include/libfdt_env.h:19:16:
note: previous declaration of 'fdt64_t' was here
|  typedef __be64 fdt64_t;
| ^~~

Ross

On 1 February 2018 at 18:02, Alexander Kanavin <
alexander.kana...@linux.intel.com> wrote:

> Drop upstreamed patch.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/recipes-kernel/dtc/dtc.inc|  1 -
>  ...cks-Use-proper-format-modifier-for-size_t.patch | 43
> --
>  .../dtc/{dtc_1.4.5.bb => dtc_1.4.6.bb} |  2 +-
>  3 files changed, 1 insertion(+), 45 deletions(-)
>  delete mode 100644 meta/recipes-kernel/dtc/dtc/
> 0001-checks-Use-proper-format-modifier-for-size_t.patch
>  rename meta/recipes-kernel/dtc/{dtc_1.4.5.bb => dtc_1.4.6.bb} (81%)
>
> diff --git a/meta/recipes-kernel/dtc/dtc.inc
> b/meta/recipes-kernel/dtc/dtc.inc
> index d259c57e8d9..925cca92fac 100644
> --- a/meta/recipes-kernel/dtc/dtc.inc
> +++ b/meta/recipes-kernel/dtc/dtc.inc
> @@ -7,7 +7,6 @@ DEPENDS = "flex-native bison-native"
>
>  SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
> file://make_install.patch \
> -   file://0001-checks-Use-proper-format-modifier-for-size_t.patch
> \
> "
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
>
> diff --git 
> a/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-modifier-for-size_t.patch
> b/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-
> modifier-for-size_t.patch
> deleted file mode 100644
> index cab384dd99a..000
> --- a/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-
> modifier-for-size_t.patch
> +++ /dev/null
> @@ -1,43 +0,0 @@
> -From c7a4c3817796107bb824a1f173faf90fae45396b Mon Sep 17 00:00:00 2001
> -From: Thierry Reding 
> -Date: Wed, 27 Sep 2017 15:04:09 +0200
> -Subject: [PATCH] checks: Use proper format modifier for size_t
> -
> -The size of size_t can vary between architectures, so using %ld isn't
> -going to work on 32-bit builds. Use the %zu modifier to make sure it is
> -always correct.
> -
> -Upstream-Status: Backport
> -Signed-off-by: Thierry Reding 
> -Acked-by: Rob Herring 
> -Signed-off-by: David Gibson 
> -Signed-off-by: Alexander Kanavin 
> 
> - checks.c | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/checks.c b/checks.c
> -index 902f2e3..08a3a29 100644
>  a/checks.c
> -+++ b/checks.c
> -@@ -972,7 +972,7 @@ static void check_property_phandle_args(struct check
> *c,
> -   int cell, cellsize = 0;
> -
> -   if (prop->val.len % sizeof(cell_t)) {
> --  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
> multiple of %ld in node %s",
> -+  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
> multiple of %zu in node %s",
> -prop->name, prop->val.len, sizeof(cell_t),
> node->fullpath);
> -   return;
> -   }
> -@@ -1163,7 +1163,7 @@ static void check_interrupts_property(struct check
> *c,
> -   return;
> -
> -   if (irq_prop->val.len % sizeof(cell_t))
> --  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
> multiple of %ld in node %s",
> -+  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
> multiple of %zu in node %s",
> -irq_prop->name, irq_prop->val.len, sizeof(cell_t),
> -node->fullpath);
> -
> ---
> -2.15.0
> -
> diff --git a/meta/recipes-kernel/dtc/dtc_1.4.5.bb
> b/meta/recipes-kernel/dtc/dtc_1.4.6.bb
> similarity index 81%
> rename from meta/recipes-kernel/dtc/dtc_1.4.5.bb
> rename to meta/recipes-kernel/dtc/dtc_1.4.6.bb
> index 0e46cfbeb4f..78c57363926 100644
> --- a/meta/recipes-kernel/dtc/dtc_1.4.5.bb
> +++ b/meta/recipes-kernel/dtc/dtc_1.4.6.bb
> @@ -3,7 +3,7 @@ require dtc.inc
>  LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
> file://libfdt/libfdt.h;beginline=3;endline=52;md5=
> fb360963151f8ec2d6c06b055bcbb68c"
>
> -SRCREV = "22a65c5331c22979d416738eb756b9541672e00d"
> +SRCREV = "e54388015af1fb4bf04d0bca99caba1074d9cc42"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.15.1
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] apt-native: Add libapt-pkg headers

2018-02-04 Thread Richard Purdie
On Sat, 2018-02-03 at 11:33 +0100, Jan Siegmund wrote:
> From: Jan Siegmund 
> 
> Native tools were not able to use the headers of apt-pkg. This patch
> adds the feature.
> The headers were added from apt-pkg and apt-inst to the native
> recipe.
> The shipped headers match the ones in the Ubuntu package libapt-pkg-
> dev.
> 
> Signed-off-by: Jan Siegmund 
> ---
>  meta/recipes-devtools/apt/apt-native.inc | 8 
>  1 file changed, 8 insertions(+)
> 
> diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-
> devtools/apt/apt-native.inc
> index 68f1b3ce2c..d82ffcc59f 100644
> --- a/meta/recipes-devtools/apt/apt-native.inc
> +++ b/meta/recipes-devtools/apt/apt-native.inc
> @@ -35,6 +35,8 @@ python do_install_config () {
>  outfile.close()
>  }
>  
> +FILES_${PN} += "${includedir}"
> +
>  do_install_base () {
>   install -d ${D}${bindir}
>   install -m 0755 bin/apt-cdrom ${D}${bindir}/

I suspect a native recipe doesn't need to set FILES?

Cheers,

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


Re: [OE-core] [PATCH v2] apt-native: Add libapt-pkg headers

2018-02-04 Thread Jan Siegmund
Am 04.02.2018 um 10:59 schrieb Richard Purdie:
> On Sat, 2018-02-03 at 11:33 +0100, Jan Siegmund wrote:
>> From: Jan Siegmund 
>>
>> Native tools were not able to use the headers of apt-pkg. This patch
>> adds the feature.
>> The headers were added from apt-pkg and apt-inst to the native
>> recipe.
>> The shipped headers match the ones in the Ubuntu package libapt-pkg-
>> dev.
>>
>> Signed-off-by: Jan Siegmund 
>> ---
>>  meta/recipes-devtools/apt/apt-native.inc | 8 
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-
>> devtools/apt/apt-native.inc
>> index 68f1b3ce2c..d82ffcc59f 100644
>> --- a/meta/recipes-devtools/apt/apt-native.inc
>> +++ b/meta/recipes-devtools/apt/apt-native.inc
>> @@ -35,6 +35,8 @@ python do_install_config () {
>>  outfile.close()
>>  }
>>  
>> +FILES_${PN} += "${includedir}"
>> +
>>  do_install_base () {
>>  install -d ${D}${bindir}
>>  install -m 0755 bin/apt-cdrom ${D}${bindir}/
> 
> I suspect a native recipe doesn't need to set FILES?

I'll drop it and send version 3.

> 
> Cheers,
> 
> Richard
> 

Thanks for the review,

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


[OE-core] [PATCH v3] apt-native: Add libapt-pkg headers

2018-02-04 Thread Jan Siegmund
From: Jan Siegmund 

Native tools were not able to use the headers of apt-pkg. This patch
adds the feature.
The headers were added from apt-pkg and apt-inst to the native recipe.
The shipped headers match the ones in the Ubuntu package libapt-pkg-dev.

Signed-off-by: Jan Siegmund 
---
 meta/recipes-devtools/apt/apt-native.inc | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/apt/apt-native.inc 
b/meta/recipes-devtools/apt/apt-native.inc
index 68f1b3ce2c..ef232c1eb6 100644
--- a/meta/recipes-devtools/apt/apt-native.inc
+++ b/meta/recipes-devtools/apt/apt-native.inc
@@ -67,4 +67,10 @@ do_install_base () {
install -d ${D}${localstatedir}/cache/apt/archives/partial
 
install -d ${D}${localstatedir}/log/apt/
+
+   install -d ${D}${includedir}/apt-pkg
+   for h in `find ${S}/apt-pkg ${S}/apt-inst -name '*.h'`
+   do
+   install -m 0644 $h ${D}${includedir}/apt-pkg
+   done
 }
-- 
2.14.1

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


Re: [OE-core] [PATCH 16/20] dtc: upgrade to 1.4.6

2018-02-04 Thread Khem Raj
On Sun, Feb 4, 2018 at 12:31 AM, Burton, Ross  wrote:
> This breaks u-boot builds:
>
> |
> /data/poky-tmp/master/work/beaglebone_yocto-poky-linux-gnueabi/u-boot/1_2018.01-r0/recipe-sysroot-native/usr/include/libfdt_env.h:70:30:
> error: conflicting types for 'fdt64_t'
> |  typedef uint64_t FDT_BITWISE fdt64_t;
> |   ^~~
> | In file included from :0:0:
> |
> /data/poky-tmp/master/work/beaglebone_yocto-poky-linux-gnueabi/u-boot/1_2018.01-r0/git/include/libfdt_env.h:19:16:
> note: previous declaration of 'fdt64_t' was here
> |  typedef __be64 fdt64_t;
> | ^~~
>

I have a patch to u-boot which is fixing similar issue. see
see if this helps.

https://gist.github.com/kraj/70d613d1ead4be98a5787928d8518434

> Ross
>
> On 1 February 2018 at 18:02, Alexander Kanavin
>  wrote:
>>
>> Drop upstreamed patch.
>>
>> Signed-off-by: Alexander Kanavin 
>> ---
>>  meta/recipes-kernel/dtc/dtc.inc|  1 -
>>  ...cks-Use-proper-format-modifier-for-size_t.patch | 43
>> --
>>  .../dtc/{dtc_1.4.5.bb => dtc_1.4.6.bb} |  2 +-
>>  3 files changed, 1 insertion(+), 45 deletions(-)
>>  delete mode 100644
>> meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-modifier-for-size_t.patch
>>  rename meta/recipes-kernel/dtc/{dtc_1.4.5.bb => dtc_1.4.6.bb} (81%)
>>
>> diff --git a/meta/recipes-kernel/dtc/dtc.inc
>> b/meta/recipes-kernel/dtc/dtc.inc
>> index d259c57e8d9..925cca92fac 100644
>> --- a/meta/recipes-kernel/dtc/dtc.inc
>> +++ b/meta/recipes-kernel/dtc/dtc.inc
>> @@ -7,7 +7,6 @@ DEPENDS = "flex-native bison-native"
>>
>>  SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
>> file://make_install.patch \
>> -   file://0001-checks-Use-proper-format-modifier-for-size_t.patch
>> \
>> "
>>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
>>
>> diff --git
>> a/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-modifier-for-size_t.patch
>> b/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-modifier-for-size_t.patch
>> deleted file mode 100644
>> index cab384dd99a..000
>> ---
>> a/meta/recipes-kernel/dtc/dtc/0001-checks-Use-proper-format-modifier-for-size_t.patch
>> +++ /dev/null
>> @@ -1,43 +0,0 @@
>> -From c7a4c3817796107bb824a1f173faf90fae45396b Mon Sep 17 00:00:00 2001
>> -From: Thierry Reding 
>> -Date: Wed, 27 Sep 2017 15:04:09 +0200
>> -Subject: [PATCH] checks: Use proper format modifier for size_t
>> -
>> -The size of size_t can vary between architectures, so using %ld isn't
>> -going to work on 32-bit builds. Use the %zu modifier to make sure it is
>> -always correct.
>> -
>> -Upstream-Status: Backport
>> -Signed-off-by: Thierry Reding 
>> -Acked-by: Rob Herring 
>> -Signed-off-by: David Gibson 
>> -Signed-off-by: Alexander Kanavin 
>> 
>> - checks.c | 4 ++--
>> - 1 file changed, 2 insertions(+), 2 deletions(-)
>> -
>> -diff --git a/checks.c b/checks.c
>> -index 902f2e3..08a3a29 100644
>>  a/checks.c
>> -+++ b/checks.c
>> -@@ -972,7 +972,7 @@ static void check_property_phandle_args(struct check
>> *c,
>> -   int cell, cellsize = 0;
>> -
>> -   if (prop->val.len % sizeof(cell_t)) {
>> --  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
>> multiple of %ld in node %s",
>> -+  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
>> multiple of %zu in node %s",
>> -prop->name, prop->val.len, sizeof(cell_t),
>> node->fullpath);
>> -   return;
>> -   }
>> -@@ -1163,7 +1163,7 @@ static void check_interrupts_property(struct check
>> *c,
>> -   return;
>> -
>> -   if (irq_prop->val.len % sizeof(cell_t))
>> --  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
>> multiple of %ld in node %s",
>> -+  FAIL(c, dti, "property '%s' size (%d) is invalid, expected
>> multiple of %zu in node %s",
>> -irq_prop->name, irq_prop->val.len, sizeof(cell_t),
>> -node->fullpath);
>> -
>> ---
>> -2.15.0
>> -
>> diff --git a/meta/recipes-kernel/dtc/dtc_1.4.5.bb
>> b/meta/recipes-kernel/dtc/dtc_1.4.6.bb
>> similarity index 81%
>> rename from meta/recipes-kernel/dtc/dtc_1.4.5.bb
>> rename to meta/recipes-kernel/dtc/dtc_1.4.6.bb
>> index 0e46cfbeb4f..78c57363926 100644
>> --- a/meta/recipes-kernel/dtc/dtc_1.4.5.bb
>> +++ b/meta/recipes-kernel/dtc/dtc_1.4.6.bb
>> @@ -3,7 +3,7 @@ require dtc.inc
>>  LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
>>
>> file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
>>
>> -SRCREV = "22a65c5331c22979d416738eb756b9541672e00d"
>> +SRCREV = "e54388015af1fb4bf04d0bca99caba1074d9cc42"
>>
>>  S = "${WORKDIR}/git"
>>
>> --
>> 2.15.1
>>
>> --
>> ___
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>

Re: [OE-core] [PATCH V3] pigz: 2.3.4 -> 2.4

2018-02-04 Thread Randy MacLeod

On 2018-02-01 01:20 AM, Hongxu Jia wrote:

License-checksum-change: license is no change, only version bump up.

https://github.com/madler/pigz/commit/fe822cb435622c43f491013da77b127e9fe851a9


There as a trivial space removed so say so in the comment.

commit 5d5d268c26d5b82b7346df4707026d8ac2dbb5c2
Author: Mark Adler 
Date:   Sun Dec 24 22:27:38 2017 -0800

Pointless formatting changes.

Use // comments througout, improve comments style, move opening
braces to function definition lines.

diff --git a/pigz.c b/pigz.c
index e3a16a0..9003779 100644
--- a/pigz.c
+++ b/pigz.c
@@ -5,7 +5,7 @@

 /*
   This software is provided 'as-is', without any express or implied
-  warranty.  In no event will the author be held liable for any damages
+  warranty. In no event will the author be held liable for any damages
...


$ git tag --contains 5d5d268c
v2.4



../Randy




Signed-off-by: Hongxu Jia 
---
  meta/recipes-extended/pigz/{pigz_2.3.4.bb => pigz_2.4.bb} | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta/recipes-extended/pigz/{pigz_2.3.4.bb => pigz_2.4.bb} (86%)

diff --git a/meta/recipes-extended/pigz/pigz_2.3.4.bb 
b/meta/recipes-extended/pigz/pigz_2.4.bb
similarity index 86%
rename from meta/recipes-extended/pigz/pigz_2.3.4.bb
rename to meta/recipes-extended/pigz/pigz_2.4.bb
index 431d9bd..cb41154 100644
--- a/meta/recipes-extended/pigz/pigz_2.3.4.bb
+++ b/meta/recipes-extended/pigz/pigz_2.4.bb
@@ -6,13 +6,13 @@ Adler, and uses the zlib and pthread libraries."
  HOMEPAGE = "http://zlib.net/pigz/";
  SECTION = "console/utils"
  LICENSE = "Zlib & Apache-2.0"
-LIC_FILES_CHKSUM = 
"file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17fce5e7534ca95"
+LIC_FILES_CHKSUM = 
"file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21"
  
  PROVIDES_class-native += "gzip-native"
  
  SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz";

-SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e"
-SRC_URI[sha256sum] = 
"763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8"
+SRC_URI[md5sum] = "3c8a601db141d3013ef9fe5f2daaf73f"
+SRC_URI[sha256sum] = 
"e228e7d18b34c4ece8d596eb6eee97bde533c6beedbb728d07d3abe90b4b1b52"
  
  UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/";

  UPSTREAM_CHECK_REGEX = "pigz-(?P.*)\.tar"




--
# Randy MacLeod.  WR Linux
# Wind River an Intel Company
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/5] python-xcbgen: improve reproducibility

2018-02-04 Thread Hongxu Jia
Use relative path to generate .pyc files could remove build host
references which leads to non-reproducible builds.

Signed-off-by: Hongxu Jia 
---
 meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb 
b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb
index bc04bc4..be6b1a0 100644
--- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb
@@ -36,5 +36,5 @@ do_install_append() {
 # Makefile's do_install creates .pyc files for python3, now also create
 # them for python2 so that they will be recorded by manifest, and can be
 # cleaned correctly.
-python -m py_compile ${D}${libdir}/xcb-proto/xcbgen/*.py
+(cd ${D}; python -m py_compile ./${libdir}/xcb-proto/xcbgen/*.py)
 }
-- 
2.8.1

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


[OE-core] [PATCH 4/5] python-core/python-dev: improve reproducibility

2018-02-04 Thread Hongxu Jia
- Remove remaining build host references from packaged files.
  (sync with python3)

- Use relative path to recompile _sysconfigdata.py

Signed-off-by: Hongxu Jia 
---
 meta/recipes-devtools/python/python_2.7.14.bb | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python_2.7.14.bb 
b/meta/recipes-devtools/python/python_2.7.14.bb
index 7d03bc8..0a09926 100644
--- a/meta/recipes-devtools/python/python_2.7.14.bb
+++ b/meta/recipes-devtools/python/python_2.7.14.bb
@@ -141,9 +141,14 @@ py_package_preprocess () {
 
# Remove references to buildmachine paths in target Makefile and 
_sysconfigdata
sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e 
s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
+   -e 's|${DEBUG_PREFIX_MAP}||g' \
+   -e 's:${HOSTTOOLS_DIR}/::g' \
+   -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+   -e 's:${RECIPE_SYSROOT}::g' \
+   -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
-python -m py_compile 
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
+   (cd ${PKGD}; python -m py_compile 
./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py)
 }
 
 
-- 
2.8.1

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


[OE-core] [PATCH V2 0/5] improve reproducibility of 5 recipes

2018-02-04 Thread Hongxu Jia
Changed in V2:

- Rebase on top of targeted branch master a0988c3374

//Hongxu

The following changes since commit 385944254d0ef88bd6450a221a54cbcb40020b42:

  tcmode-default.inc: drop preferred version of gzip-native (2018-01-31 
17:01:20 +)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/reproduce
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/reproduce

Hongxu Jia (5):
  python-xcbgen: improve reproducibility
  openssl/nativesdk-openssl: improve reproducibility
  python3-core: improve reproducibility
  python-core/python-dev: improve reproducibility
  kbd-ptest: improve reproducibility

 .../openssl/0001-improve-reproducibility.patch | 50 ++
 .../recipes-connectivity/openssl/openssl_1.0.2m.bb | 11 +
 meta/recipes-core/kbd/kbd_2.0.4.bb |  7 +++
 meta/recipes-devtools/python/python3_3.5.3.bb  | 13 +-
 meta/recipes-devtools/python/python_2.7.14.bb  |  7 ++-
 meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb |  2 +-
 6 files changed, 87 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-connectivity/openssl/openssl/0001-improve-reproducibility.patch

-- 
2.8.1

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


[OE-core] [PATCH 5/5] kbd-ptest: improve reproducibility

2018-02-04 Thread Hongxu Jia
Remove remaining build host references of ptest's Makefile.

Signed-off-by: Hongxu Jia 
---
 meta/recipes-core/kbd/kbd_2.0.4.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-core/kbd/kbd_2.0.4.bb 
b/meta/recipes-core/kbd/kbd_2.0.4.bb
index 423b47a..5937cb8 100644
--- a/meta/recipes-core/kbd/kbd_2.0.4.bb
+++ b/meta/recipes-core/kbd/kbd_2.0.4.bb
@@ -29,6 +29,13 @@ do_compile_ptest() {
 do_install_ptest() {
 install -D ${B}/tests/Makefile ${D}${PTEST_PATH}/tests/Makefile
 sed -i -e '/Makefile:/,/^$/d' -e '/%: %.in/,/^$/d' \
+   -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
+   -e 's:${DEBUG_PREFIX_MAP}::g' \
+   -e 's:${HOSTTOOLS_DIR}/::g' \
+   -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+   -e 's:${RECIPE_SYSROOT}::g' \
+   -e 's:${S}/config/missing::g' \
+   -e 's:${WORKDIR}::g' \
-e '/libkeymap_.*_SOURCES =/d' -e '/$(EXEEXT):/,/^$/d' 
${D}${PTEST_PATH}/tests/Makefile
 
 find ${B}/tests -executable -exec install {} ${D}${PTEST_PATH}/tests \;
-- 
2.8.1

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


[OE-core] [PATCH 3/5] python3-core: improve reproducibility

2018-02-04 Thread Hongxu Jia
Since modify _sysconfigdata.py to improve reproducibility,
its pyo files should be recompiled.

Remove remaining build host references of python3.5m-config

Signed-off-by: Hongxu Jia 
---
 meta/recipes-devtools/python/python3_3.5.3.bb | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3_3.5.3.bb 
b/meta/recipes-devtools/python/python3_3.5.3.bb
index 3ae0db2..dfdaa92 100644
--- a/meta/recipes-devtools/python/python3_3.5.3.bb
+++ b/meta/recipes-devtools/python/python3_3.5.3.bb
@@ -194,7 +194,18 @@ py_package_preprocess () {
-e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \

${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile
 \
-   ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
+   ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py \
+   ${PKGD}/${bindir}/python${PYTHON_BINABI}-config
+
+   # Recompile _sysconfigdata after modifying it
+   cd ${PKGD}
+   ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} \
+-c "from py_compile import compile; 
compile('./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py')"
+   ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} \
+-c "from py_compile import compile; 
compile('./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py', optimize=1)"
+   ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} \
+-c "from py_compile import compile; 
compile('./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py', optimize=2)"
+   cd -
 }
 
 # manual dependency additions
-- 
2.8.1

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


[OE-core] [PATCH 2/5] openssl/nativesdk-openssl: improve reproducibility

2018-02-04 Thread Hongxu Jia
Remove build host references from the internally
generated file buildinf.h. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `openssl version -f' which do not have
side effect.

The fix apply for target/nativesdk, and does not affect native.

Signed-off-by: Hongxu Jia 
---
 .../openssl/0001-improve-reproducibility.patch | 50 ++
 .../recipes-connectivity/openssl/openssl_1.0.2m.bb | 11 +
 2 files changed, 61 insertions(+)
 create mode 100644 
meta/recipes-connectivity/openssl/openssl/0001-improve-reproducibility.patch

diff --git 
a/meta/recipes-connectivity/openssl/openssl/0001-improve-reproducibility.patch 
b/meta/recipes-connectivity/openssl/openssl/0001-improve-reproducibility.patch
new file mode 100644
index 000..35edaf5
--- /dev/null
+++ 
b/meta/recipes-connectivity/openssl/openssl/0001-improve-reproducibility.patch
@@ -0,0 +1,50 @@
+From e4a70a64877c084cd90a84d0888c994cbb679dc4 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Thu, 11 Jan 2018 09:41:03 +0800
+Subject: [PATCH] crypto/Makefile: improve reproducibility
+
+Remove build host references from the internally
+generated file buildinf.h. The references get compiled into
+executables, which leads to non-reproducible builds.
+The removed references (--sysroot, -fdebug-prefix-map) were
+only used as part of the `openssl version -f' which do not have
+side effect.
+
+...
+$ openssl version -f
+compiler: cc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC
+-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64
+-DL_ENDIAN -g -O2 -fstack-protector-strong -Wformat
+-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
+-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall
+-DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
+-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
+-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
+-DGHASH_ASM -DECP_NISTZ256_ASM
+...
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Hongxu Jia 
+---
+ crypto/Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/crypto/Makefile b/crypto/Makefile
+index 29c2dcf..4851026 100644
+--- a/crypto/Makefile
 b/crypto/Makefile
+@@ -54,8 +54,9 @@ top:
+ 
+ all: shared
+ 
++COMPILER = $(shell echo "$(CC) $(CFLAGS)" | sed -e 
"s,$(TOOLCHAIN_OPTIONS),,g" -e "s,$(DEBUG_PREFIX_MAP),,g")
+ buildinf.h: ../Makefile
+-  $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" 
>buildinf.h
++  $(PERL) $(TOP)/util/mkbuildinf.pl "$(COMPILER)" "$(PLATFORM)" 
>buildinf.h
+ 
+ x86cpuid.s:   x86cpuid.pl perlasm/x86asm.pl
+   $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+-- 
+1.8.3.1
+
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb 
b/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb
index 9270f52..4906aec 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb
@@ -43,10 +43,21 @@ SRC_URI += "file://find.pl;subdir=openssl-${PV}/util/ \
 file://0001-Fix-build-with-clang-using-external-assembler.patch \
 file://0001-openssl-force-soft-link-to-avoid-rare-race.patch  \
 
file://0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch \
+${SRC_URI_REPRODUCE} \
 "
 SRC_URI[md5sum] = "10e9e37f492094b9ef296f68f24a7666"
 SRC_URI[sha256sum] = 
"8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f"
 
+SRC_URI_REPRODUCE = "file://0001-improve-reproducibility.patch"
+SRC_URI_REPRODUCE_class-native = ""
+
+EXTRA_OEMAKE += "${EXTRA_OEMAKE_REPRODUCE}"
+EXTRA_OEMAKE_REPRODUCE_class-native = ""
+EXTRA_OEMAKE_REPRODUCE  = ' \
+ TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
+ DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}" \
+'
+
 PACKAGES =+ "${PN}-engines"
 FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines"
 
-- 
2.8.1

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


[OE-core] [PATCH V2 3/7] wget: update to 1.19.4

2018-02-04 Thread Yi Zhao
License-Update: Replacing HTTP urls with HTTPS in COPYING

Signed-off-by: Yi Zhao 
---
 meta/recipes-extended/wget/wget.inc   | 2 +-
 meta/recipes-extended/wget/{wget_1.19.2.bb => wget_1.19.4.bb} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/wget/{wget_1.19.2.bb => wget_1.19.4.bb} (60%)

diff --git a/meta/recipes-extended/wget/wget.inc 
b/meta/recipes-extended/wget/wget.inc
index e374e6d..3cff656 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -2,7 +2,7 @@ SUMMARY = "Console URL download utility supporting HTTP, FTP, 
etc"
 HOMEPAGE = "https://www.gnu.org/software/wget/";
 SECTION = "console/network"
 LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
 DEPENDS = "gnutls zlib libpcre"
 
 inherit autotools gettext texinfo update-alternatives pkgconfig
diff --git a/meta/recipes-extended/wget/wget_1.19.2.bb 
b/meta/recipes-extended/wget/wget_1.19.4.bb
similarity index 60%
rename from meta/recipes-extended/wget/wget_1.19.2.bb
rename to meta/recipes-extended/wget/wget_1.19.4.bb
index c216ea8..fb7cce5 100644
--- a/meta/recipes-extended/wget/wget_1.19.2.bb
+++ b/meta/recipes-extended/wget/wget_1.19.4.bb
@@ -3,7 +3,7 @@ SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
file://0002-improve-reproducibility.patch \
   "
 
-SRC_URI[md5sum] = "caabf9727fa429626316619a6369fffa"
-SRC_URI[sha256sum] = 
"4f4a673b6d466efa50fbfba796bd84a46ae24e370fa562ede5b21ab53c11a920"
+SRC_URI[md5sum] = "a2a2c1dc4ac5003fc25a8e60b4a9464e"
+SRC_URI[sha256sum] = 
"93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5"
 
 require wget.inc
-- 
2.7.4

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


[OE-core] [PATCH 1/4] ccache: 3.3.4 -> 3.3.5

2018-02-04 Thread Robert Yang
The LIC_FILES_CHKSUM is changed because of year updated, the contents are the
same.

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/ccache/{ccache_3.3.4.bb => ccache_3.3.5.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/ccache/{ccache_3.3.4.bb => ccache_3.3.5.bb} (48%)

diff --git a/meta/recipes-devtools/ccache/ccache_3.3.4.bb 
b/meta/recipes-devtools/ccache/ccache_3.3.5.bb
similarity index 48%
rename from meta/recipes-devtools/ccache/ccache_3.3.4.bb
rename to meta/recipes-devtools/ccache/ccache_3.3.5.bb
index 1e535b1..929f0f1 100644
--- a/meta/recipes-devtools/ccache/ccache_3.3.4.bb
+++ b/meta/recipes-devtools/ccache/ccache_3.3.5.bb
@@ -1,10 +1,10 @@
 require ccache.inc
 
 LICENSE = "GPLv3+"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7fe21f9470f2305e95e7d8a632255079"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=dae379a85bb6e9d594773e0aa64876f6"
 
-SRC_URI[md5sum] = "95ab3c56284129cc2a32460c23069516"
-SRC_URI[sha256sum] = 
"24f15bf389e38c41548c9c259532187774ec0cb9686c3497bbb75504c8dc404f"
+SRC_URI[md5sum] = "eee58db7cce892febddb989308dc568f"
+SRC_URI[sha256sum] = 
"190576a6e938760ec8113523e6fd380141117303e90766cc4802e770422b30c6"
 
 SRC_URI += " \
 file://0002-dev.mk.in-fix-file-name-too-long.patch \
-- 
2.7.4

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


[OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-04 Thread Robert Yang
* Remove debian.patch which is already in the source.
* The license is changed to GPLv3, I will add the v2 one (time_1.7.bb) to
  meta-gplv2.

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/time/time-1.7/debian.patch | 1301 --
 meta/recipes-extended/time/time.inc  |4 +-
 meta/recipes-extended/time/time_1.7.bb   |   11 -
 meta/recipes-extended/time/time_1.8.bb   |8 +
 4 files changed, 10 insertions(+), 1314 deletions(-)
 delete mode 100644 meta/recipes-extended/time/time-1.7/debian.patch
 delete mode 100644 meta/recipes-extended/time/time_1.7.bb
 create mode 100644 meta/recipes-extended/time/time_1.8.bb

diff --git a/meta/recipes-extended/time/time-1.7/debian.patch 
b/meta/recipes-extended/time/time-1.7/debian.patch
deleted file mode 100644
index 23ea0e3..000
--- a/meta/recipes-extended/time/time-1.7/debian.patch
+++ /dev/null
@@ -1,1301 +0,0 @@
-Upstream-Status: Backport
-
 time-1.7.orig/configure.in
-+++ time-1.7/configure.in
-@@ -1,11 +1,8 @@
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(time.c)
--VERSION=1.7
--AC_SUBST(VERSION)
--PACKAGE=time
--AC_SUBST(PACKAGE)
-+AM_INIT_AUTOMAKE(time, 1.7)
- 
--AC_ARG_PROGRAM
-+AM_MAINTAINER_MODE
- 
- dnl Checks for programs.
- AC_PROG_CC
-@@ -15,7 +12,7 @@
- dnl Checks for header files.
- AC_HEADER_STDC
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS(unistd.h string.h sys/rusage.h)
-+AC_CHECK_HEADERS(unistd.h string.h sys/rusage.h sys/resource.h)
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
 time-1.7.orig/version.texi
-+++ time-1.7/version.texi
-@@ -1,3 +1,3 @@
--@set UPDATED 12 June 1996
-+@set UPDATED 9 May 2002
- @set EDITION 1.7
- @set VERSION 1.7
 time-1.7.orig/time.c
-+++ time-1.7/time.c
-@@ -147,6 +147,10 @@
-   NULL
- };
- 
-+
-+/* If true, do not show the exit message */
-+static boolean quiet;
-+
- /* If true, show an English description next to each statistic.  */
- static boolean verbose;
- 
-@@ -172,6 +176,7 @@
-   {"help", no_argument, NULL, 'h'},
-   {"output-file", required_argument, NULL, 'o'},
-   {"portability", no_argument, NULL, 'p'},
-+  {"quiet", no_argument,NULL, 'q'},
-   {"verbose", no_argument, NULL, 'v'},
-   {"version", no_argument, NULL, 'V'},
-   {NULL, no_argument, NULL, 0}
-@@ -333,7 +338,8 @@
-   else if (WIFSIGNALED (resp->waitstatus))
- fprintf (fp, "Command terminated by signal %d\n",
-WTERMSIG (resp->waitstatus));
--  else if (WIFEXITED (resp->waitstatus) && WEXITSTATUS (resp->waitstatus))
-+  else if (WIFEXITED (resp->waitstatus) && WEXITSTATUS (resp->waitstatus)
-+ && !quiet)
- fprintf (fp, "Command exited with non-zero status %d\n",
-WEXITSTATUS (resp->waitstatus));
- 
-@@ -523,6 +529,7 @@
-   char *format;   /* Format found in environment.  */
- 
-   /* Initialize the option flags.  */
-+  quiet = false;
-   verbose = false;
-   outfile = NULL;
-   outfp = stderr;
-@@ -536,7 +543,7 @@
-   if (format)
- output_format = format;
- 
--  while ((optc = getopt_long (argc, argv, "+af:o:pvV", longopts, (int *) 0))
-+  while ((optc = getopt_long (argc, argv, "+af:o:pqvV", longopts, (int *) 0))
-!= EOF)
- {
-   switch (optc)
-@@ -555,6 +562,9 @@
-   case 'p':
- output_format = posix_format;
- break;
-+  case 'q':
-+quiet = true;
-+break;
-   case 'v':
- verbose = true;
- break;
-@@ -642,9 +652,9 @@
-   fflush (outfp);
- 
-   if (WIFSTOPPED (res.waitstatus))
--exit (WSTOPSIG (res.waitstatus));
-+exit (WSTOPSIG (res.waitstatus) + 128);
-   else if (WIFSIGNALED (res.waitstatus))
--exit (WTERMSIG (res.waitstatus));
-+exit (WTERMSIG (res.waitstatus) + 128);
-   else if (WIFEXITED (res.waitstatus))
- exit (WEXITSTATUS (res.waitstatus));
- }
-@@ -657,7 +667,7 @@
-   fprintf (stream, "\
- Usage: %s [-apvV] [-f format] [-o file] [--append] [--verbose]\n\
-[--portability] [--format=format] [--output=file] [--version]\n\
--   [--help] command [arg...]\n",
-+   [--quiet] [--help] command [arg...]\n",
-  program_name);
-   exit (status);
- }
 time-1.7.orig/resuse.h
-+++ time-1.7/resuse.h
-@@ -36,19 +36,8 @@
- # include 
- #else
- # define TV_MSEC tv_usec / 1000
--# if HAVE_WAIT3
-+# if HAVE_SYS_RESOURCE_H
- #  include 
--# else
--/* Process resource usage structure.  */
--struct rusage
--{
--  struct timeval ru_utime;/* User time used.  */
--  struct timeval ru_stime;/* System time used.  */
--  int ru_maxrss, ru_ixrss, ru_idrss, ru_isrss,
--  ru_minflt, ru_majflt, ru_nswap, ru_inblock, 
--  ru_oublock, ru_msgsnd, ru_msgrcv, ru_nsignals,
--  ru_nvcsw, ru_nivcsw;
--};
- # endif
- #endif
- 
 time-1.7.orig/time.texi
-+++ time-1.7/time.texi
-@@ -11,6 +11,12 @@
- @finalout
- @end iftex
- 
-+@dircategory Individual utilities
-+@direntry
-+* time: (time). Run programs and summarize
-+

[OE-core] [PATCH 0/4] Packages upgrade

2018-02-04 Thread Robert Yang
The following changes since commit a0988c3374e964170d1d24fc230306b887432d31:

  tcmode-default.inc: drop preferred version of gzip-native (2018-01-31 
17:01:12 +)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/pu
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/pu

Robert Yang (4):
  ccache: 3.3.4 -> 3.3.5
  nfs-utils: 2.1.1 -> 2.3.1
  git: 2.15.0 -> 2.16.1
  time: 1.7 -> 1.8

 ...gure-Allow-to-explicitly-disable-nfsidmap.patch |   43 -
 ...nclude-stdint.h-for-UINT16_MAX-definition.patch |   27 -
 .../nfs-utils-1.2.3-sm-notify-res_init.patch   |   36 -
 .../{nfs-utils_2.1.1.bb => nfs-utils_2.3.1.bb} |9 +-
 .../ccache/{ccache_3.3.4.bb => ccache_3.3.5.bb}|6 +-
 meta/recipes-devtools/git/git.inc  |2 +
 meta/recipes-devtools/git/git_2.15.0.bb|   11 -
 meta/recipes-devtools/git/git_2.16.1.bb|   11 +
 meta/recipes-extended/time/time-1.7/debian.patch   | 1301 
 meta/recipes-extended/time/time.inc|4 +-
 meta/recipes-extended/time/time_1.7.bb |   11 -
 meta/recipes-extended/time/time_1.8.bb |8 +
 12 files changed, 29 insertions(+), 1440 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.2.3-sm-notify-res_init.patch
 rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.1.1.bb => 
nfs-utils_2.3.1.bb} (92%)
 rename meta/recipes-devtools/ccache/{ccache_3.3.4.bb => ccache_3.3.5.bb} (48%)
 delete mode 100644 meta/recipes-devtools/git/git_2.15.0.bb
 create mode 100644 meta/recipes-devtools/git/git_2.16.1.bb
 delete mode 100644 meta/recipes-extended/time/time-1.7/debian.patch
 delete mode 100644 meta/recipes-extended/time/time_1.7.bb
 create mode 100644 meta/recipes-extended/time/time_1.8.bb

-- 
2.7.4

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


[OE-core] [PATCH 2/4] nfs-utils: 2.1.1 -> 2.3.1

2018-02-04 Thread Robert Yang
* Remove 0001-configure-Allow-to-explicitly-disable-nfsidmap.patch, now the
  nfsidmap can't be disabled when nfsv4 is enabled, and nfsidmap requires
  keyutils, so we have to disable nfsv4 by default since keyutils is not
  available in oe-core, or we can add it oe-core.

* Drop nfs-utils-1.2.3-sm-notify-res_init.patch and
  0001-include-stdint.h-for-UINT16_MAX-definition.patch which are already in the
  source.

Signed-off-by: Robert Yang 
---
 ...gure-Allow-to-explicitly-disable-nfsidmap.patch | 43 --
 ...nclude-stdint.h-for-UINT16_MAX-definition.patch | 27 --
 .../nfs-utils-1.2.3-sm-notify-res_init.patch   | 36 --
 .../{nfs-utils_2.1.1.bb => nfs-utils_2.3.1.bb} |  9 ++---
 4 files changed, 3 insertions(+), 112 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.2.3-sm-notify-res_init.patch
 rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.1.1.bb => 
nfs-utils_2.3.1.bb} (92%)

diff --git 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch
 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch
deleted file mode 100644
index 7025fb5..000
--- 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 9b84cff305866abd150cf1a4c6e7e5ebf8a7eb3a Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Fri, 15 Nov 2013 23:21:35 +0100
-Subject: [PATCH] configure: Allow to explicitly disable nfsidmap
-
-* keyutils availability is autodetected and builds aren't reproducible
-
-Upstream-Status: Pending
-
-Signed-off-by: Martin Jansa 

- configure.ac | 10 +-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index bf433d6..28a8f62 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -69,6 +69,12 @@ AC_ARG_ENABLE(nfsv4,
-   AC_SUBST(enable_nfsv4)
-   AM_CONDITIONAL(CONFIG_NFSV4, [test "$enable_nfsv4" = "yes"])
- 
-+AC_ARG_ENABLE(nfsidmap,
-+[AC_HELP_STRING([--enable-nfsidmap],
-+[enable support for NFSv4 idmapper 
@<:@default=yes@:>@])],
-+enable_nfsidmap=$enableval,
-+enable_nfsidmap=yes)
-+
- AC_ARG_ENABLE(nfsv41,
-   [AC_HELP_STRING([--enable-nfsv41],
- [enable support for NFSv41 @<:@default=yes@:>@])],
-@@ -296,7 +302,7 @@ fi
- 
- dnl enable nfsidmap when its support by libnfsidmap
- AM_CONDITIONAL(CONFIG_NFSDCLTRACK, [test "$enable_nfsdcltrack" = "yes" ])
--AM_CONDITIONAL(CONFIG_NFSIDMAP, [test 
"$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyes"])
-+AM_CONDITIONAL(CONFIG_NFSIDMAP, [test 
"$enable_nfsidmap$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" 
= "yesyesyes"])
- 
- 
- if test "$knfsd_cv_glibc2" = no; then
--- 
-1.8.4.3
-
diff --git 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
deleted file mode 100644
index 235a2c7..000
--- 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 36b48057bce76dced335d67a2894a420967811c9 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sat, 20 May 2017 14:07:53 -0700
-Subject: [PATCH] include stdint.h for UINT16_MAX definition
-
-Signed-off-by: Khem Raj 

-Upstream-Status: Pending
-
- support/nsm/rpc.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
-index 4e5f40e..d91c6ea 100644
 a/support/nsm/rpc.c
-+++ b/support/nsm/rpc.c
-@@ -40,6 +40,7 @@
- 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
--- 
-2.13.0
-
diff --git 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.2.3-sm-notify-res_init.patch
 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.2.3-sm-notify-res_init.patch
deleted file mode 100644
index d8f8181..000
--- 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.2.3-sm-notify-res_init.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Fixes errors like
-sm-notify[1070]: DNS resolution of a.b.c.d..com failed; retrying later
-This error will occur anytime sm-notify is run before the network if fully up,
-which is happening more and more with parallel startup systems.
-The res_init() call is simple, safe, quick, and a patch to use it should be
-able to go upstream.  Presumably the whole reason sm-notify tries several
-times is to wait for possible changes to the network configuration, but without
-calling res_init() it w

[OE-core] [PATCH 3/4] git: 2.15.0 -> 2.16.1

2018-02-04 Thread Robert Yang
Add RDEPENDS_${PN} += "perl" to fix:
ERROR: git-2.16.1-r0 do_package_qa: QA Issue: 
/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample contained in 
package git requires /usr/bin/perl, but no providers found in RDEPENDS_git? 
[file-rdeps]
ERROR: git-2.16.1-r0 do_package_qa: QA run found fatal errors. Please consider 
fixing them.

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/git/git.inc   |  2 ++
 meta/recipes-devtools/git/git_2.15.0.bb | 11 ---
 meta/recipes-devtools/git/git_2.16.1.bb | 11 +++
 3 files changed, 13 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.15.0.bb
 create mode 100644 meta/recipes-devtools/git/git_2.16.1.bb

diff --git a/meta/recipes-devtools/git/git.inc 
b/meta/recipes-devtools/git/git.inc
index 9b4c128..4943b94 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -125,6 +125,8 @@ FILES_${PN}-perltools += " \
 ${libdir}/perl \
 ${datadir}/perl \
 "
+RDEPENDS_${PN} += "perl"
+
 RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
 
 # git-tk package with gitk and git-gui
diff --git a/meta/recipes-devtools/git/git_2.15.0.bb 
b/meta/recipes-devtools/git/git_2.15.0.bb
deleted file mode 100644
index fd6c931..000
--- a/meta/recipes-devtools/git/git_2.15.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
- 
ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
- "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "1ed729886c1accb0a7be5a7a2b1b"
-SRC_URI[tarball.sha256sum] = 
"25762cc50103a6a0665c46ea33ceb0578eee01c19b6a08fd393e8608ccbdb3da"
-SRC_URI[manpages.md5sum] = "19a0116bcb0779e0bc997c4180018daf"
-SRC_URI[manpages.sha256sum] = 
"3b1b9ebf02d4aa6e741becd1ed9319597488743f939fdab3b894ec52d25408ef"
diff --git a/meta/recipes-devtools/git/git_2.16.1.bb 
b/meta/recipes-devtools/git/git_2.16.1.bb
new file mode 100644
index 000..9dc4eba
--- /dev/null
+++ b/meta/recipes-devtools/git/git_2.16.1.bb
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+ 
ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
+ "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "37467da8e79e72f28598d667f219f75e"
+SRC_URI[tarball.sha256sum] = 
"56cfa48af2b289bba172ca0a47c29f0083f5846cf4759978b70988e4f07fc9fd"
+SRC_URI[manpages.md5sum] = "5587407f3c28446af12fde3f3131ba34"
+SRC_URI[manpages.sha256sum] = 
"d499e825f429d76862be415f579c20cc26b046573a3a39237acaf9682cb71be7"
-- 
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 Packages upgrade

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

Series: Packages upgrade
Revision: 1
URL   : https://patchwork.openembedded.org/series/10841/
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 LIC_FILES_CHKSUM changed on target ccache but there is no 
"License-Update" tag in commit message 
[test_lic_files_chksum_modified_not_mentioned] 
  Suggested fixInclude "License-Update: " into the commit 
message with a brief description
  Current checksum file://LICENSE.txt;md5=7fe21f9470f2305e95e7d8a632255079
  New checksum file://LICENSE.txt;md5=dae379a85bb6e9d594773e0aa64876f6



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] ✗ patchtest: failure for Packages upgrade

2018-02-04 Thread Robert Yang

Updated in the repo:

  git://git.openembedded.org/openembedded-core-contrib rbt/pu
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/pu

Robert Yang (4):
  ccache: 3.3.4 -> 3.3.5
  nfs-utils: 2.1.1 -> 2.3.1
  git: 2.15.0 -> 2.16.1
  time: 1.7 -> 1.8

commit message updated:

time: 1.7 -> 1.8

* Remove debian.patch which is already in the source.
* License-Update: The license is changed to GPLv3, will add the v2 one to 
meta-gplv2.



ccache: 3.3.4 -> 3.3.5

License-Update: Year updated, the contents are the same.


// Robert


On 02/05/2018 11:03 AM, Patchwork wrote:

== Series Details ==

Series: Packages upgrade
Revision: 1
URL   : https://patchwork.openembedded.org/series/10841/
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 LIC_FILES_CHKSUM changed on target ccache but there is no 
"License-Update" tag in commit message 
[test_lic_files_chksum_modified_not_mentioned]
   Suggested fixInclude "License-Update: " into the commit 
message with a brief description
   Current checksum file://LICENSE.txt;md5=7fe21f9470f2305e95e7d8a632255079
   New checksum file://LICENSE.txt;md5=dae379a85bb6e9d594773e0aa64876f6



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] [PATCH 3/4] runqemu: check for qemuboot.conf and raise error

2018-02-04 Thread Robert Yang



On 02/02/2018 10:49 PM, Randy MacLeod wrote:

On 2018-02-01 10:23 PM, Robert Yang wrote:

[YOCTO #12503]

Signed-off-by: Robert Yang 
---
  scripts/runqemu | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index 0ca62f4..d50c6d1 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -417,6 +417,9 @@ class BaseConfig(object):
  unknown_arg = ""
  for arg in sys.argv[1:]:
+    if arg.endswith('.qemuboot.conf'):
+    raise RunQemuError("qemuboot.conf is not supported any more, 
use qemuboot.json to instead of it")

+

better wording:
  qemuboot.conf format is no longer supported, use a qemuboot.json file instead.



Thanks, updated in the repo.

// Robert




../Randy


  if arg in self.fstypes + self.vmtypes:
  self.check_arg_fstype(arg)
  elif arg == 'nographic':





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


[OE-core] [PATCH 3/3] libva-utils: upgrade to 2.0.0

2018-02-04 Thread Anuj Mittal
Major changes:

* Add option '--device ' to vainfo
* Add vp9enc for VP9 encoding
* Add vavpp for video processing
* Add FEI gtest cases
* Fix segmentation fault in putsurface_wayland
* Fix GCC 7.1.1 warnings/errors
* Fix libva version printed out by vainfo

Also, updated github URLs to point to renamed Intel repository.

Signed-off-by: Anuj Mittal 
---
 .../libva/{libva-utils_1.8.3.bb => libva-utils_2.0.0.bb}  | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/libva/{libva-utils_1.8.3.bb => 
libva-utils_2.0.0.bb} (81%)

diff --git a/meta/recipes-graphics/libva/libva-utils_1.8.3.bb 
b/meta/recipes-graphics/libva/libva-utils_2.0.0.bb
similarity index 81%
rename from meta/recipes-graphics/libva/libva-utils_1.8.3.bb
rename to meta/recipes-graphics/libva/libva-utils_2.0.0.bb
index c082c18..edf4946 100644
--- a/meta/recipes-graphics/libva/libva-utils_1.8.3.bb
+++ b/meta/recipes-graphics/libva/libva-utils_2.0.0.bb
@@ -8,15 +8,15 @@ for video processing. It consists of a main library and 
driver-specific \
 acceleration backends for each supported hardware vendor"
 
 HOMEPAGE = "https://01.org/linuxmedia/vaapi";
-BUGTRACKER = "https://github.com/01org/libva-utils/issues";
+BUGTRACKER = "https://github.com/intel/libva-utils/issues";
 
 SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e"
 
-SRC_URI = "git://github.com/01org/libva-utils.git;branch=v1.8-branch"
-SRCREV = "011c709b98b52db3b10aeb361dfea9da43930364"
-UPSTREAM_CHECK_URI = "https://github.com/01org/libva-utils/releases";
+SRC_URI = "git://github.com/intel/libva-utils.git"
+SRCREV = "505216d0e0d30273f665c888d4c60aa694060729"
+UPSTREAM_CHECK_URI = "https://github.com/intel/libva-utils/releases";
 UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
-- 
2.7.4

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


[OE-core] [PATCH 2/3] libva: upgrade to 2.0.0

2018-02-04 Thread Anuj Mittal
libva 2.0 bumps the VA-API version to 1.0.0 and deletes egl and
tpi backends. The header files va_egl.h and va_tpi.h are still
packaged in -dev to ensure packages that still use them don't fail.

Major changes:

* Bump VA-API version to 1.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe

Also, updated the github URLs to point to renamed Intel repository.

Signed-off-by: Anuj Mittal 
---
 .../libva/{libva_1.8.3.bb => libva_2.0.0.bb}   | 14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)
 rename meta/recipes-graphics/libva/{libva_1.8.3.bb => libva_2.0.0.bb} (76%)

diff --git a/meta/recipes-graphics/libva/libva_1.8.3.bb 
b/meta/recipes-graphics/libva/libva_2.0.0.bb
similarity index 76%
rename from meta/recipes-graphics/libva/libva_1.8.3.bb
rename to meta/recipes-graphics/libva/libva_2.0.0.bb
index ceeda84..af4c1e1 100644
--- a/meta/recipes-graphics/libva/libva_1.8.3.bb
+++ b/meta/recipes-graphics/libva/libva_2.0.0.bb
@@ -11,19 +11,19 @@ manufacturers can also freely use this API for hardware 
accelerated \
 video decoding."
 
 HOMEPAGE = "https://01.org/linuxmedia/vaapi";
-BUGTRACKER = "https://github.com/01org/libva/issues";
+BUGTRACKER = "https://github.com/intel/libva/issues";
 
 SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
 
-SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.8-branch "
-SRCREV = "457470987cc9df5976ce8c72ffd4bfbd9baaf0f9"
+SRC_URI = "git://github.com/intel/libva.git;protocol=http"
+SRCREV = "24cbd05c9477ab59cc5665989026b4ad17e06eb6"
 UPSTREAM_CHECK_GITTAGREGEX = "^(?P(\d+(\.\d+)+))$"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl"
+DEPENDS = "libdrm virtual/mesa"
 
 inherit autotools pkgconfig distro_features_check
 
@@ -35,17 +35,13 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 
'wayland x11', d)}"
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext 
libxfixes"
 PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native 
wayland"
 
-PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl ${PN}-wayland"
+PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland"
 
-RDEPENDS_${PN}-tpi =+ "${PN}"
 RDEPENDS_${PN}-x11 =+ "${PN}"
 RDEPENDS_${PN}-glx =+ "${PN}-x11"
-RDEPENDS_${PN}-egl =+ "${PN}-x11"
 
 FILES_${PN}-dbg += "${libdir}/dri/.debug"
 
 FILES_${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}"
-FILES_${PN}-tpi =+ "${libdir}/libva-tpi*${SOLIBS}"
 FILES_${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}"
-FILES_${PN}-egl =+ "${libdir}/libva-egl*${SOLIBS}"
 FILES_${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}"
-- 
2.7.4

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


[OE-core] [PATCH 1/3] maintainers.inc: update ownership

2018-02-04 Thread Anuj Mittal
I propose to take over gstreamer stack and x264. Remove libav entry since
the recipe was removed from oe-core. Change ownership of libva* since Wei Tee
is no longer working on oe-core.

Signed-off-by: Anuj Mittal 
---
 meta/conf/distro/include/maintainers.inc | 33 
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 34f3d81..5f1cb79 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -237,19 +237,19 @@ RECIPE_MAINTAINER_pn-groff = "Hongxu Jia 
"
 RECIPE_MAINTAINER_pn-grub = "Alexander Kanavin "
 RECIPE_MAINTAINER_pn-grub-efi = "Alexander Kanavin 
"
 RECIPE_MAINTAINER_pn-gsettings-desktop-schemas = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gst-examples = "Maxin B. John "
-RECIPE_MAINTAINER_pn-gst-validate = "Maxin B. John "
-RECIPE_MAINTAINER_pn-gstreamer1.0 = "Maxin B. John "
-RECIPE_MAINTAINER_pn-gstreamer1.0-libav = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-omx = "Maxin B. John "
-RECIPE_MAINTAINER_pn-gstreamer1.0-meta-base = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-bad = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-base = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-good = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-ugly = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-python = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-rtsp-server = "Maxin B. John 
"
-RECIPE_MAINTAINER_pn-gstreamer1.0-vaapi = "Wei Tee Ng "
+RECIPE_MAINTAINER_pn-gst-examples = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-gst-validate = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-gstreamer1.0 = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-gstreamer1.0-libav = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-gstreamer1.0-omx = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-gstreamer1.0-meta-base = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-bad = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-base = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-good = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-plugins-ugly = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-python = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-rtsp-server = "Anuj Mittal 
"
+RECIPE_MAINTAINER_pn-gstreamer1.0-vaapi = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-gtk+ = "Maxin B. John "
 RECIPE_MAINTAINER_pn-gtk+3 = "Maxin B. John "
 RECIPE_MAINTAINER_pn-gtk-doc = "Alexander Kanavin 
"
@@ -312,7 +312,6 @@ RECIPE_MAINTAINER_pn-libarchive = "Otavio Salvador 
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] ✗ patchtest: failure for "maintainers.inc: update owners..." and 2 more

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

Series: "maintainers.inc: update owners..." and 2 more
Revision: 1
URL   : https://patchwork.openembedded.org/series/10843/
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 a0988c3374)



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] ✗ patchtest: failure for "maintainers.inc: update owners..." and 2 more

2018-02-04 Thread Anuj Mittal
On 02/05/2018 02:33 PM, Patchwork wrote:
> == Series Details ==
> 
> Series: "maintainers.inc: update owners..." and 2 more
> Revision: 1
> URL   : https://patchwork.openembedded.org/series/10843/
> 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 a0988c3374)
> 

This is probably because I have based my patch on top of a
maintainers.inc change that is already in ross/mut.

Thanks,
Anuj

> 
> 
> 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


[OE-core] [PATCH] classes/npm: replace cache clear with cache clean --force

2018-02-04 Thread mpvader
npm now requires --force to clean the cache, see [1]. Also, use
clean instead of clear since the latter is an alias.

[1] https://github.com/npm/npm/commit/34f24c8381235790945208d25ac193bc97a21b79

Signed-off-by: mpvader 
---
 meta/classes/npm.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
index a69bedb..43aed36 100644
--- a/meta/classes/npm.bbclass
+++ b/meta/classes/npm.bbclass
@@ -31,7 +31,7 @@ npm_do_compile() {
fi
npm set cache ${WORKDIR}/npm_cache
# clear cache before every build
-   npm cache clear
+   npm cache clean --force
# Install pkg into ${S} without going to the registry
if [  "${NPM_INSTALL_DEV}" = "1" ]; then
npm --arch=${NPM_ARCH} --target_arch=${NPM_ARCH} --no-registry 
install
-- 
2.7.4

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


[OE-core] [PATCH] kernel: Fix QA buildpaths warning for kernel modules

2018-02-04 Thread zhe.he
From: He Zhe 

CFLAGS is unset during kernel_do_compile and thus the default build
path substitutions in DEBUG_PREFIX_MAP are missing.

To enhance reproducible build for kernel modules, such as lttng-modules
and cryptodev-module, this patch appends them, plus substitution of
STAGING_KERNEL_DIR, to KERNEL_CC.

Signed-off-by: He Zhe 
---
 meta/classes/kernel-arch.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index cf0edb6..e0fe22b 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -57,7 +57,7 @@ HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}"
 TARGET_AR_KERNEL_ARCH ?= ""
 HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}"
 
-KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd"
+KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd 
${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}"
 KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
 KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
 TOOLCHAIN = "gcc"
-- 
2.8.1

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