[OE-core] [PATCH] json-glib: Backport a build fix with clang

2020-09-01 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...o-instead-of-cast-to-convert-pointer.patch | 33 +++
 .../json-glib/json-glib_1.4.4.bb  |  4 ++-
 2 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-gnome/json-glib/json-glib/0001-scanner-use-macro-instead-of-cast-to-convert-pointer.patch

diff --git 
a/meta/recipes-gnome/json-glib/json-glib/0001-scanner-use-macro-instead-of-cast-to-convert-pointer.patch
 
b/meta/recipes-gnome/json-glib/json-glib/0001-scanner-use-macro-instead-of-cast-to-convert-pointer.patch
new file mode 100644
index 00..2a834b674d
--- /dev/null
+++ 
b/meta/recipes-gnome/json-glib/json-glib/0001-scanner-use-macro-instead-of-cast-to-convert-pointer.patch
@@ -0,0 +1,33 @@
+From d60fcd5bd5c2675e4342775b910a2ea48ec0eccb Mon Sep 17 00:00:00 2001
+From: Dimitry Andric 
+Date: Wed, 19 Aug 2020 03:35:16 +
+Subject: [PATCH] scanner: use macro instead of cast to convert pointer to 
integer
+
+Clang 11 build failed due to a new warning (part of 
-Werror=pointer-to-int-cast):
+../json-glib/json-scanner.c:928:13: error: cast to smaller integer type 
'GTokenType' from 'gpointer' (aka 'void *') 
[-Werror,-Wvoid-pointer-to-enum-cast]
+*token_p = (GTokenType) value_p->v_symbol;
+   ^~
+
+Upstream-Status: Backport 
[https://gitlab.gnome.org/GNOME/json-glib/-/commit/8c5fabe962b7337066dac7a697d23fce257a5d64]
+Signed-off-by: Jan Beich 
+Signed-off-by: Khem Raj 
+---
+ json-glib/json-scanner.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/json-glib/json-scanner.c b/json-glib/json-scanner.c
+index 0c9919f..59dd29c 100644
+--- a/json-glib/json-scanner.c
 b/json-glib/json-scanner.c
+@@ -925,7 +925,7 @@ json_scanner_get_token_i (JsonScanner  *scanner,
+   
+ case G_TOKEN_SYMBOL:
+   if (scanner->config->symbol_2_token)
+-  *token_p = (GTokenType) value_p->v_symbol;
++  *token_p = GPOINTER_TO_INT (value_p->v_symbol);
+   break;
+   
+ case G_TOKEN_BINARY:
+-- 
+2.28.0
+
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb 
b/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
index c999d761bd..add9ff41a1 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
@@ -14,7 +14,9 @@ DEPENDS = "glib-2.0"
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase lib_package gobject-introspection gtk-doc gettext 
ptest-gnome manpages upstream-version-is-even
 
-SRC_URI += "file://run-ptest"
+SRC_URI += "file://run-ptest \
+
file://0001-scanner-use-macro-instead-of-cast-to-convert-pointer.patch \
+"
 SRC_URI[archive.md5sum] = "4d4bb9837f6d31e32d0ce658ae135f68"
 SRC_URI[archive.sha256sum] = 
"720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47"
 
-- 
2.28.0

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

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


Re: [OE-core][dunfell 00/25] Patch review

2020-09-01 Thread Christopher Clark
On Tue, Sep 1, 2020 at 7:06 AM Steve Sakoman  wrote:
>
> On Tue, Sep 1, 2020 at 1:07 AM Richard Purdie
>  wrote:
> >
> > Hi Steve,
> >
> > On Sun, 2020-08-30 at 08:15 -1000, Steve Sakoman wrote:
> > > Please review this next set of patches for dunfell and have comments
> > > back by end of day Tuesday.
> >
> > A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd
> > consider slightly riskier patches which only really just made master.
> > I'm not sure if we want to give a little extra time for some of those
> > in master before we backport?
>
> Certainly, I'll drop those patches from the pull request and let them
> bake for another week.

Steve: since you're looking at pulling in kernel fragment patches to
dunfell, please could you add this patch to your next round:

commit af687c9137a3e8efe48afa6fd12866cf656ae913
cml1: Move find_cfgs() helper to cml1.bbclass

https://lists.openembedded.org/g/openembedded-core/message/140493

It's needed in dunfell of oe-core to fix compatibility with
post-dunfell meta-virtualization, where the Xen recipe now inherits
cml1.bbclass to support config fragments. Without this patch applied,
parsing of meta-virtualization fails since find_cfgs is missing; with
it applied, the current master branch of meta-virtualization is
compatible with dunfell of oe-core, which enables use of newer Xen
versions with the stable dunfell core -- enabling this combination is
useful and would be appreciated.

thanks,

Christopher

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

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


[OE-core] [PATCH] elfutils: Fix GNU_HASH QA Issue

2020-09-01 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../recipes-devtools/elfutils/elfutils_0.180.bb |  1 +
 .../elfutils/files/ldflags.patch| 17 +
 2 files changed, 18 insertions(+)
 create mode 100644 meta/recipes-devtools/elfutils/files/ldflags.patch

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.180.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.180.bb
index 9f8bfc24f3..d3ee750725 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.180.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.180.bb
@@ -20,6 +20,7 @@ SRC_URI = 
"https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://run-ptest \
file://ptest.patch \

file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
+   file://ldflags.patch \
"
 SRC_URI_append_libc-musl = " \
file://0001-musl-obstack-fts.patch \
diff --git a/meta/recipes-devtools/elfutils/files/ldflags.patch 
b/meta/recipes-devtools/elfutils/files/ldflags.patch
new file mode 100644
index 00..ef1d65e2c3
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/ldflags.patch
@@ -0,0 +1,17 @@
+Pass linker flags along to CCLD, this ensures proper linking
+w.r.t. hash_style selection during cross-compile
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+
+--- a/tests/Makefile.am
 b/tests/Makefile.am
+@@ -86,7 +86,7 @@ backtrace-child-biarch$(EXEEXT): backtra
+ test-nlist$(EXEEXT): test-nlist.c
+   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) \
+-$(CFLAGS) $(test_nlist_LDADD) -o $@ $<
++$(CFLAGS) $(test_nlist_LDADD) $(LDFLAGS) -o $@ $<
+ 
+ TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
+   update1 update2 update3 update4 \
-- 
2.28.0

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

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


[OE-core][PATCH] kernel-yocto: Fix an inappropriate process with include path

2020-09-01 Thread Xu, Yanfei
From: Yanfei Xu 

We just want to remove the first '-I' in $d, hence removing the
'g' of sed avoid changing the real path which is include '-I'

Signed-off-by: Yanfei Xu 
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass 
b/meta/classes/kernel-yocto.bbclass
index 96ea612258..b672a1143a 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -225,7 +225,7 @@ do_kernel_metadata() {
for feature in ${KERNEL_FEATURES}; do
feature_found=f
for d in $includes; do
-   path_to_check=$(echo $d | sed 's/-I//g')
+   path_to_check=$(echo $d | sed 's/-I//')
if [ "$feature_found" = "f" ] && [ -e 
"$path_to_check/$feature" ]; then
feature_found=t
fi
-- 
2.18.2

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

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


Re: [OE-core] [PATCH] libpcre: fix occasionally do_package_write_rpm error

2020-09-01 Thread Changqing Li


On 9/1/20 7:08 PM, Richard Purdie wrote:

On Fri, 2020-08-28 at 14:14 +0800, Changqing Li wrote:

From: Changqing Li 

Error info:
ERROR: libpcre-8.44-r0 do_package_write_rpm: Failure expanding
variable
SUMMARY_libpcrecpp, expression was ${SUMMARY} - C++ wrapper functions
which triggered exception RecursionError: maximum recursion depth
exceeded while calling a Python object

this error is hard to reproduce, only met one time. Seems expand
SUMMARY with reference to SUMMARY cause a dead loop.

Signed-off-by: Changqing Li 

What is worrying me is why we can't reproduce this. It should fail or
not fail, why do we only sometimes see this?

I'd like to understand the cause as it sounds like a determinism
problem somewhere.

Is there a sequence we can reproduce it with?


Unfortunately no, we also hard to reproduce this, only met one time on 
08 Jul when build a wrlinux image.


And don't see it for about 2 months.



Cheers,

Richard



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

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


Re: [OE-core] [PATCH 4/8] dhcpd: move from meta-network need a client

2020-09-01 Thread Chen Qi
The title uses 'dhcpd' but the recipe's name is 'dhcpcd'. [Patch 5/8] 
also uses 'dhcpd'.


One more thing to confirm. We are using dhcpcd to replace dhcp, right?

Best Regards,
Chen Qi


On 09/01/2020 11:22 PM, akuster wrote:

Signed-off-by: Armin Kuster 
---
  .../dhcpcd/dhcpcd_9.1.4.bb| 28 
  ...e-INCLUDEDIR-to-prevent-build-issues.patch | 45 +++
  2 files changed, 73 insertions(+)
  create mode 100644 meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
  create mode 100644 
meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch

diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb 
b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
new file mode 100644
index 000..defd3420f02
--- /dev/null
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your \
+   computer to work on the attached networks without trouble \
+   and mostly without configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/";
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9674cc803c5d71306941e6e8b5c002f2"
+
+UPSTREAM_CHECK_URI = "https://roy.marples.name/downloads/dhcpcd/";
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz \
+   file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch"
+
+SRC_URI[sha256sum] = 
"5fe133e5497d8af6d26bd6e6b8dd48ab12d124d6cc4cefe6de6536ff97f76820"
+
+inherit pkgconfig autotools-brokensep
+
+PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
+
+PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
+
+EXTRA_OECONF = "--enable-ipv4"
+
+FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
diff --git 
a/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
 
b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
new file mode 100644
index 000..37d2344438a
--- /dev/null
+++ 
b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
@@ -0,0 +1,45 @@
+From aa9e3982c1e75ad49945a62f5e262279c7a905a4 Mon Sep 17 00:00:00 2001
+From: Stefano Cappa 
+Date: Sun, 13 Jan 2019 01:50:52 +0100
+Subject: [PATCH] remove INCLUDEDIR to prevent build issues
+
+Upstream-Status: Pending
+
+Signed-off-by: Stefano Cappa 
+---
+ configure | 5 -
+ 1 file changed, 5 deletions(-)
+
+diff --git a/configure b/configure
+index 6c81e0db..32dea2b4 100755
+--- a/configure
 b/configure
+@@ -20,7 +20,6 @@ BUILD=
+ HOST=
+ HOSTCC=
+ TARGET=
+-INCLUDEDIR=
+ DEBUG=
+ FORK=
+ STATIC=
+@@ -72,7 +71,6 @@ for x do
+   --mandir) MANDIR=$var;;
+   --datadir) DATADIR=$var;;
+   --with-ccopts|CFLAGS) CFLAGS=$var;;
+-  -I|--includedir) INCLUDEDIR="$INCLUDEDIR${INCLUDEDIR:+ }-I$var";;
+   CC) CC=$var;;
+   CPPFLAGS) CPPFLAGS=$var;;
+   PKG_CONFIG) PKG_CONFIG=$var;;
+@@ -309,9 +307,6 @@ if [ -n "$CPPFLAGS" ]; then
+   echo "CPPFLAGS=" >>$CONFIG_MK
+   echo "CPPFLAGS+=   $CPPFLAGS" >>$CONFIG_MK
+ fi
+-if [ -n "$INCLUDEDIR" ]; then
+-  echo "CPPFLAGS+=   $INCLUDEDIR" >>$CONFIG_MK
+-fi
+ if [ -n "$LDFLAGS" ]; then
+   echo "LDFLAGS=" >>$CONFIG_MK
+   echo "LDFLAGS+=$LDFLAGS" >>$CONFIG_MK
+--
+2.17.2 (Apple Git-113)
+






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

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


Re: [OE-core] [master][PATCH v7 3/3] package.bbclass: hash equivalency and pr service

2020-09-01 Thread Mark Hatle
Just an FYI.. To reproduce the failure you HAVE to use the 'poky' distro.  I had
switched to 'nodistro' because the system complained about 
"SANITY_TESTED_DISTROS"..

Working on this now...

--Mark

