Re: [oe] [meta-oe][PATCH 1/3] iwd: Update to 1.4

2020-01-31 Thread Robert Joslyn
On Fri, 2020-01-31 at 19:57 -0800, Khem Raj wrote:
> fails on musl/aarch64
> 
> https://errors.yoctoproject.org/Errors/Details/338733/
> 
> /usr/src/debug/iwd/1.4-r0/build/../git/src/wiphy.c:503: undefined
> reference to `rawmemchr'
> 
> perhaps something like this will help avoid it
> 
> https://github.com/linux-audit/audit-userspace/pull/25/commits/8f2a6788b78dd6b219545aacbd42e2f84df8c71a
> 

Should be able to replace rawmemchr with memchr (and a size of -1). I'll
check with upstream to see if this is something they'll accept and then
send a v2.

Thanks,
Robert

> On Fri, Jan 31, 2020 at 1:47 PM Robert Joslyn
>  wrote:
> > dbus is not required to compile, but is expected at run time. Move it
> > to
> > RDEPENDS.
> > 
> > From upstream changelog:
> > 
> > ver 1.4:
> > Fix issue with handling Crypto-Binding and invalid MACs.
> > Fix issue with handling change station error results.
> > Fix issue with handling DNS resolving installations.
> > 
> > ver 1.3:
> > Fix issue with handling EAP-GTC and password requests.
> > Fix issue with handling Crypto-Binding TLV for PEAPv0.
> > Fix issue with handling key installation and PEAP Phase 2.
> > Fix issue with handling externally triggered scan requests.
> > Fix issue with handling RCPI calculation for RRM requests.
> > 
> > ver 1.2:
> > Fix issue with handling scan requests while connecting.
> > Fix issue with handling scan duration for RRM requests.
> > Fix issue with handling parent TSF value for RRM requests.
> > 
> > ver 1.1:
> > Fix issue with simple configuration support checks.
> > Fix issue with handling TLS tunnel and PEAPv0.
> > Add support for radio resource management.
> > 
> > Signed-off-by: Robert Joslyn 
> > ---
> >  ...am-Avoid-redirection-of-input-and-output-fi.patch | 12 +
> > ---
> >  .../iwd/{iwd_1.0.bb => iwd_1.4.bb}   |  6 --
> >  2 files changed, 9 insertions(+), 9 deletions(-)
> >  rename meta-oe/recipes-connectivity/iwd/{iwd_1.0.bb => iwd_1.4.bb}
> > (90%)
> > 
> > diff --git a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-
> > Avoid-redirection-of-input-and-output-fi.patch b/meta-oe/recipes-
> > connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-
> > output-fi.patch
> > index 93ef007f8..80126a870 100644
> > --- a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-
> > redirection-of-input-and-output-fi.patch
> > +++ b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-
> > redirection-of-input-and-output-fi.patch
> > @@ -1,4 +1,4 @@
> > -From f2a2b9f445ab1e31fbb27a74744e9a2ededfce17 Mon Sep 17 00:00:00
> > 2001
> > +From 46fc0e197598579dc05e42f137e84f86a9b926e9 Mon Sep 17 00:00:00
> > 2001
> >  From: Khem Raj 
> >  Date: Mon, 4 Nov 2019 16:38:04 -0800
> >  Subject: [PATCH] Makefile.am: Avoid redirection of input and output
> > files
> > @@ -15,26 +15,24 @@ make[1]: *** [Makefile:3544: monitor/iwmon.1]
> > Error 1
> >  Upstream-Status: Pending
> > 
> >  Signed-off-by: Khem Raj 
> > +
> >  ---
> >   Makefile.am | 5 +++--
> >   1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> >  diff --git a/Makefile.am b/Makefile.am
> > -index 823b7d02..1bd0005c 100644
> > +index 8c69d9f4..35a25fc0 100644
> >  --- a/Makefile.am
> >  +++ b/Makefile.am
> > -@@ -626,8 +626,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) &&
> > $(SED) \
> > +@@ -629,8 +629,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) &&
> > $(SED) \
> > < $< > $@
> > 
> >   if RUN_RST2MAN
> >  -RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-
> > generator \
> > --  --no-datestamp < $< > $@
> > +-  --no-datestamp $< $@
> >  +RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
> >  +  $(AM_V_GEN)$(RST2MAN) --strict --no-raw \
> >  +  --no-generator --no-datestamp $< $@
> >   else
> >   RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
> > { echo "Generated manual page $@ does not exist";
> > false; }
> > ---
> > -2.24.0
> > -
> > diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb b/meta-
> > oe/recipes-connectivity/iwd/iwd_1.4.bb
> > similarity index 90%
> > rename from meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> > rename to meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> > index cc34ca221..49fc45a74 100644
> > --- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> > +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> > @@ -4,12 +4,12 @@ LIC_FILES_CHKSUM = "
> > file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
> > 
> >  inherit autotools pkgconfig systemd python3native
> > 
> > -DEPENDS = "ell readline dbus python3-docutils-native"
> > +DEPENDS = "ell readline python3-docutils-native"
> > 
> >  SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \
> > file://0001-Makefile.am-Avoid-redirection-of-input-and-
> > output-fi.patch \
> >"

Re: [oe] [meta-oe][PATCH 1/3] iwd: Update to 1.4

2020-01-31 Thread Khem Raj
fails on musl/aarch64

https://errors.yoctoproject.org/Errors/Details/338733/

/usr/src/debug/iwd/1.4-r0/build/../git/src/wiphy.c:503: undefined
reference to `rawmemchr'

perhaps something like this will help avoid it

https://github.com/linux-audit/audit-userspace/pull/25/commits/8f2a6788b78dd6b219545aacbd42e2f84df8c71a

On Fri, Jan 31, 2020 at 1:47 PM Robert Joslyn
 wrote:
