Re: [oe] [meta-oe][PATCH v2] sdbus-c++-tools: add nativesdk

2020-04-27 Thread Matt Campbell
Thanks for fixing that up, I appreciate it.

On Sat, Apr 25, 2020 at 11:33 AM Khem Raj  wrote:

> On Fri, Apr 24, 2020 at 12:31 PM Peter Kjellerstedt
>  wrote:
> >
> > > -Original Message-
> > > From: openembedded-devel@lists.openembedded.org  > > de...@lists.openembedded.org> On Behalf Of Matt Campbell
> > > Sent: den 22 april 2020 22:07
> > > To: openembedded-devel@lists.openembedded.org
> > > Cc: Matthew Campbell 
> > > Subject: [oe] [meta-oe][PATCH v2] sdbus-c++-tools: add nativesdk
> > >
> > > Changes from v1:
> > > Fix formatting of patch
> >
> > The above should go below the --- line below as it relates to the
> > review process rather than the change itself.
> >
>
> right, this time I fixed the commit msg before picking it up.
>
> > //Peter
> >
> > > Signed-off-by: Matthew Campbell 
> > > ---
> > >  ...bus-c++-tools-native_0.8.1.bb => sdbus-c++-tools_0.8.1.bb} | 4
> +++-
> > >  1 file changed, 3 insertions(+), 1 deletion(-)
> > >  rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-
> tools-native_0.8.1.bb
> > > => sdbus-c++-tools_0.8.1.bb} (89%)
> > >
> > > diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools-
> > > native_0.8.1.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-
> tools_0.8.1.bb
> > > similarity index 89%
> > > rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools-
> > > native_0.8.1.bb
> > > rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.1.bb
> > > index e18b9903d..9eaec0f2a 100644
> > > --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools-native_0.8.1.bb
> > > +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.1.bb
> > > @@ -4,7 +4,7 @@ DESCRIPTION = "Native interface code generator for
> > > development with sdbus-c++"
> > >  LICENSE = "LGPLv2.1"
> > >  LIC_FILES_CHKSUM =
> > > "file://${S}/COPYING;md5=1803fa9c2c3ce8cb06b4861d75310742"
> > >
> > > -inherit cmake native
> > > +inherit cmake
> > >
> > >  DEPENDS += "expat"
> > >
> > > @@ -12,3 +12,5 @@ SRCREV = "3a4f343fb924650e7639660efa5f143961162044"
> > >  SRC_URI = "git://github.com/Kistler-Group/sdbus-
> > > cpp.git;protocol=https;branch=master;subpath=tools"
> > >
> > >  S = "${WORKDIR}/tools"
> > > +
> > > +BBCLASSEXTEND = "native nativesdk"
> > > --
> > > 2.20.1
> >
> > 
>


-- 
Matthew Campbell
Senior Embedded Systems Engineer
mcampb...@izotope.com

iZotope, Inc.
www.izotope.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84122): 
https://lists.openembedded.org/g/openembedded-devel/message/84122
Mute This Topic: https://lists.openembedded.org/mt/73205282/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python2][PATCH] python-pbr: merge bb and inc files

2020-04-27 Thread Tim Orling
Merge the contents of the inc file from oe-core to
prevent collisions and getting out of sync.

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-pbr_5.4.4.bb | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/recipes-devtools/python/python-pbr_5.4.4.bb 
b/recipes-devtools/python/python-pbr_5.4.4.bb
index 9d7d8d7b..fb0949eb 100644
--- a/recipes-devtools/python/python-pbr_5.4.4.bb
+++ b/recipes-devtools/python/python-pbr_5.4.4.bb
@@ -1,13 +1,21 @@
-inherit setuptools
-# The inc file is in oe-core
-require recipes-devtools/python/python-pbr.inc
+SUMMARY = "Python Build Reasonableness"
+DESCRIPTION = "PBR is a library that injects some useful and sensible default 
behaviors into your setuptools run"
+HOMEPAGE = "https://pypi.python.org/pypi/pbr;
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
 SRC_URI[md5sum] = "65cdc32e1a1ff56d481fc15aa8caf988"
 SRC_URI[sha256sum] = 