On 9/1/20 3:44 PM, Mark Hatle wrote:
> 
> 
> On 8/28/20 1:05 AM, Richard Purdie wrote:
>> On Thu, 2020-08-27 at 17:12 -0500, Mark Hatle wrote:
>>> When the PR service is enabled a number of small changes may happen
>>> to variables.  In the do_package step a call to package_get_auto_pr
>>> will end up setting PRAUTO and modifying PKGV (if AUTOINC is there).
>>>
>>> PRAUTO is then used by EXTENDPRAUTO, which is then used to generate
>>> PKGR.
>>>
>>> Since this behavior typically happens BEFORE the BB_UNIHASH is
>>> calculated for do_package, we need a way to defer the expansion
>>> until after we have the unihash value.
>>>
>>> Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded
>>> to placeholder values is the easiest way to deal with this.  All
>>> other
>>> variables are expanded as expected.
>>>
>>> In the next task, typically do_packagedata, we will then use the
>>> UNIHASH from the do_package to get the PR (AUTOPR) as well as
>>> generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC).
>>>
>>> The do_packagedata then translates the placeholders to the final
>>> values
>>> when copying the data from pkgdata to pkgdata-pdata-input.
>>>
>>> Signed-off-by: Mark Hatle 
>>> ---
>>>  meta/classes/package.bbclass | 58 +++---
>>> --
>>>  meta/conf/bitbake.conf   |  1 +
>>>  2 files changed, 51 insertions(+), 8 deletions(-)
>>
>> This looked ok in testing apart from:
>>
>> https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1289
>> (and similar)
>>
>> which should reproduce with:
>>
>> oe-selftest -r prservice.BitbakePrTests
>>
>> basically the PRServ tests need updating to match the code changes.
> 
> I see the error in the logs, but I'm not able to reproduce this.  No errors 
> are
> reported on my system.  I added some additional debugging and I'm seeing that
> it's reading from
> 
> .../tmp-glibc/pkgdata/qemux86-64/runtime/m4
> 
> This is the correct one, as it should have the complete value of PKGR as it 
> was
> the one transferred by do_packagedata.
> 
> Is there a standard way to keep the temp files around so that I can see what 
> the
> values actually are?
> 
> --Mark
> 
>> Cheers,
>>
>> Richard
>>
>>
>>
>>
>>
>> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[OE-core] ✗ patchtest: failure for "build-appliance/packagegroup-c..." and 1 more

2020-09-01 Thread Patchwork
== Series Details ==

Series: "build-appliance/packagegroup-c..." and 1 more
Revision: 1
URL   : https://patchwork.openembedded.org/series/25898/
State : failure

== Summary ==


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



* Patch[1/2] build-appliance/packagegroup-core-base-utils: Replace 
dhcp-client/dhcp-server with dhcpcd/kea
 Issue Commit shortlog is too long [test_shortlog_length] 
  Suggested fixEdit shortlog so that it is 90 characters or less (currently 
93 characters)



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

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

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

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


[OE-Core][PATCH v2 1/3] iw: upgrade 5.4 -> 5.8

2020-09-01 Thread Changhyeok Bae
Signed-off-by: Changhyeok Bae 
---
 meta/recipes-connectivity/iw/{iw_5.4.bb => iw_5.8.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/iw/{iw_5.4.bb => iw_5.8.bb} (85%)

diff --git a/meta/recipes-connectivity/iw/iw_5.4.bb 
b/meta/recipes-connectivity/iw/iw_5.8.bb
similarity index 85%
rename from meta/recipes-connectivity/iw/iw_5.4.bb
rename to meta/recipes-connectivity/iw/iw_5.8.bb
index 9f58e49709..97ca66d66f 100644
--- a/meta/recipes-connectivity/iw/iw_5.4.bb
+++ b/meta/recipes-connectivity/iw/iw_5.8.bb
@@ -14,8 +14,8 @@ SRC_URI = 
"http://www.kernel.org/pub/software/network/iw/${BP}.tar.gz \
file://separate-objdir.patch \
 "
 
-SRC_URI[md5sum] = "08a4f581a39dc62fa85d3af796d844b6"
-SRC_URI[sha256sum] = 
"943cd2446a6c7242fded3766d054ab2a214a3514b9a8b7e942fed8fb13c1370c"
+SRC_URI[md5sum] = "98129d64212bdbb408f009c56ed5c62a"
+SRC_URI[sha256sum] = 
"cd9125c7e560926d66b09977fe0f75e5365ffd05a15df67d86a421dc76f96a96"
 
 inherit pkgconfig
 
-- 
2.23.0

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

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


[OE-Core][PATCH v2 3/3] packagegroup-core-full-cmdline: remove iputils

2020-09-01 Thread Changhyeok Bae
iputils package doesn't have anything.

Signed-off-by: Changhyeok Bae 
---
 .../packagegroups/packagegroup-core-full-cmdline.bb  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb 
b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
index 16c2f9f2aa..f38577b043 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
@@ -101,7 +101,6 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\
 
 RDEPENDS_packagegroup-core-full-cmdline-extended = "\
 iproute2 \
-iputils \
 iptables \
 module-init-tools \
 openssl \
-- 
2.23.0

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

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


[OE-Core][PATCH v2 2/3] iputils: upgrade s20190709 -> s20200821

2020-09-01 Thread Changhyeok Bae
- libgcrypt is not required anymore because the md5 implementation was
  part of this project.
- ninfod patches are upstreamed and other patch is not required anymore.
- Add tftpd in PACKAGECONFIG

Signed-off-by: Changhyeok Bae 
---
 .../0001-iputils-Initialize-libgcrypt.patch   | 55 ---
 ...riable-name-to-avoid-colliding-with-.patch | 51 -
 ...-fix-systemd-Documentation-url-error.patch | 28 --
 ...tils_s20190709.bb => iputils_s20200821.bb} | 11 ++--
 4 files changed, 4 insertions(+), 141 deletions(-)
 delete mode 100644 
meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
 delete mode 100644 
meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
 delete mode 100644 
meta/recipes-extended/iputils/iputils/0001-ninfod-fix-systemd-Documentation-url-error.patch
 rename meta/recipes-extended/iputils/{iputils_s20190709.bb => 
iputils_s20200821.bb} (86%)