>
> dbus is not required to compile, but is expected at run time. Move it to
> RDEPENDS.
>
> From upstream changelog:
>
> ver 1.4:
> Fix issue with handling Crypto-Binding and invalid MACs.
> Fix issue with handling change station error results.
> Fix issue with handling DNS resolving installations.
>
> ver 1.3:
> Fix issue with handling EAP-GTC and password requests.
> Fix issue with handling Crypto-Binding TLV for PEAPv0.
> Fix issue with handling key installation and PEAP Phase 2.
> Fix issue with handling externally triggered scan requests.
> Fix issue with handling RCPI calculation for RRM requests.
>
> ver 1.2:
> Fix issue with handling scan requests while connecting.
> Fix issue with handling scan duration for RRM requests.
> Fix issue with handling parent TSF value for RRM requests.
>
> ver 1.1:
> Fix issue with simple configuration support checks.
> Fix issue with handling TLS tunnel and PEAPv0.
> Add support for radio resource management.
>
> Signed-off-by: Robert Joslyn 
> ---
>  ...am-Avoid-redirection-of-input-and-output-fi.patch | 12 +---
>  .../iwd/{iwd_1.0.bb => iwd_1.4.bb}   |  6 --
>  2 files changed, 9 insertions(+), 9 deletions(-)
>  rename meta-oe/recipes-connectivity/iwd/{iwd_1.0.bb => iwd_1.4.bb} (90%)
>
> diff --git 
> a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
>  
> b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> index 93ef007f8..80126a870 100644
> --- 
> a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> +++ 
> b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> @@ -1,4 +1,4 @@
> -From f2a2b9f445ab1e31fbb27a74744e9a2ededfce17 Mon Sep 17 00:00:00 2001
> +From 46fc0e197598579dc05e42f137e84f86a9b926e9 Mon Sep 17 00:00:00 2001
>  From: Khem Raj 
>  Date: Mon, 4 Nov 2019 16:38:04 -0800
>  Subject: [PATCH] Makefile.am: Avoid redirection of input and output files
> @@ -15,26 +15,24 @@ make[1]: *** [Makefile:3544: monitor/iwmon.1] Error 1
>  Upstream-Status: Pending
>
>  Signed-off-by: Khem Raj 
> +
>  ---
>   Makefile.am | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
>  diff --git a/Makefile.am b/Makefile.am
> -index 823b7d02..1bd0005c 100644
> +index 8c69d9f4..35a25fc0 100644
>  --- a/Makefile.am
>  +++ b/Makefile.am
> -@@ -626,8 +626,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
> +@@ -629,8 +629,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
> < $< > $@
>
>   if RUN_RST2MAN
>  -RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
> --  --no-datestamp < $< > $@
> +-  --no-datestamp $< $@
>  +RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
>  +  $(AM_V_GEN)$(RST2MAN) --strict --no-raw \
>  +  --no-generator --no-datestamp $< $@
>   else
>   RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
> { echo "Generated manual page $@ does not exist"; false; }
> ---
> -2.24.0
> -
> diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb 
> b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> similarity index 90%
> rename from meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> rename to meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> index cc34ca221..49fc45a74 100644
> --- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> @@ -4,12 +4,12 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
>
>  inherit autotools pkgconfig systemd python3native
>
> -DEPENDS = "ell readline dbus python3-docutils-native"
> +DEPENDS = "ell readline python3-docutils-native"
>
>  SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \
> 
> file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
>"
> -SRCREV = "971e1d2038a203ad43bd2278a811a9e5ec8d52db"
> +SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261"
>  S = "${WORKDIR}/git"
>
>  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> @@ -32,6 +32,8 @@ FILES_${PN} += "${datadir}/dbus-1 
> ${nonarch_libdir}/modules-load.d ${systemd_uni
>
>  SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 
> 'wired', 'ead.service', '', d)}"
>
> +RDEPENDS_${PN} = "dbus"
> +
>  RRECOMMENDS_${PN} = "\
>  

[oe] [meta-oe][PATCH 1/3] iwd: Update to 1.4

2020-01-31 Thread Robert Joslyn
dbus is not required to compile, but is expected at run time. Move it to
RDEPENDS.

>From upstream changelog:

ver 1.4:
Fix issue with handling Crypto-Binding and invalid MACs.
Fix issue with handling change station error results.
Fix issue with handling DNS resolving installations.

ver 1.3:
Fix issue with handling EAP-GTC and password requests.
Fix issue with handling Crypto-Binding TLV for PEAPv0.
Fix issue with handling key installation and PEAP Phase 2.
Fix issue with handling externally triggered scan requests.
Fix issue with handling RCPI calculation for RRM requests.

ver 1.2:
Fix issue with handling scan requests while connecting.
Fix issue with handling scan duration for RRM requests.
Fix issue with handling parent TSF value for RRM requests.

ver 1.1:
Fix issue with simple configuration support checks.
Fix issue with handling TLS tunnel and PEAPv0.
Add support for radio resource management.

Signed-off-by: Robert Joslyn 
---
 ...am-Avoid-redirection-of-input-and-output-fi.patch | 12 +---
 .../iwd/{iwd_1.0.bb => iwd_1.4.bb}   |  6 --
 2 files changed, 9 insertions(+), 9 deletions(-)
 rename meta-oe/recipes-connectivity/iwd/{iwd_1.0.bb => iwd_1.4.bb} (90%)

diff --git 
a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
 
b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
index 93ef007f8..80126a870 100644
--- 
a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
+++ 
b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
@@ -1,4 +1,4 @@
-From f2a2b9f445ab1e31fbb27a74744e9a2ededfce17 Mon Sep 17 00:00:00 2001
+From 46fc0e197598579dc05e42f137e84f86a9b926e9 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Mon, 4 Nov 2019 16:38:04 -0800
 Subject: [PATCH] Makefile.am: Avoid redirection of input and output files
@@ -15,26 +15,24 @@ make[1]: *** [Makefile:3544: monitor/iwmon.1] Error 1
 Upstream-Status: Pending
 
 Signed-off-by: Khem Raj 
+
 ---
  Makefile.am | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 823b7d02..1bd0005c 100644
+index 8c69d9f4..35a25fc0 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -626,8 +626,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
+@@ -629,8 +629,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
< $< > $@
  
  if RUN_RST2MAN
 -RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
--  --no-datestamp < $< > $@
+-  --no-datestamp $< $@
 +RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
 +  $(AM_V_GEN)$(RST2MAN) --strict --no-raw \
 +  --no-generator --no-datestamp $< $@
  else
  RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
{ echo "Generated manual page $@ does not exist"; false; }
--- 
-2.24.0
-
diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb 
b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
similarity index 90%
rename from meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
rename to meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
index cc34ca221..49fc45a74 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
@@ -4,12 +4,12 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
 
 inherit autotools pkgconfig systemd python3native
 
-DEPENDS = "ell readline dbus python3-docutils-native"
+DEPENDS = "ell readline python3-docutils-native"
 
 SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \

file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
   "
-SRCREV = "971e1d2038a203ad43bd2278a811a9e5ec8d52db"
+SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@@ -32,6 +32,8 @@ FILES_${PN} += "${datadir}/dbus-1 
${nonarch_libdir}/modules-load.d ${systemd_uni
 
 SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 
'wired', 'ead.service', '', d)}"
 
+RDEPENDS_${PN} = "dbus"
+
 RRECOMMENDS_${PN} = "\
 kernel-module-pkcs7-message \
 kernel-module-pkcs8-key-parser \
-- 
2.24.1

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


[oe] [meta-oe][PATCH 3/3] iwd: Update formatting

2020-01-31 Thread Robert Joslyn
Try to conform better to the style guide.

Signed-off-by: Robert Joslyn 
---
 meta-oe/recipes-connectivity/iwd/iwd_1.4.bb | 35 +
 1 file changed, 22 insertions(+), 13 deletions(-)

diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb 
b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
index a023c0d28..b32656595 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
@@ -1,17 +1,19 @@
-DESCRIPTION = "Wireless daemon for Linux"
+SUMMARY = "Wireless daemon for Linux"
+HOMEPAGE = "https://iwd.wiki.kernel.org/;
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
 
-inherit autotools pkgconfig systemd python3native
-
 DEPENDS = "ell"
 
-SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \
-   
file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
-  "
+SRC_URI = " \
+git://git.kernel.org/pub/scm/network/wireless/iwd.git \
+file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
+"
 SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261"
 S = "${WORKDIR}/git"
 
+inherit autotools pkgconfig systemd python3native
+
 PACKAGECONFIG ??= " \
 client \
 monitor \
@@ -25,22 +27,29 @@ PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
 PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
 PACKAGECONFIG[systemd] = 
"--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
 
-EXTRA_OECONF += "--enable-external-ell"
+EXTRA_OECONF = "--enable-external-ell"
 