"139d2625547dbfa5fb0b81daebb39601c478c21956dc57e2e07b74450a8c506b"
 
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "${PYTHON_PN}-pip"
+
 do_install_append() {
 if [ -f ${D}${bindir}/pbr ]; then
 mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
 fi
 }
 
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84121): 
https://lists.openembedded.org/g/openembedded-devel/message/84121
Mute This Topic: https://lists.openembedded.org/mt/73314562/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-initramfs][PATCH v2] packagegroup-meta-initramfs: remove klibc utilities and kexec-tools-klibc

2020-04-27 Thread Andrea Adami
klibc utils have no update-alternatives because these live ideally alone
in the initramfs. mwta-initramfs image is not minimal having busybox, linux-
utils,coreutils so to resolve the conflict we remove the shared klibc utils.

The image is mostly for build-tests and contains dracut, which does not have
runtime dependencies on kexec-tools, so we can safely remove the klibc
static version of kexec and vmcore-dmesg (not availaible on some archs).
Doing this we can safely remove EXCLUDE_FROM_WORLD

Fix:
ERROR: meta-initramfs-image-1.0-r0 do_rootfs:
Postinstall scriptlets of ['busybox', 'util-linux-umount',
'util-linux-dmesg','coreutils', 'util-linux-mount', 'cpio',
'util-linux-kill', 'util-linux-losetup'] have failed.

Signed-off-by: Andrea Adami 
---
 .../packagegroup-meta-initramfs.bb| 20 +--
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git 
a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb 
b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
index bfede5a74..2955baea2 100644
--- a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
+++ b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
@@ -6,31 +6,13 @@ PROVIDES = "${PACKAGES}"
 PACKAGES = ' \
 packagegroup-meta-initramfs \
 packagegroup-meta-initramfs-devtools \
-packagegroup-meta-initramfs-kernel \
 '
 
 RDEPENDS_packagegroup-meta-initramfs = "\
 packagegroup-meta-initramfs-devtools \
-packagegroup-meta-initramfs-kernel \
 "
 
 RDEPENDS_packagegroup-meta-initramfs-devtools = "\
-libklibc  dracut \
-klibc-utils-cat klibc-utils-losetup klibc-utils-readlink 
klibc-utils-chroot \
-klibc-utils-ls klibc-utils-reboot klibc-utils-cpio klibc-utils-minips \
-klibc-utils-resume klibc-utils-dd klibc-utils-mkdir klibc-utils-run-init \
-klibc-utils-dmesg klibc-utils-mkfifo klibc-utils-sh.shared 
klibc-utils-false \
-klibc-utils-mknod klibc-utils-sleep klibc-utils-fstype klibc-utils-mount \
-klibc-utils-sync klibc-utils-halt klibc-utils-mv klibc-utils-true 
klibc-utils-ipconfig \
-klibc-utils-nfsmount klibc-utils-umount klibc-utils-kill klibc-utils-nuke 
klibc-utils-uname \
-mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc 
ubidetach-klibc \
-ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \
-ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc \
+dracut \
 ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", 
"grubby", "", d)} \
 "
-
-RDEPENDS_packagegroup-meta-initramfs-kernel = "\
-kexec-klibc vmcore-dmesg-klibc \
-"
-
-EXCLUDE_FROM_WORLD = "1"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84120): 
https://lists.openembedded.org/g/openembedded-devel/message/84120
Mute This Topic: https://lists.openembedded.org/mt/73314409/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python][PATCH] python3-asn1crypto: add python3-numbers to RDEPENDS

2020-04-27 Thread Trevor Gamblin
The asn1crypto module relies on the fractions module from the
standard library, which is contained in the python3-numbers package,
but it is not in asn1crypto's RDEPENDS:

|>>> import asn1crypto.pdf
|Traceback (most recent call last):
|  File "", line 1, in 
|  File "/usr/lib64/python3.8/site-packages/asn1crypto/pdf.py", line 10, in 