diff --git 
a/meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch 
b/meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
deleted file mode 100644
index b56804cebe..00
--- 
a/meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 8576e0c218634e6f7ed1b6ff02fa164fb0c75f86 Mon Sep 17 00:00:00 2001
-From: Mingli Yu 
-Date: Wed, 29 Apr 2020 03:50:32 +
-Subject: [PATCH] iputils_md5dig.h: Initialize libgcrypt
-
-Initialize libgcrypt on first use otherwise
-there comes below warning when check the status
-of the ninfod.service.
- # systemctl status ninfod.service
- * ninfod.service - Respond to IPv6 Node Information Queries
- Loaded: loaded (/lib/systemd/system/ninfod.service; enabled; vendor preset: 
enabled)
- Active: active (running) since Wed 2020-04-29 05:18:21 UTC; 36s ago
- Docs: man:ninfod(8)
- Main PID: 347 (ninfod)
- Tasks: 1 (limit: 9382)
- Memory: 1.2M
- CGroup: /system.slice/ninfod.service
- `-347 /sbin/ninfod -d
-
- Apr 29 05:18:21 intel-x86-64 systemd[1]: Started Respond to IPv6 Node 
Information Queries.
- Apr 29 05:18:24 intel-x86-64 ninfod[347]: Libgcrypt warning: missing 
initialization - please fix the application
-
-Upstream-Status: Inappropriate [the upstream avoids linking to crypto 
libraries in
-   commit 214ed83 common: copy md5 implementation to iputils 
project]
-
-Signed-off-by: Mingli Yu 

- iputils_md5dig.h | 9 +
- 1 file changed, 9 insertions(+)
-
-diff --git a/iputils_md5dig.h b/iputils_md5dig.h
-index bfa7f02..3cc3fbf 100644
 a/iputils_md5dig.h
-+++ b/iputils_md5dig.h
-@@ -24,8 +24,17 @@ typedef struct {
-   gcry_md_hd_t dig;
- } iputils_md5dig_ctx;
- 
-+void maybeInit()
-+{
-+  if (!gcry_control(GCRYCTL_INITIALIZATION_FINISHED_P))
-+  {
-+  gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
-+  }
-+}
-+
- static void iputils_md5dig_init(iputils_md5dig_ctx *ctx)
- {
-+  maybeInit();
-   if (gcry_md_open(&ctx->dig, GCRY_MD_MD5, 0) != GPG_ERR_NO_ERROR)
-   abort();
-   return;
--- 
-2.24.1
-
diff --git 
a/meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
 
b/meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
deleted file mode 100644
index e106a0cf73..00
--- 
a/meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From ab1aa2eb0097a7ef05ffccac058b06812deb2695 Mon Sep 17 00:00:00 2001
-From: Sami Kerola 
-Date: Sat, 28 Dec 2019 17:16:27 +
-Subject: [PATCH] ninfod: change variable name to avoid colliding with function
- name
-
-The sys/capability.h header has 'extern int cap_setuid(uid_t uid);'
-function prototype.
-
-Addresses: https://github.com/iputils/iputils/issues/246
-
-Upstream-Status: Backport 
[https://github.com/iputils/iputils/commit/18f9a84e0e702841d6cc4d5f593de4fbd1348e83]
-Signed-off-by: Sami Kerola 
-Signed-off-by: Alexander Kanavin 

- ninfod/ninfod.c | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/ninfod/ninfod.c b/ninfod/ninfod.c
-index badbf80..28f03af 100644
 a/ninfod/ninfod.c
-+++ b/ninfod/ninfod.c
-@@ -454,7 +454,7 @@ static void do_daemonize(void)
- /* - */
- #ifdef HAVE_LIBCAP
- static const cap_value_t cap_net_raw = CAP_NET_RAW;
--static const cap_value_t cap_setuid =  CAP_SETUID; 
-+static const cap_value_t cap_setuserid = CAP_SETUID;
- static cap_flag_value_t cap_ok;
- #else
- static uid_t euid;
-@@ -486,7 +486,7 @@ static void limit_capabilities(void)
- 
-   cap_get_flag(cap_cur_p, CAP_SETUID, CAP_PERMITTED, &cap_ok);
-   if (cap_ok != CAP_CLEAR)
--  cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuid, CAP_SET);
-+  cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuserid, CAP_SET);
- 
-   if (cap_set_proc(cap_p) < 0) {
-   

[OE-core] [PATCH 2/2] selftest/prservice: Improve test failure message

2020-09-01 Thread Richard Purdie
When failing, give more information about why exactly a failure is
happening such as the PR values in question.

Signed-off-by: Richard Purdie 
---
 meta/lib/oeqa/selftest/cases/prservice.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/prservice.py 
b/meta/lib/oeqa/selftest/cases/prservice.py
index fe1f24ea6d6..85b534963db 100644
--- a/meta/lib/oeqa/selftest/cases/prservice.py
+++ b/meta/lib/oeqa/selftest/cases/prservice.py
@@ -63,7 +63,7 @@ class BitbakePrTests(OESelftestTestCase):
 pr_2 = self.get_pr_version(package_name)
 stamp_2 = self.get_task_stamp(package_name, track_task)
 
-self.assertTrue(pr_2 - pr_1 == 1, "Step between same pkg. revision is 
greater than 1")
+self.assertTrue(pr_2 - pr_1 == 1, "Step between pkg revisions is not 1 
(was %s - %s)" % (pr_2, pr_1))
 self.assertTrue(stamp_1 != stamp_2, "Different pkg rev. but same 
stamp: %s" % stamp_1)
 
 def run_test_pr_export_import(self, package_name, replace_current_db=True):
@@ -89,7 +89,7 @@ class BitbakePrTests(OESelftestTestCase):
 self.increment_package_pr(package_name)
 pr_2 = self.get_pr_version(package_name)
 
-self.assertTrue(pr_2 - pr_1 == 1, "Step between same pkg. revision is 
greater than 1")
+self.assertTrue(pr_2 - pr_1 == 1, "Step between pkg revisions is not 1 
(was %s - %s)" % (pr_2, pr_1))
 
 def test_import_export_replace_db(self):
 self.run_test_pr_export_import('m4')
-- 
2.25.1

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

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


[OE-core] [PATCH 1/2] build-appliance/packagegroup-core-base-utils: Replace dhcp-client/dhcp-server with dhcpcd/kea

2020-09-01 Thread Richard Purdie
dhcp-client/dhcp-server is obsolete and unmaintained and about to be removed,
replace it with something which is maintained.

Signed-off-by: Richard Purdie 
---
 meta/recipes-core/images/build-appliance-image_15.0.0.bb  | 2 +-
 .../packagegroups/packagegroup-core-base-utils.bb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb 
b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
index c9367dd0c48..e6258a2d4b6 100644
--- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-openssh 
packagegroup-self-hosted \
- kernel-dev kernel-devsrc connman connman-plugin-ethernet 
dhcp-client \
+ kernel-dev kernel-devsrc connman connman-plugin-ethernet 
dhcpcd \
  tzdata python3-pip perl-misc"
 
 IMAGE_FEATURES += "x11-base package-management splash"
diff --git 
a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb 
b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
index 75018379371..1e63da7f166 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
@@ -21,8 +21,8 @@ RDEPENDS_${PN} = "\
 coreutils \
 cpio \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", 
"debianutils-run-parts", d)} \
-dhcp-client \
-${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "dhcp-server", d)} \
+dhcpcd \
+${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "kea", d)} \
 diffutils \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "dpkg-start-stop", 
d)} \
 e2fsprogs \
-- 
2.25.1

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

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


[OE-core] [PATCH] rpcbind: Use update-alternatives for rpcinfo

2020-09-01 Thread Khem Raj
rpcinfo is also provided vy netkit in meta-networking

Signed-off-by: Khem Raj 
---
 meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb 
b/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
index aff00e56e6..ec8f9e48b2 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
@@ -19,7 +19,7 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "ed46f09b9c0fa2d49015f6431bc5ea7b"
 SRC_URI[sha256sum] = 
"2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a"
 
-inherit autotools update-rc.d systemd pkgconfig
+inherit autotools update-rc.d systemd pkgconfig update-alternatives
 
 PACKAGECONFIG ??= "tcp-wrappers"
 PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
@@ -50,3 +50,6 @@ do_install_append () {
${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind
chmod 0755 ${D}${sysconfdir}/init.d/rpcbind
 }
+
+ALTERNATIVE_${PN} = "rpcinfo"
+ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo"
-- 
2.28.0

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

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


Re: [OE-core][Patch v2 1/2] xinput-calibrator: avoid defunct process

2020-09-01 Thread Mark Asselstine
On Friday, August 28, 2020 5:29:19 P.M. EDT Mark Asselstine wrote:
> The xinput_calibrator_once.sh script produces output on stdout and
> stderr which the current 'Exec' doesn't consume. This results in a
> [xinput_calibrator_once.sh] defunct process which will remain around
> until we exit the X11 session.
> 
> Add a redirect to the Exec which will consume this output and avoid
> the defunct process.

Hold off on reviewing or merging this. Looking into another .desktop file 
which is causing yet another zombie process we are pretty sure there is a 
deeper issue at play here. I want to confirm and address what we are seeing 
before this is merged as it may not be needed.

Sorry about the churn. Things were only clear once the multiple issues were 
looked at.

2/2 is still valid, so if you want to take that one on its own, then go for 
it.

Thanks,
Mark Asselstine

> 
> Signed-off-by: Mark Asselstine 
> ---
> 
> V2: * no changes
> 
>  .../recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git
> a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb index
> 4f831932e7..c59f97895c 100644
> --- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> @@ -31,7 +31,7 @@ do_install_append() {
>  install -m 0755 ${WORKDIR}/30xinput_calibrate.sh
> ${D}${sysconfdir}/X11/Xsession.d/
> 
>  install -d ${D}${sysconfdir}/xdg/autostart
> -sed -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,'
> ${S}/scripts/xinput_calibrator.desktop >
> ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop +sed -e
> 's,^Exec=.*,Exec=${bindir}/sh -c "${bindir}/xinput_calibrator_once.sh 2>\&1
> > /dev/null",' ${S}/scripts/xinput_calibrator.desktop >
> ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop }
> 
>  FILES_${PN} += "${sysconfdir}/xdg/autostart"




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

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


Re: [OE-Core][PATCH 2/2] iputils: upgrade s20190709 -> s20200821

2020-09-01 Thread Alexander Kanavin
I think tftpd option is now off by default, and we probably should disable
it as well:

https://github.com/iputils/iputils/commit/737d8a91e394518d2ccdaf398bb16283eb8e4a81

Alex

On Tue, 1 Sep 2020 at 22:14, Changhyeok Bae 
wrote:

> Hi Richard
>
> Thank you for the report. I will look into it.
>
> Best regards,
> Changhyeok
>
> 2020년 9월 1일 (화) 오후 2:32, Richard Purdie <
> richard.pur...@linuxfoundation.org>님이 작성:
>
>> On Mon, 2020-08-31 at 11:59 +0200, Changhyeok Bae wrote:
>> > - libgcrypt is not required anymore because the md5 implementation was
>> >   part of this project.
>> > - ninfod patches are upstreamed and other patch is not required anymore.
>> >
>> > Signed-off-by: Changhyeok Bae 
>> > ---
>> >  .../0001-iputils-Initialize-libgcrypt.patch   | 55 ---
>> >  ...riable-name-to-avoid-colliding-with-.patch | 51 -
>> >  ...-fix-systemd-Documentation-url-error.patch | 28 --
>> >  ...tils_s20190709.bb => iputils_s20200821.bb} |  8 +--
>> >  4 files changed, 2 insertions(+), 140 deletions(-)
>> >  delete mode 100644
>> meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
>> >  delete mode 100644
>> meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
>> >  delete mode 100644
>> meta/recipes-extended/iputils/iputils/0001-ninfod-fix-systemd-Documentation-url-error.patch
>> >  rename meta/recipes-extended/iputils/{iputils_s20190709.bb =>
>> iputils_s20200821.bb} (87%)
>>
>> Hi,
>>
>> Thanks for the upgrade. There seems to be an issue with tftpd:
>>
>> https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/2389
>>
>> Error:
>>  Problem: package packagegroup-core-full-cmdline-1.0-r6.noarch requires
>> packagegroup-core-full-cmdline-extended, but none of the providers can be
>> installed
>>   - package packagegroup-core-full-cmdline-extended-1.0-r6.noarch
>> requires iputils, but none of the providers can be installed
>>   - conflicting requests
>>   - nothing provides iputils-tftpd needed by iputils-s20200821-r0.core2_32
>> (try to add '--skip-broken' to skip uninstallable packages)
>>
>> Any ideas what changed?
>>
>> Cheers,
>>
>> Richard
>>
>>
>
> --
> Thanks
> Changhyeok
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [OE-core] [master][PATCH v7 3/3] package.bbclass: hash equivalency and pr service

2020-09-01 Thread Mark Hatle


On 8/28/20 1:05 AM, Richard Purdie wrote:
> On Thu, 2020-08-27 at 17:12 -0500, Mark Hatle wrote:
>> When the PR service is enabled a number of small changes may happen
>> to variables.  In the do_package step a call to package_get_auto_pr
>> will end up setting PRAUTO and modifying PKGV (if AUTOINC is there).
>>
>> PRAUTO is then used by EXTENDPRAUTO, which is then used to generate
>> PKGR.
>>
>> Since this behavior typically happens BEFORE the BB_UNIHASH is
>> calculated for do_package, we need a way to defer the expansion
>> until after we have the unihash value.
>>
>> Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded
>> to placeholder values is the easiest way to deal with this.  All
>> other
>> variables are expanded as expected.
>>
>> In the next task, typically do_packagedata, we will then use the
>> UNIHASH from the do_package to get the PR (AUTOPR) as well as
>> generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC).
>>
>> The do_packagedata then translates the placeholders to the final
>> values
>> when copying the data from pkgdata to pkgdata-pdata-input.
>>
>> Signed-off-by: Mark Hatle 
>> ---
>>  meta/classes/package.bbclass | 58 +++---
>> --
>>  meta/conf/bitbake.conf   |  1 +
>>  2 files changed, 51 insertions(+), 8 deletions(-)
> 
> This looked ok in testing apart from:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1289
> (and similar)
> 
> which should reproduce with:
> 
> oe-selftest -r prservice.BitbakePrTests
> 
> basically the PRServ tests need updating to match the code changes.

I see the error in the logs, but I'm not able to reproduce this.  No errors are
reported on my system.  I added some additional debugging and I'm seeing that
it's reading from

.../tmp-glibc/pkgdata/qemux86-64/runtime/m4

This is the correct one, as it should have the complete value of PKGR as it was
the one transferred by do_packagedata.

Is there a standard way to keep the temp files around so that I can see what the
values actually are?

--Mark

> Cheers,
> 
> Richard
> 
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [OE-core] [PATCH 6/8] dhcp: remove from core

2020-09-01 Thread akuster


On 9/1/20 11:10 AM, Khem Raj wrote:
> it seems its used by
> build-appliance-image and packagegroup-core-base-utils so you need to
> take care of that as well.

Richard caught that just after I sent he patch series.

He added a change for that.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&id=a5a4fa3d7cf7a88a7788e64306b8797e60999005

-armin
>  in meta-networking networkmanager recipe
> depends on it too which I think I can take care.
>
> On Tue, Sep 1, 2020 at 8:23 AM akuster  wrote:
>> update maintainers.inc too
>>
>> Signed-off-by: Armin Kuster 
>> ---
>>  meta/conf/distro/include/maintainers.inc  |   1 -
>>  meta/recipes-connectivity/dhcp/dhcp.inc   | 149 --
>>  ...TH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch |  27 
>>  ...-limitation-in-linux-dhclient-script.patch |  65 
>>  .../dhcp/dhcp/0002-dhclient-dbus.patch| 117 --
>>  .../dhcp/dhcp/0003-link-with-lcrypto.patch|  35 
>>  .../dhcp/0004-Fix-out-of-tree-builds.patch|  95 ---
>>  ...invoke-dhclient-script-failed-on-Rea.patch |  36 -
>>  ...gument-to-make-the-libxml2-dependenc.patch |  62 
>>  ...move-dhclient-script-bash-dependency.patch |  28 
>>  ...ct-the-intention-for-xml2-lib-search.patch |  34 
>>  .../dhcp/dhcp/0013-fixup_use_libbind.patch|  64 
>>  meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb  |  23 ---
>>  .../dhcp/files/default-relay  |  12 --
>>  .../dhcp/files/default-server |   7 -
>>  .../dhcp/files/dhclient-systemd-wrapper   |  39 -
>>  .../dhcp/files/dhclient.conf  |  50 --
>>  .../dhcp/files/dhclient.service   |  13 --
>>  .../dhcp/files/dhcpd.conf | 108 -
>>  .../dhcp/files/dhcpd.service  |  15 --
>>  .../dhcp/files/dhcpd6.service |  15 --
>>  .../dhcp/files/dhcrelay.service   |  10 --
>>  .../dhcp/files/init-relay |  44 --
>>  .../dhcp/files/init-server|  44 --
>>  24 files changed, 1093 deletions(-)
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp.inc
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0001-workaround-busybox-limitation-in-linux-dhclient-script.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0002-dhclient-dbus.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-tree-builds.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0009-remove-dhclient-script-bash-dependency.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0012-dhcp-correct-the-intention-for-xml2-lib-search.patch
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-relay
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-server
>>  delete mode 100644 
>> meta/recipes-connectivity/dhcp/files/dhclient-systemd-wrapper
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.conf
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.conf
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd6.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcrelay.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-relay
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-server
>>
>> diff --git a/meta/conf/distro/include/maintainers.inc 
>> b/meta/conf/distro/include/maintainers.inc
>> index 27e3474da8b..a55dbfa13c9 100644
>> --- a/meta/conf/distro/include/maintainers.inc
>> +++ b/meta/conf/distro/include/maintainers.inc
>> @@ -143,7 +143,6 @@ RECIPE_MAINTAINER_pn-debianutils = "Yi Zhao 
>> "
>>  RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi "
>>  RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Unassigned 
>> "
>>  RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin 
>> "
>> -RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia "
>>  RECIPE_MAINTAINER_pn-dhcpd = "Armin Kuster "
>>  RECIPE_MAINTAINER_pn-diffoscope = "Joshua Watt "
>>  RECIPE_MAINTAINER_pn-diffstat = "Chen Qi "
>> diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc 
>> b/meta/recipes-connectivity/d

Re: [OE-Core][PATCH 2/2] iputils: upgrade s20190709 -> s20200821

2020-09-01 Thread Changhyeok Bae
Hi Richard

Thank you for the report. I will look into it.

Best regards,
Changhyeok

2020년 9월 1일 (화) 오후 2:32, Richard Purdie 님이
작성:

> On Mon, 2020-08-31 at 11:59 +0200, Changhyeok Bae wrote:
> > - libgcrypt is not required anymore because the md5 implementation was
> >   part of this project.
> > - ninfod patches are upstreamed and other patch is not required anymore.
> >
> > Signed-off-by: Changhyeok Bae 
> > ---
> >  .../0001-iputils-Initialize-libgcrypt.patch   | 55 ---
> >  ...riable-name-to-avoid-colliding-with-.patch | 51 -
> >  ...-fix-systemd-Documentation-url-error.patch | 28 --
> >  ...tils_s20190709.bb => iputils_s20200821.bb} |  8 +--
> >  4 files changed, 2 insertions(+), 140 deletions(-)
> >  delete mode 100644
> meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
> >  delete mode 100644
> meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
> >  delete mode 100644
> meta/recipes-extended/iputils/iputils/0001-ninfod-fix-systemd-Documentation-url-error.patch
> >  rename meta/recipes-extended/iputils/{iputils_s20190709.bb =>
> iputils_s20200821.bb} (87%)
>
> Hi,
>
> Thanks for the upgrade. There seems to be an issue with tftpd:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/2389
>
> Error:
>  Problem: package packagegroup-core-full-cmdline-1.0-r6.noarch requires
> packagegroup-core-full-cmdline-extended, but none of the providers can be
> installed
>   - package packagegroup-core-full-cmdline-extended-1.0-r6.noarch requires
> iputils, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides iputils-tftpd needed by iputils-s20200821-r0.core2_32
> (try to add '--skip-broken' to skip uninstallable packages)
>
> Any ideas what changed?
>
> Cheers,
>
> Richard
>
>

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

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


Re: [OE-core] [PATCH 6/8] dhcp: remove from core

2020-09-01 Thread Diego Sueiro

>-Original Message-
>From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Khem Raj via
>lists.openembedded.org
>Sent: 01 September 2020 19:11
>To: akuster 
>Cc: Patches and discussions about the oe-core layer c...@lists.openembedded.org>
>Subject: Re: [OE-core] [PATCH 6/8] dhcp: remove from core
>
>it seems its used by
>build-appliance-image and packagegroup-core-base-utils so you need to
>take care of that as well. in meta-networking networkmanager recipe
>depends on it too which I think I can take care.
>

Armin,
You added a new recipe for a dhcp client but what is the alternative for the 
dhcp server in oe-core?

>On Tue, Sep 1, 2020 at 8:23 AM akuster  wrote:
>>
>> update maintainers.inc too
>>
>> Signed-off-by: Armin Kuster 
>> ---
>>  meta/conf/distro/include/maintainers.inc  |   1 -
>>  meta/recipes-connectivity/dhcp/dhcp.inc   | 149 --
>>  ...TH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch |  27 
>>  ...-limitation-in-linux-dhclient-script.patch |  65 
>>  .../dhcp/dhcp/0002-dhclient-dbus.patch| 117 --
>>  .../dhcp/dhcp/0003-link-with-lcrypto.patch|  35 
>>  .../dhcp/0004-Fix-out-of-tree-builds.patch|  95 ---
>>  ...invoke-dhclient-script-failed-on-Rea.patch |  36 -
>>  ...gument-to-make-the-libxml2-dependenc.patch |  62 
>>  ...move-dhclient-script-bash-dependency.patch |  28 
>>  ...ct-the-intention-for-xml2-lib-search.patch |  34 
>>  .../dhcp/dhcp/0013-fixup_use_libbind.patch|  64 
>>  meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb  |  23 ---
>>  .../dhcp/files/default-relay  |  12 --
>>  .../dhcp/files/default-server |   7 -
>>  .../dhcp/files/dhclient-systemd-wrapper   |  39 -
>>  .../dhcp/files/dhclient.conf  |  50 --
>>  .../dhcp/files/dhclient.service   |  13 --
>>  .../dhcp/files/dhcpd.conf | 108 -
>>  .../dhcp/files/dhcpd.service  |  15 --
>>  .../dhcp/files/dhcpd6.service |  15 --
>>  .../dhcp/files/dhcrelay.service   |  10 --
>>  .../dhcp/files/init-relay |  44 --
>>  .../dhcp/files/init-server|  44 --
>>  24 files changed, 1093 deletions(-)
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp.inc
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0001-define-
>macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0001-
>workaround-busybox-limitation-in-linux-dhclient-script.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0002-dhclient-
>dbus.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0003-link-with-
>lcrypto.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-
>tree-builds.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-
>client-fix-invoke-dhclient-script-failed-on-Rea.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0007-Add-
>configure-argument-to-make-the-libxml2-dependenc.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0009-remove-
>dhclient-script-bash-dependency.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0012-dhcp-
>correct-the-intention-for-xml2-lib-search.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0013-
>fixup_use_libbind.patch
>>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-relay
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-server
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient-
>systemd-wrapper
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.conf
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.conf
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd6.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcrelay.service
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-relay
>>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-server
>>
>> diff --git a/meta/conf/distro/include/maintainers.inc
>b/meta/conf/distro/include/maintainers.inc
>> index 27e3474da8b..a55dbfa13c9 100644
>> --- a/meta/conf/distro/include/maintainers.inc
>> +++ b/meta/conf/distro/include/maintainers.inc
>> @@ -143,7 +143,6 @@ RECIPE_MAINTAINER_pn-debianutils = "Yi Zhao
>"
>>  RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi
>"
>>  RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Unassigned
>"
>>  RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin
>"
>> -RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia "
>>  RECIPE_MAINTAINER_pn-dhcpd = "Armin Kuster "
>>  RECIPE_MAINTA

[OE-core][PATCH] diffoscope: upgrade 156 -> 158

2020-09-01 Thread Joshua Watt
Signed-off-by: Joshua Watt 
---
 .../diffoscope/{diffoscope_156.bb => diffoscope_158.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/diffoscope/{diffoscope_156.bb => 
diffoscope_158.bb} (83%)

diff --git a/meta/recipes-support/diffoscope/diffoscope_156.bb 
b/meta/recipes-support/diffoscope/diffoscope_158.bb
similarity index 83%
rename from meta/recipes-support/diffoscope/diffoscope_156.bb
rename to meta/recipes-support/diffoscope/diffoscope_158.bb
index 94e6e56d41..9b00e22e23 100644
--- a/meta/recipes-support/diffoscope/diffoscope_156.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_158.bb
@@ -7,7 +7,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"428f5d75197c3d9449ffbac52f8d79dd782a7ed67aba759e0452515b2d8e1441"
+SRC_URI[sha256sum] = 
"54e6d074a783c742b18b18a63328ac6821f4bedbb3d721a5d6af6ccb5d4fe6b2"
 
 RDEPENDS_${PN} += "binutils vim squashfs-tools python3-libarchive-c 
python3-magic"
 
-- 
2.28.0

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

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


Re: [OE-core] [PATCH 6/8] dhcp: remove from core

2020-09-01 Thread Khem Raj
it seems its used by
build-appliance-image and packagegroup-core-base-utils so you need to
take care of that as well. in meta-networking networkmanager recipe
depends on it too which I think I can take care.

On Tue, Sep 1, 2020 at 8:23 AM akuster  wrote:
>
> update maintainers.inc too
>
> Signed-off-by: Armin Kuster 
> ---
>  meta/conf/distro/include/maintainers.inc  |   1 -
>  meta/recipes-connectivity/dhcp/dhcp.inc   | 149 --
>  ...TH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch |  27 
>  ...-limitation-in-linux-dhclient-script.patch |  65 
>  .../dhcp/dhcp/0002-dhclient-dbus.patch| 117 --
>  .../dhcp/dhcp/0003-link-with-lcrypto.patch|  35 
>  .../dhcp/0004-Fix-out-of-tree-builds.patch|  95 ---
>  ...invoke-dhclient-script-failed-on-Rea.patch |  36 -
>  ...gument-to-make-the-libxml2-dependenc.patch |  62 
>  ...move-dhclient-script-bash-dependency.patch |  28 
>  ...ct-the-intention-for-xml2-lib-search.patch |  34 
>  .../dhcp/dhcp/0013-fixup_use_libbind.patch|  64 
>  meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb  |  23 ---
>  .../dhcp/files/default-relay  |  12 --
>  .../dhcp/files/default-server |   7 -
>  .../dhcp/files/dhclient-systemd-wrapper   |  39 -
>  .../dhcp/files/dhclient.conf  |  50 --
>  .../dhcp/files/dhclient.service   |  13 --
>  .../dhcp/files/dhcpd.conf | 108 -
>  .../dhcp/files/dhcpd.service  |  15 --
>  .../dhcp/files/dhcpd6.service |  15 --
>  .../dhcp/files/dhcrelay.service   |  10 --
>  .../dhcp/files/init-relay |  44 --
>  .../dhcp/files/init-server|  44 --
>  24 files changed, 1093 deletions(-)
>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp.inc
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0001-workaround-busybox-limitation-in-linux-dhclient-script.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0002-dhclient-dbus.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-tree-builds.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0009-remove-dhclient-script-bash-dependency.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0012-dhcp-correct-the-intention-for-xml2-lib-search.patch
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch
>  delete mode 100644 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-relay
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/default-server
>  delete mode 100644 
> meta/recipes-connectivity/dhcp/files/dhclient-systemd-wrapper
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.conf
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.service
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.conf
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.service
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd6.service
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcrelay.service
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-relay
>  delete mode 100644 meta/recipes-connectivity/dhcp/files/init-server
>
> diff --git a/meta/conf/distro/include/maintainers.inc 
> b/meta/conf/distro/include/maintainers.inc
> index 27e3474da8b..a55dbfa13c9 100644
> --- a/meta/conf/distro/include/maintainers.inc
> +++ b/meta/conf/distro/include/maintainers.inc
> @@ -143,7 +143,6 @@ RECIPE_MAINTAINER_pn-debianutils = "Yi Zhao 
> "
>  RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi "
>  RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Unassigned 
> "
>  RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin 
> "
> -RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia "
>  RECIPE_MAINTAINER_pn-dhcpd = "Armin Kuster "
>  RECIPE_MAINTAINER_pn-diffoscope = "Joshua Watt "
>  RECIPE_MAINTAINER_pn-diffstat = "Chen Qi "
> diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc 
> b/meta/recipes-connectivity/dhcp/dhcp.inc
> deleted file mode 100644
> index d46130d49b9..000
> --- a/meta/recipes-connectivity/dhcp/dhcp.inc
> +++ /dev/null
> @@ -1,149 +0,0 @@
> -SECTION = "console/network"
> -SUMMARY = "Internet Software Consortium DHCP package"
> -DESCRIPTION = "DHCP (Dynamic Host Configuration Protocol) is a protocol \
> -which allows i

Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-09-01 Thread Andreas Müller
On Tue, Sep 1, 2020 at 6:33 PM Andreas Müller  wrote:
>
> On Wed, Jun 17, 2020 at 3:50 AM Peter Kjellerstedt
>  wrote:
> >
> > This has been integrated to master now (commit f9c5df6d).
> > Please cherry-pick it to Dunfell and Zeus.
> >
> > //Peter
> >
> > > -Original Message-
> > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > Sent: den 12 juni 2020 18:26
> > > To: openembedded-core@lists.openembedded.org
> > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > an exception if an empty pkgconfig dir exist
> > >
> > > *ping* *ping* *ping* *ping*
> > >
> > > Ok, it was only two weeks since I pinged this the last time, but
> > > since I'm going on vacation in a week I thought I'd give it a shot
> > > before then. I am still waiting for any kind of reaction to this
> > > patch...
> > >
> > > //Peter
> > >
> > > > -Original Message-
> > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > Sent: den 28 maj 2020 03:26
> > > > To: openembedded-core@lists.openembedded.org
> > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > >
> > > > *ping* *ping* *ping*
> > > >
> > > > I am not sure why this is being ignored. It is two months since I
> > > > first sent it and the third time I ping it. I have not received any
> > > > objections, yet it has never made it even to master-next as far as
> > > > I know.
> > > >
> > > > This should not be taken as a complaint. I know there has been
> > > > problems with the autobuilder and that patch integration has been
> > > > slowed, and during this time all other patches I have sent have
> > > > been applied on the first try. So it just seems to be this one that
> > > > has been left out, and I would like to know if there is a reason or
> > > > if it just has fallen between the cracks.
> > > >
> > > > //Peter
> > > >
> > > > PS. The patch of course applies to Dunfell now too in addition to
> > > > master and Zeus since it has been released in the meantime.
> > > >
> > > > > -Original Message-
> > > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > Sent: den 25 april 2020 11:17
> > > > > To: openembedded-core@lists.openembedded.org
> > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > > >
> > > > > *ping again*
> > > > >
> > > > > //Peter
> > > > >
> > > > > > -Original Message-
> > > > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > > Sent: den 3 april 2020 18:24
> > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > > Avoid an exception if an empty pkgconfig dir exist
> > > > > >
> > > > > > *ping*
> > > > > >
> > > > > > //Peter
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: openembedded-core-boun...@lists.openembedded.org
> > > >  On Behalf Of Peter
> > > > Kjellerstedt
> > > > > > > Sent: den 20 mars 2020 19:04
> > > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > > Subject: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > > > > >
> > > > > > > Rewrite relocatable_native_pcfiles() so that it can handle that
> > > any
> > > > of
> > > > > > > the checked pkgconfig directories are empty without causing an
> > > > > > > exception.
> > > > > > >
> > > > > > > Signed-off-by: Peter Kjellerstedt 
> > > > > > > ---
> > > > > > >  meta/classes/relocatable.bbclass | 20 +++-
> > > > > > >  1 file changed, 11 insertions(+), 9 deletions(-)
> > > > > > >
> > > > > > > diff --git a/meta/classes/relocatable.bbclass
> > > > b/meta/classes/relocatable.bbclass
> > > > > > > index 582812c1cf..af04be5cca 100644
> > > > > > > --- a/meta/classes/relocatable.bbclass
> > > > > > > +++ b/meta/classes/relocatable.bbclass
> > > > > > > @@ -6,13 +6,15 @@ python relocatable_binaries_preprocess() {
> > > > > > >  rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
> > > > > > >  }
> > > > > > >
> > > > > > > -relocatable_native_pcfiles () {
> > > > > > > - if [ -d ${SYSROOT_DESTDIR}${libdir}/pkgconfig ]; then
> > > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > > d.getVar('libdir') + "/pkgconfig")}
> > > > > > > - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g"
> > > > ${SYSROOT_DESTDIR}${libdir}/pkgconfig/*.pc
> > > > > > > - fi
> > > > > > > - if [ -d ${SYSROOT_DESTDIR}${datadir}/pkgconfig ]; then
> > > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > > d.getVar('datadir') + "

Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-09-01 Thread Andreas Müller
On Wed, Jun 17, 2020 at 3:50 AM Peter Kjellerstedt
 wrote:
>
> This has been integrated to master now (commit f9c5df6d).
> Please cherry-pick it to Dunfell and Zeus.
>
> //Peter
>
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org  > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > Sent: den 12 juni 2020 18:26
> > To: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > an exception if an empty pkgconfig dir exist
> >
> > *ping* *ping* *ping* *ping*
> >
> > Ok, it was only two weeks since I pinged this the last time, but
> > since I'm going on vacation in a week I thought I'd give it a shot
> > before then. I am still waiting for any kind of reaction to this
> > patch...
> >
> > //Peter
> >
> > > -Original Message-
> > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > Sent: den 28 maj 2020 03:26
> > > To: openembedded-core@lists.openembedded.org
> > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > an exception if an empty pkgconfig dir exist
> > >
> > > *ping* *ping* *ping*
> > >
> > > I am not sure why this is being ignored. It is two months since I
> > > first sent it and the third time I ping it. I have not received any
> > > objections, yet it has never made it even to master-next as far as
> > > I know.
> > >
> > > This should not be taken as a complaint. I know there has been
> > > problems with the autobuilder and that patch integration has been
> > > slowed, and during this time all other patches I have sent have
> > > been applied on the first try. So it just seems to be this one that
> > > has been left out, and I would like to know if there is a reason or
> > > if it just has fallen between the cracks.
> > >
> > > //Peter
> > >
> > > PS. The patch of course applies to Dunfell now too in addition to
> > > master and Zeus since it has been released in the meantime.
> > >
> > > > -Original Message-
> > > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > Sent: den 25 april 2020 11:17
> > > > To: openembedded-core@lists.openembedded.org
> > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > Avoid
> > > an exception if an empty pkgconfig dir exist
> > > >
> > > > *ping again*
> > > >
> > > > //Peter
> > > >
> > > > > -Original Message-
> > > > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > Sent: den 3 april 2020 18:24
> > > > > To: openembedded-core@lists.openembedded.org
> > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid an exception if an empty pkgconfig dir exist
> > > > >
> > > > > *ping*
> > > > >
> > > > > //Peter
> > > > >
> > > > > > -Original Message-
> > > > > > From: openembedded-core-boun...@lists.openembedded.org
> > >  On Behalf Of Peter
> > > Kjellerstedt
> > > > > > Sent: den 20 mars 2020 19:04
> > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > Subject: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > Avoid
> > > an exception if an empty pkgconfig dir exist
> > > > > >
> > > > > > Rewrite relocatable_native_pcfiles() so that it can handle that
> > any
> > > of
> > > > > > the checked pkgconfig directories are empty without causing an
> > > > > > exception.
> > > > > >
> > > > > > Signed-off-by: Peter Kjellerstedt 
> > > > > > ---
> > > > > >  meta/classes/relocatable.bbclass | 20 +++-
> > > > > >  1 file changed, 11 insertions(+), 9 deletions(-)
> > > > > >
> > > > > > diff --git a/meta/classes/relocatable.bbclass
> > > b/meta/classes/relocatable.bbclass
> > > > > > index 582812c1cf..af04be5cca 100644
> > > > > > --- a/meta/classes/relocatable.bbclass
> > > > > > +++ b/meta/classes/relocatable.bbclass
> > > > > > @@ -6,13 +6,15 @@ python relocatable_binaries_preprocess() {
> > > > > >  rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
> > > > > >  }
> > > > > >
> > > > > > -relocatable_native_pcfiles () {
> > > > > > - if [ -d ${SYSROOT_DESTDIR}${libdir}/pkgconfig ]; then
> > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > d.getVar('libdir') + "/pkgconfig")}
> > > > > > - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g"
> > > ${SYSROOT_DESTDIR}${libdir}/pkgconfig/*.pc
> > > > > > - fi
> > > > > > - if [ -d ${SYSROOT_DESTDIR}${datadir}/pkgconfig ]; then
> > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > d.getVar('datadir') + "/pkgconfig")}
> > > > > > - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g"
> > > ${SYSROOT_DESTDIR}${datadir}/pkgconfig/*.pc
> > > > > > - fi
> > > > > > +relocatable_native_pcfiles() {
> > > > > > + for dir in ${libdir}/pkgconfig ${datadir}/pkgconfig; do
> > > > > >

Re: [OE-core] [PATCH v2] base-files: Add directory /var/empty

2020-09-01 Thread Randy MacLeod

On 2020-08-19 2:50 a.m., Khem Raj wrote:

On Tue, Aug 18, 2020 at 11:14 PM Lachlan Archibald
 wrote:


/var/empty is commonly used as the home directory for system users that do not
have any other dedicated directory.



There is no "standard" empty directory specified in FHS so we need to
justify why we should always create this directory
which dameons need it or other applications that depend on /var/empty



Lachlan,

Can you resubmit listing the daemons that use /var/empty in
the commit log?

../Randy




Signed-off-by: Lachlan Archibald 
---
  meta/recipes-core/base-files/base-files_3.0.14.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb 
b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 94299431f6..ff706637fa 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -39,7 +39,7 @@ dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} 
${base_libdir} \
 ${libdir} ${sbindir} ${datadir} \
 ${datadir}/common-licenses ${datadir}/dict ${infodir} \
 ${mandir} ${datadir}/misc ${localstatedir} \
-   ${localstatedir}/backups ${localstatedir}/lib \
+   ${localstatedir}/backups ${localstatedir}/empty 
${localstatedir}/lib \
 ${localstatedir}/lib/misc ${localstatedir}/spool \
 ${localstatedir}/volatile \
 ${localstatedir}/${@'volatile/' if 
oe.types.boolean('${VOLATILE_LOG_DIR}') else ''}log \
--
2.26.2







--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [OE-core] [PATCH 1/2] update-alternatives: Do not add dependency on virtual/update-alternatives for INHIBIT_DEFAULT_DEPS

2020-09-01 Thread Richard Purdie
On Mon, 2020-08-31 at 21:56 -0700, Khem Raj wrote:
> This allows special recipes e.g. glibc to use update-alternatives,
> glibc-utils e.g. provides packages like iconv, getconf which are also
> provided by other packages e.g. toybox, which uses update-alternatives
> but since glibc-utils does not use it, images which contain glibc-utils
> and toybox fail to build, glibc-utils is commonly pulled into ptest
> related images. This patch therefore will allow glibc-utils or
> musl-utils use u-a
> 
> Signed-off-by: Khem Raj 
> ---
>  meta/classes/update-alternatives.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/update-alternatives.bbclass 
> b/meta/classes/update-alternatives.bbclass
> index 8c2b66e7f1..ae393770f8 100644
> --- a/meta/classes/update-alternatives.bbclass
> +++ b/meta/classes/update-alternatives.bbclass
> @@ -86,7 +86,7 @@ def gen_updatealternativesvardeps(d):
>  d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, 
> d.getVarFlag('%s_%s' % (v,p), flag, False)))
>  
>  def ua_extend_depends(d):
> -if not 'virtual/update-alternatives' in d.getVar('PROVIDES'):
> +if not 'virtual/update-alternatives' in d.getVar('PROVIDES') and not 
> d.getVar('INHIBIT_DEFAULT_DEPS'):
>  d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
>  

https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/2408

(failure in step6b looks related to this)

Cheers,

Richard

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

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


[OE-core] ✗ patchtest: failure for "log4cplus: move meta-oe pkg to..." and 7 more

2020-09-01 Thread Patchwork
== Series Details ==

Series: "log4cplus: move meta-oe pkg to..." and 7 more
Revision: 1
URL   : https://patchwork.openembedded.org/series/25890/
State : failure

== Summary ==


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



* Issue A patch file has been added, but does not have a 
Signed-off-by tag [test_signed_off_by_presence] 
  Suggested fixSign off the added patch file 
(meta/recipes-connectivity/bind/bind-9.16.5/conf.patch)



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

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

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

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


Re: [OE-core][Patch v2 1/2] xinput-calibrator: avoid defunct process

2020-09-01 Thread Richard Purdie
On Fri, 2020-08-28 at 17:29 -0400, Mark Asselstine wrote:
> The xinput_calibrator_once.sh script produces output on stdout and
> stderr which the current 'Exec' doesn't consume. This results in a
> [xinput_calibrator_once.sh] defunct process which will remain around
> until we exit the X11 session.
> 
> Add a redirect to the Exec which will consume this output and avoid
> the defunct process.
> 
> Signed-off-by: Mark Asselstine 
> ---
> 
> V2: * no changes
> 
>  .../recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb 
> b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> index 4f831932e7..c59f97895c 100644
> --- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> @@ -31,7 +31,7 @@ do_install_append() {
>  install -m 0755 ${WORKDIR}/30xinput_calibrate.sh 
> ${D}${sysconfdir}/X11/Xsession.d/
>  
>  install -d ${D}${sysconfdir}/xdg/autostart
> -sed -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' 
> ${S}/scripts/xinput_calibrator.desktop > 
> ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop
> +sed -e 's,^Exec=.*,Exec=${bindir}/sh -c 
> "${bindir}/xinput_calibrator_once.sh 2>\&1 > /dev/null",' 
> ${S}/scripts/xinput_calibrator.desktop > 
> ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop
>  }
>  
>  FILES_${PN} += "${sysconfdir}/xdg/autostart"

That appears to fail in testing:

https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/1281/steps/8/logs/step1c

Presumably it should be base_bindir?

Cheers,

Richard

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

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


[OE-core] [PATCH 6/8] dhcp: remove from core

2020-09-01 Thread akuster
update maintainers.inc too

Signed-off-by: Armin Kuster 
---
 meta/conf/distro/include/maintainers.inc  |   1 -
 meta/recipes-connectivity/dhcp/dhcp.inc   | 149 --
 ...TH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch |  27 
 ...-limitation-in-linux-dhclient-script.patch |  65 
 .../dhcp/dhcp/0002-dhclient-dbus.patch| 117 --
 .../dhcp/dhcp/0003-link-with-lcrypto.patch|  35 
 .../dhcp/0004-Fix-out-of-tree-builds.patch|  95 ---
 ...invoke-dhclient-script-failed-on-Rea.patch |  36 -
 ...gument-to-make-the-libxml2-dependenc.patch |  62 
 ...move-dhclient-script-bash-dependency.patch |  28 
 ...ct-the-intention-for-xml2-lib-search.patch |  34 
 .../dhcp/dhcp/0013-fixup_use_libbind.patch|  64 
 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb  |  23 ---
 .../dhcp/files/default-relay  |  12 --
 .../dhcp/files/default-server |   7 -
 .../dhcp/files/dhclient-systemd-wrapper   |  39 -
 .../dhcp/files/dhclient.conf  |  50 --
 .../dhcp/files/dhclient.service   |  13 --
 .../dhcp/files/dhcpd.conf | 108 -
 .../dhcp/files/dhcpd.service  |  15 --
 .../dhcp/files/dhcpd6.service |  15 --
 .../dhcp/files/dhcrelay.service   |  10 --
 .../dhcp/files/init-relay |  44 --
 .../dhcp/files/init-server|  44 --
 24 files changed, 1093 deletions(-)
 delete mode 100644 meta/recipes-connectivity/dhcp/dhcp.inc
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0001-workaround-busybox-limitation-in-linux-dhclient-script.patch
 delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0002-dhclient-dbus.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-tree-builds.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0009-remove-dhclient-script-bash-dependency.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0012-dhcp-correct-the-intention-for-xml2-lib-search.patch
 delete mode 100644 
meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch
 delete mode 100644 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
 delete mode 100644 meta/recipes-connectivity/dhcp/files/default-relay
 delete mode 100644 meta/recipes-connectivity/dhcp/files/default-server
 delete mode 100644 
meta/recipes-connectivity/dhcp/files/dhclient-systemd-wrapper
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.conf
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhclient.service
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.conf
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd.service
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcpd6.service
 delete mode 100644 meta/recipes-connectivity/dhcp/files/dhcrelay.service
 delete mode 100644 meta/recipes-connectivity/dhcp/files/init-relay
 delete mode 100644 meta/recipes-connectivity/dhcp/files/init-server

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 27e3474da8b..a55dbfa13c9 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -143,7 +143,6 @@ RECIPE_MAINTAINER_pn-debianutils = "Yi Zhao 
"
 RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi "
 RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Unassigned 
"
 RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin 
"
-RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia "
 RECIPE_MAINTAINER_pn-dhcpd = "Armin Kuster "
 RECIPE_MAINTAINER_pn-diffoscope = "Joshua Watt "
 RECIPE_MAINTAINER_pn-diffstat = "Chen Qi "
diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc 
b/meta/recipes-connectivity/dhcp/dhcp.inc
deleted file mode 100644
index d46130d49b9..000
--- a/meta/recipes-connectivity/dhcp/dhcp.inc
+++ /dev/null
@@ -1,149 +0,0 @@
-SECTION = "console/network"
-SUMMARY = "Internet Software Consortium DHCP package"
-DESCRIPTION = "DHCP (Dynamic Host Configuration Protocol) is a protocol \
-which allows individual devices on an IP network to get their own \
-network configuration information from a server.  DHCP helps make it \
-easier to administer devices."
-
-HOMEPAGE = "http://www.isc.org/";
-
-LICENSE = "ISC"
-LIC_FILES_CHKSUM = 
"file://LICENSE;beginline=4;md5=004a4db50a1e20972e924a8618747c01"
-
-DEPENDS = "openssl bind"
-
-SRC_URI = "http://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \
-   file://init-relay file://defau

[OE-core] [PATCH 1/8] log4cplus: move meta-oe pkg to core

2020-09-01 Thread akuster
pkg need for kea

Signed-off-by: Armin Kuster 
---
 .../log4cplus/log4cplus_2.0.5.bb  | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb

diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb 
b/meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
new file mode 100644
index 000..967ac7623a3
--- /dev/null
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
@@ -0,0 +1,19 @@
+SUMMARY = "log4cplus provides a simple C++ logging API for log management"
+SECTION = "libs"
+HOMEPAGE = "http://sourceforge.net/projects/log4cplus/";
+BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/";
+
+LICENSE = "Apache-2.0 & BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
+
+SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
+  "
+SRC_URI[md5sum] = "71dd956bf686195127559671f1426cff"
+SRC_URI[sha256sum] = 
"c07115c23219390633798def30b7b51a0f79fdeb857e4b49632f17746d0ceb97"
+
+UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/";
+UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P\d+(\.\d+)+)/"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native"
-- 
2.17.1

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

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


[OE-core] [PATCH 2/8] kea: Move from meta-networking

2020-09-01 Thread akuster
Signed-off-by: Armin Kuster 
---
 .../kea/files/0001-remove-AC_TRY_RUN.patch| 34 ++
 .../kea/files/kea-dhcp-ddns.service   | 13 
 .../kea/files/kea-dhcp4.service   | 13 
 .../kea/files/kea-dhcp6.service   | 13 
 meta/recipes-connectivity/kea/kea_1.7.7.bb| 67 +++
 5 files changed, 140 insertions(+)
 create mode 100644 
meta/recipes-connectivity/kea/files/0001-remove-AC_TRY_RUN.patch
 create mode 100644 meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
 create mode 100644 meta/recipes-connectivity/kea/files/kea-dhcp4.service
 create mode 100644 meta/recipes-connectivity/kea/files/kea-dhcp6.service
 create mode 100644 meta/recipes-connectivity/kea/kea_1.7.7.bb

diff --git a/meta/recipes-connectivity/kea/files/0001-remove-AC_TRY_RUN.patch 
b/meta/recipes-connectivity/kea/files/0001-remove-AC_TRY_RUN.patch
new file mode 100644
index 000..d7ca9ff8fa5
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/0001-remove-AC_TRY_RUN.patch
@@ -0,0 +1,34 @@
+From 9d6b8321c5b46199baca907f3d42bdcaaf1958a8 Mon Sep 17 00:00:00 2001
+From: Mingli Yu 
+Date: Thu, 23 May 2019 23:59:42 -0700
+Subject: [PATCH] remove AC_TRY_RUN
+
+AC_TRY_RUN doesn't work in cross compile env,
+use AC_COMPILE_IFELSE instead to fix below configure
+error:
+ | checking for usuable C++11 regex... configure: error: in 
`/builddir/tmp/work/core2-64-poky-linux/kea/1.5.0-r0/build':
+ | configure: error: cannot run test program while cross compiling
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Mingli Yu 
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c880b77..dd40c7c 100644
+--- a/configure.ac
 b/configure.ac