-do_configure_prepend () {
-mkdir -p ${S}/build-aux
+SYSTEMD_SERVICE_${PN} = " \
+iwd.service \
+${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)} \
+"
+
+do_configure_prepend() {
+install -d ${S}/build-aux
 }
 
 do_install_append() {
-mkdir --parents ${D}${docdir}/${BPN}
+install -d ${D}${docdir}/${BPN}
 install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN}
 # If client and monitor are disabled, bindir is empty, causing a QA error
 rmdir --ignore-fail-on-non-empty ${D}/${bindir}
 }
 
-FILES_${PN} += "${datadir}/dbus-1 ${nonarch_libdir}/modules-load.d 
${systemd_unitdir}/network/"
-
-SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 
'wired', 'ead.service', '', d)}"
+FILES_${PN} += " \
+${datadir}/dbus-1 \
+${nonarch_libdir}/modules-load.d \
+${systemd_unitdir}/network \
+"
 
 RDEPENDS_${PN} = "dbus"
 
-- 
2.24.1

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


[oe] [meta-oe][PATCH 2/3] iwd: Add PACKAGECONFIG options

2020-01-31 Thread Robert Joslyn
Make it easier to disable optional client, monitor, and man page
components and their dependencies. A user may want to disable the client
to avoid the use of GPLv3 readline.

Signed-off-by: Robert Joslyn 
---
 meta-oe/recipes-connectivity/iwd/iwd_1.4.bb | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb 
b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
index 49fc45a74..a023c0d28 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
 
 inherit autotools pkgconfig systemd python3native
 
-DEPENDS = "ell readline python3-docutils-native"
+DEPENDS = "ell"
 
 SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \

file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
@@ -12,7 +12,15 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/network/wireless/iwd.git \
 SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261"
 S = "${WORKDIR}/git"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG ??= " \
+client \
+monitor \
+manual-pages \
+${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+"
+PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
+PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor"
+PACKAGECONFIG[manual-pages] = 
"--enable-manual-pages,--disable-manual-pages,python3-docutils-native"
 PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
 PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
 PACKAGECONFIG[systemd] = 
"--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
@@ -26,6 +34,8 @@ do_configure_prepend () {
 do_install_append() {
 mkdir --parents ${D}${docdir}/${BPN}
 install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN}
+# If client and monitor are disabled, bindir is empty, causing a QA error
+rmdir --ignore-fail-on-non-empty ${D}/${bindir}
 }
 
 FILES_${PN} += "${datadir}/dbus-1 ${nonarch_libdir}/modules-load.d 
${systemd_unitdir}/network/"
-- 
2.24.1

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


[oe] [meta-java] OpenJDK11 LTS

2020-01-31 Thread Kyle Russell
Has any work been done towards supporting OpenJDK11 with meta-java?  I've
been using openjdk-8, and would be interested in helping contribute support
for the next LTS if there's interest.  I wanted to know if anyone is
actively pursuing this first though, or if anyone has uncovered additional
dependencies that need to be sorted out first.

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


Re: [oe] [meta-oe][zeus][PATCH 1/2] libldb: Do not require the "pam" distro feature to be enabled

2020-01-31 Thread akuster808



On 1/30/20 1:04 PM, Peter Kjellerstedt wrote:
> From: Peter Kjellerstedt 
>
> It was only added because samba was a dependency, but was not removed
> again when the dependency on samba was removed in commit 6207331f.
>
> This effectively reverts commit a190c2e3.
I have an update to this package staged. I apply this on top of that.

https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/zeus-nut=f64c2d691ea597aa6221e3d7706a4d022e07bfea

- armin
>
> Signed-off-by: Peter Kjellerstedt 
> Signed-off-by: Khem Raj 
> ---
>  meta-networking/recipes-support/libldb/libldb_1.5.5.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb 
> b/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
> index b19c964d8..9a93e66b6 100644
> --- a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
> +++ b/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
> @@ -36,8 +36,7 @@ LIC_FILES_CHKSUM = 
> "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
>  SRC_URI[md5sum] = "339a41ac9efaec680e6d1469dd9aa35b"
>  SRC_URI[sha256sum] = 
> "199f5861aa863f538ec66d5fa95ecc13254a2030c53daf0e47363fa9ba235c68"
>  
> -inherit waf-samba distro_features_check
> -REQUIRED_DISTRO_FEATURES = "pam"
> +inherit waf-samba
>  
>  S = "${WORKDIR}/ldb-${PV}"
>  

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


Re: [oe] [meta-oe][zeus][PATCH 2/2] gitpkgv.bbclass: Add support for extending the supported tag formats

2020-01-31 Thread akuster808



On 1/30/20 1:04 PM, Peter Kjellerstedt wrote:
> Introduce GITPKGV_TAG_REGEXP (which defaults to "v(\d.*)") to support
> dropping other unwanted parts of the found tags than just a leading
> "v". Any matching groups in the regexp will be concatenated to yield
> the final version.

I believe I got this one already staged.

https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/zeus-nut=b9513df03c22eebe6ae5e4342b5281a2ef64
>
> Signed-off-by: Peter Kjellerstedt 
> Signed-off-by: Khem Raj 
> ---
>  meta-oe/classes/gitpkgv.bbclass | 14 ++
>  1 file changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
> index ab591bd45..180421ed3 100644
> --- a/meta-oe/classes/gitpkgv.bbclass
> +++ b/meta-oe/classes/gitpkgv.bbclass
> @@ -40,10 +40,16 @@
>  GITPKGV = "${@get_git_pkgv(d, False)}"
>  GITPKGVTAG = "${@get_git_pkgv(d, True)}"
>  
> -def gitpkgv_drop_tag_prefix(version):
> +# This regexp is used to drop unwanted parts of the found tags. Any matching
> +# groups will be concatenated to yield the final version.
> +GITPKGV_TAG_REGEXP ??= "v(\d.*)"
> +
> +def gitpkgv_drop_tag_prefix(d, version):
>  import re
> -if re.match("v\d", version):
> -return version[1:]
> +
> +m = re.match(d.getVar('GITPKGV_TAG_REGEXP'), version)
> +if m:
> +return ''.join(group for group in m.groups() if group)
>  else:
>  return version
>  
> @@ -105,7 +111,7 @@ def get_git_pkgv(d, use_tags):
>  output = bb.fetch2.runfetchcmd(
>  "git --git-dir=%(repodir)s describe %(rev)s 
> --tags --exact-match 2>/dev/null"
>  % vars, d, quiet=True).strip()
> -ver = gitpkgv_drop_tag_prefix(output)
> +ver = gitpkgv_drop_tag_prefix(d, output)
>  except Exception:
>  ver = "0.0-%s-g%s" % (commits, vars['rev'][:7])
>  else:

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


[oe] [meta-oe][PATCH] modemmanager: upgrade 1.10.8 -> 1.12.4

2020-01-31 Thread Michael Haener
Signed-off-by: Michael Haener 
---
 .../modemmanager/{modemmanager_1.10.8.bb => modemmanager_1.12.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.10.8.bb => 
modemmanager_1.12.4.bb} (92%)

diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.10.8.bb 
b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.4.bb
similarity index 92%
rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.10.8.bb
rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.4.bb
index 3cd21cc0d..3639f02ca 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.10.8.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.4.bb
@@ -14,8 +14,8 @@ DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
 SRC_URI = 
"http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \
"
 