|from .cms import CMSAttributeType, CMSAttribute
|  File "/usr/lib64/python3.8/site-packages/asn1crypto/cms.py", line 29, in 

|from .algos import (
|  File "/usr/lib64/python3.8/site-packages/asn1crypto/algos.py", line 26, in 

|from .core import (
|  File "/usr/lib64/python3.8/site-packages/asn1crypto/core.py", line 52, in 

|from fractions import Fraction
|ModuleNotFoundError: No module named 'fractions'

Add it to fix the error.

Signed-off-by: Trevor Gamblin 
---
 meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb 
b/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb
index 1b03c666a..0d38da989 100644
--- a/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb
@@ -18,6 +18,7 @@ RDEPENDS_${PN}_class-target += " \
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-netclient \
+${PYTHON_PN}-numbers \
 ${PYTHON_PN}-shell \
 "
 
-- 
2.24.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84119): 
https://lists.openembedded.org/g/openembedded-devel/message/84119
Mute This Topic: https://lists.openembedded.org/mt/73314134/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-initramfs][PATCH] meta-initramfs-image: remove klibc utilities

2020-04-27 Thread Andrea Adami
Khem,
please disregard this patch as superseded, a new one specific for the
packagegroup is coming.

Thanks!
Andres

On Sat, Apr 25, 2020 at 5:28 PM Khem Raj  wrote:
>
> On Sat, Apr 25, 2020 at 6:10 AM Andrea Adami  wrote:
> >
> > On Sat, Apr 25, 2020 at 12:30 AM Khem Raj  wrote:
> > >
> > > On Thu, Apr 23, 2020 at 4:55 PM Andrea Adami  
> > > wrote:
> > > >
> > > > klibc utils have no update-alternatives because these live ideally alone
> > > > in th einitramfs. This image is not minimal having busybox, linux-utils,
> > > > coreutils so to resolve the conflict we just remove the shared klibc 
> > > > utils
> > > > and replace the klibc kexec and vmcore-dmesg.
> > > >
> > > > Finally, remove EXCLUDE_FROM_WORLD.
> > > >
> > > > Fix:
> > > > ERROR: meta-initramfs-image-1.0-r0 do_rootfs:
> > > > Postinstall scriptlets of ['busybox', 'util-linux-umount', 
> > > > 'util-linux-dmesg',
> > > >  'coreutils', 'util-linux-mount', 'cpio', 'util-linux-kill',
> > > >  'util-linux-losetup'] have failed.
> > > >
> > > > Signed-off-by: Andrea Adami 
> > > > ---
> > > >  .../packagegroups/packagegroup-meta-initramfs.bb | 16 ++--
> > > >  1 file changed, 2 insertions(+), 14 deletions(-)
> > > >
> > > > diff --git 
> > > > a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
> > > >  
> > > > b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
> > > > index bfede5a74..dc4928b5a 100644
> > > > --- 
> > > > a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
> > > > +++ 
> > > > b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
> > > > @@ -15,22 +15,10 @@ RDEPENDS_packagegroup-meta-initramfs = "\
> > > >  "
> > > >
> > > >  RDEPENDS_packagegroup-meta-initramfs-devtools = "\
> > > > -libklibc  dracut \
> > > > -klibc-utils-cat klibc-utils-losetup klibc-utils-readlink 
> > > > klibc-utils-chroot \
> > > > -klibc-utils-ls klibc-utils-reboot klibc-utils-cpio 
> > > > klibc-utils-minips \
> > > > -klibc-utils-resume klibc-utils-dd klibc-utils-mkdir 
> > > > klibc-utils-run-init \
> > > > -klibc-utils-dmesg klibc-utils-mkfifo klibc-utils-sh.shared 
> > > > klibc-utils-false \
> > > > -klibc-utils-mknod klibc-utils-sleep klibc-utils-fstype 
> > > > klibc-utils-mount \
> > > > -klibc-utils-sync klibc-utils-halt klibc-utils-mv klibc-utils-true 
> > > > klibc-utils-ipconfig \
> > > > -klibc-utils-nfsmount klibc-utils-umount klibc-utils-kill 
> > > > klibc-utils-nuke klibc-utils-uname \
> > > > -mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc 
> > > > ubidetach-klibc \
> > > > -ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc 
> > > > ubirename-klibc \
> > > > -ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc \
> > > > +dracut \
> > > >  ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", 
> > > > "grubby", "", d)} \
> > > >  "
> > > >
> > > >  RDEPENDS_packagegroup-meta-initramfs-kernel = "\
> > > > -kexec-klibc vmcore-dmesg-klibc \
> > > > +kexec vmcore-dmesg \
> > >
> > > this creates a dependency on kexec-tools from oe-core, this however is
> > > not buildable on some arches e.g. riscv
> > > so this change does not work as such, I think you can only add it as
> > > dependency where its supported.
> > >
> >
> > Well, the problem was already there, kexec-tools klibc and oe-core both have
> >
> > COMPATIBLE_HOST =
> > '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)'
> >
> >
> > I really have no idea about the image purposes, I see there is dracut
> > which seems to be buildable for most archs and does not have runtime
> > deps on kexec-tools.
> > Maybe we can just remove kexec and vmcore-dmesg
> >
>
> these were mainly for testing builds of the given layer. So I think
> removing kexec and vmcore-dmesg is ok
>
> > Cheers
> > Andrea
> >
> >
> >
> > > >  "
> > > > -
> > > > -EXCLUDE_FROM_WORLD = "1"
> > > > --
> > > > 2.17.1
> > > >
> > > > 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84118): 
https://lists.openembedded.org/g/openembedded-devel/message/84118
Mute This Topic: https://lists.openembedded.org/mt/73230971/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python2][dunfell][PATCH] kas-meta-python2-image-base.yml: dunfell branches