+@@ -580,7 +580,7 @@ AC_TRY_COMPILE([
+ AC_MSG_RESULT(no))
+ 
+ AC_MSG_CHECKING(for usuable C++11 regex)
+-AC_TRY_RUN([
++AC_COMPILE_IFELSE([
+ #include 
+ #include 
+ int main() {
+-- 
+2.21.0
+
diff --git a/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service 
b/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
new file mode 100644
index 000..91aa2eb14f0
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kea DHCP-DDNS Server
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea
+ExecStart=@SBINDIR@/kea-dhcp-ddns -c @SYSCONFDIR@/kea/kea-dhcp-ddns.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-connectivity/kea/files/kea-dhcp4.service 
b/meta/recipes-connectivity/kea/files/kea-dhcp4.service
new file mode 100644
index 000..b851ea71c53
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/kea-dhcp4.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kea DHCPv4 Server
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea
+ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-connectivity/kea/files/kea-dhcp6.service 
b/meta/recipes-connectivity/kea/files/kea-dhcp6.service
new file mode 100644
index 000..0f9f0ef8d98
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/kea-dhcp6.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kea DHCPv6 Server
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea
+ExecStart=@SBINDIR@/kea-dhcp6 -c @SYSCONFDIR@/kea/kea-dhcp6.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-connectivity/kea/kea_1.7.7.bb 
b/meta/recipes-connectivity/kea/kea_1.7.7.bb
new file mode 100644
index 000..e25f8e6fb0b
--- /dev/null
+++ b/meta/recipes-connectivity/kea/kea_1.7.7.bb
@@ -0,0 +1,67 @@
+SUMMARY = "ISC Kea DHCP Server"
+DESCRIPTION = "Kea is the next generation of DHCP software developed by ISC. 
It supports both DHCPv4 and DHCPv6 protocols along with their extensions, e.g. 
prefix delegation and dynamic updates to DNS."
+HOMEPAGE = "http://kea.isc.org";
+SECTION = "connectivity"
+LICENSE = "MPL-2.0 & Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=68d95543d2096459290a4e6b9ceccffa"
+
+DEPENDS += "kea-native"
+
+SRC_URI = "\
+http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \
+file://0001-remove-AC_TRY_RUN.patch \
+file://kea-dhcp4.service \
+file://kea-dhcp6.service \
+file://kea-dhcp-ddns.service \
+"
+SRC_URI[md5sum] = "4f8d1251fd41ef2e822a4eb3f0797d46"
+SRC_URI[sha256sum] = 
"0bba8b045672884a928ff4b2a8575ac5ba420eb6ba47a9338f1932bc38dcf866"
+
+inherit autotools systemd
+
+SYSTEMD_SERVICE_${PN} = "kea-dhcp4.serv

[OE-core] [PATCH 5/8] maintainers.inc: Add me as dhcpd maintainer

2020-09-01 Thread akuster
Signed-off-by: Armin Kuster 
---
 meta/conf/distro/include/maintainers.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index b83be2c5f9e..27e3474da8b 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -144,6 +144,7 @@ RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi 
"
 RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Unassigned 
"
 RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin 
"
 RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia "
+RECIPE_MAINTAINER_pn-dhcpd = "Armin Kuster "
 RECIPE_MAINTAINER_pn-diffoscope = "Joshua Watt "
 RECIPE_MAINTAINER_pn-diffstat = "Chen Qi "
 RECIPE_MAINTAINER_pn-diffutils = "Chen Qi "
-- 
2.17.1

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

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


[OE-core] [PATCH 3/8] maintainers.inc: Add me as kea & log4plus maintainer.

2020-09-01 Thread akuster
Signed-off-by: Armin Kuster 
---
 meta/conf/distro/include/maintainers.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index c3a1f273328..b83be2c5f9e 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -287,6 +287,7 @@ RECIPE_MAINTAINER_pn-json-c = "Yi Zhao 
"
 RECIPE_MAINTAINER_pn-json-glib = "Yi Zhao "
 RECIPE_MAINTAINER_pn-jquery = "Joshua Watt "
 RECIPE_MAINTAINER_pn-kbd = "Alexander Kanavin "
+RECIPE_MAINTAINER_pn-kea = "Armin Kuster "
 RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield 
"
 RECIPE_MAINTAINER_pn-kernel-devsrc = "Bruce Ashfield 
"
 RECIPE_MAINTAINER_pn-kexec-tools = "Armin Kuster "
@@ -450,6 +451,7 @@ RECIPE_MAINTAINER_pn-linux-yocto-rt = "Bruce Ashfield 

 RECIPE_MAINTAINER_pn-linux-yocto-tiny = "Bruce Ashfield 
"
 RECIPE_MAINTAINER_pn-llvm = "Khem Raj "
 RECIPE_MAINTAINER_pn-logrotate = "Yi Zhao "
+RECIPE_MAINTAINER_pn-log4cplus = "Armin Kuster "
 RECIPE_MAINTAINER_pn-lrzsz = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-lsb-release = "Hongxu Jia "
 RECIPE_MAINTAINER_pn-lsof = "Ross Burton "
-- 
2.17.1

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

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


[OE-core] [PATCH 8/8] bind: 9.11 remove

2020-09-01 Thread akuster
Signed-off-by: Armin Kuster 
---
 ...1-avoid-start-failure-with-bind-user.patch |  27 --
 in-remove-useless-L-use_openssl-lib.patch |  30 --
 ...d-V-and-start-log-hide-build-options.patch |  34 --
 ...ching-for-json-headers-searches-sysr.patch |  47 ---
 meta/recipes-connectivity/bind/bind/bind9 |   2 -
 .../recipes-connectivity/bind/bind/conf.patch | 330 --
 .../bind/bind/generate-rndc-key.sh|   8 -
 ...t.d-add-support-for-read-only-rootfs.patch |  65 
 .../bind/make-etc-initd-bind-stop-work.patch  |  42 ---
 .../bind/bind/named.service   |  22 --
 .../recipes-connectivity/bind/bind_9.11.22.bb | 140 
 11 files changed, 747 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
 delete mode 100644 
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
 delete mode 100644 
meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 delete mode 100644 
meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/bind9
 delete mode 100644 meta/recipes-connectivity/bind/bind/conf.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/generate-rndc-key.sh
 delete mode 100644 
meta/recipes-connectivity/bind/bind/init.d-add-support-for-read-only-rootfs.patch
 delete mode 100644 
meta/recipes-connectivity/bind/bind/make-etc-initd-bind-stop-work.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/named.service
 delete mode 100644 meta/recipes-connectivity/bind/bind_9.11.22.bb

diff --git 
a/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
 
b/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
deleted file mode 100644
index 8db96ec049c..000
--- 
a/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 31dde3562f287429eea94b77250d184818b49063 Mon Sep 17 00:00:00 2001
-From: Chen Qi 
-Date: Mon, 15 Oct 2018 16:55:09 +0800
-Subject: [PATCH] avoid start failure with bind user
-
-Upstream-Status: Pending
-
-Signed-off-by: Chen Qi 

- init.d | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/init.d b/init.d
-index b2eec60..6e03936 100644
 a/init.d
-+++ b/init.d
-@@ -57,6 +57,7 @@ case "$1" in
-   modprobe capability >/dev/null 2>&1 || true
-   if [ ! -f /etc/bind/rndc.key ]; then
-   /usr/sbin/rndc-confgen -a -b 512 -r /dev/urandom
-+  chown root:bind /etc/bind/rndc.key >/dev/null 2>&1 || true
-   chmod 0640 /etc/bind/rndc.key
-   fi
-   if [ -f /var/run/named/named.pid ]; then
--- 
-2.7.4
-
diff --git 
a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
 
b/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
deleted file mode 100644
index 9d31b980807..000
--- 
a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 2325a92f1896a2a7f586611686801b41fbc91b50 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia 
-Date: Mon, 27 Aug 2018 15:00:51 +0800
-Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib'
-
-Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind recipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless
-and helpful for clean up host build path in isc-config.sh
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia 
-

- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index e85a5c6..2bbfc58 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -1631,7 +1631,7 @@ If you don't want OpenSSL, use --without-openssl])
-   fi
-   ;;
-   *)
--  DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
-+  DST_OPENSSL_LIBS="-lcrypto"
-   ;;
-   esac
-   fi
diff --git 
a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 
b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
deleted file mode 100644
index 75908aa638f..000
--- 
a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From a3af4a405baf5ff582e82aaba392dd9667d94bdc Mon Sep 17 00:00:00 2001
-From: Hongxu Jia 
-Date: Mon, 27 Aug 2018 21:24:20 +0800
-Subject: [PATCH] `named/lwresd -V' and start log hide build options
-
-The build options expose build path directories, so hide them.
-[snip]
-$ named -V
-|built by make with *** (options ar

[OE-core] [PATCH 7/8] bind: Add 9.16.x

2020-09-01 Thread akuster
Removed obsolete packageconfig options

License change to MPL-2.0
https://gitlab.isc.org/isc-projects/bind9/blob/master/LICENSE

Refreshed:
bind-ensure-searching-for-json-headers-searches-sysr.patch
0001-named-lwresd-V-and-start-log-hide-build-options.patch
bind-ensure-searching-for-json-headers-searches-sysr.patch

Drop obsolete patch: 0001-configure.in-remove-useless-L-use_openssl-lib.patch

Signed-off-by: Armin Kuster 
---
 ...1-avoid-start-failure-with-bind-user.patch |  27 ++
 ...d-V-and-start-log-hide-build-options.patch |  35 ++
 ...ching-for-json-headers-searches-sysr.patch |  47 +++
 .../bind/bind-9.16.5/bind9|   2 +
 .../bind/bind-9.16.5/conf.patch   | 330 ++
 .../bind/bind-9.16.5/generate-rndc-key.sh |   8 +
 ...t.d-add-support-for-read-only-rootfs.patch |  65 
 .../make-etc-initd-bind-stop-work.patch   |  42 +++
 .../bind/bind-9.16.5/named.service|  22 ++
 meta/recipes-connectivity/bind/bind_9.16.5.bb | 125 +++
 10 files changed, 703 insertions(+)
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/0001-avoid-start-failure-with-bind-user.patch
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/bind-ensure-searching-for-json-headers-searches-sysr.patch
 create mode 100644 meta/recipes-connectivity/bind/bind-9.16.5/bind9
 create mode 100644 meta/recipes-connectivity/bind/bind-9.16.5/conf.patch
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/generate-rndc-key.sh
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/init.d-add-support-for-read-only-rootfs.patch
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.5/make-etc-initd-bind-stop-work.patch
 create mode 100644 meta/recipes-connectivity/bind/bind-9.16.5/named.service
 create mode 100644 meta/recipes-connectivity/bind/bind_9.16.5.bb

diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.5/0001-avoid-start-failure-with-bind-user.patch
 
b/meta/recipes-connectivity/bind/bind-9.16.5/0001-avoid-start-failure-with-bind-user.patch
new file mode 100644
index 000..8db96ec049c
--- /dev/null
+++ 
b/meta/recipes-connectivity/bind/bind-9.16.5/0001-avoid-start-failure-with-bind-user.patch
@@ -0,0 +1,27 @@
+From 31dde3562f287429eea94b77250d184818b49063 Mon Sep 17 00:00:00 2001
+From: Chen Qi 
+Date: Mon, 15 Oct 2018 16:55:09 +0800
+Subject: [PATCH] avoid start failure with bind user
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi 
+---
+ init.d | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/init.d b/init.d
+index b2eec60..6e03936 100644
+--- a/init.d
 b/init.d
+@@ -57,6 +57,7 @@ case "$1" in
+   modprobe capability >/dev/null 2>&1 || true
+   if [ ! -f /etc/bind/rndc.key ]; then
+   /usr/sbin/rndc-confgen -a -b 512 -r /dev/urandom
++  chown root:bind /etc/bind/rndc.key >/dev/null 2>&1 || true
+   chmod 0640 /etc/bind/rndc.key
+   fi
+   if [ -f /var/run/named/named.pid ]; then
+-- 
+2.7.4
+
diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.5/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 
b/meta/recipes-connectivity/bind/bind-9.16.5/0001-named-lwresd-V-and-start-log-hide-build-options.patch
new file mode 100644
index 000..5bcc16c9b2b
--- /dev/null
+++ 
b/meta/recipes-connectivity/bind/bind-9.16.5/0001-named-lwresd-V-and-start-log-hide-build-options.patch
@@ -0,0 +1,35 @@
+From a3af4a405baf5ff582e82aaba392dd9667d94bdc Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Mon, 27 Aug 2018 21:24:20 +0800
+Subject: [PATCH] `named/lwresd -V' and start log hide build options
+
+The build options expose build path directories, so hide them.
+[snip]
+$ named -V
+|built by make with *** (options are hidden)
+[snip]
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Hongxu Jia 
+
+Refreshed for 9.16.0
+Signed-off-by: Armin Kuster 
+
+---
+ bin/named/include/named/globals.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: bind-9.16.0/bin/named/include/named/globals.h
+===
+--- bind-9.16.0.orig/bin/named/include/named/globals.h
 bind-9.16.0/bin/named/include/named/globals.h
+@@ -69,7 +69,7 @@ EXTERN const char *named_g_version I
+ EXTERN const char *named_g_product INIT(PRODUCT);
+ EXTERN const char *named_g_description INIT(DESCRIPTION);
+ EXTERN const char *named_g_srcid   INIT(SRCID);
+-EXTERN const char *named_g_configargs  INIT(CONFIGARGS);
++EXTERN const char *named_g_configargs  INIT("*** (options are hidden)");
+ EXTERN const char *named_g_builder INIT(BUILDER);
+ EXTERN in_port_t named_g_portINIT(0);
+ EXTERN isc_dscp_t named_g_dscp   INIT(-1);
diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.5/bind-ensure-searching-for-json-headers-searches-sysr.patch
 
b/meta/recipes-co

[OE-core] [PATCH 4/8] dhcpd: move from meta-network need a client

2020-09-01 Thread akuster
Signed-off-by: Armin Kuster 
---
 .../dhcpcd/dhcpcd_9.1.4.bb| 28 
 ...e-INCLUDEDIR-to-prevent-build-issues.patch | 45 +++
 2 files changed, 73 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
 create mode 100644 
meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch

diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb 
b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
new file mode 100644
index 000..defd3420f02
--- /dev/null
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your \
+   computer to work on the attached networks without trouble \
+   and mostly without configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/";
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9674cc803c5d71306941e6e8b5c002f2"
+
+UPSTREAM_CHECK_URI = "https://roy.marples.name/downloads/dhcpcd/";
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz \
+   file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch"
+
+SRC_URI[sha256sum] = 
"5fe133e5497d8af6d26bd6e6b8dd48ab12d124d6cc4cefe6de6536ff97f76820"
+
+inherit pkgconfig autotools-brokensep
+
+PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
+
+PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
+
+EXTRA_OECONF = "--enable-ipv4"
+
+FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
diff --git 
a/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
 
b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
new file mode 100644
index 000..37d2344438a
--- /dev/null
+++ 
b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
@@ -0,0 +1,45 @@
+From aa9e3982c1e75ad49945a62f5e262279c7a905a4 Mon Sep 17 00:00:00 2001
+From: Stefano Cappa 
+Date: Sun, 13 Jan 2019 01:50:52 +0100
+Subject: [PATCH] remove INCLUDEDIR to prevent build issues
+
+Upstream-Status: Pending
+
+Signed-off-by: Stefano Cappa 
+---
+ configure | 5 -
+ 1 file changed, 5 deletions(-)
+
+diff --git a/configure b/configure
+index 6c81e0db..32dea2b4 100755
+--- a/configure
 b/configure
+@@ -20,7 +20,6 @@ BUILD=
+ HOST=
+ HOSTCC=
+ TARGET=
+-INCLUDEDIR=
+ DEBUG=
+ FORK=
+ STATIC=
+@@ -72,7 +71,6 @@ for x do
+   --mandir) MANDIR=$var;;
+   --datadir) DATADIR=$var;;
+   --with-ccopts|CFLAGS) CFLAGS=$var;;
+-  -I|--includedir) INCLUDEDIR="$INCLUDEDIR${INCLUDEDIR:+ }-I$var";;
+   CC) CC=$var;;
+   CPPFLAGS) CPPFLAGS=$var;;
+   PKG_CONFIG) PKG_CONFIG=$var;;
+@@ -309,9 +307,6 @@ if [ -n "$CPPFLAGS" ]; then
+   echo "CPPFLAGS=" >>$CONFIG_MK
+   echo "CPPFLAGS+=$CPPFLAGS" >>$CONFIG_MK
+ fi
+-if [ -n "$INCLUDEDIR" ]; then
+-  echo "CPPFLAGS+=$INCLUDEDIR" >>$CONFIG_MK
+-fi
+ if [ -n "$LDFLAGS" ]; then
+   echo "LDFLAGS=" >>$CONFIG_MK
+   echo "LDFLAGS+= $LDFLAGS" >>$CONFIG_MK
+-- 
+2.17.2 (Apple Git-113)
+
-- 
2.17.1

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

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