-SRC_URI[md5sum] = "c05ac4246c81cc15d617c4a129232988"
-SRC_URI[sha256sum] = 
"cbe174078dbdf3f746a55f0004353d3c27da2a31da553036d90fc7dc34a0169a"
+SRC_URI[md5sum] = "22280110d75c87a89786a317aa9cee04"
+SRC_URI[sha256sum] = 
"852d61755e0c1a8d0c609b17192d742b324fdd2e513f3ed64b228befb859a95b"
 
 S = "${WORKDIR}/ModemManager-${PV}"
 
-- 
2.11.0

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


Re: [oe] [meta-oe][PATCH] packagegrop-meta-oe: remove blacklisted mpv

2020-01-31 Thread Andreas Müller
On Fri, Jan 31, 2020 at 10:29 AM Trevor Woerner  wrote:
>
> On Sat 2020-01-25 @ 12:42:21 PM, Tim Orling wrote:
> > If someone cares, it has been updated to python3
> > https://github.com/mpv-player/mpv/releases/tag/v0.31.0
>
> I'm looking into this now. Is anyone else?
> (no point multiple people looking into this)
Was on my list - but am happy you jump in to reduce it :)

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


[oe] [meta-python2][zeus][PATCH 2/2] kas-meta-python2-ptest-image: add python2 test

2020-01-31 Thread Tim Orling
In addition to ping, ssh and ptest, run python2 test(s).

Run python2 before ptest (fail early).

Signed-off-by: Tim Orling 
---
 kas-meta-python2-ptest-image.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas-meta-python2-ptest-image.yml b/kas-meta-python2-ptest-image.yml
index 3a15add5..1dc0f4b8 100644
--- a/kas-meta-python2-ptest-image.yml
+++ b/kas-meta-python2-ptest-image.yml
@@ -14,7 +14,7 @@ local_conf_header:
 DISTRO_FEAURES_append = " ptest"
 EXTRA_IMAGE_FEATURES = "debug-tweaks"
 TESTIMAGE_AUTO = "1"
-TEST_SUITES = " ping ssh ptest"
+TEST_SUITES = " ping ssh python2 ptest"
 TEST_QEMUPARAMS += "-smp 4 -m 8192"
 TEST_RUNQEMUPARAMS += "kvm gl"
 IMAGE_ROOTFS_SIZE ?= "8192"
-- 
2.25.0

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


Re: [oe] [oe-core][zeus][PATCH 1/1] webkitgtk: fix occasional link error

2020-01-31 Thread akuster808
got it.


On 1/28/20 2:10 PM, Randy MacLeod wrote:
> On 1/28/20 4:34 PM, Randy MacLeod wrote:
>> Armin,
>>
>> ping? It's not urgent but it would be nice to fix this build failure.
>
>
> Ah, it was sent to the wrong list.
>
> Joe,
>
> Could you send this patch to the oe-core list and CC Armin, please?
sorry , found original in my trash. its in zeus-nut now

thanks for bringing to my attention.