2020-04-27 Thread Tim Orling
Need to use dunfell for all dependent layers.

Signed-off-by: Tim Orling 
---
 kas-meta-python2-image-base.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kas-meta-python2-image-base.yml b/kas-meta-python2-image-base.yml
index 6b7293e0..62f476ac 100644
--- a/kas-meta-python2-image-base.yml
+++ b/kas-meta-python2-image-base.yml
@@ -10,14 +10,14 @@ repos:
 
   poky:
 url: https://git.yoctoproject.org/git/poky
-refspec: master
+refspec: dunfell
 layers:
   meta:
   meta-poky:
 
   meta-openembedded:
 url: http://git.openembedded.org/meta-openembedded
-refspec: master
+refspec: dunfell
 layers:
   meta-oe:
 
-- 
2.25.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84117): 
https://lists.openembedded.org/g/openembedded-devel/message/84117
Mute This Topic: https://lists.openembedded.org/mt/73313670/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe][meta-oe][PATCH v2] libwebsockets: upgrade 3.2.2 -> 4.0.1

2020-04-27 Thread Khem Raj
v1 has been applied to master, if there is delta in v2 w.r.t. v1 then
please rebase on latest master or master-next and send again please

On 4/27/20 4:59 AM, Martin Balik wrote:
> License changed from "LGPL-2.1" to "MIT"
> 
> Signed-off-by: Martin Balik 
> ---
>  .../{libwebsockets_3.2.2.bb => libwebsockets_4.0.1.bb}| 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)
>  rename meta-oe/recipes-connectivity/libwebsockets/{libwebsockets_3.2.2.bb => 
> libwebsockets_4.0.1.bb} (86%)
> 
> diff --git 
> a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb 
> b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
> similarity index 86%
> rename from meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb
> rename to meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
> index 32ba51db0..0d1f57ab8 100644
> --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb
> +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
> @@ -1,13 +1,13 @@
>  SUMMARY = "Canonical libwebsockets.org websocket library"
>  HOMEPAGE = "https://libwebsockets.org/;
> -LICENSE = "LGPL-2.1"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=4ce87f3facb6f911c142c8bef9bfb380"
> +LICENSE = "MIT & Zlib & BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=8c47b078124308a4e1354e8d59f606b7"
>  
>  DEPENDS = "zlib"
>  
>  S = "${WORKDIR}/git"
> -SRCREV = "d880fe233020b74e058cbca95b5fb67823bbf258"
> -SRC_URI = 
> "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v3.2-stable"
> +SRCREV = "6eb39388f43f6e2a27f0efcbf8cb2391e38824e9"
> +SRC_URI = 
> "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.0-stable"
>  
>  UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases;
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
> 
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84116): 
https://lists.openembedded.org/g/openembedded-devel/message/84116
Mute This Topic: https://lists.openembedded.org/mt/73302244/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-python][PATCH 2/2] python3-cryptography-vectors: merge bb and inc