[OE-core] Yocto Project Status WW35'20

2020-09-01 Thread Stephen Jolley
Current Dev Position: YP 3.2 M3

Next Deadline: YP 3.2 M3 Feature Freeze - Now

 

Next Team Meetings:

*   Bug Triage meeting Thursday Sept. 3rd at 7:30am PDT (
 https://zoom.us/j/454367603)
*   Monthly Project Meeting Tuesday Sept. 1st at 8am PDT (
 https://zoom.us/j/990892712)
*   Weekly Engineering Sync Tuesday Sept. 8th at 8am PDT (
 https://zoom.us/j/990892712)
*   Twitch -  See https://www.twitch.tv/theyoctojester

 

Key Status/Updates:

*   M3 has now closed and we're at feature freeze for 3.2.
*   There are a number of patches we need for 3.2 which are still being
sorted out and M3 will build once that has happened.
*   Bitbake server startup has been changed to avoid the issues
previously discovered. There are some issues with traceback
handling/reporting during early init which are being resolved as a result of
that and those have open bugs.
*   The server changes have improved memory resident bitbake but some
issues with state tracking still remain so memory resident bitbake will not
be the default until 3.3, assuming we can debug those remaining problems by
early in 3.3.
*   There has been work in enabling PRServ to work well with hash
equivalence, thanks to Mark for sorting out this long standing work item. We
aim to have this in 3.2 but some tests need fixing before it can completely
merge.
*   We will process one last round of recipe upgrades before we build
M3.
*   We were finally able to change the fcommon gcc defaults back to
standard, thanks to all who helped make that happen.
*   The number of autobuilder intermittent bugs has continued to rise
unfortunately.

You can see the list of failures we're continuing to see by searching for
the "AB-INT" tag in bugzilla:

https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT

Help with any of these would be much appreciated, unfortunately it is
proving hard to find anyone interested in helping figure these out and they
significantly hamper our testing.

*   One way to help the project is to help us with bugs that are
currently unassigned but ideally needed during YP 3.2. See:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Medium.2B_3.2_Unassigned_Enhan
cements.2FBugs
*   Globbing support in file:// urls has been removed.

 

YP 3.2 Milestone Dates:

*   YP 3.2 M3 build date 2020/8/31
*   YP 3.2 M3 Release date 2020/9/11
*   YP 3.2 M4 build date 2020/10/5
*   YP 3.2 M4 Release date 2020/10/30

 

Planned upcoming dot releases:

*   YP 3.1.3 build date 2020/9/14
*   YP 3.1.3 release date 2020/9/25

 

Tracking Metrics:

*   WDD 2436 (last week 2424) (

https://wiki.yoctoproject.org/charts/combo.html)
*   Poky Patch Metrics  

*   Total patches found: 1264 (last week 1273)
*   Patches in the Pending State: 502 (40%) [last week 502 (39%)]

 

The Yocto Project's technical governance is through its Technical Steering
Committee, more information is available at:

 
https://wiki.yoctoproject.org/wiki/TSC

 

The Status reports are now stored on the wiki at:

https://wiki.yoctoproject.org/wiki/Weekly_Status

 

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

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 

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

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


Re: [OE-core][dunfell 00/25] Patch review

2020-09-01 Thread Steve Sakoman
On Tue, Sep 1, 2020 at 1:07 AM Richard Purdie
 wrote:
>
> Hi Steve,
>
> On Sun, 2020-08-30 at 08:15 -1000, Steve Sakoman wrote:
> > Please review this next set of patches for dunfell and have comments
> > back by end of day Tuesday.
>
> A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd
> consider slightly riskier patches which only really just made master.
> I'm not sure if we want to give a little extra time for some of those
> in master before we backport?

Certainly, I'll drop those patches from the pull request and let them
bake for another week.

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

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


[OE-core] [PATCH] devtool: deploy-target: Fix size calculation for hard links

2020-09-01 Thread Michael Tretter
If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.

For example, the mesa-megadriver package contains several hard links to
the same library.

Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.

All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.

Signed-off-by: Michael Tretter 
---
 scripts/lib/devtool/deploy.py | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index b1749ce67298..e5af2c95aec1 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -177,13 +177,19 @@ def deploy(args, config, basepath, workspace):
 rd.getVar('base_libdir'), rd)
 
 filelist = []
+inodes = set({})
 ftotalsize = 0
 for root, _, files in os.walk(recipe_outdir):
 for fn in files:
+fstat = os.lstat(os.path.join(root, fn))
 # Get the size in kiB (since we'll be comparing it to the 
output of du -k)
 # MUST use lstat() here not stat() or getfilesize() since we 
don't want to
 # dereference symlinks
-fsize = int(math.ceil(float(os.lstat(os.path.join(root, 
fn)).st_size)/1024))
+if fstat.st_ino in inodes:
+fsize = 0
+else:
+fsize = int(math.ceil(float(fstat.st_size)/1024))
+inodes.add(fstat.st_ino)
 ftotalsize += fsize
 # The path as it would appear on the target
 fpath = os.path.join(destdir, os.path.relpath(root, 
recipe_outdir), fn)
-- 
2.20.1

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

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


[OE-core] ✗ patchtest: failure for package: get_package_mapping: avoid dependency mapping if renamed package provides original name

2020-09-01 Thread Patchwork
== Series Details ==

Series: package: get_package_mapping: avoid dependency mapping if renamed 
package provides original name
Revision: 1
URL   : https://patchwork.openembedded.org/series/25886/
State : failure

== Summary ==


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



* Patch[dunfell] package: get_package_mapping: avoid dependency 
mapping if renamed package provides original name
 Issue Commit shortlog is too long [test_shortlog_length] 
  Suggested fixEdit shortlog so that it is 90 characters or less (currently 
96 characters)



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

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

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

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


[OE-core] [PATCH] insane: fix gnu-hash-style check

2020-09-01 Thread Sumit Garg
Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.

Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
Signed-off-by: Sumit Garg 
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index ee19ef6..c32bf25 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -438,7 +438,7 @@ def package_qa_hash_style(path, name, d, elf, messages):
 for line in phdrs.split("\n"):
 if "SYMTAB" in line:
 has_syms = True
-if "GNU_HASH" or "DT_MIPS_XHASH" in line:
+if "GNU_HASH" in line or "DT_MIPS_XHASH" in line:
 sane = True
 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') 
== "musl":
 sane = True
-- 
2.7.4

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

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


[OE-core] [dunfell][PATCH] package: get_package_mapping: avoid dependency mapping if renamed package provides original name

2020-09-01 Thread Alexander Kanavin
From: Yann Dirson 

Packages with a runtime dependency on a target package whose name is
changed by the PKG_* mechanism must rebuild when that mapping changes,
but we have no way of tracking this today, so
eg. packagegroup-machine-base ends up with a relationship on a
versioned kernel-image, and does not get rebuilt when that version
changes, leading to unsatisfiable dependency and reproducibility
issue.

OTOH there is no reason for the dependency to get rewritten if the
renamed package already has a RPROVIDES on the non-rewritten package
name, and if the dependency relationship is an unversionned one.  This
is what this patch prevents.

Note that this may not cover all cases of rewritten package names.

Notably I had to let the rewrite be done in the case of versionned
dependencies, as package managers usually can follow "Provides" in
such case; this includes many dependencies against shared-lib packages
renamed to their soname, and those at least are OK, since the
dependent recipe should explicitly depend on the target recipe.

(From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1)

Signed-off-by: Yann Dirson 
Signed-off-by: Richard Purdie 
---
 meta/classes/package.bbclass | 16 +---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 099d0459f3..686b412394 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -535,7 +535,7 @@ def copydebugsources(debugsrcdir, sources, d):
 # Package data handling routines
 #
 
-def get_package_mapping (pkg, basepkg, d):
+def get_package_mapping (pkg, basepkg, d, depversions=None):
 import oe.packagedata
 
 data = oe.packagedata.read_subpkgdata(pkg, d)
@@ -546,6 +546,14 @@ def get_package_mapping (pkg, basepkg, d):
 if bb.data.inherits_class('allarch', d) and not 
d.getVar('MULTILIB_VARIANTS') \
 and data[key] == basepkg:
 return pkg
+if depversions == []:
+# Avoid returning a mapping if the renamed package rprovides its 
original name
+rprovkey = "RPROVIDES_%s" % pkg
+if rprovkey in data:
+if pkg in bb.utils.explode_dep_versions2(data[rprovkey]):
+bb.note("%s rprovides %s, not replacing the latter" % 
(data[key], pkg))
+return pkg
+# Do map to rewritten package name
 return data[key]
 
 return pkg
@@ -566,8 +574,10 @@ def runtime_mapping_rename (varname, pkg, d):
 
 new_depends = {}
 deps = bb.utils.explode_dep_versions2(d.getVar(varname) or "")
-for depend in deps:
-new_depend = get_package_mapping(depend, pkg, d)
+for depend, depversions in deps.items():
+new_depend = get_package_mapping(depend, pkg, d, depversions)
+if depend != new_depend:
+bb.note("package name mapping done: %s -> %s" % (depend, 
new_depend))
 new_depends[new_depend] = deps[depend]
 
 d.setVar(varname, bb.utils.join_deps(new_depends, commasep=False))
-- 
2.28.0

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

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


Re: [OE-Core][PATCH 2/2] iputils: upgrade s20190709 -> s20200821

2020-09-01 Thread Richard Purdie
On Mon, 2020-08-31 at 11:59 +0200, Changhyeok Bae wrote:
> - libgcrypt is not required anymore because the md5 implementation was
>   part of this project.
> - ninfod patches are upstreamed and other patch is not required anymore.
> 
> Signed-off-by: Changhyeok Bae 
> ---
>  .../0001-iputils-Initialize-libgcrypt.patch   | 55 ---
>  ...riable-name-to-avoid-colliding-with-.patch | 51 -
>  ...-fix-systemd-Documentation-url-error.patch | 28 --
>  ...tils_s20190709.bb => iputils_s20200821.bb} |  8 +--
>  4 files changed, 2 insertions(+), 140 deletions(-)
>  delete mode 100644 
> meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch
>  delete mode 100644 
> meta/recipes-extended/iputils/iputils/0001-ninfod-change-variable-name-to-avoid-colliding-with-.patch
>  delete mode 100644 
> meta/recipes-extended/iputils/iputils/0001-ninfod-fix-systemd-Documentation-url-error.patch
>  rename meta/recipes-extended/iputils/{iputils_s20190709.bb => 
> iputils_s20200821.bb} (87%)

Hi,

Thanks for the upgrade. There seems to be an issue with tftpd:

https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/2389

Error: 
 Problem: package packagegroup-core-full-cmdline-1.0-r6.noarch requires 
packagegroup-core-full-cmdline-extended, but none of the providers can be 
installed
  - package packagegroup-core-full-cmdline-extended-1.0-r6.noarch requires 
iputils, but none of the providers can be installed
  - conflicting requests
  - nothing provides iputils-tftpd needed by iputils-s20200821-r0.core2_32
(try to add '--skip-broken' to skip uninstallable packages)

Any ideas what changed?

Cheers,

Richard

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

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


Re: [OE-core] [PATCH] libpcre: fix occasionally do_package_write_rpm error

2020-09-01 Thread Richard Purdie
On Fri, 2020-08-28 at 14:14 +0800, Changqing Li wrote:
> From: Changqing Li 
> 
> Error info:
> ERROR: libpcre-8.44-r0 do_package_write_rpm: Failure expanding
> variable
> SUMMARY_libpcrecpp, expression was ${SUMMARY} - C++ wrapper functions
> which triggered exception RecursionError: maximum recursion depth
> exceeded while calling a Python object
> 
> this error is hard to reproduce, only met one time. Seems expand
> SUMMARY with reference to SUMMARY cause a dead loop.
> 
> Signed-off-by: Changqing Li 

What is worrying me is why we can't reproduce this. It should fail or
not fail, why do we only sometimes see this?

I'd like to understand the cause as it sounds like a determinism
problem somewhere.

Is there a sequence we can reproduce it with?

Cheers,

Richard

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

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


Re: [OE-core][dunfell 00/25] Patch review

2020-09-01 Thread Richard Purdie
Hi Steve,

On Sun, 2020-08-30 at 08:15 -1000, Steve Sakoman wrote:
> Please review this next set of patches for dunfell and have comments
> back by end of day Tuesday.

A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd
consider slightly riskier patches which only really just made master.
I'm not sure if we want to give a little extra time for some of those
in master before we backport?

Cheers,

Richard


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

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


Re: [OE-core][PATCH] oeqa: sdk: Capture stderr output

2020-09-01 Thread Richard Purdie
On Mon, 2020-08-31 at 16:53 -0500, Joshua Watt wrote:
> Redirect stderr to stdout when running subcommands while doing the
> SDK
> tests. The tests will show stdout when CalledProcessError is raised,
> but any output to stderr was lost.
> 
> Signed-off-by: Joshua Watt 
> ---
>  meta/lib/oeqa/sdk/case.py  | 2 +-
>  meta/lib/oeqa/sdk/cases/assimp.py  | 2 +-
>  meta/lib/oeqa/sdk/cases/buildcpio.py   | 2 +-
>  meta/lib/oeqa/sdk/cases/buildepoxy.py  | 2 +-
>  meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 +-
>  meta/lib/oeqa/sdk/cases/buildlzip.py   | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)