- armin
>
> ../Randy
>
>>
>> ../Randy
>>
>>
>> On 11/7/19 1:13 PM, Joe Slater wrote:
>>> Partial backport from WebKit.git.  See patch for details.
>>>
>>> Fixed in webkitgtk 2.26.1.
>>>
>>> Signed-off-by: Joe Slater 
>>> ---
>>>   .../webkit/webkitgtk/fix-link-error.patch  | 45
>>> ++
>>>   meta/recipes-sato/webkit/webkitgtk_2.24.4.bb   |  1 +
>>>   2 files changed, 46 insertions(+)
>>>   create mode 100755
>>> meta/recipes-sato/webkit/webkitgtk/fix-link-error.patch
>>>
>>> diff --git a/meta/recipes-sato/webkit/webkitgtk/fix-link-error.patch
>>> b/meta/recipes-sato/webkit/webkitgtk/fix-link-error.patch
>>> new file mode 100755
>>> index 000..9696ddd
>>> --- /dev/null
>>> +++ b/meta/recipes-sato/webkit/webkitgtk/fix-link-error.patch
>>> @@ -0,0 +1,45 @@
>>> +webkitgtk: fix an occasional link error
>>> +
>>> +Part of ae465a4e...  Changelog is not included in the source tarball.
>>> +
>>> +Upstream-Status:  backport [git://git.webkit.org/WebKit.git]
>>> +
>>> +commit ae465a4e3b1498b6c4038fc7e596e0e3662d116f
>>> +Author: hironori.fu...@sony.com
>>> 
>>> +Date:   Fri Jun 28 07:38:09 2019 +
>>> +
>>> +    [Win] unresolved external symbol
>>> "JSC::JSObject::didBecomePrototype(void)" referenced in function
>>> "JSC::Structure::create(...)"
>>> +    https://bugs.webkit.org/show_bug.cgi?id=199312
>>> +
>>> +    Reviewed by Keith Miller.
>>> +
>>> +    WinCairo port, clang-cl Release builds reported a following
>>> linkage error:
>>> +
>>> +    > WebCore.lib(UnifiedSource-4babe430-10.cpp.obj) : error
>>> LNK2019: unresolved external symbol "public: void __cdecl
>>> JSC::JSObject::didBecomePrototype(void)"
>>> (?didBecomePrototype@JSObject@JSC@@QEAAXXZ) referenced in function
>>> "public: static class JSC::Structure * __cdecl
>>> JSC::Structure::create(class JSC::VM &,class JSC::JSGlobalObject
>>> *,class JSC::JSValue,class JSC::TypeInfo const &,struct
>>> JSC::ClassInfo const *,unsigned char,unsigned int)"
>>> (?create@Structure@JSC@@SAPEAV12@AEAVVM@2@PEAVJSGlobalObject@2@VJSValue@2@AEBVTypeInfo@2@PEBUClassInfo@2@EI@Z)
>>> +
>>> +    No new tests because there is no behavior change.
>>> +
>>> +    * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: Include
>>> ,
>>> +    and do not include headers which is included by it.
>>> +
>>> +    git-svn-id:
>>> http://svn.webkit.org/repository/webkit/trunk@246922
>>> 268f45cc-cd09-0410-ab3c-d52691b4dbfc
>>> +
>>> +[ modification of Changelog deleted ]
>>> +
>>> +diff --git
>>> a/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
>>> b/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
>>> +index d1b047c..0899a9a 100644
>>> +---
>>> a/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
>>> 
>>> b/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
>>> +@@ -49,11 +49,8 @@
>>> + #include "SQLiteTransaction.h"
>>> + #include "ThreadSafeDataBuffer.h"
>>> + #include 
>>> +-#include 
>>> +-#include 
>>> +-#include 
>>> ++#include 
>>> + #include 
>>> +-#include 
>>> + #include 
>>> + #include 
>>> + #include 
>>> diff --git a/meta/recipes-sato/webkit/webkitgtk_2.24.4.bb
>>> b/meta/recipes-sato/webkit/webkitgtk_2.24.4.bb
>>> index 8c695ce..b04ec82 100644
>>> --- a/meta/recipes-sato/webkit/webkitgtk_2.24.4.bb
>>> +++ b/meta/recipes-sato/webkit/webkitgtk_2.24.4.bb
>>> @@ -23,6 +23,7 @@ SRC_URI =
>>> "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
>>>  file://include_array.patch \
>>>  file://narrowing.patch \
>>> file://0001-gstreamer-add-a-missing-format-string.patch \
>>> +   file://fix-link-error.patch \
>>>  "
>>>     SRC_URI[md5sum] = "c214963d8c0e7d83460da04a0d8dda87"
>>
>>
>

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


Re: [oe] [meta-oe][PATCH] packagegrop-meta-oe: remove blacklisted mpv

2020-01-31 Thread Martin Jansa
I'm not,

I've noticed this only because of sstate-diff-machine.sh failures, not
using mpv myself.

On Wed, Jan 29, 2020 at 9:32 PM Trevor Woerner  wrote:

> On Sat 2020-01-25 @ 12:42:21 PM, Tim Orling wrote:
> > If someone cares, it has been updated to python3
> > https://github.com/mpv-player/mpv/releases/tag/v0.31.0
>
> I'm looking into this now. Is anyone else?
> (no point multiple people looking into this)
>
> > On Sat, Jan 25, 2020 at 12:24 PM Martin Jansa 
> > wrote:
> >
> > > * it's blacklisted with:
> > >   mpv_0.26.0.bb:PNBLACKLIST[mpv] = "Needs forward porting to use
> python3"
> > >
> > > Signed-off-by: Martin Jansa 
> > > ---
> > >  meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta-oe/recipes-core/packagegroups/
> packagegroup-meta-oe.bb
> > > b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > > index 865cbb0bfc..d5789a758d 100644
> > > --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > > +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > > @@ -207,7 +207,7 @@ RDEPENDS_packagegroup-meta-oe-multimedia ="\
> > >  sound-theme-freedesktop v4l-utils yavta wavpack libvpx \
> > >  ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xpext pavucontrol
> > > xsp", "", d)} \
> > >  libmikmod \
> > > -${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial",
> "libmad
> > > faad2 mpv", "", d)} \
> > > +${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial",
> "libmad
> > > faad2", "", d)} \
> > >  "
> > >  RDEPENDS_packagegroup-meta-oe-multimedia_remove_libc-musl = "alsa-oss"
> > >
> > > --
> > > 2.20.1
> > >
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe

2020-01-31 Thread akuster808
What is the diff in v2 ?

On 1/30/20 7:34 AM, Trevor Gamblin wrote:
> From: Trevor Gamblin 
>
> Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
> there is only a python2 recipe for this package, thus the twistd daemon
> won't be able to run properly for python3.
>
> Signed-off-by: Trevor Gamblin 
> ---
>  .../python/python3-pyhamcrest_1.9.0.bb | 10 ++
>  1 file changed, 10 insertions(+)
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb 
> b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
> new file mode 100644
> index 0..04aa9b47f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
> @@ -0,0 +1,10 @@
> +SUMMARY = "Hamcrest framework for matcher objects"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
> +
> +PYPI_PACKAGE = "PyHamcrest"
> +
> +SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
> +SRC_URI[sha256sum] = 
> "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
> +
> +inherit pypi setuptools3

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


Re: [oe] [meta-java][PATCH 0/4] openjdk-8: update to jdk8u242ga

2020-01-31 Thread Jacob Kroon

On 1/28/20 1:01 PM, Jacob Kroon wrote:

On 1/28/20 6:43 AM, Jacob Kroon wrote:

On 1/27/20 5:05 PM, Jacob Kroon wrote:

On 1/27/20 3:57 PM, Richard Leitner wrote:

On Mon, Jan 27, 2020 at 03:10:04PM +0100, Jacob Kroon wrote:

On 1/27/20 12:24 PM, Richard Leitner wrote:

This series updates Openjdk 8 to the latest "ga" release 242.

Successful testing has been done on a fedora-31 build host for
qemuarm64, qemux86-64, qemuarm32 and armv7a.





I don't know if it is related to my setup, but "bitbake openjre-8" 
insists
on rebuilding itself every time I run it, and I don't see any 
sstate cache

being generated for it.


I just tried to reproduce it, but neither for armv7a nor for aarch64
openjre-8 is rebuiled on the latest poky/oe-core master when nothing 
was

changed in meta-java.

So in your case it also rebuilds if you call "bitbake openjre-8"
directly one-after-another without any change to the layers?



Yes, precisely.

But.. I think you can ignore this. I suspect I have confused 
bitbake's hashequiv database by pruning old cache-files using the 
sstate-cache-management.sh script.


Joshua, do you know if that script is supported when using hashequiv ?

Gonna try and remove cache/ aswell, and see if that helps.



I just retried on a clean build, I wiped everything, and openjre-8 
still insists on rebuilding on the second run. I don't know whats 
going on here..


Looks like it is caused by me using rm_work.bbclass, it seems to wipe 
something that causes the rebuilds.


Actually it looks like openjre-8 and openjdk-8-native cannot rebuild 
from sstate cache, even with rm_work disabled.

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


[oe] [meta-oe][PATCH] libgpiod: update v1.4.1 -> v1.4.2

2020-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

While the v1.5 version of libgpiod has already been released - we can't
integrate it in yocto yet as it requires v5.5 linux kernel headers to
build. In the meantime - update the recipe to build the latest bug-fix
release from the v1.4.x branch.

Signed-off-by: Bartosz Golaszewski 
---
 .../libgpiod/{libgpiod_1.4.1.bb => libgpiod_1.4.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/libgpiod/{libgpiod_1.4.1.bb => 
libgpiod_1.4.2.bb} (80%)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb 
b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb
similarity index 80%
rename from meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb
rename to meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb
index 0391deb86..bad88a54e 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb
@@ -2,8 +2,8 @@ require libgpiod.inc
 
 DEPENDS += "autoconf-archive-native"
 
-SRC_URI[md5sum] = "585b4bb431f99c4ba9b3ee58b9d494c1"
-SRC_URI[sha256sum] = 
"21ae8fd1f8dafc2eb2ba50e652390cf533d21351419a7426255895cb52e21b1c"
+SRC_URI[md5sum] = "b552bfa87685dfd728a1485e914bfae2"
+SRC_URI[sha256sum] = 
"b289b70e3d63a8e06205f7445d5342f4742277c267ce24a7c4d0017fff339e41"
 
 # enable cxx bindings
 PACKAGECONFIG ?= "cxx"
-- 
2.19.1

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


[oe] [meta-oe][zeus][PATCH 2/2] gitpkgv.bbclass: Add support for extending the supported tag formats

2020-01-31 Thread Peter Kjellerstedt
Introduce GITPKGV_TAG_REGEXP (which defaults to "v(\d.*)") to support
dropping other unwanted parts of the found tags than just a leading
"v". Any matching groups in the regexp will be concatenated to yield
the final version.

Signed-off-by: Peter Kjellerstedt 
Signed-off-by: Khem Raj 
---
 meta-oe/classes/gitpkgv.bbclass | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index ab591bd45..180421ed3 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -40,10 +40,16 @@
 GITPKGV = "${@get_git_pkgv(d, False)}"
 GITPKGVTAG = "${@get_git_pkgv(d, True)}"
 
-def gitpkgv_drop_tag_prefix(version):
+# This regexp is used to drop unwanted parts of the found tags. Any matching
+# groups will be concatenated to yield the final version.
+GITPKGV_TAG_REGEXP ??= "v(\d.*)"
+
+def gitpkgv_drop_tag_prefix(d, version):
 import re
-if re.match("v\d", version):
-return version[1:]
+
+m = re.match(d.getVar('GITPKGV_TAG_REGEXP'), version)
+if m:
+return ''.join(group for group in m.groups() if group)
 else:
 return version
 
@@ -105,7 +111,7 @@ def get_git_pkgv(d, use_tags):
 output = bb.fetch2.runfetchcmd(
 "git --git-dir=%(repodir)s describe %(rev)s --tags 
--exact-match 2>/dev/null"
 % vars, d, quiet=True).strip()
-ver = gitpkgv_drop_tag_prefix(output)
+ver = gitpkgv_drop_tag_prefix(d, output)
 except Exception:
 ver = "0.0-%s-g%s" % (commits, vars['rev'][:7])
 else:
-- 
2.21.1

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


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread Khem Raj
On Wed, Jan 29, 2020 at 9:32 PM akuster808  wrote:
>
>
>
> On 1/28/20 1:53 PM, Khem Raj wrote:
> > Signed-off-by: Khem Raj 
>
> Is this for the same reason as for nodejs Cento7 fix ?
>

pretty much same problem, although a better fix is to detect it
during build but every build system has its own nuance.

> - armin
> > ---
> >  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb 
> > b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > index 6f202cf401..19949acd84 100644
> > --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
> >
> >  LDFLAGS_append_mipsarch = " -latomic"
> >  LDFLAGS_append_powerpc = " -latomic"
> > +LDFLAGS_append_riscv64 = " -latomic"
> > +LDFLAGS_append_riscv32 = " -latomic"
> >
> >  USERADD_PACKAGES = "${PN}"
> >  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid 
> > --shell /bin/false --user-group squid"
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][zeus][PATCH 1/2] libldb: Do not require the "pam" distro feature to be enabled

2020-01-31 Thread Peter Kjellerstedt
From: Peter Kjellerstedt 

It was only added because samba was a dependency, but was not removed
again when the dependency on samba was removed in commit 6207331f.

This effectively reverts commit a190c2e3.

Signed-off-by: Peter Kjellerstedt 
Signed-off-by: Khem Raj 
---
 meta-networking/recipes-support/libldb/libldb_1.5.5.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb 
b/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
index b19c964d8..9a93e66b6 100644
--- a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
+++ b/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
@@ -36,8 +36,7 @@ LIC_FILES_CHKSUM = 
"file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
 SRC_URI[md5sum] = "339a41ac9efaec680e6d1469dd9aa35b"
 SRC_URI[sha256sum] = 
"199f5861aa863f538ec66d5fa95ecc13254a2030c53daf0e47363fa9ba235c68"
 
-inherit waf-samba distro_features_check
-REQUIRED_DISTRO_FEATURES = "pam"
+inherit waf-samba
 
 S = "${WORKDIR}/ldb-${PV}"
 
-- 
2.21.1

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


[oe] [meta-networking][PATCH] wireguard: Upgrade to 20191219 snapshot

2020-01-31 Thread Khem Raj
Fixes build with kernel >= 5.4

Signed-off-by: Khem Raj 
---
 ...odule_0.0.20190913.bb => wireguard-module_0.0.20191219.bb} | 0
 ...-tools_0.0.20190913.bb => wireguard-tools_0.0.20191219.bb} | 0
 meta-networking/recipes-kernel/wireguard/wireguard.inc| 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename 