2020-04-27 Thread Khem Raj


On 4/25/20 11:48 PM, Tim Orling wrote:
> From: Tim Orling 
> 
> Signed-off-by: Tim Orling 
> ---
>  .../python/python-cryptography-vectors.inc| 18 
>  .../python3-cryptography-vectors_2.8.bb   | 21 ++-
>  2 files changed, 20 insertions(+), 19 deletions(-)
>  delete mode 100644 
> meta-python/recipes-devtools/python/python-cryptography-vectors.inc
> 
> diff --git 
> a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc 
> b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
> deleted file mode 100644
> index 10af48c9fb..00
> --- a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -SUMMARY = "Test vectors for the cryptography package."
> -HOMEPAGE = "https://cryptography.io/;
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0 | BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
> -
> -DEPENDS += " \
> -${PYTHON_PN}-cryptography \
> -"
> -
> -SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
> -SRC_URI[sha256sum] = 
> "6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
> -
> -PYPI_PACKAGE = "cryptography_vectors"
> -
> -BBCLASSEXTEND = "native nativesdk"
> -
> -UPSTREAM_CHECK_REGEX = ""
> diff --git 
> a/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb 
> b/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
> index 58994a..49a5664dcd 100644
> --- a/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
> +++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
> @@ -1,2 +1,21 @@
> -inherit pypi setuptools3
>  require python-cryptography-vectors.inc

this require is no longer needed after merging the inc. I have fixed it
locally this time.


> +SUMMARY = "Test vectors for the cryptography package."
> +HOMEPAGE = "https://cryptography.io/;
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0 | BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
> +
> +SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
> +SRC_URI[sha256sum] = 
> "6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
> +
> +PYPI_PACKAGE = "cryptography_vectors"
> +
> +inherit pypi setuptools3
> +
> +DEPENDS += " \
> +${PYTHON_PN}-cryptography \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +UPSTREAM_CHECK_REGEX = ""
> 
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84115): 
https://lists.openembedded.org/g/openembedded-devel/message/84115
Mute This Topic: https://lists.openembedded.org/mt/73277880/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe][meta-oe][PATCH v2] libwebsockets: upgrade 3.2.2 -> 4.0.1

2020-04-27 Thread Martin Balik
License changed from "LGPL-2.1" to "MIT"

Signed-off-by: Martin Balik 
---
 .../{libwebsockets_3.2.2.bb => libwebsockets_4.0.1.bb}| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-connectivity/libwebsockets/{libwebsockets_3.2.2.bb => 
libwebsockets_4.0.1.bb} (86%)

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
similarity index 86%
rename from meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb
rename to meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
index 32ba51db0..0d1f57ab8 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.2.2.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.0.1.bb
@@ -1,13 +1,13 @@
 SUMMARY = "Canonical libwebsockets.org websocket library"
 HOMEPAGE = "https://libwebsockets.org/;
-LICENSE = "LGPL-2.1"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4ce87f3facb6f911c142c8bef9bfb380"
+LICENSE = "MIT & Zlib & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c47b078124308a4e1354e8d59f606b7"
 
 DEPENDS = "zlib"
 
 S = "${WORKDIR}/git"
-SRCREV = "d880fe233020b74e058cbca95b5fb67823bbf258"
-SRC_URI = 
"git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v3.2-stable"
+SRCREV = "6eb39388f43f6e2a27f0efcbf8cb2391e38824e9"
+SRC_URI = 
"git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.0-stable"
 
 UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases;
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
-- 
2.20.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84114): 
https://lists.openembedded.org/g/openembedded-devel/message/84114
Mute This Topic: https://lists.openembedded.org/mt/73302244/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-java][PATCH] openjdk-8: update to latest ga version 252

