[OE-core] ✗ patchtest: failure for "[pyro] v86d, qemuboot-x86.inc:..." and 3 more

2017-08-11 Thread Patchwork
== Series Details ==

Series: "[pyro] v86d, qemuboot-x86.inc:..." and 3 more
Revision: 1
URL   : https://patchwork.openembedded.org/series/8201/
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:



* Patch[pyro, 1/4] v86d, qemuboot-x86.inc: use 
KERNEL_MODULE_AUTOLOAD+KERNEL_MODULE_PROBECONF for uvesafb instead of fbsetup 
init script
 Issue Commit shortlog is too long [test_shortlog_length] 
  Suggested fixEdit shortlog so that it is 90 characters or less (currently 
117 characters)



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] -> ...).

---
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][morty 1/5] test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of failed

2017-08-11 Thread Martin Jansa
From: Martin Jansa 

* format of bitbake tasks changed in:
  2c88afb   taskdata/runqueue: Rewrite without use of ID indirection

-ERROR: Task 4 
(/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, 
do_fetch) failed with exit code '1'
+ERROR: Task 
/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch 
(/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch)
 failed with exit code '1'

  so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
  the task name to get recipe name.

* for more details see:
  
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html

* without this change you can see test-dependencies.sh trying to rebuild 
packages
  like:
  Building recipe: fbprogress (6/21)
  Building recipe: fbprogress.bb:do (7/21)
  where the later of course doesn't exist as a recipe

Signed-off-by: Martin Jansa 
Signed-off-by: Ross Burton 
---
 scripts/test-dependencies.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh
index 00c50e0d6c..0b94de8608 100755
--- a/scripts/test-dependencies.sh
+++ b/scripts/test-dependencies.sh
@@ -141,7 +141,7 @@ build_all() {
   bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log
   RESULT+=${PIPESTATUS[0]}
   grep "ERROR: Task.*failed" ${OUTPUT1}/complete.log > 
${OUTPUT1}/failed-tasks.log
-  cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; 
s@\.bb;.*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
+  cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; 
s@\.bb:.*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
 }
 
 build_every_recipe() {
@@ -178,7 +178,7 @@ build_every_recipe() {
   RESULT+=${RECIPE_RESULT}
   mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/
   grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | tee -a 
${OUTPUTB}/failed-tasks.log
-  grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | sed 
's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb;.*@@g' >> 
${OUTPUTB}/failed-recipes.log
+  grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | sed 
's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb:.*@@g' >> 
${OUTPUTB}/failed-recipes.log
   # and append also ${recipe} in case the failed task was from some 
dependency
   echo ${recipe} >> ${OUTPUTB}/failed-recipes.log
 else
-- 
2.14.0

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


[OE-core] [PATCH][morty 3/5] eudev: set LGPL-2.1+ for libudev package

2017-08-11 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta/recipes-core/udev/eudev_3.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/udev/eudev_3.2.bb 
b/meta/recipes-core/udev/eudev_3.2.bb
index 211252cebc..857d20db78 100644
--- a/meta/recipes-core/udev/eudev_3.2.bb
+++ b/meta/recipes-core/udev/eudev_3.2.bb
@@ -1,6 +1,7 @@
 SUMMARY = "eudev is a fork of systemd's udev"
 HOMEPAGE = "https://wiki.gentoo.org/wiki/Eudev;
-LICENSE = "GPLv2.0+"
+LICENSE = "GPLv2.0+ & LGPL-2.1+"
+LICENSE_libudev = "LGPL-2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native 
util-linux"
-- 
2.14.0

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


[OE-core] [PATCH][morty 5/5] insane.bbclass: fix override handling in RDEPENDS QA

2017-08-11 Thread Martin Jansa
From: Gan Yau Wai 

The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.

Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df
and modified to work with older bitbake where 2nd parameter in
localdata.getVar was mandatory.

[YOCTO #11374]

Signed-off-by: Gan Yau Wai 
Signed-off-by: Ross Burton 
Signed-off-by: Martin Jansa 
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e541c72c2d..7bbe8b63a2 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -833,7 +833,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, 
packages, d):
 
 if not "-dbg" in pkg and not "packagegroup-" in pkg and not "-image" in 
pkg:
 localdata = bb.data.createCopy(d)
-localdata.setVar('OVERRIDES', pkg)
+localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES', True) + 
':' + pkg)
 bb.data.update_data(localdata)
 
 # Now check the RDEPENDS
-- 
2.14.0

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


[OE-core] [PATCH][morty 4/5] icecc.bbclass: prevent nativesdk builds depending on target specific KERNEL_CC

2017-08-11 Thread Martin Jansa
* without this we cause nativesdk-linux-libc-headers to depend
  on target specific KERNEL_CC (through icecc_get_tool ->
  icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
  TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
  bitbake-diffsigs:

  OE qemux86@ ~/build/oe-core $ ls 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2

  OE qemux86@ ~/build/oe-core $ bitbake-diffsigs 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  basehash changed from 39774238b66763c598153132e87a2c1a to 
aa2d66e770bf533e312536eb0a401c4c
  Variable TARGET_CC_KERNEL_ARCH value changed from 
'${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', 
'', d)} TUNE_FEATURES{thumb} = Set' to ''

Signed-off-by: Martin Jansa 
---
 meta/classes/icecc.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index a837894150..c572571515 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -42,6 +42,7 @@ def icecc_dep_prepend(d):
 
 DEPENDS_prepend += "${@icecc_dep_prepend(d)} "
 
+get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC"
 def get_cross_kernel_cc(bb,d):
 kernel_cc = d.getVar('KERNEL_CC', False)
 
-- 
2.14.0

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


[OE-core] [PATCH][morty 2/5] sstate-sysroot-cruft: Add /etc/ld.so.conf to whitelist

2017-08-11 Thread Martin Jansa
From: Martin Jansa 

* it reports at least 2 issues in every build (this file in
  native and target sysroot) add it to whitelist

Signed-off-by: Martin Jansa 
Signed-off-by: Ross Burton 
---
 scripts/sstate-sysroot-cruft.sh | 12 
 1 file changed, 12 insertions(+)

diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh
index b7ed8ea846..b6166aa1b2 100755
--- a/scripts/sstate-sysroot-cruft.sh
+++ b/scripts/sstate-sysroot-cruft.sh
@@ -141,6 +141,18 @@ WHITELIST="${WHITELIST} \
   .*/var/cache/fontconfig/ \
 "
 
+# created by oe.utils.write_ld_so_conf which is used from few bbclasses and 
recipes:
+# meta/classes/image-prelink.bbclass:oe.utils.write_ld_so_conf(d)
+# meta/classes/insane.bbclass:oe.utils.write_ld_so_conf(d)
+# meta/classes/insane.bbclass:oe.utils.write_ld_so_conf(d)
+# meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb:
oe.utils.write_ld_so_conf(d)
+# meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb:
oe.utils.write_ld_so_conf(d)
+# introduced in oe-core commit 7fd1d7e639c2ed7e0699937a5cb245c187b7c811
+# and more visible since added to gobject-introspection in 
10e0c1a3a452baa05d160a92a54b2e33cf0fd061
+WHITELIST="${WHITELIST} \
+  [^/]*/etc/ld.so.conf \
+"
+
 SYSROOTS="`readlink -f ${tmpdir}`/sysroots/"
 
 mkdir ${OUTPUT}
-- 
2.14.0

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


Re: [OE-core] [PATCH][pyro 3/4] insane.bbclass: fix override handling in RDEPENDS QA

2017-08-11 Thread Martin Jansa
I'm sorry for resending the first 2 patches in this series, but git
send-email didn't like the colon in Gan Yau Wai e-mail name - it's inside
the quotes for author e-mail, but in Signed-off-by it's parsed without
quotes, so the colon is taken as e-mail separator.

For second git send-email tryi, I've updated the commit to remove the colon
(from both author and SOB line).

See the error bellow:

(mbox) Adding cc: "Gan, Yau Wai"  from line 'From:
"Gan, Yau Wai" '
(body) Adding cc: Gan, Yau Wai  from line
'Signed-off-by: Gan, Yau Wai '
(body) Adding cc: Ross Burton  from line
'Signed-off-by: Ross Burton '
(body) Adding cc: Martin Jansa  from line
'Signed-off-by: Martin Jansa '
sendmail: recipient address Gan not accepted by the server
sendmail: server message: 553 5.1.2 The recipient address  is not a
valid RFC-5321 address. w19sm3347498wrb.49 - gsmtp
sendmail: could not send mail (account default from /OE/.msmtprc)
Died at /usr/libexec/git-core/git-send-email line 1361.


On Sat, Aug 12, 2017 at 2:34 AM, Martin Jansa 
wrote:

> From: Gan Yau Wai 
>
> The package_qa_check_rdepends() in insane.bbclass has
> incorrectly replace its localdata OVERRIDES value with
> the package name. Fixing it by appending the package name
> to the existing OVERRIDES value. This resolves RDEPENDS QA
> error when setting PACKAGECONFIG using a pn- override at
> local.conf.
>
> Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df
>
> [YOCTO #11374]
>
> Signed-off-by: Gan Yau Wai 
> Signed-off-by: Ross Burton 
> Signed-off-by: Martin Jansa 
> ---
>  meta/classes/insane.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
> index dc1c2f8d41..5a3d017004 100644
> --- a/meta/classes/insane.bbclass
> +++ b/meta/classes/insane.bbclass
> @@ -867,7 +867,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip,
> taskdeps, packages, d):
>
>  if not "-dbg" in pkg and not "packagegroup-" in pkg and not "-image"
> in pkg:
>  localdata = bb.data.createCopy(d)
> -localdata.setVar('OVERRIDES', pkg)
> +localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES') + ':'
> + pkg)
>
>  # Now check the RDEPENDS
>  rdepends = bb.utils.explode_deps(localdata.getVar('RDEPENDS') or
> "")
> --
> 2.14.0
>
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH][pyro 3/4] insane.bbclass: fix override handling in RDEPENDS QA

2017-08-11 Thread Martin Jansa
From: Gan Yau Wai 

The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.

Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df

[YOCTO #11374]

Signed-off-by: Gan Yau Wai 
Signed-off-by: Ross Burton 
Signed-off-by: Martin Jansa 
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index dc1c2f8d41..5a3d017004 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -867,7 +867,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, 
packages, d):
 
 if not "-dbg" in pkg and not "packagegroup-" in pkg and not "-image" in 
pkg:
 localdata = bb.data.createCopy(d)
-localdata.setVar('OVERRIDES', pkg)
+localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES') + ':' + 
pkg)
 
 # Now check the RDEPENDS
 rdepends = bb.utils.explode_deps(localdata.getVar('RDEPENDS') or "")
-- 
2.14.0

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


[OE-core] [PATCH][pyro 2/4] icecc.bbclass: prevent nativesdk builds depending on target specific KERNEL_CC

2017-08-11 Thread Martin Jansa
* without this we cause nativesdk-linux-libc-headers to depend
  on target specific KERNEL_CC (through icecc_get_tool ->
  icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
  TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
  bitbake-diffsigs:

  OE qemux86@ ~/build/oe-core $ ls 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2

  OE qemux86@ ~/build/oe-core $ bitbake-diffsigs 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  basehash changed from 39774238b66763c598153132e87a2c1a to 
aa2d66e770bf533e312536eb0a401c4c
  Variable TARGET_CC_KERNEL_ARCH value changed from 
'${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', 
'', d)} TUNE_FEATURES{thumb} = Set' to ''

Signed-off-by: Martin Jansa 
---
 meta/classes/icecc.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 8a351cf3b8..77bf61133e 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -42,6 +42,7 @@ def icecc_dep_prepend(d):
 
 DEPENDS_prepend += "${@icecc_dep_prepend(d)} "
 
+get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC"
 def get_cross_kernel_cc(bb,d):
 kernel_cc = d.getVar('KERNEL_CC', False)
 
-- 
2.14.0

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


[OE-core] [PATCH][pyro 4/4] mesa.inc: drop wrong path in --with-llvm-prefix and export LLVM_CONFIG

2017-08-11 Thread Martin Jansa
* this was added in oe-core/pyro but breaks all builds with llvm from
  meta-oe as reported in:
  
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135050.html

* fix it by partial backport from master:
  
http://git.openembedded.org/openembedded-core/commit/?id=da29bc17e4dd748f50b054c5e3afaf8d41bf4077
  but with different path as llvm-3.3 from meta-oe installs llvm-config in:
  ${STAGING_BINDIR_CROSS}/llvm-config
  while llvm-5.0 from oe-core master (rocko) in:
  ${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config-host"

Signed-off-by: Martin Jansa 
---
 meta/recipes-graphics/mesa/mesa.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 0348bb2dbb..25cbf631a7 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -22,7 +22,8 @@ inherit autotools pkgconfig pythonnative gettext 
distro_features_check
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-EXTRA_OECONF = "--enable-shared-glapi 
--with-llvm-prefix=${STAGING_BINDIR_NATIVE}"
+export LLVM_CONFIG = "${STAGING_BINDIR_CROSS}/llvm-config"
+EXTRA_OECONF = "--enable-shared-glapi"
 
 PACKAGECONFIG ??= "gbm egl gles dri \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \
-- 
2.14.0

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


[OE-core] [PATCH][pyro 1/4] v86d, qemuboot-x86.inc: use KERNEL_MODULE_AUTOLOAD+KERNEL_MODULE_PROBECONF for uvesafb instead of fbsetup init script

2017-08-11 Thread Martin Jansa
* also add UVESA_MODE variable for easier change of resolution and respect it 
in QB_KERNEL_CMDLINE_APPEND
  as well
* don't use init script just to call modprobe
* I wasn't able to test this all the way with runqemu, because runqemu
  doesn't work on my system, but I've verified that the right params
  appear there and that I can easily change UVESA_MODE from
  conf/local.conf, the modules.d and modprobe.d files look OK:
  OE qemux86@ 
~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
  $ cat etc/modules-load.d/uvesafb.conf
  uvesafb

  OE qemux86@ 
~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
  $ cat etc/modprobe.d/uvesafb.conf
  options uvesafb mode_option=1600x1200-32

  so I'll be able to drop this KERNEL_MODULE_AUTOLOAD +
  KERNEL_MODULE_PROBECONF from my DISTRO conf.

Signed-off-by: Martin Jansa 
---
 meta/conf/machine/include/qemuboot-x86.inc |  7 +-
 meta/recipes-bsp/v86d/v86d/fbsetup |  3 ---
 meta/recipes-bsp/v86d/v86d/uvesafb.conf|  2 --
 meta/recipes-bsp/v86d/v86d_0.1.10.bb   | 36 --
 4 files changed, 6 insertions(+), 42 deletions(-)
 delete mode 100755 meta/recipes-bsp/v86d/v86d/fbsetup
 delete mode 100644 meta/recipes-bsp/v86d/v86d/uvesafb.conf

diff --git a/meta/conf/machine/include/qemuboot-x86.inc 
b/meta/conf/machine/include/qemuboot-x86.inc
index acd03a1ce8..acf9d55c40 100644
--- a/meta/conf/machine/include/qemuboot-x86.inc
+++ b/meta/conf/machine/include/qemuboot-x86.inc
@@ -10,6 +10,11 @@ QB_CPU_KVM_x86-64 = "-cpu core2duo"
 
 QB_AUDIO_DRV = "alsa"
 QB_AUDIO_OPT = "-soundhw ac97,es1370"
-QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=640x480-32 
oprofile.timer=1 uvesafb.task_timeout=-1"
+QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} 
oprofile.timer=1 uvesafb.task_timeout=-1"
 # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
 QB_OPT_APPEND = "-vga vmware -show-cursor -usb -usbdevice tablet -device 
virtio-rng-pci"
+
+KERNEL_MODULE_AUTOLOAD += "uvesafb"
+KERNEL_MODULE_PROBECONF += "uvesafb"
+UVESA_MODE ?= "640x480-32"
+module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
diff --git a/meta/recipes-bsp/v86d/v86d/fbsetup 
b/meta/recipes-bsp/v86d/v86d/fbsetup
deleted file mode 100755
index 2a409cc529..00
--- a/meta/recipes-bsp/v86d/v86d/fbsetup
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh 
-
-/sbin/modprobe uvesafb
diff --git a/meta/recipes-bsp/v86d/v86d/uvesafb.conf 
b/meta/recipes-bsp/v86d/v86d/uvesafb.conf
deleted file mode 100644
index 43789755d3..00
--- a/meta/recipes-bsp/v86d/v86d/uvesafb.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# Load uvesafb.ko at boot
-uvesafb
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb 
b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
index eab466d30d..579a0a27eb 100644
--- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb
+++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
@@ -11,8 +11,6 @@ PR = "r2"
 
 SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \
file://Update-x86emu-from-X.org.patch \
-   file://fbsetup \
-   file://uvesafb.conf \
file://ar-from-env.patch \
file://aarch64-host.patch \
 "
@@ -23,9 +21,6 @@ SRC_URI[sha256sum] = 
"634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
 
-INITSCRIPT_NAME = "fbsetup"
-INITSCRIPT_PARAMS = "start 0 S ."
-
 do_configure () {
./configure --with-x86emu
 }