meta-networking/recipes-kernel/wireguard/{wireguard-module_0.0.20190913.bb => 
wireguard-module_0.0.20191219.bb} (100%)
 rename 
meta-networking/recipes-kernel/wireguard/{wireguard-tools_0.0.20190913.bb => 
wireguard-tools_0.0.20191219.bb} (100%)

diff --git 
a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20190913.bb 
b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20191219.bb
similarity index 100%
rename from 
meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20190913.bb
rename to 
meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20191219.bb
diff --git 
a/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20190913.bb 
b/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20191219.bb
similarity index 100%
rename from 
meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20190913.bb
rename to 
meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20191219.bb
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard.inc 
b/meta-networking/recipes-kernel/wireguard/wireguard.inc
index b0b48d0dd0..1ebe7cdfba 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard.inc
+++ b/meta-networking/recipes-kernel/wireguard/wireguard.inc
@@ -11,7 +11,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz;
-SRC_URI[md5sum] = "ec2345dfc8ffc61ccd7529d5d19b2602"
-SRC_URI[sha256sum] = 
"997327185d2d1b597dc118f737c0c165e2a2c21453387ea02659f1159d148518"
+SRC_URI[md5sum] = "5175ca88850993dc88a4c9d924ee79d4"
+SRC_URI[sha256sum] = 
"5aba6f0c38e97faa0b155623ba594bb0e4bd5e29deacd8d5ed8bda8d8283b0e7"
 
 S = "${WORKDIR}/WireGuard-${PV}/src/"
-- 
2.25.0

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


[oe] [meta-python2][zeus][PATCH 1/2] lib/oeqa/runtime/cases: add python2.py

2020-01-31 Thread Tim Orling
Refactor the python3 test from oe-core to do very
basic acceptance test of python2.

Signed-off-by: Tim Orling 
---
 lib/oeqa/runtime/cases/python2.py | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 lib/oeqa/runtime/cases/python2.py

diff --git a/lib/oeqa/runtime/cases/python2.py 
b/lib/oeqa/runtime/cases/python2.py
new file mode 100644
index ..8afa2ac9
--- /dev/null
+++ b/lib/oeqa/runtime/cases/python2.py
@@ -0,0 +1,20 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+
+class PythonTest(OERuntimeTestCase):
+@OETestDepends(['ssh.SSHTest.test_ssh'])
+@OEHasPackage(['python-core'])
+def test_python(self):
+cmd = "python -c \"import codecs; print(codecs.encode('Uryyb, jbeyq', 
'rot13'))\""
+status, output = self.target.run(cmd)
+msg = 'Exit status was not 0. Output: %s' % output
+self.assertEqual(status, 0, msg=msg)
+
+msg = 'Incorrect output: %s' % output
+self.assertEqual(output, "Hello, world", msg=msg)
-- 
2.25.0

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


[oe] [meta-networking][PATCH 1/3] netperf: Inherit texinfo to get makeinfo

2020-01-31 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-networking/recipes-support/netperf/netperf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb 
b/meta-networking/recipes-support/netperf/netperf_git.bb
index f1f62df066..d48f3aeabd 100644
--- a/meta-networking/recipes-support/netperf/netperf_git.bb
+++ b/meta-networking/recipes-support/netperf/netperf_git.bb
@@ -19,7 +19,7 @@ SRCREV = "f482bab49fcedee46fc5b755da127f608325cd13"
 
 S = "${WORKDIR}/git"
 
-inherit update-rc.d autotools
+inherit update-rc.d autotools texinfo
 
 # cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros
 CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
-- 
2.25.0

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


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread Khem Raj
On Thu, Jan 30, 2020 at 11:01 AM akuster808  wrote:
>
>
>
> On 1/29/20 10:14 PM, Khem Raj wrote:
> > On Wed, Jan 29, 2020 at 9:32 PM akuster808  wrote:
> >>
> >>
> >> On 1/28/20 1:53 PM, Khem Raj wrote:
> >>> Signed-off-by: Khem Raj 
> >> Is this for the same reason as for nodejs Cento7 fix ?
> >>
> > pretty much same problem, although a better fix is to detect it
> > during build but every build system has its own nuance.
> ok. backport worthy then.
yes

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


Re: [oe] [meta-python][zeus][PATCH 1/2] python-twisted: add required RDEPENDS for twistd