2020-04-27 Thread Jacob Kroon

On 4/27/20 8:27 AM, Richard Leitner wrote:

fyi: This patch has been added to master-next.

Any test results are welcome!



I think this breaks building openjre:


WARNING: openjdk-8-native-252-r0 do_fetch: Checksum mismatch for local file 
/home/jkroon/Downloads/yocto/openjdk8-252-langtools-jdk8u252-ga.tar.bz2
Cleaning and trying again.
WARNING: openjdk-8-native-252-r0 do_fetch: Renaming 
/home/jkroon/Downloads/yocto/openjdk8-252-langtools-jdk8u252-ga.tar.bz2 to 
/home/jkroon/Downloads/yocto/openjdk8-252-langtools-jdk8u252-ga.tar.bz2_bad-checksum_2cde0f920e96038c8fe27af3e802bcd90b894a2feb37fed0604cc53787807dfe
WARNING: openjre-8-242-r0 do_fetch: Checksum mismatch for local file 
/home/jkroon/Downloads/yocto/openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2
Cleaning and trying again.
WARNING: openjre-8-242-r0 do_fetch: Renaming 
/home/jkroon/Downloads/yocto/openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2 to 
/home/jkroon/Downloads/yocto/openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2_bad-checksum_633f1d20d4d8d36fea1680140b5514ab153096a19c306b812fbbd19314c8dece
WARNING: openjre-8-242-r0 do_fetch: Checksum failure encountered with download 
of 
https://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk8u242-ga.tar.bz2;downloadfilename=openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2;name=openjdk
 - will attempt other sources if available
ERROR: openjre-8-242-r0 do_fetch: Fetcher failure for URL: 
'https://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk8u242-ga.tar.bz2;downloadfilename=openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2;name=openjdk'.
 Checksum mismatch!
File: '/home/jkroon/Downloads/yocto/openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2' has 
sha256 checksum 
633f1d20d4d8d36fea1680140b5514ab153096a19c306b812fbbd19314c8dece when 
a83f8daa2afece63bf7ae95cfbca91ef765424c40b9f5b45e4a3c2d4da0f7a95 was expected
If this change is expected (e.g. you have upgraded to a new version without 
updating the checksums) then you can use these lines within the recipe:
SRC_URI[openjdk.sha256sum] = 
"633f1d20d4d8d36fea1680140b5514ab153096a19c306b812fbbd19314c8dece"
Otherwise you should retry the download and/or check with upstream to determine 
if the file has become corrupted or otherwise unexpectedly modified.
ERROR: openjre-8-242-r0 do_fetch: Fetcher failure for URL: 
'https://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk8u242-ga.tar.bz2;downloadfilename=openjdk8-242-jdk8u-jdk8u242-ga.tar.bz2;name=openjdk'.
 Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: 
/tmp/ramdisk/tmp-master-glibc/work/i686-oe-linux/openjre-8/242-r0/temp/log.do_fetch.15248
ERROR: Task 
(/home/jkroon/Projects/tmp-linux/build/../meta-java/recipes-core/openjdk/openjre-8_242.bb:do_fetch)
 failed with exit code '1'
Waiting for 1 running tasks to finish:
0: openjdk-8-native-252-r0 do_fetch (pid 15246)   0% |


/Jacob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84113): 
https://lists.openembedded.org/g/openembedded-devel/message/84113
Mute This Topic: https://lists.openembedded.org/mt/73145297/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH] websocketpp: refresh patches to apply cleanly on websocketpp 0.8.2

2020-04-27 Thread Gianfranco
Signed-off-by: Gianfranco Costamagna 
Signed-off-by: Gianfranco Costamagna 
---
 .../websocketpp-0.8.2/0001-Correct-clang-compiler-flags.patch   | 2 +-
 meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/855.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/0001-Correct-clang-compiler-flags.patch
 