@@ -37,35 +32,4 @@ do_compile () {
 do_install () {
install -d ${D}${base_sbindir}
install v86d ${D}${base_sbindir}/
-
-# Only install fbsetup script if 'sysvinit' is in DISTRO_FEATURES
-if 
${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
-install -d ${D}${sysconfdir}/init.d/
-install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup
-fi
-
-# Install systemd related configuration file
-if 
${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-install -d ${D}${sysconfdir}/modules-load.d
-install -m 0644 ${WORKDIR}/uvesafb.conf 
${D}${sysconfdir}/modules-load.d
-fi
-}
-
-# As the recipe doesn't inherit systemd.bbclass, we need to set this variable
-# manually to avoid unnecessary postinst/preinst generated.
-python __anonymous() {
-if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
-d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
-}
-
-inherit update-rc.d
-
-PACKAGE_WRITE_DEPS_append = " 
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
-pkg_postinst_${PN} () {
-   if ${@bb.utils.contains('DISTRO_FEATURES','systemd 
sysvinit','true','false',d)}; then
-   if [ -n "$D" ]; then
-   OPTS="--root=$D"
-   fi
-   

[OE-core] [PATCH][pyro 1/4] v86d, qemuboot-x86.inc: use KERNEL_MODULE_AUTOLOAD+KERNEL_MODULE_PROBECONF for uvesafb instead of fbsetup init script

2017-08-11 Thread Martin Jansa
* also add UVESA_MODE variable for easier change of resolution and respect it 
in QB_KERNEL_CMDLINE_APPEND
  as well
* don't use init script just to call modprobe
* I wasn't able to test this all the way with runqemu, because runqemu
  doesn't work on my system, but I've verified that the right params
  appear there and that I can easily change UVESA_MODE from
  conf/local.conf, the modules.d and modprobe.d files look OK:
  OE qemux86@ 
~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
  $ cat etc/modules-load.d/uvesafb.conf
  uvesafb

  OE qemux86@ 
~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
  $ cat etc/modprobe.d/uvesafb.conf
  options uvesafb mode_option=1600x1200-32

  so I'll be able to drop this KERNEL_MODULE_AUTOLOAD +
  KERNEL_MODULE_PROBECONF from my DISTRO conf.

Signed-off-by: Martin Jansa 
---
 meta/conf/machine/include/qemuboot-x86.inc |  7 +-
 meta/recipes-bsp/v86d/v86d/fbsetup |  3 ---
 meta/recipes-bsp/v86d/v86d/uvesafb.conf|  2 --
 meta/recipes-bsp/v86d/v86d_0.1.10.bb   | 36 --
 4 files changed, 6 insertions(+), 42 deletions(-)
 delete mode 100755 meta/recipes-bsp/v86d/v86d/fbsetup
 delete mode 100644 meta/recipes-bsp/v86d/v86d/uvesafb.conf

diff --git a/meta/conf/machine/include/qemuboot-x86.inc 
b/meta/conf/machine/include/qemuboot-x86.inc
index acd03a1ce8..acf9d55c40 100644
--- a/meta/conf/machine/include/qemuboot-x86.inc
+++ b/meta/conf/machine/include/qemuboot-x86.inc
@@ -10,6 +10,11 @@ QB_CPU_KVM_x86-64 = "-cpu core2duo"
 
 QB_AUDIO_DRV = "alsa"
 QB_AUDIO_OPT = "-soundhw ac97,es1370"
-QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=640x480-32 
oprofile.timer=1 uvesafb.task_timeout=-1"
+QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} 
oprofile.timer=1 uvesafb.task_timeout=-1"
 # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
 QB_OPT_APPEND = "-vga vmware -show-cursor -usb -usbdevice tablet -device 
virtio-rng-pci"
+
+KERNEL_MODULE_AUTOLOAD += "uvesafb"
+KERNEL_MODULE_PROBECONF += "uvesafb"
+UVESA_MODE ?= "640x480-32"
+module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
diff --git a/meta/recipes-bsp/v86d/v86d/fbsetup 
b/meta/recipes-bsp/v86d/v86d/fbsetup
deleted file mode 100755
index 2a409cc529..00
--- a/meta/recipes-bsp/v86d/v86d/fbsetup
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh 
-
-/sbin/modprobe uvesafb
diff --git a/meta/recipes-bsp/v86d/v86d/uvesafb.conf 
b/meta/recipes-bsp/v86d/v86d/uvesafb.conf
deleted file mode 100644
index 43789755d3..00
--- a/meta/recipes-bsp/v86d/v86d/uvesafb.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# Load uvesafb.ko at boot
-uvesafb
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb 
b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
index eab466d30d..579a0a27eb 100644
--- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb
+++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
@@ -11,8 +11,6 @@ PR = "r2"
 
 SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \
file://Update-x86emu-from-X.org.patch \
-   file://fbsetup \
-   file://uvesafb.conf \
file://ar-from-env.patch \
file://aarch64-host.patch \
 "
@@ -23,9 +21,6 @@ SRC_URI[sha256sum] = 
"634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
 
-INITSCRIPT_NAME = "fbsetup"
-INITSCRIPT_PARAMS = "start 0 S ."
-
 do_configure () {
./configure --with-x86emu
 }
@@ -37,35 +32,4 @@ do_compile () {
 do_install () {
install -d ${D}${base_sbindir}
install v86d ${D}${base_sbindir}/
-
-# Only install fbsetup script if 'sysvinit' is in DISTRO_FEATURES
-if 
${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
-install -d ${D}${sysconfdir}/init.d/
-install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup
-fi
-
-# Install systemd related configuration file
-if 
${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-install -d ${D}${sysconfdir}/modules-load.d
-install -m 0644 ${WORKDIR}/uvesafb.conf 
${D}${sysconfdir}/modules-load.d
-fi
-}
-
-# As the recipe doesn't inherit systemd.bbclass, we need to set this variable
-# manually to avoid unnecessary postinst/preinst generated.
-python __anonymous() {
-if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
-d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
-}
-
-inherit update-rc.d
-
-PACKAGE_WRITE_DEPS_append = " 
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
-pkg_postinst_${PN} () {
-   if ${@bb.utils.contains('DISTRO_FEATURES','systemd 
sysvinit','true','false',d)}; then
-   if [ -n "$D" ]; then
-   OPTS="--root=$D"
-   fi
-   

[OE-core] [PATCH] rm_work: fix build break for do_image_complete

2017-08-11 Thread Martin Jansa
* since following commit:
  commit 2ff9d40dc88d43567472218cf3d3faf414398c71
  Author: Richard Purdie 
  Date:   Sun Jul 30 16:06:57 2017 +0100

image/rm_work: Promote do_image_complete to be more sstate like

  all image rm_work tasks are failing with:
  mv: 1.0-r0.do_image_complete.228730130ba309f85b73b7ba11d7.raspberrypi3 and
  1.0-r0.do_image_complete.228730130ba309f85b73b7ba11d7.raspberrypi3 
are the same file

  it's because for $i 
1.0-r0.do_image_complete.228730130ba309f85b73b7ba11d7.raspberrypi3
  there will be first SSTATETASK in $j do_deploy, so the sed call doesn't 
replace anything

  It might be different order of SSTATETASKS in my builds (it might work only 
when
  do_image_complete is the first one in the list), but here:
  SSTATETASKS="do_deploy do_image_complete do_image_qa do_package do_package_qa 
do_package_write_ipk do_packagedata do_populate_lic do_populate_sdk 
do_populate_sdk_ext do_populate_sysroot"

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

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 3d7fb52e81..13a9e75d85 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -62,7 +62,7 @@ do_rm_work () {
 break
 ;;
 *do_image_complete*)
-mv $i `echo $i | sed -e "s#${j}#${j}_setscene#"`
+mv $i `echo $i | sed -e 
"s#do_image_complete#do_image_complete_setscene#"`
 i=dummy
 break
 ;;
-- 
2.14.0

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


[OE-core] [PATCH][pyro 2/4] icecc.bbclass: prevent nativesdk builds depending on target specific KERNEL_CC

2017-08-11 Thread Martin Jansa
* without this we cause nativesdk-linux-libc-headers to depend
  on target specific KERNEL_CC (through icecc_get_tool ->
  icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
  TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
  bitbake-diffsigs:

  OE qemux86@ ~/build/oe-core $ ls 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
  
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2

  OE qemux86@ ~/build/oe-core $ bitbake-diffsigs 
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
  basehash changed from 39774238b66763c598153132e87a2c1a to 
aa2d66e770bf533e312536eb0a401c4c
  Variable TARGET_CC_KERNEL_ARCH value changed from 
'${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', 
'', d)} TUNE_FEATURES{thumb} = Set' to ''

Signed-off-by: Martin Jansa 
---
 meta/classes/icecc.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 8a351cf3b8..77bf61133e 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -42,6 +42,7 @@ def icecc_dep_prepend(d):
 
 DEPENDS_prepend += "${@icecc_dep_prepend(d)} "
 
+get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC"
 def get_cross_kernel_cc(bb,d):
 kernel_cc = d.getVar('KERNEL_CC', False)
 
-- 
2.14.0

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


[OE-core] ✗ patchtest: failure for curl: upgrade to 7.54.0 (rev2)

2017-08-11 Thread Patchwork
== Series Details ==

Series: curl: upgrade to 7.54.0 (rev2)
Revision: 2
URL   : https://patchwork.openembedded.org/series/6459/
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 df7f5221a5)

* Patch[meta-oe,v2] curl: upgrade to 7.54.0
 Issue Series sent to the wrong mailing list 
[test_target_mailing_list] 
  Suggested fixCheck the project's README (meta-oe,v2) and send the patch 
to the indicated list



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] -> ...).

---
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] ✗ patchtest: failure for curl: upgrade to 7.54.0 (rev3)

2017-08-11 Thread Patchwork
== Series Details ==

Series: curl: upgrade to 7.54.0 (rev3)
Revision: 3
URL   : https://patchwork.openembedded.org/series/6459/
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 df7f5221a5)

* Patch[meta-oe,v3] curl: upgrade to 7.54.0
 Issue Series sent to the wrong mailing list 
[test_target_mailing_list] 
  Suggested fixCheck the project's README (meta-oe,v3) and send the patch 
to the indicated list



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] -> ...).

---
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] ✗ patchtest: failure for curl: upgradeto 7.54.0

2017-08-11 Thread Patchwork
== Series Details ==

Series: curl: upgradeto 7.54.0
Revision: 1
URL   : https://patchwork.openembedded.org/series/8196/
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 df7f5221a5)

* Patch[meta-oe] curl: upgradeto 7.54.0
 Issue Series sent to the wrong mailing list 
[test_target_mailing_list] 
  Suggested fixCheck the project's README (meta-oe) and send the patch to 
the indicated list



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] -> ...).

---
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] [meta-oe][PATCH v3] curl: upgrade to 7.54.0

2017-08-11 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk 
---
 meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} (94%)

diff --git a/meta/recipes-support/curl/curl_7.53.1.bb 
b/meta/recipes-support/curl/curl_7.54.0.bb
similarity index 94%
rename from meta/recipes-support/curl/curl_7.53.1.bb
rename to meta/recipes-support/curl/curl_7.54.0.bb
index bc78ffb..ce5ca37 100644
--- a/meta/recipes-support/curl/curl_7.53.1.bb
+++ b/meta/recipes-support/curl/curl_7.54.0.bb
@@ -14,8 +14,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI += " file://configure_ac.patch"
 
-SRC_URI[md5sum] = "fb1f03a142236840c1a77c035fa4c542"
-SRC_URI[sha256sum] = 
"1c7207c06d75e9136a944a2e0528337ce76f15b9ec9ae4bb30d703b59bf530e8"
+SRC_URI[md5sum] = "89bb7ba87384dfbf4f1a3f953da42458"
+SRC_URI[sha256sum] = 
"f50ebaf43c507fa7cc32be4b8108fa8bbd0f5022e90794388f3c7694a302ff06"
 
 CVE_PRODUCT = "libcurl"
 inherit autotools pkgconfig binconfig multilib_header
-- 
2.7.4

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


[OE-core] [meta-oe][PATCH v2] curl: upgrade to 7.54.0

2017-08-11 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk 
---
 meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} (94%)

diff --git a/meta/recipes-support/curl/curl_7.53.1.bb 
b/meta/recipes-support/curl/curl_7.54.0.bb
similarity index 94%
rename from meta/recipes-support/curl/curl_7.53.1.bb
rename to meta/recipes-support/curl/curl_7.54.0.bb
index bc78ffb..ce5ca37 100644
--- a/meta/recipes-support/curl/curl_7.53.1.bb
+++ b/meta/recipes-support/curl/curl_7.54.0.bb
@@ -14,8 +14,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI += " file://configure_ac.patch"
 
-SRC_URI[md5sum] = "fb1f03a142236840c1a77c035fa4c542"
-SRC_URI[sha256sum] = 
"1c7207c06d75e9136a944a2e0528337ce76f15b9ec9ae4bb30d703b59bf530e8"
+SRC_URI[md5sum] = "89bb7ba87384dfbf4f1a3f953da42458"
+SRC_URI[sha256sum] = 
"f50ebaf43c507fa7cc32be4b8108fa8bbd0f5022e90794388f3c7694a302ff06"
 
 CVE_PRODUCT = "libcurl"
 inherit autotools pkgconfig binconfig multilib_header
-- 
2.7.4

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


[OE-core] [meta-oe][PATCH] curl: upgradeto 7.54.0

2017-08-11 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk 
---
 meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.53.1.bb => curl_7.54.0.bb} (94%)

diff --git a/meta/recipes-support/curl/curl_7.53.1.bb 
b/meta/recipes-support/curl/curl_7.54.0.bb
similarity index 94%
rename from meta/recipes-support/curl/curl_7.53.1.bb
rename to meta/recipes-support/curl/curl_7.54.0.bb
index bc78ffb..ce5ca37 100644
--- a/meta/recipes-support/curl/curl_7.53.1.bb
+++ b/meta/recipes-support/curl/curl_7.54.0.bb
@@ -14,8 +14,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI += " file://configure_ac.patch"
 
-SRC_URI[md5sum] = "fb1f03a142236840c1a77c035fa4c542"
-SRC_URI[sha256sum] = 
"1c7207c06d75e9136a944a2e0528337ce76f15b9ec9ae4bb30d703b59bf530e8"
+SRC_URI[md5sum] = "89bb7ba87384dfbf4f1a3f953da42458"
+SRC_URI[sha256sum] = 
"f50ebaf43c507fa7cc32be4b8108fa8bbd0f5022e90794388f3c7694a302ff06"
 
 CVE_PRODUCT = "libcurl"
 inherit autotools pkgconfig binconfig multilib_header
-- 
2.7.4

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


[OE-core] [PATCH] musl: Build only in ARM mode when using clang

2017-08-11 Thread Khem Raj
clang 5.0 has a codegen bug when compiling musl in thumb2 mode see

https://bugs.llvm.org/show_bug.cgi?id=34165

Signed-off-by: Khem Raj 
---
 meta/recipes-core/musl/musl_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/musl/musl_git.bb 
b/meta/recipes-core/musl/musl_git.bb
index 64c7334eea..eefd23bb8e 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -28,6 +28,8 @@ export CROSS_COMPILE="${TARGET_PREFIX}"
 
 LDFLAGS += "-Wl,-soname,libc.so"
 
+ARM_INSTRUCTION_SET_toolchain-clang = "arm"
+
 CONFIGUREOPTS = " \
 --prefix=${prefix} \
 --exec-prefix=${exec_prefix} \
-- 
2.14.1

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


[OE-core] [PATCH v2 06/10] gstreamer1.0-rtsp-server: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 --
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb | 6 ++
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
deleted file mode 100644
index 6aa9a53..000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require gstreamer1.0-rtsp-server.inc
-
-SRC_URI[md5sum] = "ef587fa6393e09bc26f884510596e305"
-SRC_URI[sha256sum] = 
"2f6e12fd4e3568ee190dc24e57e4c3a878971c3a3fb6904a9674404fac256de6"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
new file mode 100644
index 000..2426cca
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
@@ -0,0 +1,6 @@
+require gstreamer1.0-rtsp-server.inc
+
+SRC_URI[md5sum] = "022757cab183f5b970086e9101c60a98"
+SRC_URI[sha256sum] = 
"d8ba9264e8ae6e440293328e759e40456f161aa66077b3143dd07581136190b3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
-- 
2.7.4

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


[OE-core] [PATCH v2 09/10] gstreamer1.0-vaapi: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
* Remove backported patch:
  1. vaapivideobufferpool-create-allocator-if-needed.patch

* Add PACKAGECONFIG_GL variable to make it possible for BSP layers to
  customize what should be the default, EGL or GLX

* Set virtual/egl instead of virtual/mesa as egl dependency in case
  platform specific drivers provide virtual/egl functionality

Signed-off-by: Carlos Rafael Giani 
---
 ...ideobufferpool-create-allocator-if-needed.patch | 61 --
 .../gstreamer/gstreamer1.0-vaapi.inc   | 13 -
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb |  7 ---
 .../gstreamer/gstreamer1.0-vaapi_1.12.2.bb |  5 ++
 4 files changed, 16 insertions(+), 70 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
deleted file mode 100644
index f666adc..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Signed-off-by: Jussi Kukkonen 
-Upstream-Status: Backport [commit 59a731be6b in '1.10' branch]
-
-
-From 02a6002c3a80b3a5301c0943b1a1518bbdf439fc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
- 
-Date: Fri, 21 Apr 2017 19:07:18 +0200
-Subject: [PATCH] vaapivideobufferpool: create allocator if needed
-
-Backport to branch 1.10
-
-Sometimes a video decoder could set different buffer pool
-configurations, because their frame size changes. In this case we
-did not reconfigure the allocator.
-
-This patch enables this use case, creating a new allocator inside
-the VAAPI buffer pool if the caps changed, if it is not dmabuf-based.
-If so, it is just reconfigured, since it doesn't have a surface pool.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=781577

- gst/vaapi/gstvaapivideobufferpool.c | 21 +
- 1 file changed, 21 insertions(+)
-
-diff --git a/gst/vaapi/gstvaapivideobufferpool.c 
b/gst/vaapi/gstvaapivideobufferpool.c
-index a3b9223f..9a50614b 100644
 a/gst/vaapi/gstvaapivideobufferpool.c
-+++ b/gst/vaapi/gstvaapivideobufferpool.c
-@@ -159,6 +159,27 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * 
pool,
- gst_object_replace ((GstObject **) & priv->allocator, NULL);
-   priv->video_info = new_vip;
- 
-+  {
-+guint surface_alloc_flags;
-+gboolean vinfo_changed = FALSE;
-+
-+if (allocator) {
-+  const GstVideoInfo *alloc_vinfo =
-+  gst_allocator_get_vaapi_video_info (allocator, 
_alloc_flags);
-+  vinfo_changed = gst_video_info_changed (alloc_vinfo, _vip);
-+}
-+
-+if (vinfo_changed && allocator && priv->use_dmabuf_memory) {
-+  gst_allocator_set_vaapi_video_info (allocator, _vip,
-+  surface_alloc_flags);
-+} else if (!priv->use_dmabuf_memory && (vinfo_changed || !allocator)) {
-+  /* let's destroy the other allocator and create a new one */
-+  allocator = gst_vaapi_video_allocator_new (priv->display, _vip,
-+  surface_alloc_flags);
-+  gst_buffer_pool_config_set_allocator (config, allocator, NULL);
-+}
-+  }
-+
-   if (!gst_buffer_pool_config_has_option (config,
-   GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META))
- goto error_no_vaapi_video_meta_option;
--- 
-2.11.0
-
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
index ef0734b..abfcc65 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
@@ -22,12 +22,21 @@ REQUIRED_DISTRO_FEATURES ?= "opengl"
 
 PACKAGES =+ "${PN}-tests"
 
+# OpenGL packageconfig factored out to make it easy for distros
+# and BSP layers to pick either glx, egl, or no GL. By default,
+# try detecting X11 first, and if found (with OpenGL), use GLX,
+# otherwise try to check if EGL can be used.
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 
'glx', \
+bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'egl', \
+   '', d), 
d)}"
+
 PACKAGECONFIG ??= "drm \
-   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 
'glx', '', d)} \
+   ${PACKAGECONFIG_GL} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 
 PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"

[OE-core] [PATCH v2 10/10] gstreamer1.0-python: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-python_1.10.4.bb => gstreamer1.0-python_1.12.2.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.10.4.bb => 
gstreamer1.0-python_1.12.2.bb} (57%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
similarity index 57%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
index 1365f7c..b2dc05b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
@@ -1,7 +1,7 @@
 require gstreamer1.0-python.inc
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz;
-SRC_URI[md5sum] = "adcdb74f713e28d0b22a0a1e4f831573"
-SRC_URI[sha256sum] = 
"59508174b8bc86c05290aa9a7c5d480ac556a6f36306ddbc1d0eacf4f7868212"
+SRC_URI[md5sum] = "da5c9fa42290bc3006661c869e076ffe"
+SRC_URI[sha256sum] = 
"f4cc32ad46a653e1ae2f27ac2a16078b00075c9106b2784a1a8d1f31c5069e47"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
-- 
2.7.4

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


[OE-core] [PATCH v2 01/10] gstreamer1.0: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
* Version 1.12 introduces support for libdw (provided by elfutils).
  libdw adds source lines & numbers to backtraces. A new "dw"
  packageconfig added for enabling/disabling this feature.
  In addition, the old patch for deterministic unwind configuration
  was replaced with one that also allows the same for the dw
  configuration. This new patch was also submitted to bugzilla.

* Leftover docbook cruft was removed, meaning that the
  "--disable-docbook" configure switch is gone.

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |  2 +-
 ...dd-switches-for-enabling-disabling-libdw-.patch | 70 ++
 .../gstreamer1.0/deterministic-unwind.patch| 24 
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.2.bb} |  6 +-
 4 files changed, 74 insertions(+), 28 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => 
gstreamer1.0_1.12.2.bb} (59%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index 72d7ce6..3291934 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -25,10 +25,10 @@ PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind,"
 PACKAGECONFIG[gst-tracer-hooks] = 
"--enable-gst-tracer-hooks,--disable-gst-tracer-hooks,"
 PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind"
+PACKAGECONFIG[dw] = "--with-dw,--without-dw,elfutils"
 
 EXTRA_OECONF = " \
 --disable-dependency-tracking \
---disable-docbook \
 --disable-examples \
 "
 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
new file mode 100644
index 000..1132fd5
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
@@ -0,0 +1,70 @@
+From a0cb41ba72913eda06049d266ec43ea8f52b5bee Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Fri, 11 Aug 2017 21:21:36 +0200
+Subject: [PATCH] configure: Add switches for enabling/disabling libdw and
+ libunwind
+
+[Original patch modified to be applicable to 1.12.2]
+
+Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=778193]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ configure.ac | 38 --
+ 1 file changed, 32 insertions(+), 6 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b6b2923..32dd827 100644
+--- a/configure.ac
 b/configure.ac
+@@ -821,15 +821,41 @@ fi
+ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
+ 
+ dnl libunwind is optionally used by the leaks tracer
+-PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no)
+-if test "x$HAVE_UNWIND" = "xyes"; then
+-  AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
++AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind=yes|no|auto],[use 
libunwind])],
++[], [with_unwind=auto])
++if [ test "x${with_unwind}" != "xno" ]; then
++  PKG_CHECK_MODULES(UNWIND, [libunwind],
++  [
++HAVE_UNWIND=yes
++AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
++  ],
++  [
++HAVE_UNWIND=no
++if [ test "x${with_unwind}" = "xyes" ]; then
++  AC_MSG_ERROR([could not find libunwind])
++fi
++  ])
++else
++  HAVE_UNWIND=no
+ fi
+ 
+ dnl libdw is optionally used to add source lines and numbers to backtraces
+-PKG_CHECK_MODULES(DW, libdw, HAVE_DW=yes, HAVE_DW=no)
+-if test "x$HAVE_DW" = "xyes"; then
+-  AC_DEFINE(HAVE_DW, 1, [libdw available])
++AC_ARG_WITH([dw],[AS_HELP_STRING([--with-dw=yes|no|auto],[use libdw])],
++[], [with_dw=auto])
++if [ test "x${with_dw}" != "xno" ]; then
++  PKG_CHECK_MODULES(DW, [libdw],
++  [
++HAVE_DW=yes
++AC_DEFINE(HAVE_DW, 1, [libdw available])
++  ],
++  [
++HAVE_DW=no
++if [ test "x${with_dw}" = "xyes" ]; then
++  AC_MSG_ERROR([could not find libdw])
++fi
++  ])
++else
++  HAVE_DW=no
+ fi
+ 
+ dnl Check for backtrace() from libc
+-- 
+2.7.4
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
deleted file mode 100644
index e39e6ca..000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Make the detection of libunwind deterministic.
-

[OE-core] [PATCH v2 08/10] gstreamer1.0-libav: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.2.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => 
gstreamer1.0-libav_1.12.2.bb} (88%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
index e4bb477..6c5f779 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
file://mips64_cpu_detection.patch \
file://0001-configure-check-for-armv7ve-variant.patch \
"
-SRC_URI[md5sum] = "e2bdd9fde6ca3ff7efffb93df121f4fd"
-SRC_URI[sha256sum] = 
"6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b"
+SRC_URI[md5sum] = "8788aecc032a287227b4bd239d1b998a"
+SRC_URI[sha256sum] = 
"5bb735b9bb218b652ae4071ea6f6be8eaae55e9d3233aec2f36b882a27542db3"
 
 S = "${WORKDIR}/gst-libav-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH v2 07/10] gstreamer1.0-omx: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.2.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => 
gstreamer1.0-omx_1.12.2.bb} (69%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
similarity index 69%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
index dfeefa5..a1d4576 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "cedb230f1c47d0cf4b575d70dff66ff2"
-SRC_URI[sha256sum] = 
"45072925cf262f0fd528fab78f0de52734e46a5a88aa802fae51c67c09c81aa2"
+SRC_URI[md5sum] = "4a1404a20b72e4ab6e826500218ec308"
+SRC_URI[sha256sum] = 
"1b22398f45a027e977d2b5309625ec91cdcaf0da8751cbc7f596d639a45ba298"
 
 S = "${WORKDIR}/gst-omx-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH v2 05/10] gstreamer1.0-plugins-ugly: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* libmad plugin was removed in 1.12.0, since mad is GPLed,
  unmaintained, and both gst-libav & the mpg123 plugin are
  fully functional alternatives.

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc   | 1 -
 ...1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.2.bb} | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb 