2020-01-31 Thread Trevor Gamblin


On 1/30/20 1:00 AM, Tim Orling wrote:



On Mon, Jan 27, 2020 at 12:44 PM Trevor Gamblin 
mailto:trevor.gamb...@windriver.com>> 
wrote:


python-twisted is currently missing some packages for its
/usr/bin/twistd
executable to function. Add these to the RDEPENDS list, and also
clean up
formatting since the list is getting long.

Note that a similar patch has already been submitted for master
branch,
but the python2 version of twisted needs more explicit RDEPENDS
than the
python3 version submitted to master in order for /usr/bin/twistd
to work
properly.

Signed-off-by: Trevor Gamblin mailto:trevor.gamb...@windriver.com>>
---
 .../recipes-devtools/python/python-twisted.inc | 18
+-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git
a/meta-python/recipes-devtools/python/python-twisted.inc
b/meta-python/recipes-devtools/python/python-twisted.inc
index d70104dc2..f55bbb033 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "

-RDEPENDS_${PN}-core = "${PYTHON_PN}-core
${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental
${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core \
+                       ${PYTHON_PN}-zopeinterface \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-automat \
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-unixadmin \
+                       ${PYTHON_PN}-pkg-resources \
+                       ${PYTHON_PN}-misc \
+                       ${PYTHON_PN}-pkgutil \
+                       ${PYTHON_PN}-plistlib \
+                       ${PYTHON_PN}-setuptools \
+"


Please sort this alphabetically. It is MUCH easier to see what is 
present or missing that way.

Done, v2 sent.


+
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
-- 
2.23.0


-- 
___

Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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


Re: [oe] [meta-oe][PATCH] recipes-support: Added recipe for gengetopt package

2020-01-31 Thread Khem Raj
fails to build

https://errors.yoctoproject.org/Errors/Details/308428/

perhaps it needs gettext during build.

On Tue, Jan 28, 2020 at 11:52 AM Marek Belisko
 wrote:
>
> Signed-off-by: Marek Belisko 
> ---
>  meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb | 16 
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
>
> diff --git a/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb 
> b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
> new file mode 100644
> index 000..a31ad0d
> --- /dev/null
> +++ b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "skeleton main.c generator"
> +DESCRIPTION = "Gengetopt is a tool to write command line option parsing code 
> for C programs."
> +SECTION = "utils"
> +HOMEPAGE = "https://www.gnu.org/software/gengetopt/gengetopt.html;
> +
> +LICENSE = "GPLv3+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb"
> +
> +SRC_URI = "${GNU_MIRROR}/gengetopt/${BPN}-${PV}.tar.xz"
> +
> +SRC_URI[md5sum] = "ea165d618640dbdecb42ae4491337965"
> +SRC_URI[sha256sum] = 
> "b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac"
> +
> +inherit autotools
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.7.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd

2020-01-31 Thread Trevor Gamblin
From: Trevor Gamblin 

python-twisted is currently missing some packages for its /usr/bin/twistd
executable to function. Add these to the RDEPENDS list, and also clean up
formatting since the list is getting long.

Note that a similar patch has already been submitted for master branch,
but the python2 version of twisted needs more explicit RDEPENDS than the
python3 version submitted to master in order for /usr/bin/twistd to work
properly.

Signed-off-by: Trevor Gamblin 
---
 .../recipes-devtools/python/python-twisted.inc | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc 
b/meta-python/recipes-devtools/python/python-twisted.inc
index d70104dc2..024a9fa7c 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
 ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface 
${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink 
${PYTHON_PN}-automat"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
+   ${PYTHON_PN}-constantly \
+   ${PYTHON_PN}-core \
+  ${PYTHON_PN}-debugger \
+   ${PYTHON_PN}-hyperlink \
+   ${PYTHON_PN}-incremental \
+   ${PYTHON_PN}-misc \
+   ${PYTHON_PN}-pkg-resources \
+   ${PYTHON_PN}-pkgutil \
+   ${PYTHON_PN}-plistlib \
+   ${PYTHON_PN}-pyhamcrest \
+   ${PYTHON_PN}-pyserial \
+   ${PYTHON_PN}-setuptools \
+   ${PYTHON_PN}-unixadmin \
+   ${PYTHON_PN}-zopeinterface \
+"
+
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
-- 
2.24.0

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


Re: [oe] [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe

2020-01-31 Thread Trevor Gamblin



On 1/30/20 2:00 PM, akuster808 wrote:

What is the diff in v2 ?
My mistake, no change in v2 for this patch - meant to only send the 
patch to update RDEPENDS.


On 1/30/20 7:34 AM, Trevor Gamblin wrote:

From: Trevor Gamblin 

Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
there is only a python2 recipe for this package, thus the twistd daemon
won't be able to run properly for python3.

Signed-off-by: Trevor Gamblin 
---
  .../python/python3-pyhamcrest_1.9.0.bb | 10 ++
  1 file changed, 10 insertions(+)
  create mode 100644 
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb 
b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
new file mode 100644
index 0..04aa9b47f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
+SRC_URI[sha256sum] = 
"8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
+
+inherit pypi setuptools3

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


Re: [oe] [meta-python][zeus][PATCH 1/2] python-twisted: add required RDEPENDS for twistd

2020-01-31 Thread Tim Orling
On Mon, Jan 27, 2020 at 12:44 PM Trevor Gamblin <
trevor.gamb...@windriver.com> wrote:

> python-twisted is currently missing some packages for its /usr/bin/twistd
> executable to function. Add these to the RDEPENDS list, and also clean up
> formatting since the list is getting long.
>
> Note that a similar patch has already been submitted for master branch,
> but the python2 version of twisted needs more explicit RDEPENDS than the
> python3 version submitted to master in order for /usr/bin/twistd to work
> properly.
>
> Signed-off-by: Trevor Gamblin 
> ---
>  .../recipes-devtools/python/python-twisted.inc | 18 +-
>  1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-twisted.inc
> b/meta-python/recipes-devtools/python/python-twisted.inc
> index d70104dc2..f55bbb033 100644
> --- a/meta-python/recipes-devtools/python/python-twisted.inc
> +++ b/meta-python/recipes-devtools/python/python-twisted.inc
> @@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
>  ${PN}-zsh \
>  "
>
> -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface
> ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink
> ${PYTHON_PN}-automat"
> +RDEPENDS_${PN}-core = "${PYTHON_PN}-core \
> +   ${PYTHON_PN}-zopeinterface \
> +   ${PYTHON_PN}-incremental \
> +   ${PYTHON_PN}-constantly \
> +   ${PYTHON_PN}-hyperlink \
> +   ${PYTHON_PN}-automat \
> +   ${PYTHON_PN}-pyserial \
> +   ${PYTHON_PN}-pyhamcrest \
> +   ${PYTHON_PN}-debugger \
> +   ${PYTHON_PN}-unixadmin \
> +   ${PYTHON_PN}-pkg-resources \
> +   ${PYTHON_PN}-misc \
> +   ${PYTHON_PN}-pkgutil \
> +   ${PYTHON_PN}-plistlib \
> +   ${PYTHON_PN}-setuptools \
> +"
>

Please sort this alphabetically. It is MUCH easier to see what is present
or missing that way.

+
>  RDEPENDS_${PN}-test = "${PN}"
>  RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
>  RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
> --
> 2.23.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v2 1/4] openjdk-8: update to latest ga version 242

2020-01-31 Thread Jacob Kroon

On 1/29/20 10:17 PM, Jacob Kroon wrote:

On 1/28/20 6:22 AM, Richard Leitner wrote:

As OpenJDK-8 is now tagging "ga" versions in addition to the "build"
version the recipes are adapted to use those "ga" versions.

All existing patches got re-applied and renamed. For better handling 
Hotspot

patches now start at patch number 1001 and jdk patches at 2001.

Furthermore architecture dependent patches are prefixed with the
architecture they apply on.

Following patches/hunks were completely dropped:
- 0002-hotspot-fix-compilation-with-security-flags-enabled.patch
 got backported to hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185
- 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch
 ostream.cpp:112 got fixed in hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502
- 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
 got backported to hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916
- 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
 fixed in hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd
- 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch
 fixed in hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c
- openjdk8-add-missing-linker-flags.patch
 fixed in hotspot jdk8u
 https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a
- openjdk8-fix-shark-stdc++11.patch
 fixed in hotspot jdk8u
- openjdk8-fix-libpng-neon-build.patch
 fixed in jdk
 https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1
- aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch
 got backported to hotspot jdk8u

Following patches were newly added:
- 0011-autoconf-fix-CC-with-arguments-detection.patch
 needed because of jdk8u commit "8038340: Cleanup and fix sysroot 
and devkit handling on Linux and Solaris"

- 0012-autoconf-NativeCompilation-remove-sysroot.patch
 needed because of jdk8u commit "8038340: Cleanup and fix sysroot 
and devkit handling on Linux and Solaris"


Signed-off-by: Richard Leitner 
---
  docs/UPDATING.md  |   18 +
  recipes-core/openjdk/openjdk-8-common.inc |   13 +-
  recipes-core/openjdk/openjdk-8-cross.inc  |   27 +-
  recipes-core/openjdk/openjdk-8-native.inc |    5 +-
  .../openjdk/openjdk-8-native_172b11.bb    |    2 -
  recipes-core/openjdk/openjdk-8-native_242.bb  |    2 +
  .../openjdk-8-release-172b11-aarch32.inc  |   58 -
  .../openjdk-8-release-172b11-aarch64.inc  |   35 -
  .../openjdk/openjdk-8-release-172b11.inc  |   39 -
  .../openjdk/openjdk-8-release-aarch32.inc |   60 +
  .../openjdk/openjdk-8-release-aarch64.inc |   37 +
  ...ommon.inc => openjdk-8-release-common.inc} |   96 +-
  recipes-core/openjdk/openjdk-8-release.inc    |   39 +
  .../{openjdk-8_172b11.bb => openjdk-8_242.bb} |    4 +-
  .../{openjre-8_172b11.bb => openjre-8_242.bb} |    4 +-
  ...low-using-a-system-installed-libjpeg.patch |   77 +
  ...llow-using-a-system-installed-libpng.patch |   80 +
  ...pilation-with-security-flags-enabled.patch |   41 -
  ...ild-on-as-needed-toolchains-generic.patch} |   12 +-
  ... => 0004-don-t-expect-fqpn-for-make.patch} |   21 +-
  ...llow-using-a-system-installed-libpng.patch |  148 -
  ...005-autoconf-filter-aclocal-copy-too.patch |   25 +
  ...> 0006-autoconf-handle-extra-output.patch} |   19 +-
  ...-assembler-flag-handling-in-makefile.patch |   36 +
  ...0008-autoconf-fix-shark-build-common.patch |   37 +
  ...-in-favour-of-openembedded-package-.patch} |   98 +-
  ...ove-shell-variables-from-autoheader.patch} |   25 +-
  ...conf-fix-CC-with-arguments-detection.patch |   43 +
  ...onf-NativeCompilation-remove-sysroot.patch |   24 +
  ...4-fix-undefined-behaviour-gcc-v8-fix.patch |   41 -
  ...o-fix-undefined-behaviour-gcc-v8-fix.patch |   42 -
  ...g-build-after-8062808-Turn-on-the-Wr.patch |   47 -
  ...-HotSpot-builds-on-5.x-Linux-kernels.patch |   43 -
  ...tspot-fix-crash-on-JNI_CreateJavaVM.patch} |   13 +-
  ...otspot-use-correct-include-for-poll.patch} |   24 +-
  ...tspot-don-t-rely-on-old-SysV-SIGCLD.patch} |   12 +-
  ...patch-to-fix-misuses-of-strncpy-str.patch} |   63 +-
  ...rn-type-issues-introduced-by-806165.patch} |   21 +-
  ...ro-build-requires-disabled-warnings.patch} |   36 +-
  ...eturn-statement-in-__sync_val_compa.patch} |   18 +-
  ...ot-Turn-on-the-Wreturn-type-warning.patch} |   70 +-
  ...otspot-handle-format-error-for-GCC-7.patch |   34 +
  ...atch => 1010-hotspot-fix-adlc-flags.patch} |   33 +-
  ...1011-hotspot-fix-shark-build-common.patch} |  322 +-
  ...1012-hotspot-restrict-to-staging-dir.patch |   26 +
  ...parison-between-pointer-and-integer.patch} |   34 +-
  ...ow-using-a-system-installed-libjpeg.patch} |   84 +-
  ...llow-using-a-system-installed-libpng.patch |   83 +
  ...04-jdk-use-correct-include-for-poll.patch} |   47 +-
  