b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/0001-Correct-clang-compiler-flags.patch
index f1d037fae..7a99daf6b 100644
--- 
a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/0001-Correct-clang-compiler-flags.patch
+++ 
b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/0001-Correct-clang-compiler-flags.patch
@@ -18,7 +18,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 2d13117..c17354a 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -150,7 +150,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
+@@ -154,7 +154,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
  endif()
  set (WEBSOCKETPP_PLATFORM_TLS_LIBS ssl crypto)
  set (WEBSOCKETPP_BOOST_LIBS system thread)
diff --git a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/855.patch 
b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/855.patch
index a1ee627b3..3245d941b 100644
--- a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/855.patch
+++ b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/855.patch
@@ -12,7 +12,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 2d13117b..9a46bc10 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -213,7 +213,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
+@@ -217,7 +217,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
  set (Boost_USE_MULTITHREADED TRUE)
  set (Boost_ADDITIONAL_VERSIONS "1.39.0" "1.40.0" "1.41.0" "1.42.0" 
"1.43.0" "1.44.0" "1.46.1") # todo: someone who knows better spesify these!
  
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84112): 
https://lists.openembedded.org/g/openembedded-devel/message/84112
Mute This Topic: https://lists.openembedded.org/mt/73299851/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-java][PATCH] openjdk-8: update to latest ga version 252

2020-04-27 Thread Richard Leitner
fyi: This patch has been added to master-next.

Any test results are welcome!

regards;rl