Thanks, I ran into this the other day and have a note left on my
desktop to remind me to try and figure out what was happening!

Cheers,

Richard

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

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


Re: [OE-core] [PATCH v2] cve-update: handle baseMetricV2 as optional

2020-09-01 Thread Ryan Harkin
On Sun, 30 Aug 2020 at 17:27, Konrad Weihmann  wrote:

> Again this breaks builds for me - please backport the patch to warrior -
>

Pretty please? ;-)
My Warrior builds are broken again. They only started working again because
someone fixed the database, rather than the patch being backported.


> or ping me, then I do the backporting
>
> Cheers
> Konrad
>
> On 28.07.20 17:02, Ryan Harkin wrote:
> >
> >
> > On Mon, 27 Jul 2020 at 19:26, Konrad Weihmann  > > wrote:
> >
> > Hi all,
> >
> > please consider this patch to be backported to dunfell/zeus and
> warrior.
> >
> >
> > I'll second that request. My Warrior and Dunfell builds broke last week
> > because of this.
> >
> > Master-rev: bbefe04a622e166d95093d5127c316de91b27d20
> >
> >
> > Thanks for the fix, Konrad.
> >
> >
> > Thanks
> > Konrad
> >
> > On 26.07.20 16:10, Konrad Weihmann wrote:
> >  > Currently in NVD DB an item popped up, which hasn't set
> baseMetricV2.
> >  > Let the parser handle it as an optional item.
> >  > In case use baseMetricV2 before baseMetricV3
> >  >
> >  > Signed-off-by: Konrad Weihmann  > >
> >  > ---
> >  >   meta/recipes-core/meta/cve-update-db-native.bb
> >  | 13 +
> >  >   1 file changed, 9 insertions(+), 4 deletions(-)
> >  >
> >  > diff --git a/meta/recipes-core/meta/cve-update-db-native.bb
> > 
> > b/meta/recipes-core/meta/cve-update-db-native.bb
> > 
> >  > index f27ade40db..32d6dbdffc 100644
> >  > --- a/meta/recipes-core/meta/cve-update-db-native.bb
> > 
> >  > +++ b/meta/recipes-core/meta/cve-update-db-native.bb
> > 
> >  > @@ -176,15 +176,20 @@ def update_db(c, jsondata):
> >  >   if not elt['impact']:
> >  >   continue
> >  >
> >  > +accessVector = None
> >  >   cveId = elt['cve']['CVE_data_meta']['ID']
> >  >   cveDesc =
> > elt['cve']['description']['description_data'][0]['value']
> >  >   date = elt['lastModifiedDate']
> >  > -accessVector =
> > elt['impact']['baseMetricV2']['cvssV2']['accessVector']
> >  > -cvssv2 =
> > elt['impact']['baseMetricV2']['cvssV2']['baseScore']
> >  > -
> >  >   try:
> >  > +accessVector =
> > elt['impact']['baseMetricV2']['cvssV2']['accessVector']
> >  > +cvssv2 =
> > elt['impact']['baseMetricV2']['cvssV2']['baseScore']
> >  > +except KeyError:
> >  > +cvssv2 = 0.0
> >  > +try:
> >  > +accessVector = accessVector or
> > elt['impact']['baseMetricV3']['cvssV3']['attackVector']
> >  >   cvssv3 =
> > elt['impact']['baseMetricV3']['cvssV3']['baseScore']
> >  > -except:
> >  > +except KeyError:
> >  > +accessVector = accessVector or "UNKNOWN"
> >  >   cvssv3 = 0.0
> >  >
> >  >   c.execute("insert or replace into NVD values (?, ?, ?,
> > ?, ?, ?)",
> >  >
> >  >
> >  >
> >  >
> > 
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[OE-core] [PATCH] wic: misc: Add /bin to the list of searchpaths