=> gstreamer1.0-plugins-ugly_1.12.2.bb} (76%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
index 708ad7a..60aa968 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
@@ -18,7 +18,6 @@ PACKAGECONFIG[amrwb]= 
"--enable-amrwb,--disable-amrwb,opencore-amr"
 PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
 PACKAGECONFIG[dvdread]  = "--enable-dvdread,--disable-dvdread,libdvdread"
 PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[mad]  = "--enable-mad,--disable-mad,libmad"
 PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
 PACKAGECONFIG[mpg123]   = "--enable-mpg123,--disable-mpg123,mpg123"
 PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
similarity index 76%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
index 92a2caa..6956c85 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
@@ -7,7 +7,7 @@ SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "c68d0509c9980b0b70a4b836ff73fff1"
-SRC_URI[sha256sum] = 
"6386c77ca8459cba431ed0b63da780c7062c7cc48055d222024d8eaf198ffa59"
+SRC_URI[md5sum] = "eb639021905a32cf3013ca5bac1b694d"
+SRC_URI[sha256sum] = 
"1cc3942bbf3ea87da3e35437d4e014e991b103db22a6174f62a98c89c3f5f466"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH v2 00/10] gstreamer 1.x: upgrade to 1.12.2

2017-08-11 Thread Carlos Rafael Giani
This set of patches upgrades the GStreamer 1.x recipes to
version 1.12.2. It is bsed on Maxin B. John's 1.12.1
upgrades, which in turn were based on the original
proposed patches for an upgrade to 1.12.0.

GStreamer is moving towards meson as the primary build
system. However, OE's support for meson is not ready yet,
so we stick with autoconf for now.

These patches do not touch gst-player, since this one
requires updates to libva, which needs to be updated.
This update is beyond the scope of this patchset. Once
libva is updated, the workaround patch [YOCTO #11437]
could be removed.

 ...ideobufferpool-create-allocator-if-needed.patch |  61 --
 ...ibav_1.10.4.bb => gstreamer1.0-libav_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-meta-base.bb|   2 +-
 0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-plugins-bad.inc |  30 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 -
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 10.4.bb => gstreamer1.0-plugins-bad_1.12.2.bb} |  11 +-
 ...eed-more-buffers-in-output-queue-for-bett.patch |  32 -
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.2.bb} |   5 +-
 ...Also-add-videometa-if-there-is-padding-to.patch |  35 -
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.2.bb} |   8 +-
 .../gstreamer/gstreamer1.0-plugins-ugly.inc|   1 -
 ...10.4.bb => gstreamer1.0-plugins-ugly_1.12.2.bb} |   4 +-
 ...hon_1.10.4.bb => gstreamer1.0-python_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb   |   6 -
 .../gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb   |   6 +
 .../gstreamer/gstreamer1.0-vaapi.inc   |  13 +-
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb |   7 -
 .../gstreamer/gstreamer1.0-vaapi_1.12.2.bb |   5 +
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   2 +-
 ...dd-switches-for-enabling-disabling-libdw-.patch |  70 ++
 .../gstreamer1.0/deterministic-unwind.patch|  24 -
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.2.bb} |   6 +-
 28 files changed, 201 insertions(+), 1436 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => 
gstreamer1.0-libav_1.12.2.bb} (88%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => 
gstreamer1.0-omx_1.12.2.bb} (69%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb 
=> gstreamer1.0-plugins-bad_1.12.2.bb} (65%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb 
=> gstreamer1.0-plugins-base_1.12.2.bb} (78%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb 
=> gstreamer1.0-plugins-good_1.12.2.bb} (77%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb 
=> gstreamer1.0-plugins-ugly_1.12.2.bb} (76%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.10.4.bb => 
gstreamer1.0-python_1.12.2.bb} (57%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => 
gstreamer1.0_1.12.2.bb} (59%)

-- 
2.7.4

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


[OE-core] [PATCH v2 04/10] gstreamer1.0-plugins-bad: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
* Remove backported patches:
  1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
  2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
  3. 0001-mssdemux-improved-live-playback-support.patch

* Refreshed the following patches:
  1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 Extended patch to include fix for libgstallocators
  2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
 Updated to apply to 1.12.2
  3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 Updated to apply to 1.12.2

* Removed license checks in tta directory as it doesn't exist anymore.

* In 1.12.0, old unsupported plugins were removed. As a result, the
  list of unsupported plugins was removed.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-bad.inc |  30 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 -
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 10.4.bb => gstreamer1.0-plugins-bad_1.12.2.bb} |  11 +-
 8 files changed, 89 insertions(+), 1249 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb 
=> gstreamer1.0-plugins-bad_1.12.2.bb} (65%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index e964fef..4677f6d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -70,16 +70,11 @@ PACKAGECONFIG[vulkan]  = 
"--enable-vulkan,--disable-vulkan,vulkan"
 PACKAGECONFIG[wayland] = 
"--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols"
 PACKAGECONFIG[webp]= "--enable-webp,--disable-webp,libwebp"
 
-# these plugins have not been ported to 1.0 (yet):
-#   apexsink linsys nas timidity sdl xvid wininet
-#   sndio cdxaparse dccp faceoverlay hdvparse tta mve nuvdemux
-#   patchdetect sdi videomeasure
-
 # these plugins have no corresponding library in OE-core or meta-openembedded:
-#   openni2 winks direct3d directsound winscreencap acm apple_media
+#   openni2 winks direct3d directsound winscreencap acm apple_media iqa
 #   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa 
libde265
-#   lv2 mimic mpeg2enc mplex musepack nvenc ofa openh264 opensles pvr 
soundtouch spandsp
-#   spc teletextdec tinyalsa vdpau wasapi x265 zbar
+#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch 
spandsp
+#   spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp
 
 # qt5 support is disabled, because it is not present in OE core, and requires 
more work than
 # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake 
paths).
@@ -95,7 +90,6 @@ EXTRA_OECONF += " \
 --enable-vcd \
 --disable-acm \
 --disable-android_media \
---disable-apexsink \
 --disable-apple_media \
 --disable-avc \
 --disable-bs2b \
@@ -108,42 +102,34 @@ EXTRA_OECONF += " \
 --disable-fdk_aac \
 --disable-gme \
 --disable-gsm \
+--disable-iqa \
 --disable-kate \
 --disable-ladspa \
 --disable-libde265 \
---disable-libvisual \
---disable-linsys \
 --disable-lv2 \
---disable-mimic \
 --disable-mpeg2enc \
 --disable-mplex \
+--disable-msdk \
 --disable-musepack \
---disable-nas \
 --disable-nvenc \
 --disable-ofa \
 --disable-openexr \
 --disable-openh264 \
 --disable-openni2 \
 --disable-opensles \
---disable-pvr \
 --disable-qt \
---disable-sdl \
---disable-sdltest \
---disable-sndio \
 --disable-soundtouch \
 --disable-spandsp \
 --disable-spc \
 --disable-teletextdec \
---disable-timidity \
 --disable-tinyalsa \
 --disable-vdpau \
 --disable-wasapi \
+--disable-webrtcdsp \
 --disable-wildmidi \
---disable-wininet \
 --disable-winks \
 --disable-winscreencap \
 --disable-x265 \
---disable-xvid \
 --disable-zbar \
 ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
 "
@@ -157,3 +143,7 @@ FILES_${PN}-dev += 
"${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
 

[OE-core] [PATCH v2 03/10] gstreamer1.0-plugins-good: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* Remove backported patch:
  1. 0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch

* Added RPROVIDES to handle the renamed plugins (oss4 is not enabled):
  1. libgstpulse -> libgstpulseaudio
  2. libgstsouphttpsrc -> libgstsoup

* Updated gstreamer1.0-meta-base to include this change:
  1.gstsouphttpsrc plugin was renamed to gstsoup

Signed-off-by: Maxin B. John 
Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-meta-base.bb|  2 +-
 ...Also-add-videometa-if-there-is-padding-to.patch | 35 --
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.2.bb} |  8 +++--
 3 files changed, 6 insertions(+), 39 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb 
=> gstreamer1.0-plugins-good_1.12.2.bb} (77%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index c542b13..016e176 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -37,7 +37,7 @@ RDEPENDS_gstreamer1.0-meta-base = "\
 gstreamer1.0-plugins-base-videoscale \
 gstreamer1.0-plugins-base-videoconvert \
 gstreamer1.0-plugins-good-autodetect \
-gstreamer1.0-plugins-good-souphttpsrc"
+gstreamer1.0-plugins-good-soup"
 
 RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
 gstreamer1.0-plugins-base-ximagesink \
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
deleted file mode 100644
index 2a9a23e..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 22be02612adc757f6a43cefc6ee65ecaef68f0d9 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani 
-Date: Thu, 23 Mar 2017 22:13:05 +0100
-Subject: [PATCH] v4l2object: Also add videometa if there is padding to the
- right and bottom
-
-https://bugzilla.gnome.org/show_bug.cgi?id=780478
-
-Upstream-Status: Backport [1.10.5]
-
-Signed-off-by: Carlos Rafael Giani 

- sys/v4l2/gstv4l2object.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
-index 91c8ff0..ed4654e 100644
 a/sys/v4l2/gstv4l2object.c
-+++ b/sys/v4l2/gstv4l2object.c
-@@ -3070,9 +3070,10 @@ store_info:
-   GST_DEBUG_OBJECT (v4l2object->element, "Got sizeimage %" G_GSIZE_FORMAT,
-   info->size);
- 
--  /* to avoid copies we need video meta if top or left padding */
-+  /* to avoid copies we need video meta if there is padding */
-   v4l2object->need_video_meta =
--  ((align->padding_top + align->padding_left) != 0);
-+  ((align->padding_top + align->padding_left + align->padding_right +
-+  align->padding_bottom) != 0);
- 
-   /* ... or if stride is non "standard" */
-   if (!standard_stride)
--- 
-2.7.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
similarity index 77%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
index 57447bf..3d38f00 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
@@ -10,9 +10,11 @@ SRC_URI = " \
 file://avoid-including-sys-poll.h-directly.patch \
 file://ensure-valid-sentinel-for-gst_structure_get.patch \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
-file://0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch \
 "
-SRC_URI[md5sum] = "cc0cc13cdb07d4237600b6886b81f31d"
-SRC_URI[sha256sum] = 
"8a86c61434a8c44665365bd0b3557a040937d1f44bf69caee4e9ea816ce74d7e"
+SRC_URI[md5sum] = "20254217d9805484532e08ff1c3aa296"
+SRC_URI[sha256sum] = 
"5591ee7208ab30289a30658a82b76bf87169c927572d9b794f3a41ed48e1ee96"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
+
+RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
+RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
-- 
2.7.4

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


[OE-core] [PATCH v2 02/10] gstreamer1.0-plugins-base: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* Remove upstreamed patch:
  1. encodebin-Need-more-buffers-in-output-queue-for-bett.patch

Signed-off-by: Carlos Rafael Giani 
---
 ...eed-more-buffers-in-output-queue-for-bett.patch | 32 --
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.2.bb} |  5 ++--
 2 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb 
=> gstreamer1.0-plugins-base_1.12.2.bb} (78%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
deleted file mode 100644
index 5341e3c..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 540e02c92c75e08b90326863dc787fa5cadf9da6 Mon Sep 17 00:00:00 2001
-From: Song Bing 
-Date: Fri, 13 Mar 2015 18:04:31 +0800
-Subject: [PATCH] encodebin: Need more buffers in output queue for better
- performance
-
-Need more buffers in output queue for better performance
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=744191]
-
-Signed-off-by: Song Bing 

- gst/encoding/gstencodebin.c |3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c
-index 6728e58..32daae4 100644
 a/gst/encoding/gstencodebin.c
-+++ b/gst/encoding/gstencodebin.c
-@@ -1228,8 +1228,7 @@ _create_stream_group (GstEncodeBin * ebin, 
GstEncodingProfile * sprof,
-* We only use a 1buffer long queue here, the actual queueing will be done
-* in the input queue */
-   last = sgroup->outqueue = gst_element_factory_make ("queue", NULL);
--  g_object_set (sgroup->outqueue, "max-size-buffers", (guint32) 1,
--  "max-size-bytes", (guint32) 0, "max-size-time", (guint64) 0,
-+  g_object_set (sgroup->outqueue, "max-size-time", (guint64) 0,
-   "silent", TRUE, NULL);
- 
-   gst_bin_add (GST_BIN (ebin), sgroup->outqueue);
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
similarity index 78%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
index 7c81670..5de0b8b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
@@ -9,11 +9,10 @@ SRC_URI = " \
 file://get-caps-from-src-pad-when-query-caps.patch \
 file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
 file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
-file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
 file://make-gio_unix_2_0-dependency-configurable.patch \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "f6b46f8fac01eb773d556e3efc369e86"
-SRC_URI[sha256sum] = 
"f6d245b6b3d4cb733f81ebb021074c525ece83db0c10e932794b339b8d935eb7"
+SRC_URI[md5sum] = "77f5379c4ca677616b415e3b3ff95578"
+SRC_URI[sha256sum] = 
"5067dce3afe197a9536fea0107c77213fab536dff4a213b07fc60378d5510675"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
-- 
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 gstreamer 1.x: upgrade to 1.12.2

2017-08-11 Thread Patchwork
== Series Details ==

Series: gstreamer 1.x: upgrade to 1.12.2
Revision: 1
URL   : https://patchwork.openembedded.org/series/8192/
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 A patch file has been added, but does not have a 
Signed-off-by tag [test_signed_off_by_presence] 
  Suggested fixSign off the added patch file 
(meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch)



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] -> ...).

---
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 10/10] gstreamer1.0-python: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-python_1.10.4.bb => gstreamer1.0-python_1.12.2.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.10.4.bb => 
gstreamer1.0-python_1.12.2.bb} (57%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
similarity index 57%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
index 1365f7c..b2dc05b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.2.bb
@@ -1,7 +1,7 @@
 require gstreamer1.0-python.inc
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz;
-SRC_URI[md5sum] = "adcdb74f713e28d0b22a0a1e4f831573"
-SRC_URI[sha256sum] = 
"59508174b8bc86c05290aa9a7c5d480ac556a6f36306ddbc1d0eacf4f7868212"
+SRC_URI[md5sum] = "da5c9fa42290bc3006661c869e076ffe"
+SRC_URI[sha256sum] = 
"f4cc32ad46a653e1ae2f27ac2a16078b00075c9106b2784a1a8d1f31c5069e47"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
-- 
2.7.4

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


[OE-core] [PATCH 01/10] gstreamer1.0: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* Version 1.12 introduces support for libdw (provided by elfutils).
  libdw adds source lines & numbers to backtraces. A new "dw"
  packageconfig added for enabling/disabling this feature.
  In addition, the old patch for deterministic unwind configuration
  was replaced with one that also allows the same for the dw
  configuration. This new patch was also submitted to bugzilla.

* Leftover docbook cruft was removed, meaning that the
  "--disable-docbook" configure switch is gone.

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |  2 +-
 ...dd-switches-for-enabling-disabling-libdw-.patch | 68 ++
 .../gstreamer1.0/deterministic-unwind.patch| 24 
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.2.bb} |  6 +-
 4 files changed, 72 insertions(+), 28 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => 
gstreamer1.0_1.12.2.bb} (59%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index 72d7ce6..3291934 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -25,10 +25,10 @@ PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind,"
 PACKAGECONFIG[gst-tracer-hooks] = 
"--enable-gst-tracer-hooks,--disable-gst-tracer-hooks,"
 PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind"
+PACKAGECONFIG[dw] = "--with-dw,--without-dw,elfutils"
 
 EXTRA_OECONF = " \
 --disable-dependency-tracking \
---disable-docbook \
 --disable-examples \
 "
 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
new file mode 100644
index 000..a6435b0
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
@@ -0,0 +1,68 @@
+From a0cb41ba72913eda06049d266ec43ea8f52b5bee Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Fri, 11 Aug 2017 21:21:36 +0200
+Subject: [PATCH] configure: Add switches for enabling/disabling libdw and
+ libunwind
+
+[Original patch modified to be applicable to 1.12.2]
+
+Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=778193]
+---
+ configure.ac | 38 --
+ 1 file changed, 32 insertions(+), 6 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b6b2923..32dd827 100644
+--- a/configure.ac
 b/configure.ac
+@@ -821,15 +821,41 @@ fi
+ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
+ 
+ dnl libunwind is optionally used by the leaks tracer
+-PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no)
+-if test "x$HAVE_UNWIND" = "xyes"; then
+-  AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
++AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind=yes|no|auto],[use 
libunwind])],
++[], [with_unwind=auto])
++if [ test "x${with_unwind}" != "xno" ]; then
++  PKG_CHECK_MODULES(UNWIND, [libunwind],
++  [
++HAVE_UNWIND=yes
++AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
++  ],
++  [
++HAVE_UNWIND=no
++if [ test "x${with_unwind}" = "xyes" ]; then
++  AC_MSG_ERROR([could not find libunwind])
++fi
++  ])
++else
++  HAVE_UNWIND=no
+ fi
+ 
+ dnl libdw is optionally used to add source lines and numbers to backtraces
+-PKG_CHECK_MODULES(DW, libdw, HAVE_DW=yes, HAVE_DW=no)
+-if test "x$HAVE_DW" = "xyes"; then
+-  AC_DEFINE(HAVE_DW, 1, [libdw available])
++AC_ARG_WITH([dw],[AS_HELP_STRING([--with-dw=yes|no|auto],[use libdw])],
++[], [with_dw=auto])
++if [ test "x${with_dw}" != "xno" ]; then
++  PKG_CHECK_MODULES(DW, [libdw],
++  [
++HAVE_DW=yes
++AC_DEFINE(HAVE_DW, 1, [libdw available])
++  ],
++  [
++HAVE_DW=no
++if [ test "x${with_dw}" = "xyes" ]; then
++  AC_MSG_ERROR([could not find libdw])
++fi
++  ])
++else
++  HAVE_DW=no
+ fi
+ 
+ dnl Check for backtrace() from libc
+-- 
+2.7.4
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
deleted file mode 100644
index e39e6ca..000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Make the detection of libunwind deterministic.
-
-Upstream-Status: Pending

[OE-core] [PATCH 07/10] gstreamer1.0-omx: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.2.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => 
gstreamer1.0-omx_1.12.2.bb} (69%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
similarity index 69%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
index dfeefa5..a1d4576 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "cedb230f1c47d0cf4b575d70dff66ff2"
-SRC_URI[sha256sum] = 
"45072925cf262f0fd528fab78f0de52734e46a5a88aa802fae51c67c09c81aa2"
+SRC_URI[md5sum] = "4a1404a20b72e4ab6e826500218ec308"
+SRC_URI[sha256sum] = 
"1b22398f45a027e977d2b5309625ec91cdcaf0da8751cbc7f596d639a45ba298"
 
 S = "${WORKDIR}/gst-omx-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH 08/10] gstreamer1.0-libav: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.2.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => 
gstreamer1.0-libav_1.12.2.bb} (88%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
index e4bb477..6c5f779 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
file://mips64_cpu_detection.patch \
file://0001-configure-check-for-armv7ve-variant.patch \
"
-SRC_URI[md5sum] = "e2bdd9fde6ca3ff7efffb93df121f4fd"
-SRC_URI[sha256sum] = 
"6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b"
+SRC_URI[md5sum] = "8788aecc032a287227b4bd239d1b998a"
+SRC_URI[sha256sum] = 
"5bb735b9bb218b652ae4071ea6f6be8eaae55e9d3233aec2f36b882a27542db3"
 
 S = "${WORKDIR}/gst-libav-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH 05/10] gstreamer1.0-plugins-ugly: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* libmad plugin was removed in 1.12.0, since mad is GPLed,
  unmaintained, and both gst-libav & the mpg123 plugin are
  fully functional alternatives.

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc   | 1 -
 ...1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.2.bb} | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb 
=> gstreamer1.0-plugins-ugly_1.12.2.bb} (76%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
index 708ad7a..60aa968 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
@@ -18,7 +18,6 @@ PACKAGECONFIG[amrwb]= 
"--enable-amrwb,--disable-amrwb,opencore-amr"
 PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
 PACKAGECONFIG[dvdread]  = "--enable-dvdread,--disable-dvdread,libdvdread"
 PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[mad]  = "--enable-mad,--disable-mad,libmad"
 PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
 PACKAGECONFIG[mpg123]   = "--enable-mpg123,--disable-mpg123,mpg123"
 PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
similarity index 76%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
index 92a2caa..6956c85 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb
@@ -7,7 +7,7 @@ SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "c68d0509c9980b0b70a4b836ff73fff1"
-SRC_URI[sha256sum] = 
"6386c77ca8459cba431ed0b63da780c7062c7cc48055d222024d8eaf198ffa59"
+SRC_URI[md5sum] = "eb639021905a32cf3013ca5bac1b694d"
+SRC_URI[sha256sum] = 
"1cc3942bbf3ea87da3e35437d4e014e991b103db22a6174f62a98c89c3f5f466"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH 09/10] gstreamer1.0-vaapi: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
* Remove backported patch:
  1. vaapivideobufferpool-create-allocator-if-needed.patch