On Mon, Apr 20, 2020 at 10:46:32AM +0200, Richard Leitner wrote:
> This patch also drops the md5 checksums as sha256 checksums are sufficient.
> 
> Signed-off-by: Richard Leitner 
> ---
>  ...-native_242.bb => openjdk-8-native_252.bb} |  0
>  .../openjdk/openjdk-8-release-aarch32.inc | 26 +++
>  .../openjdk/openjdk-8-release-aarch64.inc | 26 +++
>  recipes-core/openjdk/openjdk-8-release.inc| 24 ++---
>  .../{openjdk-8_242.bb => openjdk-8_252.bb}|  0
>  5 files changed, 26 insertions(+), 50 deletions(-)
>  rename recipes-core/openjdk/{openjdk-8-native_242.bb => 
> openjdk-8-native_252.bb} (100%)
>  rename recipes-core/openjdk/{openjdk-8_242.bb => openjdk-8_252.bb} (100%)
> 
> diff --git a/recipes-core/openjdk/openjdk-8-native_242.bb 
> b/recipes-core/openjdk/openjdk-8-native_252.bb
> similarity index 100%
> rename from recipes-core/openjdk/openjdk-8-native_242.bb
> rename to recipes-core/openjdk/openjdk-8-native_252.bb
> diff --git a/recipes-core/openjdk/openjdk-8-release-aarch32.inc 
> b/recipes-core/openjdk/openjdk-8-release-aarch32.inc
> index 686b562..62dc866 100644
> --- a/recipes-core/openjdk/openjdk-8-release-aarch32.inc
> +++ b/recipes-core/openjdk/openjdk-8-release-aarch32.inc
> @@ -4,39 +4,31 @@ COMPATIBLE_HOST = "^$"
>  COMPATIBLE_HOST_armv7a = "arm"
>  COMPATIBLE_HOST_armv7ve = "arm"
>  
> -CHANGESET_ID="200120"
> +CHANGESET_ID="20200415"
>  
>  CORBA_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[corba.md5sum]= "2abf6d5394d9c5310af1e4ca6cec4355"
> -SRC_URI[corba.sha256sum] = 
> "52e83dfa2fa4fcc8c71f3b2959cca2136099b9c575d3726148c02b9cf7d06324"
> +SRC_URI[corba.sha256sum] = 
> "e8dab3ffbc39fec724604b8c65408f32dcca1682769077c5b4f71b571938fe26"
>  
>  HOTSPOT_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[hotspot.md5sum]= "e252af6c20d6190e0613f39c6066e3cc"
> -SRC_URI[hotspot.sha256sum] = 
> "bfff2ef23ee80acd73a0774e7011028c3598e75d2ee8b3271524ec8ea54801ae"
> +SRC_URI[hotspot.sha256sum] = 
> "7aebf690a05746e4fbcdcd75ac4e67acb2f0b087bba3bcb064675468626f5822"
>  
>  JAXP_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[jaxp.md5sum]= "56dc7a99589582b185c4464022c8"
> -SRC_URI[jaxp.sha256sum] = 
> "430e49ba485737c02312557f4deb8562853e58be19ed175ea63b396307f140ce"
> +SRC_URI[jaxp.sha256sum] = 
> "44883e0e836ee5fa2fcb4df936bafcfad69c57d05876d44ecefc5b3cb6b085c0"
>  
>  JAXWS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[jaxws.md5sum]= "2bbcba759f24f5dcec0c33cd62382e4f"
> -SRC_URI[jaxws.sha256sum] = 
> "c350716ff8782cc311ca17450e2d198d707d3fb71de9dc3394df39766979559f"
> +SRC_URI[jaxws.sha256sum] = 
> "34f6cf3eb34c0c310e0cc31b876b189fd6b2e2c2dcc1066af5347f3a0873d2d3"
>  
>  JDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[jdk.md5sum]= "e17f3f4ea8a409e4a1b09a12b3b5309d"
> -SRC_URI[jdk.sha256sum] = 
> "dfa4a7e7f8ab8daf34343b1c33544b6209e422c74d5be1dbbd8ef80e2365c8aa"
> +SRC_URI[jdk.sha256sum] = 
> "f89688b5673ed75b1bebfd530a979788a4cbe942ce39eb38784f8c9e1303012b"
>  
>  LANGTOOLS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[langtools.md5sum]= "06ca78c1d4e058f277876f4e6177d9b0"
> -SRC_URI[langtools.sha256sum] = 
> "59ccafa433f5510c91835efcafbe9ff9c707034ec3305dc3a4c1a85fac65ab0c"
> +SRC_URI[langtools.sha256sum] = 
> "18357720e3b924dea2f171235ae06e753aeef7958a3ce7a2a8d41fa6e2c90454"
>  
>  NASHORN_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[nashorn.md5sum]= "1958e204f3984abeb2cf9e7c57aa7839"
> -SRC_URI[nashorn.sha256sum] = 
> "e964721e539807a38bdcbce7259d235f873974a686badbc274b7368a288f0021"
> +SRC_URI[nashorn.sha256sum] = 
> "abd6ccf28278ce5775eebada339228fe2e3380d57d009179acdd7026adb21448"
>  
>  OPENJDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
> -SRC_URI[openjdk.md5sum]= "9aceb3b4cd710cdda55be4fe6a5303c9"
> -SRC_URI[openjdk.sha256sum] = 
> "9691291b26a650d854ce0feacf32dfb3b956165c5d2db6e1ff46dd44f4c517cf"
> +SRC_URI[openjdk.sha256sum] = 
> "06d141aa01b80aa0c167167081e2139b3edf5af764cf17bbe9e1b57bf4f585ab"
>  
>  PACKAGECONFIG_append_armv7a = " client"
>  PACKAGECONFIG_append_armv7ve = " client"
> diff --git a/recipes-core/openjdk/openjdk-8-release-aarch64.inc 
> b/recipes-core/openjdk/openjdk-8-release-aarch64.inc
> index d08892d..86d 100644
> --- a/recipes-core/openjdk/openjdk-8-release-aarch64.inc
> +++ b/recipes-core/openjdk/openjdk-8-release-aarch64.inc
> @@ -2,36 +2,28 @@ require openjdk-8-release-common.inc
>  
>  COMPATIBLE_HOST = "aarch64"
>  
> -CHANGESET_ID="b07"
> +CHANGESET_ID="b09"
>  
>  CORBA_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}"
> -SRC_URI[corba.md5sum]= "d6dfd6f0c3bf4c6dc1f867dc7bcf8730"
> -SRC_URI[corba.sha256sum] = 
> "e80dae94f21ca9de2269bc9de72f1098d417e9f7d6ff69d047e26669e31b1bc4"
>