2020-09-01 Thread Vijai Kumar K
/bin is also a valid path where one can find executables. Add
that to the search path.

Signed-off-by: Vijai Kumar K 
---
 scripts/lib/wic/misc.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py
index 91975ba151..4b08d649c6 100644
--- a/scripts/lib/wic/misc.py
+++ b/scripts/lib/wic/misc.py
@@ -138,8 +138,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot, 
pseudo=""):
 if pseudo:
 cmd_and_args = pseudo + cmd_and_args
 
-native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \
-   (native_sysroot, native_sysroot, native_sysroot)
+native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin" % \
+   (native_sysroot, native_sysroot,
+native_sysroot, native_sysroot)
 
 native_cmd_and_args = "export PATH=%s:$PATH;%s" % \
(native_paths, cmd_and_args)
-- 
2.17.1

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

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


[OE-core] [PATCH] license_image.bbclass: Create symlink to the image license manifest dir

2020-09-01 Thread Diego Sueiro
In the LICENSE_DIRECTORY each time an image recipe is built a new directory
is created to hold the image license manifests.

By creating a symlink to the most recent created image license manifest
directory, we make things easier for users to collect and pack the data.

Signed-off-by: Diego Sueiro 
---
 meta/classes/license_image.bbclass | 9 +
 1 file changed, 9 insertions(+)

diff --git a/meta/classes/license_image.bbclass 
b/meta/classes/license_image.bbclass
index a8c72da..682d462 100644
--- a/meta/classes/license_image.bbclass
+++ b/meta/classes/license_image.bbclass
@@ -200,6 +200,15 @@ def license_deployed_manifest(d):
 image_license_manifest = os.path.join(lic_manifest_dir, 
'image_license.manifest')
 write_license_files(d, image_license_manifest, man_dic, rootfs=False)
 
+lic_manifest_symlink_dir = os.path.join(d.getVar('LICENSE_DIRECTORY'),
+d.getVar('IMAGE_LINK_NAME'))
+# remove old symlink
+if os.path.islink(lic_manifest_symlink_dir):
+os.unlink(lic_manifest_symlink_dir)
+
+# create the image dir symlink
+os.symlink(lic_manifest_dir, lic_manifest_symlink_dir)
+
 def get_deployed_dependencies(d):
 """
 Get all the deployed dependencies of an image
-- 
2.7.4

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

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