* Add PACKAGECONFIG_GL variable to make it possible for BSP layers to
  customize what should be the default, EGL or GLX

* Set virtual/egl instead of virtual/mesa as egl dependency in case
  platform specific drivers provide virtual/egl functionality

Signed-off-by: Carlos Rafael Giani 
---
 ...ideobufferpool-create-allocator-if-needed.patch | 61 --
 .../gstreamer/gstreamer1.0-vaapi.inc   | 13 -
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb |  7 ---
 .../gstreamer/gstreamer1.0-vaapi_1.12.2.bb |  5 ++
 4 files changed, 16 insertions(+), 70 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
deleted file mode 100644
index f666adc..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Signed-off-by: Jussi Kukkonen 
-Upstream-Status: Backport [commit 59a731be6b in '1.10' branch]
-
-
-From 02a6002c3a80b3a5301c0943b1a1518bbdf439fc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
- 
-Date: Fri, 21 Apr 2017 19:07:18 +0200
-Subject: [PATCH] vaapivideobufferpool: create allocator if needed
-
-Backport to branch 1.10
-
-Sometimes a video decoder could set different buffer pool
-configurations, because their frame size changes. In this case we
-did not reconfigure the allocator.
-
-This patch enables this use case, creating a new allocator inside
-the VAAPI buffer pool if the caps changed, if it is not dmabuf-based.
-If so, it is just reconfigured, since it doesn't have a surface pool.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=781577

- gst/vaapi/gstvaapivideobufferpool.c | 21 +
- 1 file changed, 21 insertions(+)
-
-diff --git a/gst/vaapi/gstvaapivideobufferpool.c 
b/gst/vaapi/gstvaapivideobufferpool.c
-index a3b9223f..9a50614b 100644
 a/gst/vaapi/gstvaapivideobufferpool.c
-+++ b/gst/vaapi/gstvaapivideobufferpool.c
-@@ -159,6 +159,27 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * 
pool,
- gst_object_replace ((GstObject **) & priv->allocator, NULL);
-   priv->video_info = new_vip;
- 
-+  {
-+guint surface_alloc_flags;
-+gboolean vinfo_changed = FALSE;
-+
-+if (allocator) {
-+  const GstVideoInfo *alloc_vinfo =
-+  gst_allocator_get_vaapi_video_info (allocator, 
_alloc_flags);
-+  vinfo_changed = gst_video_info_changed (alloc_vinfo, _vip);
-+}
-+
-+if (vinfo_changed && allocator && priv->use_dmabuf_memory) {
-+  gst_allocator_set_vaapi_video_info (allocator, _vip,
-+  surface_alloc_flags);
-+} else if (!priv->use_dmabuf_memory && (vinfo_changed || !allocator)) {
-+  /* let's destroy the other allocator and create a new one */
-+  allocator = gst_vaapi_video_allocator_new (priv->display, _vip,
-+  surface_alloc_flags);
-+  gst_buffer_pool_config_set_allocator (config, allocator, NULL);
-+}
-+  }
-+
-   if (!gst_buffer_pool_config_has_option (config,
-   GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META))
- goto error_no_vaapi_video_meta_option;
--- 
-2.11.0
-
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
index ef0734b..abfcc65 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
@@ -22,12 +22,21 @@ REQUIRED_DISTRO_FEATURES ?= "opengl"
 
 PACKAGES =+ "${PN}-tests"
 
+# OpenGL packageconfig factored out to make it easy for distros
+# and BSP layers to pick either glx, egl, or no GL. By default,
+# try detecting X11 first, and if found (with OpenGL), use GLX,
+# otherwise try to check if EGL can be used.
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 
'glx', \
+bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'egl', \
+   '', d), 
d)}"
+
 PACKAGECONFIG ??= "drm \
-   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 
'glx', '', d)} \
+   ${PACKAGECONFIG_GL} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 
 PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"

[OE-core] [PATCH 02/10] gstreamer1.0-plugins-base: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* Remove upstreamed patch:
  1. encodebin-Need-more-buffers-in-output-queue-for-bett.patch

Signed-off-by: Carlos Rafael Giani 
---
 ...eed-more-buffers-in-output-queue-for-bett.patch | 32 --
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.2.bb} |  5 ++--
 2 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb 
=> gstreamer1.0-plugins-base_1.12.2.bb} (78%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
deleted file mode 100644
index 5341e3c..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 540e02c92c75e08b90326863dc787fa5cadf9da6 Mon Sep 17 00:00:00 2001
-From: Song Bing 
-Date: Fri, 13 Mar 2015 18:04:31 +0800
-Subject: [PATCH] encodebin: Need more buffers in output queue for better
- performance
-
-Need more buffers in output queue for better performance
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=744191]
-
-Signed-off-by: Song Bing 

- gst/encoding/gstencodebin.c |3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c
-index 6728e58..32daae4 100644
 a/gst/encoding/gstencodebin.c
-+++ b/gst/encoding/gstencodebin.c
-@@ -1228,8 +1228,7 @@ _create_stream_group (GstEncodeBin * ebin, 
GstEncodingProfile * sprof,
-* We only use a 1buffer long queue here, the actual queueing will be done
-* in the input queue */
-   last = sgroup->outqueue = gst_element_factory_make ("queue", NULL);
--  g_object_set (sgroup->outqueue, "max-size-buffers", (guint32) 1,
--  "max-size-bytes", (guint32) 0, "max-size-time", (guint64) 0,
-+  g_object_set (sgroup->outqueue, "max-size-time", (guint64) 0,
-   "silent", TRUE, NULL);
- 
-   gst_bin_add (GST_BIN (ebin), sgroup->outqueue);
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
similarity index 78%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
index 7c81670..5de0b8b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb
@@ -9,11 +9,10 @@ SRC_URI = " \
 file://get-caps-from-src-pad-when-query-caps.patch \
 file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
 file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
-file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
 file://make-gio_unix_2_0-dependency-configurable.patch \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "f6b46f8fac01eb773d556e3efc369e86"
-SRC_URI[sha256sum] = 
"f6d245b6b3d4cb733f81ebb021074c525ece83db0c10e932794b339b8d935eb7"
+SRC_URI[md5sum] = "77f5379c4ca677616b415e3b3ff95578"
+SRC_URI[sha256sum] = 
"5067dce3afe197a9536fea0107c77213fab536dff4a213b07fc60378d5510675"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
-- 
2.7.4

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


[OE-core] [PATCH 06/10] gstreamer1.0-rtsp-server: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

Signed-off-by: Carlos Rafael Giani 
---
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 --
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb | 6 ++
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
deleted file mode 100644
index 6aa9a53..000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require gstreamer1.0-rtsp-server.inc
-
-SRC_URI[md5sum] = "ef587fa6393e09bc26f884510596e305"
-SRC_URI[sha256sum] = 
"2f6e12fd4e3568ee190dc24e57e4c3a878971c3a3fb6904a9674404fac256de6"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
new file mode 100644
index 000..2426cca
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
@@ -0,0 +1,6 @@
+require gstreamer1.0-rtsp-server.inc
+
+SRC_URI[md5sum] = "022757cab183f5b970086e9101c60a98"
+SRC_URI[sha256sum] = 
"d8ba9264e8ae6e440293328e759e40456f161aa66077b3143dd07581136190b3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
-- 
2.7.4

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


[OE-core] [PATCH 04/10] gstreamer1.0-plugins-bad: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
* Remove backported patches:
  1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
  2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
  3. 0001-mssdemux-improved-live-playback-support.patch

* Refreshed the following patches:
  1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 Extended patch to include fix for libgstallocators
  2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
 Updated to apply to 1.12.2
  3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 Updated to apply to 1.12.2

* Removed license checks in tta directory as it doesn't exist anymore.

* In 1.12.0, old unsupported plugins were removed. As a result, the
  list of unsupported plugins was removed.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-bad.inc |  30 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 -
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 10.4.bb => gstreamer1.0-plugins-bad_1.12.2.bb} |  11 +-
 8 files changed, 89 insertions(+), 1249 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb 
=> gstreamer1.0-plugins-bad_1.12.2.bb} (65%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index e964fef..4677f6d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -70,16 +70,11 @@ PACKAGECONFIG[vulkan]  = 
"--enable-vulkan,--disable-vulkan,vulkan"
 PACKAGECONFIG[wayland] = 
"--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols"
 PACKAGECONFIG[webp]= "--enable-webp,--disable-webp,libwebp"
 
-# these plugins have not been ported to 1.0 (yet):
-#   apexsink linsys nas timidity sdl xvid wininet
-#   sndio cdxaparse dccp faceoverlay hdvparse tta mve nuvdemux
-#   patchdetect sdi videomeasure
-
 # these plugins have no corresponding library in OE-core or meta-openembedded:
-#   openni2 winks direct3d directsound winscreencap acm apple_media
+#   openni2 winks direct3d directsound winscreencap acm apple_media iqa
 #   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa 
libde265
-#   lv2 mimic mpeg2enc mplex musepack nvenc ofa openh264 opensles pvr 
soundtouch spandsp
-#   spc teletextdec tinyalsa vdpau wasapi x265 zbar
+#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch 
spandsp
+#   spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp
 
 # qt5 support is disabled, because it is not present in OE core, and requires 
more work than
 # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake 
paths).
@@ -95,7 +90,6 @@ EXTRA_OECONF += " \
 --enable-vcd \
 --disable-acm \
 --disable-android_media \
---disable-apexsink \
 --disable-apple_media \
 --disable-avc \
 --disable-bs2b \
@@ -108,42 +102,34 @@ EXTRA_OECONF += " \
 --disable-fdk_aac \
 --disable-gme \
 --disable-gsm \
+--disable-iqa \
 --disable-kate \
 --disable-ladspa \
 --disable-libde265 \
---disable-libvisual \
---disable-linsys \
 --disable-lv2 \
---disable-mimic \
 --disable-mpeg2enc \
 --disable-mplex \
+--disable-msdk \
 --disable-musepack \
---disable-nas \
 --disable-nvenc \
 --disable-ofa \
 --disable-openexr \
 --disable-openh264 \
 --disable-openni2 \
 --disable-opensles \
---disable-pvr \
 --disable-qt \
---disable-sdl \
---disable-sdltest \
---disable-sndio \
 --disable-soundtouch \
 --disable-spandsp \
 --disable-spc \
 --disable-teletextdec \
---disable-timidity \
 --disable-tinyalsa \
 --disable-vdpau \
 --disable-wasapi \
+--disable-webrtcdsp \
 --disable-wildmidi \
---disable-wininet \
 --disable-winks \
 --disable-winscreencap \
 --disable-x265 \
---disable-xvid \
 --disable-zbar \
 ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
 "
@@ -157,3 +143,7 @@ FILES_${PN}-dev += 
"${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
 

[OE-core] [PATCH 03/10] gstreamer1.0-plugins-good: upgrade to version 1.12.2

2017-08-11 Thread Carlos Rafael Giani
From: Maxin John 

* Remove backported patch:
  1. 0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch

* Added RPROVIDES to handle the renamed plugins (oss4 is not enabled):
  1. libgstpulse -> libgstpulseaudio
  2. libgstsouphttpsrc -> libgstsoup

* Updated gstreamer1.0-meta-base to include this change:
  1.gstsouphttpsrc plugin was renamed to gstsoup

Signed-off-by: Maxin B. John 
Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-meta-base.bb|  2 +-
 ...Also-add-videometa-if-there-is-padding-to.patch | 35 --
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.2.bb} |  8 +++--
 3 files changed, 6 insertions(+), 39 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb 
=> gstreamer1.0-plugins-good_1.12.2.bb} (77%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index c542b13..016e176 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -37,7 +37,7 @@ RDEPENDS_gstreamer1.0-meta-base = "\
 gstreamer1.0-plugins-base-videoscale \
 gstreamer1.0-plugins-base-videoconvert \
 gstreamer1.0-plugins-good-autodetect \
-gstreamer1.0-plugins-good-souphttpsrc"
+gstreamer1.0-plugins-good-soup"
 
 RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
 gstreamer1.0-plugins-base-ximagesink \
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
deleted file mode 100644
index 2a9a23e..000
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 22be02612adc757f6a43cefc6ee65ecaef68f0d9 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani 
-Date: Thu, 23 Mar 2017 22:13:05 +0100
-Subject: [PATCH] v4l2object: Also add videometa if there is padding to the
- right and bottom
-
-https://bugzilla.gnome.org/show_bug.cgi?id=780478
-
-Upstream-Status: Backport [1.10.5]
-
-Signed-off-by: Carlos Rafael Giani 

- sys/v4l2/gstv4l2object.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
-index 91c8ff0..ed4654e 100644
 a/sys/v4l2/gstv4l2object.c
-+++ b/sys/v4l2/gstv4l2object.c
-@@ -3070,9 +3070,10 @@ store_info:
-   GST_DEBUG_OBJECT (v4l2object->element, "Got sizeimage %" G_GSIZE_FORMAT,
-   info->size);
- 
--  /* to avoid copies we need video meta if top or left padding */
-+  /* to avoid copies we need video meta if there is padding */
-   v4l2object->need_video_meta =
--  ((align->padding_top + align->padding_left) != 0);
-+  ((align->padding_top + align->padding_left + align->padding_right +
-+  align->padding_bottom) != 0);
- 
-   /* ... or if stride is non "standard" */
-   if (!standard_stride)
--- 
-2.7.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
similarity index 77%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
index 57447bf..3d38f00 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb
@@ -10,9 +10,11 @@ SRC_URI = " \
 file://avoid-including-sys-poll.h-directly.patch \
 file://ensure-valid-sentinel-for-gst_structure_get.patch \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
-file://0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch \
 "
-SRC_URI[md5sum] = "cc0cc13cdb07d4237600b6886b81f31d"
-SRC_URI[sha256sum] = 
"8a86c61434a8c44665365bd0b3557a040937d1f44bf69caee4e9ea816ce74d7e"
+SRC_URI[md5sum] = "20254217d9805484532e08ff1c3aa296"
+SRC_URI[sha256sum] = 
"5591ee7208ab30289a30658a82b76bf87169c927572d9b794f3a41ed48e1ee96"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
+
+RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
+RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
-- 
2.7.4

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


[OE-core] [PATCH 00/10] gstreamer 1.x: upgrade to 1.12.2

2017-08-11 Thread Carlos Rafael Giani
This set of patches upgrades the GStreamer 1.x recipes to
version 1.12.2. It is bsed on Maxin B. John's 1.12.1
upgrades, which in turn were based on the original
proposed patches for an upgrade to 1.12.0.

GStreamer is moving towards meson as the primary build
system. However, OE's support for meson is not ready yet,
so we stick with autoconf for now.

These patches do not touch gst-player, since this one
requires updates to libva, which needs to be updated.
This update is beyond the scope of this patchset. Once
libva is updated, the workaround patch [YOCTO #11437]
could be removed.

 ...ideobufferpool-create-allocator-if-needed.patch |  61 --
 ...ibav_1.10.4.bb => gstreamer1.0-libav_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-meta-base.bb|   2 +-
 0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-plugins-bad.inc |  30 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 -
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 10.4.bb => gstreamer1.0-plugins-bad_1.12.2.bb} |  11 +-
 ...eed-more-buffers-in-output-queue-for-bett.patch |  32 -
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.2.bb} |   5 +-
 ...Also-add-videometa-if-there-is-padding-to.patch |  35 -
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.2.bb} |   8 +-
 .../gstreamer/gstreamer1.0-plugins-ugly.inc|   1 -
 ...10.4.bb => gstreamer1.0-plugins-ugly_1.12.2.bb} |   4 +-
 ...hon_1.10.4.bb => gstreamer1.0-python_1.12.2.bb} |   4 +-
 .../gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb   |   6 -
 .../gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb   |   6 +
 .../gstreamer/gstreamer1.0-vaapi.inc   |  13 +-
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb |   7 -
 .../gstreamer/gstreamer1.0-vaapi_1.12.2.bb |   5 +
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   2 +-
 ...dd-switches-for-enabling-disabling-libdw-.patch |  68 ++
 .../gstreamer1.0/deterministic-unwind.patch|  24 -
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.2.bb} |   6 +-
 28 files changed, 199 insertions(+), 1436 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => 
gstreamer1.0-libav_1.12.2.bb} (88%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => 
gstreamer1.0-omx_1.12.2.bb} (69%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb 
=> gstreamer1.0-plugins-bad_1.12.2.bb} (65%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb 
=> gstreamer1.0-plugins-base_1.12.2.bb} (78%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb 
=> gstreamer1.0-plugins-good_1.12.2.bb} (77%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb 
=> gstreamer1.0-plugins-ugly_1.12.2.bb} (76%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.10.4.bb => 
gstreamer1.0-python_1.12.2.bb} (57%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.2.bb
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-configure-Add-switches-for-enabling-disabling-libdw-.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => 
gstreamer1.0_1.12.2.bb} (59%)

-- 
2.7.4

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


Re: [OE-core] [oe] State of bitbake world, Failed tasks 2017-08-09

2017-08-11 Thread Martin Jansa
On Fri, Aug 11, 2017 at 07:58:36PM +0200, Andreas Müller wrote:
> On Fri, Aug 11, 2017 at 6:45 PM, Martin Jansa  wrote:
> >
> > firefox and mariadb fail like this only since 
> > conf/distro/include/security_flags.inc was included
> >
> > qtbase fails because of ptest addition as reported on ML
> >
> >> Kodi patch to use std::string was sent. mongodb needs something similar.
> >
> > The kodi patch from Andreas was already included in this build. Yours
> > kodi patch looks similar, but not backported from upstream.
> >
> > see:
> >> > 3a03560 kodi: fix build with latest gcc
> I checked the log and don't understand what happened: kodi on qemux86
> failed exactly with the error message I saw before fixing. Since the
> other qemus did not fail: are you sure my patch did not come in while
> build was already running?

Yes, that's possible (like for squid, maybe qtbase as well).

The problem is that qemux86 and qemux86-64 run on one builder, qemuarm
on another. Each build takes around 25-26 hours (depending on kind of
changes which were introduced since last time, almost any oe-core
upgrade means build from scratch, if I update just pending patches in
meta-oe/master-next, then it's 2-5 hours).

And this report is generated based on the state of qemuarm build.

So quite often I start all 3 at the same time, then some interesting
changes came in later, so qemux86-64 build picks them and because I know
it will take quite long time I re-trigger the qemuarm build to finish in
parallel (so qemux86 usually ends being the "oldest"). But to provide at
least some feedback I don't re-trigger another qemux86 build, because
that would add another day till the report is complete.

No of course another round is already running, hopefully I'll ignore the
temptation to add more changes to it while it's running and do something
better with my life - more consitent report should be available
tomorrow.

Regards,

> >
> >
> >> imagemagick issue is also taken care of
> >
> > is it? where? Notice that this includes also the 2nd imagemagick upgrade
> > which also already disappeared from the site.
> Randy suggested to skip imagemagick update until upstream stabilizes.
> >
> >> I have sent a patch for squid issue
> >
> > You mean this one?
> >> > e435561 squid: Add missing dependencies on openssl expat and libxml2
> >
> > it's already included (might be missing in qemux86 build which was
> > started first).
> >
> -> kodi?
> 
> Regards
> 
> Andreas

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


Re: [OE-core] [oe] State of bitbake world, Failed tasks 2017-08-09

2017-08-11 Thread Andreas Müller
On Fri, Aug 11, 2017 at 6:45 PM, Martin Jansa  wrote:
>
> firefox and mariadb fail like this only since 
> conf/distro/include/security_flags.inc was included
>
> qtbase fails because of ptest addition as reported on ML
>
>> Kodi patch to use std::string was sent. mongodb needs something similar.
>
> The kodi patch from Andreas was already included in this build. Yours
> kodi patch looks similar, but not backported from upstream.
>
> see:
>> > 3a03560 kodi: fix build with latest gcc
I checked the log and don't understand what happened: kodi on qemux86
failed exactly with the error message I saw before fixing. Since the
other qemus did not fail: are you sure my patch did not come in while
build was already running?
>
>
>> imagemagick issue is also taken care of
>
> is it? where? Notice that this includes also the 2nd imagemagick upgrade
> which also already disappeared from the site.
Randy suggested to skip imagemagick update until upstream stabilizes.
>
>> I have sent a patch for squid issue
>
> You mean this one?
>> > e435561 squid: Add missing dependencies on openssl expat and libxml2
>
> it's already included (might be missing in qemux86 build which was
> started first).
>
-> kodi?

Regards

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


Re: [OE-core] [PATCH v2] image.bbclass: delete DATE variable too

2017-08-11 Thread Stefan Agner
On 2017-08-29 02:54, Stefan Agner wrote:

I am sorry, I didn't meant to spoof the date. I had to play with dates
on said system to reproduce the issue.

--
Stefan