Re: [oe] [meta-oe][PATCH] packagegrop-meta-oe: remove blacklisted mpv

2020-01-31 Thread Trevor Woerner
On Sat 2020-01-25 @ 12:42:21 PM, Tim Orling wrote:
> If someone cares, it has been updated to python3
> https://github.com/mpv-player/mpv/releases/tag/v0.31.0

I'm looking into this now. Is anyone else?
(no point multiple people looking into this)

> On Sat, Jan 25, 2020 at 12:24 PM Martin Jansa 
> wrote:
> 
> > * it's blacklisted with:
> >   mpv_0.26.0.bb:PNBLACKLIST[mpv] = "Needs forward porting to use python3"
> >
> > Signed-off-by: Martin Jansa 
> > ---
> >  meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > index 865cbb0bfc..d5789a758d 100644
> > --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> > @@ -207,7 +207,7 @@ RDEPENDS_packagegroup-meta-oe-multimedia ="\
> >  sound-theme-freedesktop v4l-utils yavta wavpack libvpx \
> >  ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xpext pavucontrol
> > xsp", "", d)} \
> >  libmikmod \
> > -${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "libmad
> > faad2 mpv", "", d)} \
> > +${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "libmad
> > faad2", "", d)} \
> >  "
> >  RDEPENDS_packagegroup-meta-oe-multimedia_remove_libc-musl = "alsa-oss"
> >
> > --
> > 2.20.1
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread akuster808



On 1/28/20 1:53 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj 

Is this for the same reason as for nodejs Cento7 fix ?

- armin
> ---
>  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb 
> b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> index 6f202cf401..19949acd84 100644
> --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
> +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
>  
>  LDFLAGS_append_mipsarch = " -latomic"
>  LDFLAGS_append_powerpc = " -latomic"
> +LDFLAGS_append_riscv64 = " -latomic"
> +LDFLAGS_append_riscv32 = " -latomic"
>  
>  USERADD_PACKAGES = "${PN}"
>  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid 
> --shell /bin/false --user-group squid"

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