> From: Stefan Agner 
> 
> When creating a custom image which uses the DATE variable the basehash
> seems to change every day and lead to errors such as:
> ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error executing
> a python function in exec_python_func() autogenerated:
> 
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'exec_python_func() autogenerated', lineno: 2, function: 
>  0001:
>  *** 0002:set_image_size(d)
> ...
> 
> Add DATE to the variables which should not get expanded early and to the
> vardepsexclude list for the image task.
> 
> Signed-off-by: Stefan Agner 
> ---
> I am not that deep in OE usually and I am not sure if I miss something
> completely here... It seems to solve the issue for us though. Does that
> change sounds reasonable? Could it be done in the custom image class file?
> 
>  meta/classes/image.bbclass | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 2c1dc81..7949b46 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -437,6 +437,7 @@ python () {
>  # date/time values. It will get expanded at execution time.
>  # Similarly TMPDIR since otherwise we see QA stamp comparision 
> problems
>  localdata.delVar('DATETIME')
> +localdata.delVar('DATE')
>  localdata.delVar('TMPDIR')
>  
>  image_cmd = localdata.getVar("IMAGE_CMD")
> @@ -501,7 +502,7 @@ python () {
>  d.prependVarFlag(task, 'postfuncs', ' create_symlinks')
>  d.appendVarFlag(task, 'subimages', ' ' + ' '.join(subimages))
>  d.appendVarFlag(task, 'vardeps', ' ' + ' '.join(vardeps))
> -d.appendVarFlag(task, 'vardepsexclude', 'DATETIME')
> +d.appendVarFlag(task, 'vardepsexclude', 'DATETIME DATE')
>  
>  bb.debug(2, "Adding task %s before %s, after %s" % (task,
> 'do_image_complete', after))
>  bb.build.addtask(task, 'do_image_complete', after, d)
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] image.bbclass: delete DATE variable too

2017-08-11 Thread Stefan Agner
From: Stefan Agner 

When creating a custom image which uses the DATE variable the basehash
seems to change every day and lead to errors such as:
ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error executing a python 
function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: 
 0001:
 *** 0002:set_image_size(d)
...

Add DATE to the variables which should not get expanded early and to the
vardepsexclude list for the image task.

Signed-off-by: Stefan Agner 
---
I am not that deep in OE usually and I am not sure if I miss something
completely here... It seems to solve the issue for us though. Does that
change sounds reasonable? Could it be done in the custom image class file?

 meta/classes/image.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2c1dc81..7949b46 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -437,6 +437,7 @@ python () {
 # date/time values. It will get expanded at execution time.
 # Similarly TMPDIR since otherwise we see QA stamp comparision problems
 localdata.delVar('DATETIME')
+localdata.delVar('DATE')
 localdata.delVar('TMPDIR')
 
 image_cmd = localdata.getVar("IMAGE_CMD")
@@ -501,7 +502,7 @@ python () {
 d.prependVarFlag(task, 'postfuncs', ' create_symlinks')
 d.appendVarFlag(task, 'subimages', ' ' + ' '.join(subimages))
 d.appendVarFlag(task, 'vardeps', ' ' + ' '.join(vardeps))
-d.appendVarFlag(task, 'vardepsexclude', 'DATETIME')
+d.appendVarFlag(task, 'vardepsexclude', 'DATETIME DATE')
 
 bb.debug(2, "Adding task %s before %s, after %s" % (task, 
'do_image_complete', after))
 bb.build.addtask(task, 'do_image_complete', after, d)
-- 
2.7.4

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


Re: [OE-core] [oe] State of bitbake world, Failed tasks 2017-08-09

2017-08-11 Thread Martin Jansa
On Fri, Aug 11, 2017 at 08:59:48AM -0700, Khem Raj wrote:
> On Fri, Aug 11, 2017 at 1:03 AM, Martin Jansa  wrote:
> > It got significantly worse again.
> >
> > http://www.openembedded.org/wiki/Bitbake_World_Status
> >
> 
> Lot of linking issues seems unique to gold ( firefox, qtbase, mariadb )

firefox and mariadb fail like this only since 
conf/distro/include/security_flags.inc was included

qtbase fails because of ptest addition as reported on ML

> Kodi patch to use std::string was sent. mongodb needs something similar.

The kodi patch from Andreas was already included in this build. Yours
kodi patch looks similar, but not backported from upstream.

see:
> > 3a03560 kodi: fix build with latest gcc


> imagemagick issue is also taken care of

is it? where? Notice that this includes also the 2nd imagemagick upgrade
which also already disappeared from the site.

> I have sent a patch for squid issue

You mean this one?
> > e435561 squid: Add missing dependencies on openssl expat and libxml2

it's already included (might be missing in qemux86 build which was
started first).

> 
> > == Number of issues - stats ==
> > {| class='wikitable'
> > !|Date   !!colspan='3'|Failed tasks 
> > !!|Signatures !!colspan='14'|QA !!Comment
> > |-
> > ||  ||qemuarm   ||qemux86   ||qemux86_64||all   
> > ||already-stripped  ||libdir||textrel   ||build-deps
> > ||file-rdeps||version-going-backwards   ||host-user-contaminated
> > ||installed-vs-shipped  ||unknown-configure-option  
> > ||symlink-to-sysroot||invalid-pkgconfig ||pkgname   ||ldflags   
> > ||compile-host-path ||
> > |-
> > ||2017-08-09||4 ||9 ||7 ||1 ||0 ||0 
> > ||5 ||0 ||0 ||5 ||0 
> > ||0 ||0 ||0 ||0 ||0 
> > ||0 ||0 ||
> > |}
> >
> > == Failed tasks 2017-08-09 ==
> >
> > INFO: jenkins-job.sh-1.8.25 Complete log available at 
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170810_215947.log
> >
> > === common (2) ===
> > * 
> > meta-openembedded/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb:do_configure
> > * 
> > meta-openembedded/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb:do_fetch
> >
> > === common-x86 (3) ===
> > * meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb:do_compile
> > * 
> > meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb:do_configure
> > * 
> > meta-openembedded/meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb:do_configure
> >
> > === qemuarm (2) ===
> > * 
> > meta-openembedded/meta-oe/recipes-support/mysql/mariadb_5.5.55.bb:do_compile
> > * openembedded-core/meta/recipes-devtools/llvm/llvm_git.bb:do_compile
> >
> > === qemux86 (4) ===
> > * 
> > meta-openembedded/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb:do_compile
> > * 
> > meta-openembedded/meta-networking/recipes-daemons/squid/squid_3.5.26.bb:do_configure
> > * 
> > meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb:do_compile
> > * meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile
> >
> > === qemux86_64 (2) ===
> > * meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile
> > * meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile
> >
> > === Number of failed tasks (20) ===
> > {| class=wikitable
> > |-
> > || qemuarm  || 4 || 
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170809_054937.log/
> >  || http://errors.yoctoproject.org/Errors/Build/43306/
> > |-
> > || qemux86  || 9 || 
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170808_120058.log/
> >  || http://errors.yoctoproject.org/Errors/Build/43271/
> > |-
> > || qemux86_64   || 7 || 
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170809_132802.log/
> >  ||
> > |}
> >
> > === PNBLACKLISTs (1) ===
> >
> > === QA issues (10) ===
> > {| class=wikitable
> > !| Count||Issue
> > |-
> > ||0 ||already-stripped
> > |-
> > ||0 ||build-deps
> > |-
> > ||0 ||compile-host-path
> > |-
> > ||0 ||file-rdeps
> > |-
> > ||0 ||host-user-contaminated
> > |-
> > ||0 ||installed-vs-shipped
> > |-
> > ||0 ||invalid-pkgconfig
> > |-
> > ||0 ||ldflags
> > |-
> > ||0 ||libdir
> > |-
> > ||0 ||pkgname
> > |-
> > ||0 ||symlink-to-sysroot
> > |-
> > ||0 ||unknown-configure-option
> > |-
> > ||5 ||textrel
> > |-
> > ||5 ||version-going-backwards
> > |}
> >
> >
> >
> > === Incorrect PACKAGE_ARCH or sstate signatures (1) ===
> >
> > Complete log: 
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170810_022613.log/
> > * ERROR: 1 issues were found in these recipes: gnome-common

Re: [OE-core] [oe] State of bitbake world, Failed tasks 2017-08-09

2017-08-11 Thread Khem Raj
On Fri, Aug 11, 2017 at 1:03 AM, Martin Jansa  wrote:
> It got significantly worse again.
>
> http://www.openembedded.org/wiki/Bitbake_World_Status
>

Lot of linking issues seems unique to gold ( firefox, qtbase, mariadb )
Kodi patch to use std::string was sent. mongodb needs something similar.
imagemagick issue is also taken care of
I have sent a patch for squid issue

> == Number of issues - stats ==
> {| class='wikitable'
> !|Date   !!colspan='3'|Failed tasks 
> !!|Signatures !!colspan='14'|QA !!Comment
> |-
> ||  ||qemuarm   ||qemux86   ||qemux86_64||all   
> ||already-stripped  ||libdir||textrel   ||build-deps
> ||file-rdeps||version-going-backwards   ||host-user-contaminated  
>   ||installed-vs-shipped  ||unknown-configure-option  
> ||symlink-to-sysroot||invalid-pkgconfig ||pkgname   ||ldflags 
>   ||compile-host-path ||
> |-
> ||2017-08-09||4 ||9 ||7 ||1 ||0 ||0   
>   ||5 ||0 ||0 ||5 ||0 
> ||0 ||0 ||0 ||0 ||0   
>   ||0 ||0 ||
> |}
>
> == Failed tasks 2017-08-09 ==
>
> INFO: jenkins-job.sh-1.8.25 Complete log available at 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170810_215947.log
>
> === common (2) ===
> * 
> meta-openembedded/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb:do_configure
> * 
> meta-openembedded/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb:do_fetch
>
> === common-x86 (3) ===
> * meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb:do_compile
> * 
> meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb:do_configure
> * 
> meta-openembedded/meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb:do_configure
>
> === qemuarm (2) ===
> * 
> meta-openembedded/meta-oe/recipes-support/mysql/mariadb_5.5.55.bb:do_compile
> * openembedded-core/meta/recipes-devtools/llvm/llvm_git.bb:do_compile
>
> === qemux86 (4) ===
> * 
> meta-openembedded/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-daemons/squid/squid_3.5.26.bb:do_configure
> * 
> meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb:do_compile
> * meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile
>
> === qemux86_64 (2) ===
> * meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile
> * meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile
>
> === Number of failed tasks (20) ===
> {| class=wikitable
> |-
> || qemuarm  || 4 || 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170809_054937.log/
>  || http://errors.yoctoproject.org/Errors/Build/43306/
> |-
> || qemux86  || 9 || 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170808_120058.log/
>  || http://errors.yoctoproject.org/Errors/Build/43271/
> |-
> || qemux86_64   || 7 || 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170809_132802.log/
>  ||
> |}
>
> === PNBLACKLISTs (1) ===
>
> === QA issues (10) ===
> {| class=wikitable
> !| Count||Issue
> |-
> ||0 ||already-stripped
> |-
> ||0 ||build-deps
> |-
> ||0 ||compile-host-path
> |-
> ||0 ||file-rdeps
> |-
> ||0 ||host-user-contaminated
> |-
> ||0 ||installed-vs-shipped
> |-
> ||0 ||invalid-pkgconfig
> |-
> ||0 ||ldflags
> |-
> ||0 ||libdir
> |-
> ||0 ||pkgname
> |-
> ||0 ||symlink-to-sysroot
> |-
> ||0 ||unknown-configure-option
> |-
> ||5 ||textrel
> |-
> ||5 ||version-going-backwards
> |}
>
>
>
> === Incorrect PACKAGE_ARCH or sstate signatures (1) ===
>
> Complete log: 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170810_022613.log/
> * ERROR: 1 issues were found in these recipes: gnome-common
>
> * ERROR: 1 errors found in 
> signatures.qemuarm.do_package_write_ipk.sigdata.log
>
> * ERROR: gnome-common different signature for task 
> do_package_write_ipk.sigdata between qemux86copy and qemuarm
> * ERROR: 1 errors found in 
> /home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1502367973/signatures.qemuarm.do_package_write_ipk.sigdata.log
> * ERROR: 1 issues were found in these recipes: gnome-common
>
>
> PNBLACKLISTs:
> openembedded-core/:
> meta-browser:
> meta-openembedded:
> meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
>  ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to 
> link against sctp_connectx symbol", '', d)}"
> meta-qt5:
> meta-smartphone:
> meta-webos-ports:
> PNBLACKLIST[android-system] = "depends on lxc from meta-virtualiazation which 
> isn't included in my world builds"
> PNBLACKLIST[bigbuckbunny-1080p] = "big 

[OE-core] [PATCH v3 0/7] Support signed RPM package feeds

2017-08-11 Thread Markus Lehtonen
Changes since v2:
- bug id in the commit message of the last patch corrected

The following changes since commit df7f5221a56118da7654476f072c37ae1e75dc50:

  libinput: Upgrade 1.7.3 -> 1.8.1 (2017-08-09 09:25:47 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11209
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209

Markus Lehtonen (7):
  lib/oe/package_manager: re-implement rpm feed signing
  dnf: rrecommend gnupg
  sign_package_feed.bbclass: install signing key into rootfs
  package_manager.py: enable dnf's repo_gpgcheck if feed signing is
enabled
  oeqa: fix dnf tests
  oeqa: fix temp file handling in dnf package feed test
  dnf: expand dnf selftest to test signed package feeds

 meta-selftest/files/signing/key.passphrase |  1 +
 .../cases/{dnf-runtime.py => dnf_runtime.py}   | 12 +++
 meta/classes/sign_package_feed.bbclass |  3 +++
 meta/lib/oe/package_manager.py | 24 +++---
 meta/lib/oeqa/selftest/cases/runtime_test.py   | 14 +++--
 meta/recipes-devtools/dnf/dnf_2.5.1.bb |  2 ++
 6 files changed, 47 insertions(+), 9 deletions(-)
 create mode 100644 meta-selftest/files/signing/key.passphrase
 rename meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} 
(80%)

-- 
2.12.3

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


[OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Markus Lehtonen
[YOCTO #12099]

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/files/signing/key.passphrase  |  1 +
 meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py |  3 ++-
 meta/lib/oeqa/selftest/cases/runtime_test.py| 12 +++-
 3 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 meta-selftest/files/signing/key.passphrase

diff --git a/meta-selftest/files/signing/key.passphrase 
b/meta-selftest/files/signing/key.passphrase
new file mode 100644
index 00..5271a52680
--- /dev/null
+++ b/meta-selftest/files/signing/key.passphrase
@@ -0,0 +1 @@
+test123
diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 68e56f2c5e..8a2b3d2180 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -36,7 +36,8 @@ class DnfSelftest(DnfTest):
 self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
 
 import re
-output_makecache = self.dnf('makecache')
+output_makecache = self.dnf('-y makecache')
+self.assertTrue(re.match(r".*Failed to synchronize cache", 
output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to 
synchronize repo: %s" %(output_makecache))
 self.assertTrue(re.match(r".*Metadata cache created", 
output_makecache, re.DOTALL) is not None, msg = "dnf makecache failed: %s" 
%(output_makecache))
 
 output_repoinfo = self.dnf('repoinfo')
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 07d05b5972..dea18651e3 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -3,6 +3,7 @@ from oeqa.utils.commands import runCmd, bitbake, get_bb_var, 
get_bb_vars, runqem
 from oeqa.core.decorator.oeid import OETestID
 import os
 import re
+import tempfile
 
 class TestExport(OESelftestTestCase):
 
@@ -143,7 +144,16 @@ class TestImage(OESelftestTestCase):
 # in at the start of the on-image test
 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
 features += 'EXTRA_IMAGE_FEATURES += "package-management"\n'
-features += 'PACKAGE_CLASSES = "package_rpm"'
+features += 'PACKAGE_CLASSES = "package_rpm"\n'
+
+# Enable package feed signing
+self.gpg_home = tempfile.TemporaryDirectory(prefix="oeqa-feed-sign-")
+signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing')
+runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home.name, 
os.path.join(signing_key_dir, 'key.secret')))
+features += 'INHERIT += "sign_package_feed"\n'
+features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n'
+features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % 
os.path.join(signing_key_dir, 'key.passphrase')
+features += 'GPG_PATH = "%s"\n' % self.gpg_home.name
 self.write_config(features)
 
 # Build core-image-sato and testimage
-- 
2.12.3

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


[OE-core] [PATCH v2 6/7] oeqa: fix temp file handling in dnf package feed test

2017-08-11 Thread Markus Lehtonen
Prevent stale temp files and a possible (if unlikely) race in tempfile
usage.

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 123e7259f1..68e56f2c5e 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -6,6 +6,8 @@ class DnfSelftest(DnfTest):
 
 @classmethod
 def setUpClass(cls):
+import tempfile
+cls.temp_dir = tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-")
 cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 
'oe-rootfs-repo'),
   cls.tc.target.server_ip)
 cls.repo_server.start()
@@ -13,6 +15,7 @@ class DnfSelftest(DnfTest):
 @classmethod
 def tearDownClass(cls):
 cls.repo_server.stop()
+cls.temp_dir.cleanup()
 
 @OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
 def test_verify_package_feeds(self):
@@ -25,11 +28,11 @@ class DnfSelftest(DnfTest):
 """
 # When we created an image, we had to supply fake ip and port
 # for the feeds. Now we can patch the real ones into the config file.
-import tempfile
-temp_file = 
tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-").name
+temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
 self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
temp_file)
 fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
-open(temp_file, "w").write(fixed_config)
+with open(temp_file, "w") as f:
+f.write(fixed_config)
 self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
 
 import re
-- 
2.12.3

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


[OE-core] [PATCH v2 5/7] oeqa: fix dnf tests

2017-08-11 Thread Markus Lehtonen
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} | 0
 meta/lib/oeqa/selftest/cases/runtime_test.py| 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} 
(100%)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
similarity index 100%
rename from meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py
rename to meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 2a70ae15b8..07d05b5972 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -138,7 +138,7 @@ class TestImage(OESelftestTestCase):
 self.skipTest('core-image-full-cmdline not buildable for 
poky-tiny')
 
 features = 'INHERIT += "testimage"\n'
-features += 'TEST_SUITES = "ping ssh dnf-runtime"\n'
+features += 'TEST_SUITES = "ping ssh dnf_runtime 
dnf.DnfBasicTest.test_dnf_help"\n'
 # We don't yet know what the server ip and port will be - they will be 
patched
 # in at the start of the on-image test
 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
-- 
2.12.3

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


[OE-core] [PATCH v2 4/7] package_manager.py: enable dnf's repo_gpgcheck if feed signing is enabled

2017-08-11 Thread Markus Lehtonen
If package feed signing is enabled enable repo gpg signature check for
rpm repositories added via PACKAGE_FEED_URIS. This has the implication
that all repositories added via this mechanism must be signed with the
same key.

[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/lib/oe/package_manager.py | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 942f2dd903..d43d729203 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -559,6 +559,12 @@ class RpmPM(PackageManager):
 if feed_uris == "":
 return
 
+if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
+gpg_opts = 'repo_gpgcheck=1\n'
+gpg_opts += 
'gpgkey=file://%s/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s\n' % 
(self.d.getVar('sysconfdir'), self.d.getVar('DISTRO_VERSION'))
+else:
+gpg_opts = ''
+
 bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", 
"yum.repos.d"))
 remote_uris = self.construct_uris(feed_uris.split(), 
feed_base_paths.split())
 for uri in remote_uris:
@@ -569,12 +575,12 @@ class RpmPM(PackageManager):
 repo_id   = "oe-remote-repo"  + 
"-".join(urlparse(repo_uri).path.split("/"))
 repo_name = "OE Remote Repo:" + " 
".join(urlparse(repo_uri).path.split("/"))
 open(oe.path.join(self.target_rootfs, "etc", 
"yum.repos.d", repo_base + ".repo"), 'a').write(
- "[%s]\nname=%s\nbaseurl=%s\n\n" % (repo_id, 
repo_name, repo_uri))
+ "[%s]\nname=%s\nbaseurl=%s\n%s\n" % (repo_id, 
repo_name, repo_uri, gpg_opts))
 else:
 repo_name = "OE Remote Repo:" + " 
".join(urlparse(uri).path.split("/"))
 repo_uri = uri
 open(oe.path.join(self.target_rootfs, "etc", "yum.repos.d", 
repo_base + ".repo"), 'w').write(
- "[%s]\nname=%s\nbaseurl=%s\n" % (repo_base, 
repo_name, repo_uri))
+ "[%s]\nname=%s\nbaseurl=%s\n%s" % (repo_base, 
repo_name, repo_uri, gpg_opts))
 
 def _prepare_pkg_transaction(self):
 os.environ['D'] = self.target_rootfs
-- 
2.12.3

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


[OE-core] [PATCH v2 0/7] Support signed RPM package feeds

2017-08-11 Thread Markus Lehtonen
Second try of re-enabling signed rpm package feeds.

Changes since v1:
- enabling sign_package_feed.bbclass now causes the pubkey of the signing key
  to be installed in the image
- enabling sign_package_feed.bbclass automatically enables repo_gpgcheck (i.e.
  gpg signature check of the repo metadata) in rpm repositories added via
  PACKAGE_FEED_URIS
- dnf package feed selftest adjusted to the changes above


The following changes since commit df7f5221a56118da7654476f072c37ae1e75dc50:

  libinput: Upgrade 1.7.3 -> 1.8.1 (2017-08-09 09:25:47 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11209
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209

Markus Lehtonen (7):
  lib/oe/package_manager: re-implement rpm feed signing
  dnf: rrecommend gnupg
  sign_package_feed.bbclass: install signing key into rootfs
  package_manager.py: enable dnf's repo_gpgcheck if feed signing is
enabled
  oeqa: fix dnf tests
  oeqa: fix temp file handling in dnf package feed test
  dnf: expand dnf selftest to test signed package feeds

 meta-selftest/files/signing/key.passphrase |  1 +
 .../cases/{dnf-runtime.py => dnf_runtime.py}   | 12 +++
 meta/classes/sign_package_feed.bbclass |  3 +++
 meta/lib/oe/package_manager.py | 24 +++---
 meta/lib/oeqa/selftest/cases/runtime_test.py   | 14 +++--
 meta/recipes-devtools/dnf/dnf_2.5.1.bb |  2 ++
 6 files changed, 47 insertions(+), 9 deletions(-)
 create mode 100644 meta-selftest/files/signing/key.passphrase
 rename meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} 
(80%)

-- 
2.12.3

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


[OE-core] [PATCH v2 3/7] sign_package_feed.bbclass: install signing key into rootfs

2017-08-11 Thread Markus Lehtonen
If package-management is enabled.

[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/classes/sign_package_feed.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/sign_package_feed.bbclass 
b/meta/classes/sign_package_feed.bbclass
index 71df03bab3..f03c4802d0 100644
--- a/meta/classes/sign_package_feed.bbclass
+++ b/meta/classes/sign_package_feed.bbclass
@@ -28,6 +28,9 @@ PACKAGE_FEED_SIGN = '1'
 PACKAGE_FEED_GPG_BACKEND ?= 'local'
 PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC'
 
+# Make feed signing key to be present in rootfs
+FEATURE_PACKAGES_package-management_append = " signing-keys-packagefeed"
+
 python () {
 # Check sanity of configuration
 for var in ('PACKAGE_FEED_GPG_NAME', 'PACKAGE_FEED_GPG_PASSPHRASE_FILE'):
-- 
2.12.3

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


[OE-core] [PATCH v2 2/7] dnf: rrecommend gnupg

2017-08-11 Thread Markus Lehtonen
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do
GPG signature check on repository metadata. Without gnupg dnf fails with
"error: Invalid crypto engine."

[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/recipes-devtools/dnf/dnf_2.5.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/dnf/dnf_2.5.1.bb 
b/meta/recipes-devtools/dnf/dnf_2.5.1.bb
index cdc2a8549f..88172532bf 100644
--- a/meta/recipes-devtools/dnf/dnf_2.5.1.bb
+++ b/meta/recipes-devtools/dnf/dnf_2.5.1.bb
@@ -27,6 +27,8 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 
-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
 
 BBCLASSEXTEND = "native nativesdk"
 RDEPENDS_${PN}_class-target += "python3-core python3-codecs python3-netclient 
python3-email python3-threading python3-distutils librepo python3-shell 
python3-subprocess libcomps libdnf python3-sqlite3 python3-compression 
python3-rpm python3-iniparse python3-json python3-importlib python3-curses 
python3-argparse python3-misc python3-gpg"
+# Recommend gnupg so that GPG signature check on repository metadata is 
possible
+RRECOMMENDS_${PN}_class-target += "gnupg"
 
 # Create a symlink called 'dnf' as 'make install' does not do it, but
 # .spec file in dnf source tree does (and then Fedora and dnf documentation
-- 
2.12.3

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


[OE-core] [PATCH v2 1/7] lib/oe/package_manager: re-implement rpm feed signing

2017-08-11 Thread Markus Lehtonen
[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/lib/oe/package_manager.py | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 518cf8dbe3..942f2dd903 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -104,13 +104,25 @@ class Indexer(object, metaclass=ABCMeta):
 class RpmIndexer(Indexer):
 def write_index(self):
 if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
-raise NotImplementedError('Package feed signing not yet implementd 
for rpm')
+signer = get_signer(self.d, 
self.d.getVar('PACKAGE_FEED_GPG_BACKEND'))
+else:
+signer = None
 
 createrepo_c = bb.utils.which(os.environ['PATH'], "createrepo_c")
 result = create_index("%s --update -q %s" % (createrepo_c, 
self.deploy_dir))
 if result:
 bb.fatal(result)
 
+# Sign repomd
+if signer:
+sig_type = self.d.getVar('PACKAGE_FEED_GPG_SIGNATURE_TYPE')
+is_ascii_sig = (sig_type.upper() != "BIN")
+signer.detach_sign(os.path.join(self.deploy_dir, 'repodata', 
'repomd.xml'),
+   self.d.getVar('PACKAGE_FEED_GPG_NAME'),
+   
self.d.getVar('PACKAGE_FEED_GPG_PASSPHRASE_FILE'),
+   armor=is_ascii_sig)
+
+
 class OpkgIndexer(Indexer):
 def write_index(self):
 arch_vars = ["ALL_MULTILIB_PACKAGE_ARCHS",
-- 
2.12.3

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


Re: [OE-core] [PATCH] image-prelink: Disable for musl images

2017-08-11 Thread Mark Hatle
On 8/11/17 2:16 AM, Richard Purdie wrote:
> For some reason prelink was refusing to prelink musl images but now sometimes
> does modify the binaries. Since musl has no support for this, such images
> end up broken and unable to boot.
> 
> To avoid this, be explicit and only apply prelinking for libc-glibc.
> 
> [YOCTO #11913]
> 
> Signed-off-by: Richard Purdie 

Ack.  Agreed, best solution.  (If anyone wants to update musl to support the
prelinker, I'd love to see it.. but I don't expect that to happen.)

--Mark

> ---
>  meta/classes/image-prelink.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/image-prelink.bbclass 
> b/meta/classes/image-prelink.bbclass
> index 4157df0..6fcd699 100644
> --- a/meta/classes/image-prelink.bbclass
> +++ b/meta/classes/image-prelink.bbclass
> @@ -1,6 +1,6 @@
>  do_rootfs[depends] += "prelink-native:do_populate_sysroot"
>  
> -IMAGE_PREPROCESS_COMMAND += "prelink_setup; prelink_image; "
> +IMAGE_PREPROCESS_COMMAND_append_libc-glibc = " prelink_setup; prelink_image; 
> "
>  
>  python prelink_setup () {
>  oe.utils.write_ld_so_conf(d)
> 

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


Re: [OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Leonardo Sandoval
On Fri, 2017-08-11 at 13:51 +0300, Markus Lehtonen wrote:
> [YOCTO #12099]

seems that the bugzilla ID does not exit.

> 
> Signed-off-by: Markus Lehtonen 
> ---
>  meta-selftest/files/signing/key.passphrase  |  1 +
>  meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 12 
>  meta/lib/oeqa/selftest/cases/runtime_test.py| 13 -
>  3 files changed, 25 insertions(+), 1 deletion(-)
>  create mode 100644 meta-selftest/files/signing/key.passphrase
> 
> diff --git a/meta-selftest/files/signing/key.passphrase 
> b/meta-selftest/files/signing/key.passphrase
> new file mode 100644
> index 00..5271a52680
> --- /dev/null
> +++ b/meta-selftest/files/signing/key.passphrase
> @@ -0,0 +1 @@
> +test123
> diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py 
> b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> index 68e56f2c5e..3a299c75f6 100644
> --- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> +++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> @@ -31,12 +31,24 @@ class DnfSelftest(DnfTest):
>  temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
>  self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
> temp_file)
>  fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
> self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
> +fixed_config += 'repo_gpgcheck=1\n'
>  with open(temp_file, "w") as f:
>  f.write(fixed_config)
>  self.tc.target.copyTo(temp_file, 
> "/etc/yum.repos.d/oe-remote-repo.repo")
>  
> +# First try should fail as the gpg pubkey is not available for dnf
>  import re
>  output_makecache = self.dnf('makecache')
> +self.assertTrue(re.match(r".*Failed to synchronize cache", 
> output_makecache, re.DOTALL) is not None, msg = "dnf makecache should have 
> failed: %s" %(output_makecache))
> +
> +# Add public key to dnf config -> now we should succeed
> +fixed_config += 
> 'gpgkey=file:///etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s\n' % 
> self.tc.td['DISTRO_VERSION']
> +with open(temp_file, "w") as f:
> +f.write(fixed_config)
> +self.tc.target.copyTo(temp_file, 
> "/etc/yum.repos.d/oe-remote-repo.repo")
> +
> +output_makecache = self.dnf('-y makecache')
> +self.assertTrue(re.match(r".*Failed to synchronize cache", 
> output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to 
> synchronize repo: %s" %(output_makecache))
>  self.assertTrue(re.match(r".*Metadata cache created", 
> output_makecache, re.DOTALL) is not None, msg = "dnf makecache failed: %s" 
> %(output_makecache))
>  
>  output_repoinfo = self.dnf('repoinfo')
> diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
> b/meta/lib/oeqa/selftest/cases/runtime_test.py
> index 07d05b5972..e603c71f90 100644
> --- a/meta/lib/oeqa/selftest/cases/runtime_test.py
> +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
> @@ -3,6 +3,7 @@ from oeqa.utils.commands import runCmd, bitbake, get_bb_var, 
> get_bb_vars, runqem
>  from oeqa.core.decorator.oeid import OETestID
>  import os
>  import re
> +import tempfile
>  
>  class TestExport(OESelftestTestCase):
>  
> @@ -143,7 +144,17 @@ class TestImage(OESelftestTestCase):
>  # in at the start of the on-image test
>  features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
>  features += 'EXTRA_IMAGE_FEATURES += "package-management"\n'
> -features += 'PACKAGE_CLASSES = "package_rpm"'
> +features += 'PACKAGE_CLASSES = "package_rpm"\n'
> +
> +# Enable package feed signing
> +self.gpg_home = tempfile.TemporaryDirectory(prefix="oeqa-feed-sign-")
> +signing_key_dir = os.path.join(self.testlayer_path, 'files', 
> 'signing')
> +runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home.name, 
> os.path.join(signing_key_dir, 'key.secret')))
> +features += 'INHERIT += "sign_package_feed"\n'
> +features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n'
> +features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % 
> os.path.join(signing_key_dir, 'key.passphrase')
> +features += 'GPG_PATH = "%s"\n' % self.gpg_home.name
> +features += 'IMAGE_INSTALL_append  = "signing-keys-packagefeed"\n'
>  self.write_config(features)
>  
>  # Build core-image-sato and testimage
> -- 
> 2.12.3
> 


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


Re: [OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Alexander Kanavin

On 08/11/2017 03:54 PM, Markus Lehtonen wrote:


 Wait a moment. If feed signing is enabled, then dnf's "repo_gpgcheck",
 and "gpgkey" settings should be configured and working by default. You
 shouldn't fix them after the fact in the test. Please add the necessary
 code to insert_feeds_uris() in package_manager.py.
 
Do you think it's a safe assumption that all repos configured via PACKAGE_FEED_URIS are signed and with the same key?


We had a discussion on IRC; the problem here is that some of those repos 
may be from a 3rd party, or created earlier with different signing 
settings. We don't provide configuration support for such a mix of 
repositories; if PACKAGE_FEED_SIGN is enabled, then it is assumed that 
all of the configured repositories are signed with the provided key. If 
someone needs a more intricate configuration, they can have it via a 
custom repository indexer recipe, and image creation hooks that 
configure dnf to match that.


The alternative (not configuring dnf to check the signatures) is worse: 
the repos are signed, but then dnf does not actually verify anything. So 
the signing is quietly subverted. This default case should simply work, 
and not fail quietly.


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


Re: [OE-core] [PATCH] mesa: update to 17.1.6

2017-08-11 Thread Andrea Galbusera
On Thu, Aug 10, 2017 at 11:37 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> Optional installation of khrplatform.h was implemented upstream by a
> slightly
> different approach -> 0001-mapi-Only-install-khrplat
> form.h-with-EGL-or-GLES.patch
> can be removed.


> Signed-off-by: Andreas Müller 
>

LGTM. Being reporting the issue that originated the here removed patch by
Jussi, I build tested this commit on the original setup with
meta-raspberrypi and everything still looks good.

---
>  ...ly-install-khrplatform.h-with-EGL-or-GLES.patch | 52
> --
>  .../mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb}  |  0
>  .../mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb}|  5 +--
>  3 files changed, 2 insertions(+), 55 deletions(-)
>  delete mode 100644 meta/recipes-graphics/mesa/fil
> es/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
>  rename meta/recipes-graphics/mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb}
> (100%)
>  rename meta/recipes-graphics/mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb}
> (81%)
>
> diff --git a/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-kh
> rplatform.h-with-EGL-or-GLES.patch b/meta/recipes-graphics/mesa/f
> iles/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
> deleted file mode 100644
> index be61e2e..000
> --- a/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-kh
> rplatform.h-with-EGL-or-GLES.patch
> +++ /dev/null
> @@ -1,52 +0,0 @@
> -From 922cb47a5b950ee5545a7a3cb4cd9a88a8b15054 Mon Sep 17 00:00:00 2001
> -From: Jussi Kukkonen 
> -Date: Wed, 12 Jul 2017 12:21:29 +0300
> -Subject: [PATCH] mapi: Only install khrplatform.h with EGL or GLES
> -
> -When mesa is built with "--disable-egl --disable-gles1
> ---disable-gles2" the KHR platform headers are not needed.
> -
> -Not installing the header when not needed allows using mesa for GL
> -and another implementation for GLES+EGL (as is done in practice with
> -userland on raspberrypi).
> -
> -Upstream-Status: Pending [waiting for test results before sending]
> -Signed-off-by: Jussi Kukkonen 
> 
> - src/mapi/Makefile.am | 9 -
> - 1 file changed, 8 insertions(+), 1 deletion(-)
> -
> -diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
> -index 9ff70a14fd..94c77fb82c 100644
>  a/src/mapi/Makefile.am
> -+++ b/src/mapi/Makefile.am
> -@@ -188,6 +188,8 @@ es1api_libGLESv1_CM_la_LDFLAGS = \
> -   $(LD_NO_UNDEFINED)
> -
> - es1api_libGLESv1_CM_la_LIBADD += shared-glapi/libglapi.la
> -+
> -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
> - endif
> -
> - es1api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml
> $(glapi_gen_mapi_deps)
> -@@ -233,6 +235,12 @@ es2api_libGLESv2_la_LDFLAGS = \
> -   $(LD_NO_UNDEFINED)
> -
> - es2api_libGLESv2_la_LIBADD += shared-glapi/libglapi.la
> -+
> -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
> -+endif
> -+
> -+if HAVE_EGL
> -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
> - endif
> -
> - es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml
> $(glapi_gen_mapi_deps)
> -@@ -243,4 +251,3 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml
> $(glapi_gen_mapi_deps)
> - include $(top_srcdir)/install-lib-links.mk
> -
> - khrdir = $(includedir)/KHR
> --khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
> ---
> -2.13.2
> -
> diff --git a/meta/recipes-graphics/mesa/mesa-gl_17.1.5.bb
> b/meta/recipes-graphics/mesa/mesa-gl_17.1.6.bb
> similarity index 100%
> rename from meta/recipes-graphics/mesa/mesa-gl_17.1.5.bb
> rename to meta/recipes-graphics/mesa/mesa-gl_17.1.6.bb
> diff --git a/meta/recipes-graphics/mesa/mesa_17.1.5.bb
> b/meta/recipes-graphics/mesa/mesa_17.1.6.bb
> similarity index 81%
> rename from meta/recipes-graphics/mesa/mesa_17.1.5.bb
> rename to meta/recipes-graphics/mesa/mesa_17.1.6.bb
> index 36b0377..111c73a 100644
> --- a/meta/recipes-graphics/mesa/mesa_17.1.5.bb
> +++ b/meta/recipes-graphics/mesa/mesa_17.1.6.bb
> @@ -5,14 +5,13 @@ SRC_URI = "https://mesa.freedesktop.org/
> archive/mesa-${PV}.tar.xz \
> file://disable-asm-on-non-gcc.patch \
> file://0001-Use-wayland-scanner-in-the-path.patch \
> file://0002-hardware-gloat.patch \
> -   file://0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
> \
> file://vulkan-mkdir.patch \
> file://llvm-config-version.patch \
> file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \
> file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \
>  "
> -SRC_URI[md5sum] = "6cf936fbcaadd98924298a7009e8265d"
> -SRC_URI[sha256sum] = "378516b171712687aace4c7ea8b37
> c85895231d7a6d61e1e27362cf6034fded9"
> +SRC_URI[md5sum] = "54758bf842f9ea53c8b57cce4311b87e"
> +SRC_URI[sha256sum] = "0686deadde1f126b20aa67e47e8c5
> 0502043eee4ecdf60d5009ffda3cebfee50"
>
>  #because we cannot rely on the fact that all apps will use pkgconfig,
>  #make eglplatform.h independent of 

Re: [OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Alexander Kanavin

On 08/11/2017 03:54 PM, Markus Lehtonen wrote:


 Wait a moment. If feed signing is enabled, then dnf's "repo_gpgcheck",
 and "gpgkey" settings should be configured and working by default. You
 shouldn't fix them after the fact in the test. Please add the necessary
 code to insert_feeds_uris() in package_manager.py.
 
Do you think it's a safe assumption that all repos configured via PACKAGE_FEED_URIS are signed and with the same key?


No; you should insert those lines only if PACKAGE_FEED_SIGN is set to 
"1". Do you mean something else?


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


Re: [OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Markus Lehtonen
On 11/08/2017, 14.11, "Alexander Kanavin"  
wrote:

On 08/11/2017 01:51 PM, Markus Lehtonen wrote:
> --- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> +++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> @@ -31,12 +31,24 @@ class DnfSelftest(DnfTest):
>   temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
>   self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
temp_file)
>   fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
> +fixed_config += 'repo_gpgcheck=1\n'
>   with open(temp_file, "w") as f:
>   f.write(fixed_config)
>   self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
>   
> +# First try should fail as the gpg pubkey is not available for 
dnf
>   import re
>   output_makecache = self.dnf('makecache')
> +self.assertTrue(re.match(r".*Failed to synchronize cache", 
output_makecache, re.DOTALL) is not None, msg = "dnf makecache should have 
failed: %s" %(output_makecache))
> +
> +# Add public key to dnf config -> now we should succeed
> +fixed_config += 
'gpgkey=file:///etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s\n' % 
self.tc.td['DISTRO_VERSION']
> +with open(temp_file, "w") as f:
> +f.write(fixed_config)
> +self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
> +
> +output_makecache = self.dnf('-y makecache')
> +self.assertTrue(re.match(r".*Failed to synchronize cache", 
output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to 
synchronize repo: %s" %(output_makecache))
>   self.assertTrue(re.match(r".*Metadata cache created", 
output_makecache, re.DOTALL) is not None, msg = "dnf makecache failed: %s" 
%(output_makecache))
>   
>   output_repoinfo = self.dnf('repoinfo')

Wait a moment. If feed signing is enabled, then dnf's "repo_gpgcheck", 
and "gpgkey" settings should be configured and working by default. You 
shouldn't fix them after the fact in the test. Please add the necessary 
code to insert_feeds_uris() in package_manager.py.

Do you think it's a safe assumption that all repos configured via 
PACKAGE_FEED_URIS are signed and with the same key?

Thanks,
   Markus
 


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


[OE-core] [PATCH 2/2] libpfm4: remove the recipe

2017-08-11 Thread Alexander Kanavin
It was required only by oprofile.

Signed-off-by: Alexander Kanavin 
---
 ...Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch | 31 --
 .../files/fix-misleading-indentation-error.patch   | 38 --
 meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb| 33 ---
 3 files changed, 102 deletions(-)
 delete mode 100644 
meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
 delete mode 100644 
meta/recipes-kernel/libpfm/files/fix-misleading-indentation-error.patch
 delete mode 100644 meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb

diff --git 
a/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
 
b/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
deleted file mode 100644
index d59a7f7d88c..000
--- 
a/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 272a8a069a8f5f06a1e5dfa0ef12f5f92984728b Mon Sep 17 00:00:00 2001
-From: Noor 
-Date: Wed, 12 Aug 2015 20:54:00 +0500
-Subject: [PATCH] Makefile: Add LDFLAGS variable to SLDFLAGS.
-
-* Add LDFLAGS variable to SLDFLAGS so that extra linker
-  flags can be sent via this variable.
-
-Upstream-Status: Submitted [perfmon2-libpfm4-comm...@lists.sourceforge.net]
-
-Signed-off-by: Noor Ahsan 

- lib/Makefile |2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/Makefile b/lib/Makefile
-index 1cc8765..4bd92ef 100644
 a/lib/Makefile
-+++ b/lib/Makefile
-@@ -187,7 +187,7 @@ CFLAGS += -DCONFIG_PFMLIB_CELL
- endif
- 
- ifeq ($(SYS),Linux)
--SLDFLAGS=-shared -Wl,-soname -Wl,$(VLIBPFM)
-+SLDFLAGS=$(LDFLAGS) -shared -Wl,-soname -Wl,$(VLIBPFM)
- SLIBPFM=libpfm.so.$(VERSION).$(REVISION).$(AGE)
- VLIBPFM=libpfm.so.$(VERSION)
- SOLIBEXT=so
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-kernel/libpfm/files/fix-misleading-indentation-error.patch 
b/meta/recipes-kernel/libpfm/files/fix-misleading-indentation-error.patch
deleted file mode 100644
index 25d47ef1255..000
--- a/meta/recipes-kernel/libpfm/files/fix-misleading-indentation-error.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Upstream-Status: Pending
-
-Fix compile error:
-
-| syst_count.c:346:3: error: this 'for' clause does not guard... 
[-Werror=misleading-indentation] 
-|for(c=cmin ; c < cmax; c++) 
-|   ^~~ 
-
-Signed-off-by: Kai Kang 

-diff --git a/perf_examples/syst_count.c b/perf_examples/syst_count.c
-index 0d53078..2dfb9b9 100644
 a/perf_examples/syst_count.c
-+++ b/perf_examples/syst_count.c
-@@ -343,8 +343,9 @@ measure(void)
- 
-   for (delay = 1 ; delay <= options.delay; delay++) {
- 
--  for(c=cmin ; c < cmax; c++)
--  start_cpu(c);
-+  for(c=cmin ; c < cmax; c++) {
-+  start_cpu(c);
-+  }
- 
-   if (0) {
-   tv.tv_sec = 0;
-@@ -353,8 +354,9 @@ measure(void)
-   } else
-   sleep(1);
- 
--  for(c=cmin ; c < cmax; c++)
--  stop_cpu(c);
-+  for(c=cmin ; c < cmax; c++) {
-+  stop_cpu(c);
-+  }
- 
-   for(c = cmin; c < cmax; c++) {
-   printf("# %'ds -\n", delay);
diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb 
b/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb
deleted file mode 100644
index 4136eac81f7..000
--- a/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-SUMMARY = "Monitoring tools exploiting the performance monitoring events"
-DESCRIPTION = "This package provides a library, called libpfm4 which is used 
to develop \
-monitoring tools exploiting the performance monitoring events such as those \
-provided by the Performance Monitoring Unit (PMU) of modern processors."
-HOMEPAGE = "http://perfmon2.sourceforge.net/;
-BUGTRACKER = 
"http://sourceforge.net/tracker/?group_id=144822=759953=navbar;
-
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788"
-
-SECTION = "devel"
-
-COMPATIBLE_HOST = "powerpc64"
-
-SRC_URI = 
"http://downloads.sourceforge.net/project/perfmon2/${BPN}/libpfm-${PV}.tar.gz \
-   file://0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch \
-   file://fix-misleading-indentation-error.patch \
-  "
-
-SRC_URI[md5sum] = "5077b9022440e4951d96f2d0e73bd487"
-SRC_URI[sha256sum] = 
"5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f"
-
-UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/;
-
-EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" 
LDCONFIG=\"true\""
-EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""

[OE-core] [PATCH 1/2] oprofile: remove the recipe

2017-08-11 Thread Alexander Kanavin
Perf is the preferred solution, and oprofile is difficult to
maintain against musl.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/distro_alias.inc  |   1 -
 meta/conf/layer.conf   |   1 -
 meta/recipes-kernel/oprofile/oprofile.inc  |  65 ---
 ...Add-rmb-definition-for-NIOS2-architecture.patch |  30 --
 .../0001-Fix-FTBFS-problem-with-GCC-6.patch|  51 --
 meta/recipes-kernel/oprofile/oprofile/acinclude.m4 | 581 -
 .../oprofile/oprofile/automake-foreign.patch   |  12 -
 meta/recipes-kernel/oprofile/oprofile/musl.patch   |  46 --
 .../oprofile/oprofile-cross-compile-tests.patch|  98 
 .../oprofile/oprofile/root-home-dir.patch  |  44 --
 meta/recipes-kernel/oprofile/oprofile/run-ptest|  19 -
 meta/recipes-kernel/oprofile/oprofile_1.1.0.bb |  10 -
 12 files changed, 958 deletions(-)
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile.inc
 delete mode 100644 
meta/recipes-kernel/oprofile/oprofile/0001-Add-rmb-definition-for-NIOS2-architecture.patch
 delete mode 100644 
meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile/acinclude.m4
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile/musl.patch
 delete mode 100644 
meta/recipes-kernel/oprofile/oprofile/oprofile-cross-compile-tests.patch
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile/root-home-dir.patch
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile/run-ptest
 delete mode 100644 meta/recipes-kernel/oprofile/oprofile_1.1.0.bb

diff --git a/meta/conf/distro/include/distro_alias.inc 
b/meta/conf/distro/include/distro_alias.inc
index f7c8b4a6bda..3b0411c3547 100644
--- a/meta/conf/distro/include/distro_alias.inc
+++ b/meta/conf/distro/include/distro_alias.inc
@@ -278,7 +278,6 @@ DISTRO_PN_ALIAS_pn-opkg-collateral = "OE-Core"
 DISTRO_PN_ALIAS_pn-opkg-keyrings = "OSPDT 
upstream=git://git.yoctoproject.org/opkg-utils"
 DISTRO_PN_ALIAS_pn-opkg-nogpg = "OSPDT 
upstream=git://git.yoctoproject.org/opkg-utils"
 DISTRO_PN_ALIAS_pn-opkg-utils = "OSPDT 
upstream=git://git.yoctoproject.org/opkg-utils"
-DISTRO_PN_ALIAS_pn-oprofile = "Debian=oprofile Fedora=oprofile"
 DISTRO_PN_ALIAS_pn-os-release = "OE-Core"
 DISTRO_PN_ALIAS_pn-packagegroup-base = "OE-Core"
 DISTRO_PN_ALIAS_pn-packagegroup-core = "OE-Core"
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 38bec331975..8d0c4ff96bd 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -58,7 +58,6 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   font-alias->font-util \
   weston-init->weston \
   weston-init->kbd \
-  oprofile->virtual/kernel \
 "
 
 # We need to keep bitbake tools in PATH
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc 
b/meta/recipes-kernel/oprofile/oprofile.inc
deleted file mode 100644
index 4b01654fa3e..000
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ /dev/null
@@ -1,65 +0,0 @@
-SUMMARY = "System-Wide Profiler"
-DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
-of profiling all running code at low overhead."
-HOMEPAGE = "http://oprofile.sourceforge.net/news/;
-BUGTRACKER = "http://sourceforge.net/tracker/?group_id=16191=116191;
-
-LICENSE = "LGPLv2.1+ & GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-
file://libopagent/opagent.h;beginline=5;endline=26;md5=4f16f72c7a493d8a4704aa18d03d15c6
 \
-   "
-SECTION = "devel"
-
-DEPENDS = "popt binutils"
-RDEPENDS_${PN} = "binutils-symlinks"
-RRECOMMENDS_${PN} = "kernel-vmlinux"
-
-FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
-FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
-FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
-   file://acinclude.m4 \
-   file://automake-foreign.patch \
-   file://oprofile-cross-compile-tests.patch \
-   file://run-ptest \
-   file://root-home-dir.patch \
-   file://0001-Add-rmb-definition-for-NIOS2-architecture.patch \
-   file://0001-Fix-FTBFS-problem-with-GCC-6.patch \
-"
-UPSTREAM_CHECK_REGEX = "oprofile-(?P\d+(\.\d+)+)/"
-UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/oprofile/files/oprofile/;
-
-SRC_URI_append_libc-musl = " file://musl.patch"
-
-inherit autotools pkgconfig ptest
-
-EXTRA_OECONF = "--with-kernel=${STAGING_DIR_HOST}${prefix} --without-x 
ac_cv_prog_XSLTPROC="
-do_configure () {
-   cp ${WORKDIR}/acinclude.m4 ${S}/
-   autotools_do_configure
-}
-
-EXTRA_OEMAKE = "SRCDIR=${PTEST_PATH}/libutil++/tests"
-do_compile_ptest() {
-   oe_runmake check
-}
-
-do_install_ptest() {
-   subdirs="libdb/tests libutil++/tests libregex/tests 

Re: [OE-core] [PATCH 6/7] oprofile: update to 1.2.0

2017-08-11 Thread Alexander Kanavin

On 08/09/2017 11:47 PM, Burton, Ross wrote:

Breaks with musl:

http://errors.yoctoproject.org/Errors/Details/150200/


Should we just remove oprofile? From git log I understood that it has 
been deprecated in favour of perf, and this musl failure is non-trivial 
to fix (necessary version of basename() is not provided by musl on 
purpose, and so needs to be manually reimplemented).


I'll send the patches :)

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


Re: [OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Alexander Kanavin

On 08/11/2017 01:51 PM, Markus Lehtonen wrote:

--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -31,12 +31,24 @@ class DnfSelftest(DnfTest):
  temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
  self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
temp_file)
  fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
+fixed_config += 'repo_gpgcheck=1\n'
  with open(temp_file, "w") as f:
  f.write(fixed_config)
  self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
  
+# First try should fail as the gpg pubkey is not available for dnf

  import re
  output_makecache = self.dnf('makecache')
+self.assertTrue(re.match(r".*Failed to synchronize cache", output_makecache, 
re.DOTALL) is not None, msg = "dnf makecache should have failed: %s" %(output_makecache))
+
+# Add public key to dnf config -> now we should succeed
+fixed_config += 
'gpgkey=file:///etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s\n' % 
self.tc.td['DISTRO_VERSION']
+with open(temp_file, "w") as f:
+f.write(fixed_config)
+self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
+
+output_makecache = self.dnf('-y makecache')
+self.assertTrue(re.match(r".*Failed to synchronize cache", output_makecache, 
re.DOTALL) is None, msg = "dnf makecache failed to synchronize repo: %s" 
%(output_makecache))
  self.assertTrue(re.match(r".*Metadata cache created", output_makecache, 
re.DOTALL) is not None, msg = "dnf makecache failed: %s" %(output_makecache))
  
  output_repoinfo = self.dnf('repoinfo')


Wait a moment. If feed signing is enabled, then dnf's "repo_gpgcheck", 
and "gpgkey" settings should be configured and working by default. You 
shouldn't fix them after the fact in the test. Please add the necessary 
code to insert_feeds_uris() in package_manager.py.


Then you can simply test that:
a) repository access ('dnf makecache' and 'dnf repoinfo') works without 
error.
b) the signatures are indeed present in the feed configuration 
('repoinfo' would probably print that)


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


[OE-core] [PATCH 4/5] oeqa: fix temp file handling in dnf package feed test

2017-08-11 Thread Markus Lehtonen
Prevent stale temp files and a possible (if unlikely) race in tempfile
usage.

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 123e7259f1..68e56f2c5e 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -6,6 +6,8 @@ class DnfSelftest(DnfTest):
 
 @classmethod
 def setUpClass(cls):
+import tempfile
+cls.temp_dir = tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-")
 cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 
'oe-rootfs-repo'),
   cls.tc.target.server_ip)
 cls.repo_server.start()
@@ -13,6 +15,7 @@ class DnfSelftest(DnfTest):
 @classmethod
 def tearDownClass(cls):
 cls.repo_server.stop()
+cls.temp_dir.cleanup()
 
 @OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
 def test_verify_package_feeds(self):
@@ -25,11 +28,11 @@ class DnfSelftest(DnfTest):
 """
 # When we created an image, we had to supply fake ip and port
 # for the feeds. Now we can patch the real ones into the config file.
-import tempfile
-temp_file = 
tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-").name
+temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
 self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
temp_file)
 fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
-open(temp_file, "w").write(fixed_config)
+with open(temp_file, "w") as f:
+f.write(fixed_config)
 self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
 
 import re
-- 
2.12.3

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


[OE-core] [PATCH 5/5] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Markus Lehtonen
[YOCTO #12099]

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/files/signing/key.passphrase  |  1 +
 meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 12 
 meta/lib/oeqa/selftest/cases/runtime_test.py| 13 -
 3 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 meta-selftest/files/signing/key.passphrase

diff --git a/meta-selftest/files/signing/key.passphrase 
b/meta-selftest/files/signing/key.passphrase
new file mode 100644
index 00..5271a52680
--- /dev/null
+++ b/meta-selftest/files/signing/key.passphrase
@@ -0,0 +1 @@
+test123
diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 68e56f2c5e..3a299c75f6 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -31,12 +31,24 @@ class DnfSelftest(DnfTest):
 temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
 self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", 
temp_file)
 fixed_config = open(temp_file, "r").read().replace("bogus_ip", 
self.tc.target.server_ip).replace("bogus_port", str(self.repo_server.port))
+fixed_config += 'repo_gpgcheck=1\n'
 with open(temp_file, "w") as f:
 f.write(fixed_config)
 self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
 
+# First try should fail as the gpg pubkey is not available for dnf
 import re
 output_makecache = self.dnf('makecache')
+self.assertTrue(re.match(r".*Failed to synchronize cache", 
output_makecache, re.DOTALL) is not None, msg = "dnf makecache should have 
failed: %s" %(output_makecache))
+
+# Add public key to dnf config -> now we should succeed
+fixed_config += 
'gpgkey=file:///etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s\n' % 
self.tc.td['DISTRO_VERSION']
+with open(temp_file, "w") as f:
+f.write(fixed_config)
+self.tc.target.copyTo(temp_file, 
"/etc/yum.repos.d/oe-remote-repo.repo")
+
+output_makecache = self.dnf('-y makecache')
+self.assertTrue(re.match(r".*Failed to synchronize cache", 
output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to 
synchronize repo: %s" %(output_makecache))
 self.assertTrue(re.match(r".*Metadata cache created", 
output_makecache, re.DOTALL) is not None, msg = "dnf makecache failed: %s" 
%(output_makecache))
 
 output_repoinfo = self.dnf('repoinfo')
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 07d05b5972..e603c71f90 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -3,6 +3,7 @@ from oeqa.utils.commands import runCmd, bitbake, get_bb_var, 
get_bb_vars, runqem
 from oeqa.core.decorator.oeid import OETestID
 import os
 import re
+import tempfile
 
 class TestExport(OESelftestTestCase):
 
@@ -143,7 +144,17 @@ class TestImage(OESelftestTestCase):
 # in at the start of the on-image test
 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
 features += 'EXTRA_IMAGE_FEATURES += "package-management"\n'
-features += 'PACKAGE_CLASSES = "package_rpm"'
+features += 'PACKAGE_CLASSES = "package_rpm"\n'
+
+# Enable package feed signing
+self.gpg_home = tempfile.TemporaryDirectory(prefix="oeqa-feed-sign-")
+signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing')
+runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home.name, 
os.path.join(signing_key_dir, 'key.secret')))
+features += 'INHERIT += "sign_package_feed"\n'
+features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n'
+features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % 
os.path.join(signing_key_dir, 'key.passphrase')
+features += 'GPG_PATH = "%s"\n' % self.gpg_home.name
+features += 'IMAGE_INSTALL_append  = "signing-keys-packagefeed"\n'
 self.write_config(features)
 
 # Build core-image-sato and testimage
-- 
2.12.3

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


[OE-core] [PATCH 2/5] dnf: rrecommend gnupg

2017-08-11 Thread Markus Lehtonen
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do
GPG signature check on repository metadata. Without gnupg dnf fails with
"error: Invalid crypto engine."

[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/recipes-devtools/dnf/dnf_2.5.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/dnf/dnf_2.5.1.bb 
b/meta/recipes-devtools/dnf/dnf_2.5.1.bb
index cdc2a8549f..88172532bf 100644
--- a/meta/recipes-devtools/dnf/dnf_2.5.1.bb
+++ b/meta/recipes-devtools/dnf/dnf_2.5.1.bb
@@ -27,6 +27,8 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 
-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
 
 BBCLASSEXTEND = "native nativesdk"
 RDEPENDS_${PN}_class-target += "python3-core python3-codecs python3-netclient 
python3-email python3-threading python3-distutils librepo python3-shell 
python3-subprocess libcomps libdnf python3-sqlite3 python3-compression 
python3-rpm python3-iniparse python3-json python3-importlib python3-curses 
python3-argparse python3-misc python3-gpg"
+# Recommend gnupg so that GPG signature check on repository metadata is 
possible
+RRECOMMENDS_${PN}_class-target += "gnupg"
 
 # Create a symlink called 'dnf' as 'make install' does not do it, but
 # .spec file in dnf source tree does (and then Fedora and dnf documentation
-- 
2.12.3

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


[OE-core] [PATCH 3/5] oeqa: fix dnf tests

2017-08-11 Thread Markus Lehtonen
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.

Signed-off-by: Markus Lehtonen 
---
 meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} | 0
 meta/lib/oeqa/selftest/cases/runtime_test.py| 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} 
(100%)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py 
b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
similarity index 100%
rename from meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py
rename to meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 2a70ae15b8..07d05b5972 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -138,7 +138,7 @@ class TestImage(OESelftestTestCase):
 self.skipTest('core-image-full-cmdline not buildable for 
poky-tiny')
 
 features = 'INHERIT += "testimage"\n'
-features += 'TEST_SUITES = "ping ssh dnf-runtime"\n'
+features += 'TEST_SUITES = "ping ssh dnf_runtime 
dnf.DnfBasicTest.test_dnf_help"\n'
 # We don't yet know what the server ip and port will be - they will be 
patched
 # in at the start of the on-image test
 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
-- 
2.12.3

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


[OE-core] [PATCH 1/5] lib/oe/package_manager: re-implement rpm feed signing

2017-08-11 Thread Markus Lehtonen
[YOCTO #11209]

Signed-off-by: Markus Lehtonen 
---
 meta/lib/oe/package_manager.py | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 518cf8dbe3..942f2dd903 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -104,13 +104,25 @@ class Indexer(object, metaclass=ABCMeta):
 class RpmIndexer(Indexer):
 def write_index(self):
 if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
-raise NotImplementedError('Package feed signing not yet implementd 
for rpm')
+signer = get_signer(self.d, 
self.d.getVar('PACKAGE_FEED_GPG_BACKEND'))
+else:
+signer = None
 
 createrepo_c = bb.utils.which(os.environ['PATH'], "createrepo_c")
 result = create_index("%s --update -q %s" % (createrepo_c, 
self.deploy_dir))
 if result:
 bb.fatal(result)
 
+# Sign repomd
+if signer:
+sig_type = self.d.getVar('PACKAGE_FEED_GPG_SIGNATURE_TYPE')
+is_ascii_sig = (sig_type.upper() != "BIN")
+signer.detach_sign(os.path.join(self.deploy_dir, 'repodata', 
'repomd.xml'),
+   self.d.getVar('PACKAGE_FEED_GPG_NAME'),
+   
self.d.getVar('PACKAGE_FEED_GPG_PASSPHRASE_FILE'),
+   armor=is_ascii_sig)
+
+
 class OpkgIndexer(Indexer):
 def write_index(self):
 arch_vars = ["ALL_MULTILIB_PACKAGE_ARCHS",
-- 
2.12.3

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


[OE-core] [PATCH 0/5] Support signed RPM package feeds

2017-08-11 Thread Markus Lehtonen
This patchset re-enabled support for signed RPM package feeds, a feature that
was disabled in dnf transition. It also extends the dnf selftest to cover
signed package feeds (in addition to fixing the testcase which was not being
run at all because of invalid naming).

The second patch pulls in new dependencies. On core-image-minimal (qemux86) the
addition of gnupg also pulls 6 other packages, increasing the rootfs disk
footprint ca. 9MB.

The following changes since commit df7f5221a56118da7654476f072c37ae1e75dc50:

  libinput: Upgrade 1.7.3 -> 1.8.1 (2017-08-09 09:25:47 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11209
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209

Markus Lehtonen (5):
  lib/oe/package_manager: re-implement rpm feed signing
  dnf: rrecommend gnupg
  oeqa: fix dnf tests
  oeqa: fix temp file handling in dnf package feed test
  dnf: expand dnf selftest to test signed package feeds

 meta-selftest/files/signing/key.passphrase  |  1 +
 .../cases/{dnf-runtime.py => dnf_runtime.py}| 21 ++---
 meta/lib/oe/package_manager.py  | 14 +-
 meta/lib/oeqa/selftest/cases/runtime_test.py| 15 +--
 meta/recipes-devtools/dnf/dnf_2.5.1.bb  |  2 ++
 5 files changed, 47 insertions(+), 6 deletions(-)
 create mode 100644 meta-selftest/files/signing/key.passphrase
 rename meta-selftest/lib/oeqa/runtime/cases/{dnf-runtime.py => dnf_runtime.py} 
(64%)

-- 
2.12.3

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


[OE-core] [PATCH 2/5] assimp: fix upstream version check

2017-08-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/vulkan/assimp_4.0.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/vulkan/assimp_4.0.0.bb 
b/meta/recipes-graphics/vulkan/assimp_4.0.0.bb
index 0268ebb3727..7a96a4f36c1 100644
--- a/meta/recipes-graphics/vulkan/assimp_4.0.0.bb
+++ b/meta/recipes-graphics/vulkan/assimp_4.0.0.bb
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2119edef0916b0bd511cb3c731076271"
 DEPENDS = "zlib"
 
 SRC_URI = "git://github.com/assimp/assimp.git"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P(\d+(\.\d+)+))"
 
 SRCREV = "52c8d06f5d6498afd66df983da348a6b112f1314"
 
-- 
2.13.2

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


[OE-core] [PATCH 1/5] distrodata.bbclass: add UPSTREAM_VERSION_UNKNOWN and UPSTREAM_CHECK_UNRELIABLE

2017-08-11 Thread Alexander Kanavin
These are optional per-recipe variables with the following meaning:

UPSTREAM_VERSION_UNKNOWN - set if the upstream version check fails reliably,
e.g. absent git tags, or weird version format used on our or on upstream side.
If this variable is not set and version check fails, or if it is set and
the version check succeeds, then the checkpkg selftest for the recipe will fail.

UPSTREAM_CHECK_UNRELIABLE - set if the upstream check cannot be reliably 
performed
due to transient network failures, or server behaving weirdly. This one should 
be used
sparingly, as it completely excludes a recipe from upstream checking, and thus
we don't get automatically notified about new upstream releases.

Also the upstream status string in the checkpkg csv output is clarified with 
the following
possible values:
MATCH - recipe is providing the latest upstream version
UPDATE - there is a new version released by upstream, recipe should be updated
CHECK_IS_UNRELIABLE - an upstream check was skipped as requested by recipe
via UPSTREAM_CHECK_UNRELIABLE
UNKNOWN - upstream version check was performed, but the upstream verison could
not be determined. The recipe acknowledges this via UPSTREAM_VERSION_UNKNOWN 
setting.
UNKNWON_BROKEN - same as previous, but the recipe does not include the 
acknowledgement
and should be fixed.
KNOWN_BROKEN - upstream check worked, but recipe claims it shouldn't; to fix 
this
remove UPSTREAM_VERSION_UNKNOWN from recipe.

[YOCTO #11896]

Signed-off-by: Alexander Kanavin 
---
 meta/classes/distrodata.bbclass | 73 ++---
 1 file changed, 39 insertions(+), 34 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 5e344416105..c85f7b3474f 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -261,12 +261,44 @@ python do_checkpkg() {
 from bb.utils import vercmp_string
 from bb.fetch2 import FetchError, NoMethodError, decodeurl
 
-"""first check whether a uri is provided"""
-src_uri = (d.getVar('SRC_URI') or '').split()
-if src_uri:
-uri_type, _, _, _, _, _ = decodeurl(src_uri[0])
-else:
-uri_type = "none"
+def get_upstream_version_and_status():
+
+# set if the upstream check fails reliably, e.g. absent git tags, 
or weird version format used on our or on upstream side.
+upstream_version_unknown = 
localdata.getVar('UPSTREAM_VERSION_UNKNOWN')
+# set if the upstream check cannot be reliably performed due to 
transient network failures, or server behaving weirdly. 
+# This one should be used sparingly, as it completely excludes a 
recipe from upstream checking.
+upstream_check_unreliable = 
localdata.getVar('UPSTREAM_CHECK_UNRELIABLE')
+
+if upstream_check_unreliable == "1":
+return "N/A", "CHECK_IS_UNRELIABLE"
+
+try:
+uv = oe.recipeutils.get_recipe_upstream_version(localdata)
+pupver = uv['version'] if uv['version'] else "N/A"
+except Exception as e:
+pupver = "N/A"
+
+if pupver == "N/A":
+pstatus = "UNKNOWN" if upstream_version_unknown else 
"UNKNOWN_BROKEN"
+else:
+src_uri = (localdata.getVar('SRC_URI') or '').split()
+if src_uri:
+uri_type, _, _, _, _, _ = decodeurl(src_uri[0])
+else:
+uri_type = "none"
+pv, _, _ = 
oe.recipeutils.get_recipe_pv_without_srcpv(pversion, uri_type)
+upv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pupver, 
uri_type)
+
+cmp = vercmp_string(pv, upv)
+if cmp == -1:
+pstatus = "UPDATE" if not upstream_version_unknown else 
"KNOWN_BROKEN"
+elif cmp == 0:
+pstatus = "MATCH" if not upstream_version_unknown else 
"KNOWN_BROKEN"
+else:
+pstatus = "UNKNOWN" if upstream_version_unknown else 
"UNKNOWN_BROKEN"
+
+return pupver, pstatus
+
 
 """initialize log files."""
 logpath = d.getVar('LOG_DIR')
@@ -313,34 +345,7 @@ python do_checkpkg() {
 psrcuri = localdata.getVar('SRC_URI')
 maintainer = localdata.getVar('RECIPE_MAINTAINER')
 
-""" Get upstream version version """
-pupver = ""
-pstatus = ""
-
-try:
-uv = oe.recipeutils.get_recipe_upstream_version(localdata)
-
-pupver = uv['version']
-except Exception as e:
-if e is FetchError:
-pstatus = "ErrAccess"
-elif e is NoMethodError:
-pstatus = "ErrUnsupportedProto"
-else:
-pstatus = "ErrUnknown"
-
-"""Set upstream version status"""
-if not pupver:
-pupver = 

[OE-core] [PATCH 4/5] pax-utils: check upstream version from debian servers

2017-08-11 Thread Alexander Kanavin
Gentoo server can be very slow to list the tarball directory.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb 
b/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb
index 476fa6f0743..c6c49e9b2d0 100644
--- a/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb
+++ b/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz \
 
 SRC_URI[md5sum] = "a580468318f0ff42edf4a8cd314cc942"
 SRC_URI[sha256sum] = 
"7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9"
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/p/pax-utils/"
+UPSTREAM_CHECK_REGEX = "pax-utils_(?P\d+(\.\d+)+)\.orig\.tar"
 
 RDEPENDS_${PN} += "bash"
 
-- 
2.13.2

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


[OE-core] [PATCH 3/5] v86d: take tarball from debian

2017-08-11 Thread Alexander Kanavin
Gentoo is removing the package due to dead upstream;
Debian might carry it for a while longer.

Signed-off-by: Alexander Kanavin 
---
 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 579a0a27eb9..e5f6fff7379 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.13.2

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


[OE-core] [PATCH 5/5] selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN setting

2017-08-11 Thread Alexander Kanavin
... instead of a global exception list which was problematic.

[YOCTO #11896]

Signed-off-by: Alexander Kanavin 
---
 meta-selftest/files/distrodata/checkpkg_exceptions | 28 --
 meta/lib/oeqa/selftest/cases/distrodata.py | 15 +---
 meta/recipes-core/dbus-wait/dbus-wait_git.bb   |  1 +
 meta/recipes-core/ovmf/ovmf_git.bb |  1 +
 meta/recipes-core/psplash/psplash_git.bb   |  1 +
 meta/recipes-core/update-rc.d/update-rc.d_0.7.bb   |  1 +
 .../build-compare/build-compare_git.bb |  1 +
 meta/recipes-devtools/distcc/distcc_3.2.bb |  1 +
 meta/recipes-devtools/gnu-config/gnu-config_git.bb |  2 +-
 meta/recipes-devtools/llvm/llvm_git.bb |  1 +
 meta/recipes-devtools/mmc/mmc-utils_git.bb |  1 +
 meta/recipes-devtools/rpm/rpm_git.bb   |  1 +
 .../squashfs-tools/squashfs-tools_git.bb   |  1 +
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb   |  1 +
 meta/recipes-extended/lsb/lsb_4.1.bb   |  1 +
 meta/recipes-extended/unzip/unzip_6.0.bb   |  1 +
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb  |  1 +
 meta/recipes-extended/zip/zip_3.0.bb   |  1 +
 meta/recipes-graphics/fstests/fstests_git.bb   |  1 +
 meta/recipes-graphics/kmscube/kmscube_git.bb   |  1 +
 meta/recipes-graphics/piglit/piglit_git.bb |  1 +
 meta/recipes-graphics/vulkan/vulkan-demos_git.bb   |  1 +
 .../xcursor-transparent-theme_git.bb   |  1 +
 .../recipes-graphics/xorg-lib/libxcalibrate_git.bb |  1 +
 .../xorg-proto/calibrateproto_git.bb   |  2 ++
 .../xvideo-tests/xvideo-tests_git.bb   |  1 +
 .../linux-firmware/linux-firmware_git.bb   |  1 +
 .../recipes-multimedia/gstreamer/gst-player_git.bb |  1 +
 meta/recipes-multimedia/x264/x264_git.bb   |  1 +
 meta/recipes-sato/puzzles/puzzles_git.bb   |  1 +
 30 files changed, 35 insertions(+), 38 deletions(-)
 delete mode 100644 meta-selftest/files/distrodata/checkpkg_exceptions

diff --git a/meta-selftest/files/distrodata/checkpkg_exceptions 
b/meta-selftest/files/distrodata/checkpkg_exceptions
deleted file mode 100644
index d87a80de7a7..000
--- a/meta-selftest/files/distrodata/checkpkg_exceptions
+++ /dev/null
@@ -1,28 +0,0 @@
-build-compare
-calibrateproto
-dbus-wait
-distcc
-fstests
-gnu-config
-gst-player
-kmscube
-libxcalibrate
-linux-firmware
-llvm
-lsb
-mmc-utils
-ovmf
-piglit
-psplash
-puzzles
-rpm
-squashfs-tools
-tcf-agent
-unzip
-update-rc.d
-vulkan-demos
-x264
-xcursor-transparent-theme
-xinetd
-xvideo-tests
-zip
diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py 
b/meta/lib/oeqa/selftest/cases/distrodata.py
index d5d286d5cc3..ecb15d9aea8 100644
--- a/meta/lib/oeqa/selftest/cases/distrodata.py
+++ b/meta/lib/oeqa/selftest/cases/distrodata.py
@@ -8,7 +8,6 @@ class Distrodata(OESelftestTestCase):
 @classmethod
 def setUpClass(cls):
 super(Distrodata, cls).setUpClass()
-cls.exceptions_path = os.path.join(cls.testlayer_path, 'files', 
'distrodata', "checkpkg_exceptions")
 
 def test_checkpkg(self):
 """
@@ -23,21 +22,19 @@ class Distrodata(OESelftestTestCase):
 self.write_config(feature)
 bitbake('-c checkpkg world')
 checkpkg_result = open(os.path.join(get_bb_var("LOG_DIR"), 
"checkpkg.csv")).readlines()[1:]
-exceptions = [exc.strip() for exc in 
open(self.exceptions_path).readlines()]
-failed_upstream_checks = [pkg_data[0] for pkg_data in 
[pkg_line.split('\t') for pkg_line in checkpkg_result] if pkg_data[11] == '']
-regressed_failures = set(failed_upstream_checks) - set(exceptions)
-regressed_successes = set(exceptions) - set(failed_upstream_checks)
+regressed_failures = [pkg_data[0] for pkg_data in 
[pkg_line.split('\t') for pkg_line in checkpkg_result] if pkg_data[11] == 
'UNKNOWN_BROKEN']
+regressed_successes = [pkg_data[0] for pkg_data in 
[pkg_line.split('\t') for pkg_line in checkpkg_result] if pkg_data[11] == 
'KNOWN_BROKEN']
 msg = ""
 if len(regressed_failures) > 0:
 msg = msg + """
 The following packages failed upstream version checks. Please fix them using 
UPSTREAM_CHECK_URI/UPSTREAM_CHECK_REGEX
 (when using tarballs) or UPSTREAM_CHECK_GITTAGREGEX (when using git). If an 
upstream version check cannot be performed
-(for example, if upstream does not use git tags), you can add the package to 
list of exceptions in
-meta-selftest/files/distrodata/checkpkg_exceptions.
+(for example, if upstream does not use git tags), you can set 
UPSTREAM_VERSION_UNKNOWN to '1' in the recipe to acknowledge
+that the check cannot be performed.
 """ + "\n".join(regressed_failures)
 if len(regressed_successes) > 0:
 msg = msg + """
-The following packages have been checked successfully for upstream versions 
(or they no longer exist in oe-core),
-but are in the exceptions 

Re: [OE-core] Meson support in oe-core

2017-08-11 Thread Alexander Kanavin

On 08/10/2017 05:05 PM, Leonardo Sandoval wrote:


After meson support is in master, we can start converting recipes from
autotools to meson. That requires careful manual work, but the good news
is that it can be done piece-meal; there's no need to switch everything
at once.



Alex, is there a autotools-to-meson guide? I like to participate on this
migration.



If you mean a guide for how to switch yocto recipes from building using 
autotools to building using meson (when upstream provides both options, 
or switched from one to the other), then no. No one has done this before 
:) You can get a rough idea of what is involved by looking here:


http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akanavin/meson=7442c79a8e03ac457bca34bbbf0c5c74c89dba6a

So:

1) inherit meson instead of autotools
2) replace autotools specific build flags with meson-specific ones (in 
PACKAGECONFIG etc.)

3) fix other issues until no errors happen
4) verify that everything that was previously installed and packaged is 
still installed and packaged.


I don't think there can be a generic guide, it's manual work which 
requires the broad recipe maintenance skillset :)


Now, If you meant writing meson support into the upstream source code, 
then that is even more specific to each project. You need to first 
carefully study what is being built, using which toolchain, and what are 
the various options, and then write meson.build files that do the same 
thing. And you also need to convince the upstream to take it, because 
it's generally not something we want to maintain as custom patches. 
Actually it's complicated enough, that I only want to attempt it for 
gettext.


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


[OE-core] [PATCH] mesa: Fix build with vulkan on non-x86

2017-08-11 Thread Jussi Kukkonen
The intel vulkan driver requires libdrm-intel: Only enable it when
building for x86 or x86-64 similar to DRI drivers.

Building on non-x86* with vulkan leads to "--with-vulkan-drivers= ":
this is interpreted correctly by the build system.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-graphics/mesa/mesa.inc | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 45361c7..3bb3cf4 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -51,7 +51,10 @@ PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, 
dri3proto presentproto lib
 
 # Vulkan drivers need dri3 enabled
 # radeon could be enabled as well but requires gallium-llvm with llvm >= 3.9
-PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=intel, --without-vulkan-drivers"
+VULKAN_DRIVERS = ""
+VULKAN_DRIVERS_append_x86 = ",intel"
+VULKAN_DRIVERS_append_x86-64 = ",intel"
+PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=${VULKAN_DRIVERS}, 
--without-vulkan-drivers"
 
 PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 
--disable-gles2"
 
-- 
2.1.4

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


[OE-core] State of bitbake world, Failed tasks 2017-08-09

2017-08-11 Thread Martin Jansa
It got significantly worse again.

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

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures !!colspan='14'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64||all   
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||ldflags   ||compile-host-path 
||  
|-
||2017-08-09||4 ||9 ||7 ||1 ||0 ||0 
||5 ||0 ||0 ||5 ||0 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||  
|}

== Failed tasks 2017-08-09 ==

INFO: jenkins-job.sh-1.8.25 Complete log available at 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170810_215947.log

=== common (2) ===
* 
meta-openembedded/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb:do_configure
* 
meta-openembedded/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb:do_fetch

=== common-x86 (3) ===
* meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb:do_compile
* 
meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb:do_configure
* 
meta-openembedded/meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb:do_configure

=== qemuarm (2) ===
* 
meta-openembedded/meta-oe/recipes-support/mysql/mariadb_5.5.55.bb:do_compile
* openembedded-core/meta/recipes-devtools/llvm/llvm_git.bb:do_compile

=== qemux86 (4) ===
* 
meta-openembedded/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb:do_compile
* 
meta-openembedded/meta-networking/recipes-daemons/squid/squid_3.5.26.bb:do_configure
* 
meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb:do_compile
* meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile

=== qemux86_64 (2) ===
* meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile
* meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile

=== Number of failed tasks (20) ===
{| class=wikitable
|-
|| qemuarm  || 4 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170809_054937.log/
 || http://errors.yoctoproject.org/Errors/Build/43306/
|-
|| qemux86  || 9 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170808_120058.log/
 || http://errors.yoctoproject.org/Errors/Build/43271/
|-
|| qemux86_64   || 7 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170809_132802.log/
 || 
|}

=== PNBLACKLISTs (1) ===

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



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

Complete log: 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170810_022613.log/
* ERROR: 1 issues were found in these recipes: gnome-common

* ERROR: 1 errors found in 
signatures.qemuarm.do_package_write_ipk.sigdata.log

* ERROR: gnome-common different signature for task 
do_package_write_ipk.sigdata between qemux86copy and qemuarm
* ERROR: 1 errors found in 
/home/jenkins/oe/world/shr-core/tmp-glibc/sstate-diff/1502367973/signatures.qemuarm.do_package_write_ipk.sigdata.log
* ERROR: 1 issues were found in these recipes: gnome-common


PNBLACKLISTs:
openembedded-core/:
meta-browser:
meta-openembedded:
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to 
link against sctp_connectx symbol", '', d)}"
meta-qt5:
meta-smartphone:
meta-webos-ports:
PNBLACKLIST[android-system] = "depends on lxc from meta-virtualiazation which 
isn't included in my world builds"
PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[build-appliance-image] = "tries to include whole downloads 
directory in /home/builder/poky :/"


QA issues by type:
count: 0issue: 

[OE-core] [PATCH V3 1/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-11 Thread Dengke Du
1. Drop 4 patches because the upstream already contains them:

0001-dirtyc0w-Include-stdint.h.patch
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
0037-faccessat-and-fchmodat-Fix-build-warnings.patch
0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch

2. Drop the do_compile_prepend function, because the upstream already fix
   the parallel make race, we can check it here:


https://github.com/linux-test-project/ltp/commit/3f385652efe811fe7491474f8513baf44cf0a12d

3. Fix PAGE_SIZE redefinition and O_CREAT undeclear build failures when using 
musl

4. Fix runtime failed case file01

Signed-off-by: Dengke Du 
---
 .../ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch   |  34 --
 ...TH_MAX-undeclared-when-building-with-musl.patch |  31 -
 ...faccessat-and-fchmodat-Fix-build-warnings.patch |  68 ---
 ...E_SIZE-redefinition-and-O_CREAT-undeclear.patch | 113 +
 ...d_key02-update-to-test-fix-for-nonempty-N.patch | 136 -
 meta/recipes-extended/ltp/ltp_20170516.bb  |  18 +--
 6 files changed, 115 insertions(+), 285 deletions(-)
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0037-faccessat-and-fchmodat-Fix-build-warnings.patch
 create mode 100644 
meta/recipes-extended/ltp/ltp/0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch

diff --git a/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch 
b/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
deleted file mode 100644
index 5c73be4..000
--- a/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 1b30d8dac1a37dc0abbb3b545db2824d6489e23f Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Fri, 9 Jun 2017 09:32:13 -0700
-Subject: [PATCH] dirtyc0w: Include stdint.h
-
-uintptr_t is defined in stdint.h
-
-Fixes
-| dirtyc0w_child.c:76:15: error: 'uintptr_t' undeclared (first use in this 
function); did you mean 'intptr_t'?
-|lseek(mfd, (uintptr_t) map, SEEK_SET);
-|^
-
-Signed-off-by: Khem Raj 

-Upstream-Status: Submitted
-
- testcases/kernel/security/dirtyc0w/dirtyc0w_child.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c 
b/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
-index 5328a9bc4..49abdd6ba 100644
 a/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
-+++ b/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
-@@ -23,6 +23,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- 
- #include "tst_safe_pthread.h"
--- 
-2.13.1
-
diff --git 
a/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
 
b/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
deleted file mode 100644
index 020ddfe..000
--- 
a/meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From b906ec2fe4711a727e198cd9259287c042eef8e2 Mon Sep 17 00:00:00 2001
-From: Dengke Du 
-Date: Thu, 9 Feb 2017 16:41:12 +0800
-Subject: [PATCH] fix PATH_MAX undeclared when building with musl
-
-fix PATH_MAX undeclared when building with musl.
-
-Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/176]
-
-Signed-off-by: Dengke Du 

- include/tst_test.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/include/tst_test.h b/include/tst_test.h
-index 335c82684..4dfa1511b 100644
 a/include/tst_test.h
-+++ b/include/tst_test.h
-@@ -23,6 +23,9 @@
- #endif /* __TEST_H__ */
- 
- #include 
-+#ifndef __GLIBC__
-+#include 
-+#endif
- 
- #include "tst_common.h"
- #include "tst_res_flags.h"
--- 
-2.11.0
-
diff --git 
a/meta/recipes-extended/ltp/ltp/0037-faccessat-and-fchmodat-Fix-build-warnings.patch
 
b/meta/recipes-extended/ltp/ltp/0037-faccessat-and-fchmodat-Fix-build-warnings.patch
deleted file mode 100644
index 99497d6..000
--- 
a/meta/recipes-extended/ltp/ltp/0037-faccessat-and-fchmodat-Fix-build-warnings.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 4141bdb441f7576a2e73abeb2a0fb1c7b8bd8647 Mon Sep 17 00:00:00 2001
-From: Naresh Kamboju 
-Date: Mon, 19 Jun 2017 19:01:21 +0530
-Subject: [PATCH 1/7] faccessat and fchmodat: Fix build warnings
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fixing below build warnings.
-
-ltp-full-20170516/testcases/kernel/syscalls/faccessat$ make
-In file included from ../../../../include/old/test.h:51:0,
- 

[OE-core] [PATCH V3 0/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-11 Thread Dengke Du
The following changes since commit 5e4bd86130866d4a92fa7b0fa6d3628126dfdf91:

  libinput: Upgrade 1.7.3 -> 1.8.1 (2017-08-09 09:38:25 +0100)

are available in the git repository at:

  https://github.com/DengkeDu/openembedded-core.git dengke/ltp-fix-PAGE_SIZE
  https://github.com//tree/dengke/ltp-fix-PAGE_SIZE

Dengke Du (1):
  ltp: upgrade to upstream latest commit on 20170804

 .../ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch   |  34 --
 ...TH_MAX-undeclared-when-building-with-musl.patch |  31 -
 ...faccessat-and-fchmodat-Fix-build-warnings.patch |  68 ---
 ...E_SIZE-redefinition-and-O_CREAT-undeclear.patch | 113 +
 ...d_key02-update-to-test-fix-for-nonempty-N.patch | 136 -
 meta/recipes-extended/ltp/ltp_20170516.bb  |  18 +--
 6 files changed, 115 insertions(+), 285 deletions(-)
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0037-faccessat-and-fchmodat-Fix-build-warnings.patch
 create mode 100644 
meta/recipes-extended/ltp/ltp/0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch

-- 
2.8.1

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


[OE-core] [PATCH] image-prelink: Disable for musl images

2017-08-11 Thread Richard Purdie
For some reason prelink was refusing to prelink musl images but now sometimes
does modify the binaries. Since musl has no support for this, such images
end up broken and unable to boot.

To avoid this, be explicit and only apply prelinking for libc-glibc.

[YOCTO #11913]

Signed-off-by: Richard Purdie 
---
 meta/classes/image-prelink.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image-prelink.bbclass 
b/meta/classes/image-prelink.bbclass
index 4157df0..6fcd699 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -1,6 +1,6 @@
 do_rootfs[depends] += "prelink-native:do_populate_sysroot"
 
-IMAGE_PREPROCESS_COMMAND += "prelink_setup; prelink_image; "
+IMAGE_PREPROCESS_COMMAND_append_libc-glibc = " prelink_setup; prelink_image; "
 
 python prelink_setup () {
 oe.utils.write_ld_so_conf(d)
-- 
2.7.4

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