[OE-core] [PATCH] sysvinit: upgrade 3.01 -> 3.02

2022-04-06 Thread wangmy
pidof-add-m-option.patch
refreshed for new version.

Add 0001-Fixed-compile-error-on-GNU-Hurd.patch
to fix compile error on GNU Hurd due to missing MAX_PATH
definition.

Signed-off-by: Wang Mingyu 
---
 ...0001-Fixed-compile-error-on-GNU-Hurd.patch | 28 +++
 .../sysvinit/pidof-add-m-option.patch | 10 +++
 .../{sysvinit_3.01.bb => sysvinit_3.02.bb}|  3 +-
 3 files changed, 35 insertions(+), 6 deletions(-)
 create mode 100644 
meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
 rename meta/recipes-core/sysvinit/{sysvinit_3.01.bb => sysvinit_3.02.bb} (96%)

diff --git 
a/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
 
b/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
new file mode 100644
index 00..d278a32ec7
--- /dev/null
+++ 
b/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
@@ -0,0 +1,28 @@
+From d595594506e6fd2247f7984c276f822ea626434c Mon Sep 17 00:00:00 2001
+From: Wang Mingyu 
+Date: Thu, 7 Apr 2022 11:57:19 +0900
+Subject: [PATCH] Fixed compile error on GNU Hurd
+
+Fixed compile error on GNU Hurd due to missing MAX_PATH definition.
+
+Upstream-Status: Backport 
[https://github.com/slicer69/sysvinit/commit/14d8d25269016b26965b428a855dd084cc88994d]
+
+Signed-off-by: Wang Mingyu 
+---
+ src/bootlogd.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/bootlogd.h b/src/bootlogd.h
+index b47bc9d..ba17f0c 100644
+--- a/src/bootlogd.h
 b/src/bootlogd.h
+@@ -10,3 +10,6 @@
+ #define FALSE 0
+ #endif
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 2048
++#endif
+-- 
+2.25.1
+
diff --git a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch 
b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
index 4386e6f832..8ef292ed12 100644
--- a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
+++ b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
@@ -1,4 +1,4 @@
-From 96fb53ef2ccd2580cf0aa565ef1629cb05eae50a Mon Sep 17 00:00:00 2001
+From 0e441712d0e366a0384ff3fa879f5a2d2607c24f Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Wed, 24 Jul 2013 17:07:22 +0800
 Subject: [PATCH] pidof: add -m option
@@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia 
  2 files changed, 65 insertions(+), 3 deletions(-)
 
 diff --git a/man/pidof.8 b/man/pidof.8
-index 84ed1e4..ac184da 100644
+index 6866cb3..a87d878 100644
 --- a/man/pidof.8
 +++ b/man/pidof.8
-@@ -25,6 +25,7 @@ pidof -- find the process ID of a running program.
+@@ -25,6 +25,7 @@ pidof - find the process ID of a running program
  .RB [ \-n ]
  .RB [ \-x ]
  .RB [ \-z ]
@@ -32,9 +32,9 @@ index 84ed1e4..ac184da 100644
  .RB [ \-o
  .IR omitpid[,omitpid...] ]
  .RB [ \-o
-@@ -79,6 +80,11 @@ is shown. The default separator is a space.
+@@ -77,6 +78,11 @@ is shown. The default separator is a space.
  Tells \fIpidof\fP to omit processes with that process id. The special
- pid \fB%PPID\fP can be used to name the parent process of the \fIpidof\fP
+ pid \fB%PPID\fP can be used to name the parent process of the \fBpidof\fP
  program, in other words the calling shell or shell script.
 +.IP -m
 +When used with -o, will also omit any processes that have the same
diff --git a/meta/recipes-core/sysvinit/sysvinit_3.01.bb 
b/meta/recipes-core/sysvinit/sysvinit_3.02.bb
similarity index 96%
rename from meta/recipes-core/sysvinit/sysvinit_3.01.bb
rename to meta/recipes-core/sysvinit/sysvinit_3.02.bb
index 844f5f0175..cfe9d0b597 100644
--- a/meta/recipes-core/sysvinit/sysvinit_3.01.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_3.02.bb
@@ -20,8 +20,9 @@ SRC_URI = 
"${SAVANNAH_GNU_MIRROR}/sysvinit/sysvinit-${PV}.tar.xz \
file://rcS \
file://bootlogd.init \
file://01_bootlogd \
+   file://0001-Fixed-compile-error-on-GNU-Hurd.patch \
"
-SRC_URI[sha256sum] = 
"68b11a4772cdacce5fb65a4cbead324a2ce3999d138b4ff61dc2d59e57ef5793"
+SRC_URI[sha256sum] = 
"4ca03ffdbefb5a99a60b94a021693686c2b498a08ff8aa4e859821fa7c39a792"
 
 S = "${WORKDIR}/sysvinit-${PV}"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164097): 
https://lists.openembedded.org/g/openembedded-core/message/164097
Mute This Topic: https://lists.openembedded.org/mt/90306375/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] meta: rust: Bug fix for target definitions returning 'NoneType' for arm

2022-04-06 Thread Sundeep KOKKONDA
[Edited Message Follows]
[Reason: Edit: Subject correction causes new thread. So, appended original 
message.]

Hello,

The initial patch includes changes for armv7 also ( 
https://lists.openembedded.org/g/openembedded-core/message/163881 )
But, this causes build issues for target 'core-image-sato' with 
'beaglebone-yocto' machine. ( 
https://lists.openembedded.org/g/openembedded-core/message/163954 )

So, I reverted the change for armv7. With 'arm' changes alone I tested for both 
qemuarm and beaglebone-yocto machines and the build was success.

=

Khem Raj
4:14am #164094 ( 
https://lists.openembedded.org/g/openembedded-core/message/164094 )

On Wed, Apr 6, 2022 at 11:00 AM Sundeep KOKKONDA < sundeep.kokkonda@... > wrote:

> 
> The build shows below error while building for arm machines.
> Exception: TypeError: int() argument must be a string, a bytes-like object
> or a number, not 'NoneType'
> Detailed error info : 
> https://lists.openembedded.org/g/openembedded-core/message/164004
> 
> 
> All the target definitions within tspec dictionary are generted as
> NoneType. The changes will fix this issue.

There is armv7-eabi just below it I wonder if that is correct or not

> 
> 
> 
> Signed-off-by: Sundeep KOKKONDA < sundeep.kokkonda@... >
> ---
> meta/recipes-devtools/rust/rust-common.inc | 14 +++---
> 1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-devtools/rust/rust-common.inc
> b/meta/recipes-devtools/rust/rust-common.inc
> index 310aecef22..230d78237f 100644
> --- a/meta/recipes-devtools/rust/rust-common.inc
> +++ b/meta/recipes-devtools/rust/rust-common.inc
> @@ -119,13 +119,13 @@ def llvm_features(d):
> 
> 
> ## arm-unknown-linux-gnueabihf
> -DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> 
> -LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}"
> -TARGET_ENDIAN[arm-eabi] = "little"
> -TARGET_POINTER_WIDTH[arm-eabi] = "32"
> -TARGET_C_INT_WIDTH[arm-eabi] = "32"
> -MAX_ATOMIC_WIDTH[arm-eabi] = "64"
> -FEATURES[arm-eabi] = "+v6,+vfp2"
> +DATA_LAYOUT[arm] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> +LLVM_TARGET[arm] = "${RUST_TARGET_SYS}"
> +TARGET_ENDIAN[arm] = "little"
> +TARGET_POINTER_WIDTH[arm] = "32"
> +TARGET_C_INT_WIDTH[arm] = "32"
> +MAX_ATOMIC_WIDTH[arm] = "64"
> +FEATURES[arm] = "+v6,+vfp2"
> 
> ## armv7-unknown-linux-gnueabihf
> DATA_LAYOUT[armv7-eabi] =
> "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> --
> 2.35.1
> 
> 
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164096): 
https://lists.openembedded.org/g/openembedded-core/message/164096
Mute This Topic: https://lists.openembedded.org/mt/90305318/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] meta: rust: Bug fix for target definitions returning 'NoneType' for arm

2022-04-06 Thread Sundeep KOKKONDA
Hello,

The initial patch includes changes for armv7 also ( 
https://lists.openembedded.org/g/openembedded-core/message/163881 )
But, this causes build issues for target 'core-image-sato' with 
'beaglebone-yocto' machine. ( 
https://lists.openembedded.org/g/openembedded-core/message/163954 )

So, I reverted the change for armv7. With 'arm' changes alone I tested for both 
qemuarm and beaglebone-yocto machines and the build was success.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164096): 
https://lists.openembedded.org/g/openembedded-core/message/164096
Mute This Topic: https://lists.openembedded.org/mt/90305318/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_configcheck should be run for SRCTREE linux

2022-04-06 Thread Yong Zhao via lists.openembedded.org
The task is useful for a SRCTREE linux. Because it won't modify the
SRCTREE, it does not hurt to run it by default.

Signed-off-by: Yong Zhao 
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 scripts/lib/devtool/standard.py   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass 
b/meta/classes/kernel-yocto.bbclass
index 1d5a8cdf29..56ba340c1b 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -1,5 +1,5 @@
 # remove tasks that modify the source tree in case externalsrc is inherited
-SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_configcheck 
do_kernel_checkout do_fetch do_unpack do_patch"
+SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_checkout do_fetch 
do_unpack do_patch"
 PATCH_GIT_USER_EMAIL ?= "kernel-yocto@oe"
 PATCH_GIT_USER_NAME ?= "OpenEmbedded"
 
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 01fb5ad96f..35cea6f320 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -949,7 +949,7 @@ def modify(args, config, basepath, workspace):
 
 if bb.data.inherits_class('kernel', rd):
 f.write('SRCTREECOVEREDTASKS = "do_validate_branches 
do_kernel_checkout '
-'do_fetch do_unpack do_kernel_configcheck"\n')
+'do_fetch do_unpack"\n')
 f.write('\ndo_patch[noexec] = "1"\n')
 f.write('\ndo_configure:append() {\n'
 'cp ${B}/.config ${S}/.config.baseline\n'
-- 
2.35.1.1094.g7c7d902a7c-goog


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164095): 
https://lists.openembedded.org/g/openembedded-core/message/164095
Mute This Topic: https://lists.openembedded.org/mt/90304701/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]”] meta: rust: Bug fix for target definitions returning 'NoneType' for arm

2022-04-06 Thread Khem Raj
On Wed, Apr 6, 2022 at 11:00 AM Sundeep KOKKONDA 
wrote:

> The build shows below error while building for arm machines.
> Exception: TypeError: int() argument must be a string, a bytes-like object
> or a number, not 'NoneType'
> Detailed error info :
> https://lists.openembedded.org/g/openembedded-core/message/164004
>
> All the target definitions within tspec dictionary are generted as
> NoneType. The changes will fix this issue.


There is armv7-eabi just below it I wonder if that is correct or not

>
>
> Signed-off-by: Sundeep KOKKONDA 
> ---
>  meta/recipes-devtools/rust/rust-common.inc | 14 +++---
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/meta/recipes-devtools/rust/rust-common.inc
> b/meta/recipes-devtools/rust/rust-common.inc
> index 310aecef22..230d78237f 100644
> --- a/meta/recipes-devtools/rust/rust-common.inc
> +++ b/meta/recipes-devtools/rust/rust-common.inc
> @@ -119,13 +119,13 @@ def llvm_features(d):
>
>
>  ## arm-unknown-linux-gnueabihf
> -DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> -LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}"
> -TARGET_ENDIAN[arm-eabi] = "little"
> -TARGET_POINTER_WIDTH[arm-eabi] = "32"
> -TARGET_C_INT_WIDTH[arm-eabi] = "32"
> -MAX_ATOMIC_WIDTH[arm-eabi] = "64"
> -FEATURES[arm-eabi] = "+v6,+vfp2"
> +DATA_LAYOUT[arm] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> +LLVM_TARGET[arm] = "${RUST_TARGET_SYS}"
> +TARGET_ENDIAN[arm] = "little"
> +TARGET_POINTER_WIDTH[arm] = "32"
> +TARGET_C_INT_WIDTH[arm] = "32"
> +MAX_ATOMIC_WIDTH[arm] = "64"
> +FEATURES[arm] = "+v6,+vfp2"
>
>  ## armv7-unknown-linux-gnueabihf
>  DATA_LAYOUT[armv7-eabi] =
> "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
> --
> 2.35.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164094): 
https://lists.openembedded.org/g/openembedded-core/message/164094
Mute This Topic: https://lists.openembedded.org/mt/90291532/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Richard Purdie
On Wed, 2022-04-06 at 21:44 +0200, Ferry Toth wrote:
> Hi
> 
> Op 06-04-2022 om 17:23 schreef Richard Purdie:
> > On Wed, 2022-04-06 at 16:43 +0200, Ferry Toth wrote:
> > > Op 06-04-2022 om 13:40 schreef Richard Purdie:
> > > > On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:
> > > > > Op 04-04-2022 om 22:39 schreef Richard Purdie:
> > > > >   On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:
> > > > > >   Op 04-04-2022 om 15:58 schreef Richard Purdie:
> > > > > > > > On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
> > > > > > > > Looking at the patches I wondered if this would break testimage 
> > > > > > > > and
> > > > > > > > unfortunately it does:
> > > > > > > > 
> > > > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/50
> > > > > > > > 13/s
> > > > > > > > teps/12/logs/stdio
> > > > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/49
> > > > > > > > 75
> > > > > > > That is weird, do I understand correctly that it fails on:
> > > > > > >    apt-get remove --yes run-postinsts-dev
> > > > > > > Reading package lists...
> > > > > > > Building dependency tree...
> > > > > > > E: Unable to locate package run-postinsts-dev
> > > > > > > 
> > > > > > > That is actually *) one line I didn't touch. I did note while 
> > > > > > > testing
> > > > > > > that I saw this exact message, however that was not counted as a 
> > > > > > > fail.
> > > > > > > 
> > > > > > > What could cause this? Because the complaint is it can't remove 
> > > > > > > the
> > > > > > > package because it was not installed.
> > > > > > > 
> > > > > > > It would be trivial to remove the line
> > > > > > > 
> > > > > > > *) self.pkg('remove --yes run-postinsts-dev')
> > > > > > > 
> > > > > > > but how could it have passed the test before?
> > > > > > I think the issue is you edited testimage which is a different set 
> > > > > > of
> > > > > > tests
> > > > > > which aren't just called by oe-selftest but by things like
> > > > > That would be my first thought too, but...
> > > > > because the failure seems to be on the line self.pkg('remove --yes 
> > > > > run-
> > > > > postinsts-dev'),  that would mean the line self.pkg('update') passed.
> > > > > And that should only pass if it finds a signed repository and has the 
> > > > > key
> > > > > installed (and believe me, I saw a log of that in the last week).
> > > > > So, there may be a second thing wrong?
> > > > I was easily able to reproduce this locally and it shows the
> > > > setup_source_config_for_package_install() step fails and hence the 
> > > > sources
> > > > aren't setup correctly, hence the update probably works.
> > >   not correct, hence works. You lost me here, but I'll try to reproduce.
> > I mean the command doesn't work correctly. In my local logs I see:
> > 
> > DEBUG: Command: cd /etc/apt/; cp sources.list sources.list.bak; sed -i 
> > 's/\[trusted=yes\] 
> > http:\/\/bogus_ip:bogus_port/http:\/\/192.168.7.1:46599/g' sources.list
> > Status: 1 Output:  cp: can't stat 'sources.list': No such file or directory
> > sed: sources.list: No such file or directory
> > 
> > >   
> > > > go in and find/share them. The issue does locally reproduce for me with 
> > > > a
> > > > "bitbake core-image-sato -c testimage" with package_deb set as the 
> > > > backend.
> > > ..in conf. But without PACKAGE_CLASSES, PACKAGE_FEED_GPG_NAME,
> > > PACKAGE_FEED_GPG_PASSPHRASE_FILE?
> > Yes.
> > 
> > > > > Yes, regardless the above, we need to either make signing always 
> > > > > enabled
> > > > > in
> > > > > all test cases or detect whether signing is used.
> > > > > Do you have a hint if there is a variable to test in class 
> > > > > AptRepoTest if
> > > > > PACKAGE_FEED_GPG_NAME has been set?
> > > > > Otherwise I could just duplicate code and create
> > > > > apt.AptRepoTest.test_apt_install_from_repo_signed.
> > > > > What would you prefer?
> > > > > 
> > > > We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the
> > > > test
> > > > and handle accordingly?
> > > > 
> > > > I did merge the base changes into the release since I thought it was 
> > > > fair to
> > > > get
> > > > the fixes in before it was built. We just need to get the test sorted 
> > > > now, I
> > > > think it is close.
> > > Thanks for merging.
> > > I'll fix the test, that's only fair.
> > > One thing, the test "test_testimage_apt" is new. It needs to be scheduled
> > > somewhere (where "test_testimage_dnf" is called i guess), I didn't add 
> > > that.
> > > Is that correct?
> > >   
> > No, the autobuilder runs all the tests in oe-selftest so it should be 
> > covered
> > (and is why we saw the failures on the autobuilder).
> 
> I was running 'oe-selftest -K -r 
> runtime_test.TestImage.test_testimage_apt' whereas buildbot seems to be 
> running 'apt.AptRepoTest.test_apt_install_from_repo' directly.

We have several types of test. There are two types in play here,

"oe-selftest -K -r runtime_test.TestImage.test_testimage_apt"


Re: [OE-core] [PATCH v2 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Ferry Toth

Hi

Op 06-04-2022 om 17:23 schreef Richard Purdie:

On Wed, 2022-04-06 at 16:43 +0200, Ferry Toth wrote:

Op 06-04-2022 om 13:40 schreef Richard Purdie:

On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:

Op 04-04-2022 om 22:39 schreef Richard Purdie:
  On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:

  Op 04-04-2022 om 15:58 schreef Richard Purdie:

On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
Looking at the patches I wondered if this would break testimage and
unfortunately it does:

https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/50
13/s
teps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/49
75

That is weird, do I understand correctly that it fails on:
   apt-get remove --yes run-postinsts-dev
Reading package lists...
Building dependency tree...
E: Unable to locate package run-postinsts-dev

That is actually *) one line I didn't touch. I did note while testing
that I saw this exact message, however that was not counted as a fail.

What could cause this? Because the complaint is it can't remove the
package because it was not installed.

It would be trivial to remove the line

*) self.pkg('remove --yes run-postinsts-dev')

but how could it have passed the test before?

I think the issue is you edited testimage which is a different set of
tests
which aren't just called by oe-selftest but by things like

That would be my first thought too, but...
because the failure seems to be on the line self.pkg('remove --yes run-
postinsts-dev'),  that would mean the line self.pkg('update') passed.
And that should only pass if it finds a signed repository and has the key
installed (and believe me, I saw a log of that in the last week).
So, there may be a second thing wrong?

I was easily able to reproduce this locally and it shows the
setup_source_config_for_package_install() step fails and hence the sources
aren't setup correctly, hence the update probably works.

  not correct, hence works. You lost me here, but I'll try to reproduce.

I mean the command doesn't work correctly. In my local logs I see:

DEBUG: Command: cd /etc/apt/; cp sources.list sources.list.bak; sed -i 
's/\[trusted=yes\] http:\/\/bogus_ip:bogus_port/http:\/\/192.168.7.1:46599/g' 
sources.list
Status: 1 Output:  cp: can't stat 'sources.list': No such file or directory
sed: sources.list: No such file or directory

  

go in and find/share them. The issue does locally reproduce for me with a
"bitbake core-image-sato -c testimage" with package_deb set as the backend.

..in conf. But without PACKAGE_CLASSES, PACKAGE_FEED_GPG_NAME,
PACKAGE_FEED_GPG_PASSPHRASE_FILE?

Yes.


Yes, regardless the above, we need to either make signing always enabled
in
all test cases or detect whether signing is used.
Do you have a hint if there is a variable to test in class AptRepoTest if
PACKAGE_FEED_GPG_NAME has been set?
Otherwise I could just duplicate code and create
apt.AptRepoTest.test_apt_install_from_repo_signed.
What would you prefer?


We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the
test
and handle accordingly?

I did merge the base changes into the release since I thought it was fair to
get
the fixes in before it was built. We just need to get the test sorted now, I
think it is close.

Thanks for merging.
I'll fix the test, that's only fair.
One thing, the test "test_testimage_apt" is new. It needs to be scheduled
somewhere (where "test_testimage_dnf" is called i guess), I didn't add that.
Is that correct?
  

No, the autobuilder runs all the tests in oe-selftest so it should be covered
(and is why we saw the failures on the autobuilder).


I was running 'oe-selftest -K -r 
runtime_test.TestImage.test_testimage_apt' whereas buildbot seems to be 
running 'apt.AptRepoTest.test_apt_install_from_repo' directly.


However, test_testimage_apt is where keys are setup (keys found in 
meta-selftest). So, where/when is test_testimage_apt called (or 
test_testimage_dnf for that matter)?



Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164092): 
https://lists.openembedded.org/g/openembedded-core/message/164092
Mute This Topic: https://lists.openembedded.org/mt/90226708/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 0/8] Pull request (cover letter only)

2022-04-06 Thread Steve Sakoman
The following changes since commit aa2bb4f62dd7e5c6fdf220264c3d62fbf2cc7d16:

  xserver-xorg: update to 1.20.14 (2022-03-29 11:43:54 -1000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-next

Davide Gardenal (1):
  go: backport patch fix for CVE-2021-38297

Martin Jansa (1):
  boost: fix native build with glibc-2.34

Oleksandr Kravchuk (1):
  tzdata: update to 2022a

Peter Kjellerstedt (1):
  python3-jinja2: Correct HOMEPAGE

Ralph Siemsen (2):
  bluez5: fix CVE-2022-0204
  bind: update to 9.11.37

Richard Purdie (1):
  mirrors: Add missing gitsm entries for yocto/oe mirrors

Ross Burton (1):
  grub: ignore CVE-2021-46705

 meta/classes/mirrors.bbclass  |  2 +
 meta/recipes-bsp/grub/grub2.inc   |  2 +
 .../bind/{bind_9.11.36.bb => bind_9.11.37.bb} |  4 +-
 meta/recipes-connectivity/bluez5/bluez5.inc   |  1 +
 .../bluez5/bluez5/CVE-2022-0204.patch | 66 +
 meta/recipes-devtools/go/go-1.14.inc  |  2 +
 .../go/go-1.14/CVE-2021-38297.patch   | 97 +++
 .../python/python3-jinja2_2.11.3.bb   |  2 +-
 meta/recipes-extended/timezone/timezone.inc   |  6 +-
 ...e-warning-with-glibc-2.34-on-Linux-p.patch | 32 ++
 ...-elide-a-warning-that-caused-Solaris.patch | 24 +
 meta/recipes-support/boost/boost_1.72.0.bb|  2 +
 12 files changed, 234 insertions(+), 6 deletions(-)
 rename meta/recipes-connectivity/bind/{bind_9.11.36.bb => bind_9.11.37.bb} 
(97%)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2022-0204.patch
 create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-38297.patch
 create mode 100644 
meta/recipes-support/boost/boost/0001-Fix-Wsign-compare-warning-with-glibc-2.34-on-Linux-p.patch
 create mode 100644 
meta/recipes-support/boost/boost/0001-Revert-change-to-elide-a-warning-that-caused-Solaris.patch

-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164091): 
https://lists.openembedded.org/g/openembedded-core/message/164091
Mute This Topic: https://lists.openembedded.org/mt/90293880/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH] pseudo: Fix handling of absolute links

2022-04-06 Thread Chaitanya Vadrevu
From: Alexandre Belloni 

Update to a version of pseudo which has a fix for absolute links,
evaluating them from the chroot path.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 33147b89bc3c9e9bdd53a942a5551d8a1d06130c)
---
 meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 1a5d230c69..b5da3f0e29 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -13,7 +13,7 @@ SRC_URI:append:class-nativesdk = " \
 file://older-glibc-symbols.patch"
 SRC_URI[prebuilt.sha256sum] = 
"ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
 
-SRCREV = "d34f2f6cedccf8488730001bcbde6bb7499f8814"
+SRCREV = "2b4b88eb513335b0ece55fe51854693d9b20de35"
 S = "${WORKDIR}/git"
 PV = "1.9.0+git${SRCPV}"
 
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164090): 
https://lists.openembedded.org/g/openembedded-core/message/164090
Mute This Topic: https://lists.openembedded.org/mt/90293774/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] Ping issues on systemd images - Intermittent Notes

2022-04-06 Thread Alexander Kanavin
sysvinit starts connmand with '-I eth0' (ignore eth0), but systemd
does not. I'll send a patch.

Alex

On Wed, 6 Apr 2022 at 17:52, Richard Purdie
 wrote:
>
> Do we have any experts on systemd and connman? I did find a little more data 
> on
> some of our mystery autobuilder ping failures:
>
> Ping issues on systemd images
> =
>
> This failed with my ping test debugging present so we got more info. The host
> was unreachable.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2888/steps/12/logs/stdio
>
> I reran the testimage and it passed. I diff'd the qemu console log output and
> there wasn't any difference that was meaningful. The testimage log output 
> wasn't
> meaningful.
>
> I did find this interesting though:
>
> pokybuild@ubuntu1804-ty-3:~/yocto-worker/qemumips-alt/build/build/tmp/log/runtime-hostdump/202204051947_qemu$
>  cat target_00_ip
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
> default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast 
> state UP group default qlen 1000
> link/ether 52:54:00:12:34:06 brd ff:ff:ff:ff:ff:ff
> inet 169.254.89.149/16 brd 169.254.255.255 scope global eth0
>valid_lft forever preferred_lft forever
> inet6 fe80::5054:ff:fe12:3406/64 scope link
>valid_lft forever preferred_lft forever
>
> The :06 at the end of the mac address shows it was the right qemu and I 
> couldn't
> find any other qemu using 192.168.7.6 on that machine at the time. Note there 
> is
> no ip address configured for that interface.
>
> I suspect something in systemd+connman is causing this intermittently. We need
> better network interface debug enabled in connman/systemd so we can attempt to
> debug this further. Any pointers on how to do that very welcome!
>
> Cheers,
>
> Richard
>
>
>
>
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164089): 
https://lists.openembedded.org/g/openembedded-core/message/164089
Mute This Topic: https://lists.openembedded.org/mt/90292799/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] Ping issues on systemd images - Intermittent Notes

2022-04-06 Thread Richard Purdie
Do we have any experts on systemd and connman? I did find a little more data on
some of our mystery autobuilder ping failures:

Ping issues on systemd images
=

This failed with my ping test debugging present so we got more info. The host
was unreachable.

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2888/steps/12/logs/stdio

I reran the testimage and it passed. I diff'd the qemu console log output and
there wasn't any difference that was meaningful. The testimage log output wasn't
meaningful.

I did find this interesting though:

pokybuild@ubuntu1804-ty-3:~/yocto-worker/qemumips-alt/build/build/tmp/log/runtime-hostdump/202204051947_qemu$
 cat target_00_ip 
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000
link/ether 52:54:00:12:34:06 brd ff:ff:ff:ff:ff:ff
inet 169.254.89.149/16 brd 169.254.255.255 scope global eth0
   valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe12:3406/64 scope link 
   valid_lft forever preferred_lft forever

The :06 at the end of the mac address shows it was the right qemu and I couldn't
find any other qemu using 192.168.7.6 on that machine at the time. Note there is
no ip address configured for that interface.

I suspect something in systemd+connman is causing this intermittently. We need
better network interface debug enabled in connman/systemd so we can attempt to
debug this further. Any pointers on how to do that very welcome!

Cheers,

Richard






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164088): 
https://lists.openembedded.org/g/openembedded-core/message/164088
Mute This Topic: https://lists.openembedded.org/mt/90292799/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] pseudo: Update to latest to fix link handling

2022-04-06 Thread Chaitanya Vadrevu
Ok, no problem. I'm glad it's already in master.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164087): 
https://lists.openembedded.org/g/openembedded-core/message/164087
Mute This Topic: https://lists.openembedded.org/mt/90277234/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Richard Purdie
On Wed, 2022-04-06 at 16:43 +0200, Ferry Toth wrote:
> Op 06-04-2022 om 13:40 schreef Richard Purdie:
> > On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:
> > > Op 04-04-2022 om 22:39 schreef Richard Purdie:
> > >  On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:
> > > >  Op 04-04-2022 om 15:58 schreef Richard Purdie:
> > > > > > On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
> > > > > > Looking at the patches I wondered if this would break testimage and
> > > > > > unfortunately it does:
> > > > > > 
> > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/50
> > > > > > 13/s
> > > > > > teps/12/logs/stdio
> > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/49
> > > > > > 75
> > > > > That is weird, do I understand correctly that it fails on:
> > > > >   apt-get remove --yes run-postinsts-dev
> > > > > Reading package lists...
> > > > > Building dependency tree...
> > > > > E: Unable to locate package run-postinsts-dev
> > > > > 
> > > > > That is actually *) one line I didn't touch. I did note while testing 
> > > > > that I saw this exact message, however that was not counted as a fail.
> > > > > 
> > > > > What could cause this? Because the complaint is it can't remove the 
> > > > > package because it was not installed.
> > > > > 
> > > > > It would be trivial to remove the line
> > > > > 
> > > > > *) self.pkg('remove --yes run-postinsts-dev')
> > > > > 
> > > > > but how could it have passed the test before?
> > > > I think the issue is you edited testimage which is a different set of
> > > > tests
> > > > which aren't just called by oe-selftest but by things like 
> > > That would be my first thought too, but...
> > > because the failure seems to be on the line self.pkg('remove --yes run-
> > > postinsts-dev'),  that would mean the line self.pkg('update') passed.
> > > And that should only pass if it finds a signed repository and has the key
> > > installed (and believe me, I saw a log of that in the last week).
> > > So, there may be a second thing wrong?
> > I was easily able to reproduce this locally and it shows the
> > setup_source_config_for_package_install() step fails and hence the sources
> > aren't setup correctly, hence the update probably works.
>  not correct, hence works. You lost me here, but I'll try to reproduce.

I mean the command doesn't work correctly. In my local logs I see:

DEBUG: Command: cd /etc/apt/; cp sources.list sources.list.bak; sed -i 
's/\[trusted=yes\] http:\/\/bogus_ip:bogus_port/http:\/\/192.168.7.1:46599/g' 
sources.list
Status: 1 Output:  cp: can't stat 'sources.list': No such file or directory
sed: sources.list: No such file or directory

> 
>  
> > go in and find/share them. The issue does locally reproduce for me with a
> > "bitbake core-image-sato -c testimage" with package_deb set as the backend.
> ..in conf. But without PACKAGE_CLASSES, PACKAGE_FEED_GPG_NAME,
> PACKAGE_FEED_GPG_PASSPHRASE_FILE?

Yes.

> > 
> > > Yes, regardless the above, we need to either make signing always enabled
> > > in
> > > all test cases or detect whether signing is used.
> > > Do you have a hint if there is a variable to test in class AptRepoTest if
> > > PACKAGE_FEED_GPG_NAME has been set?
> > > Otherwise I could just duplicate code and create
> > > apt.AptRepoTest.test_apt_install_from_repo_signed.
> > > What would you prefer?
> > > 
> > We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the
> > test
> > and handle accordingly?
> > 
> > I did merge the base changes into the release since I thought it was fair to
> > get
> > the fixes in before it was built. We just need to get the test sorted now, I
> > think it is close.
> Thanks for merging.
> I'll fix the test, that's only fair. 
> One thing, the test "test_testimage_apt" is new. It needs to be scheduled
> somewhere (where "test_testimage_dnf" is called i guess), I didn't add that.
> Is that correct?
>  

No, the autobuilder runs all the tests in oe-selftest so it should be covered
(and is why we saw the failures on the autobuilder).

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164086): 
https://lists.openembedded.org/g/openembedded-core/message/164086
Mute This Topic: https://lists.openembedded.org/mt/90226708/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Ferry Toth

Hi

Op 06-04-2022 om 12:10 schreef Alexandre Belloni:

Hello,

On 04/04/2022 14:58:07+0100, Richard Purdie wrote:

On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:

From: Ferry Toth

Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned 
repositories by default.
Currently when building images this requirement is worked around by using 
[allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: 
sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived 
from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the 
key and performs some package
management. To be able to install the key the gnupg package is added to the 
testimage.

Signed-off-by: Ferry Toth
---
  meta/lib/oeqa/runtime/cases/apt.py   | 16 ++---
  meta/lib/oeqa/selftest/cases/runtime_test.py | 38 
  2 files changed, 49 insertions(+), 5 deletions(-)

diff --git a/meta/lib/oeqa/runtime/cases/apt.py 
b/meta/lib/oeqa/runtime/cases/apt.py
index 53745df93f..49f8714730 100644
--- a/meta/lib/oeqa/runtime/cases/apt.py
+++ b/meta/lib/oeqa/runtime/cases/apt.py
@@ -21,7 +21,7 @@ class AptRepoTest(AptTest):
  
  @classmethod

  def setUpClass(cls):
-service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], 'all')
+service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], '')
  cls.repo_server = HTTPService(service_repo,
'0.0.0.0', 
port=cls.tc.target.server_port,
logger=cls.tc.logger)
@@ -32,13 +32,18 @@ class AptRepoTest(AptTest):
  cls.repo_server.stop()
  
  def setup_source_config_for_package_install(self):

-apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, 
self.repo_server.port)
+apt_get_source_server = 'http:\/\/%s:%s' % (self.tc.target.server_ip, 
self.repo_server.port)
  apt_get_sourceslist_dir = '/etc/apt/'
-self.target.run('cd %s; echo deb [ allow-insecure=yes ] %s ./ > 
sources.list' % (apt_get_sourceslist_dir, apt_get_source_server))
+self.target.run("cd %s; cp sources.list sources.list.bak; sed -i 
's/\[trusted=yes\] http:\/\/bogus_ip:bogus_port/%s/g' sources.list" % 
(apt_get_sourceslist_dir, apt_get_source_server))
  
  def cleanup_source_config_for_package_install(self):

  apt_get_sourceslist_dir = '/etc/apt/'
-self.target.run('cd %s; rm sources.list' % (apt_get_sourceslist_dir))
+self.target.run('cd %s; mv sources.list.bak sources.list' % 
(apt_get_sourceslist_dir))
+
+def setup_key(self):
+# the key is found on the target /etc/pki/packagefeed-gpg/
+# named PACKAGEFEED-GPG-KEY-poky-branch
+self.target.run('cd %s; apt-key add P*' % ('/etc/pki/packagefeed-gpg'))
  
  @skipIfNotFeature('package-management',

'Test requires package-management to be in 
IMAGE_FEATURES')
@@ -47,7 +52,8 @@ class AptRepoTest(AptTest):
  @OEHasPackage(['apt'])
  def test_apt_install_from_repo(self):
  self.setup_source_config_for_package_install()
+self.setup_key()
  self.pkg('update')
  self.pkg('remove --yes run-postinsts-dev')
-self.pkg('install --yes --allow-unauthenticated run-postinsts-dev')
+self.pkg('install --yes run-postinsts-dev')
  self.cleanup_source_config_for_package_install()
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 642f0eb637..7a75b95a99 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -162,6 +162,44 @@ class TestImage(OESelftestTestCase):
  bitbake('core-image-full-cmdline socat')
  bitbake('-c testimage core-image-full-cmdline')
  
+def test_testimage_apt(self):

+"""
+Summary: Check package feeds functionality for apt
+Expected: 1. Check that remote package feeds can be accessed
+Product: oe-core
+Author: Ferry Toth
+"""
+if get_bb_var('DISTRO') == 'poky-tiny':
+self.skipTest('core-image-full-cmdline not buildable for 
poky-tiny')
+
+features = 'INHERIT += "testimage"\n'
+features += 'TEST_SUITES = "ping ssh 
apt.AptRepoTest.test_apt_install_from_repo"\n'
+# We don't yet know what the server ip and port will be - they will be 
patched
+# in at the start of the on-image test
+features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'
+features += 'EXTRA_IMAGE_FEATURES += "package-management"\n'
+features += 'PACKAGE_CLASSES = "package_deb"\n'
+# We need  gnupg on the target to install keys
+features += 'IMAGE_INSTALL:append:pn-core-image-full-cmdline = " 
gnupg"\n'
+
+

[OE-core] [”master]”] meta: rust: Bug fix for target definitions returning 'NoneType' for arm

2022-04-06 Thread Sundeep KOKKONDA
The build shows below error while building for arm machines.
Exception: TypeError: int() argument must be a string, a bytes-like object or a 
number, not 'NoneType'
Detailed error info : 
https://lists.openembedded.org/g/openembedded-core/message/164004

All the target definitions within tspec dictionary are generted as
NoneType. The changes will fix this issue.

Signed-off-by: Sundeep KOKKONDA 
---
 meta/recipes-devtools/rust/rust-common.inc | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-devtools/rust/rust-common.inc 
b/meta/recipes-devtools/rust/rust-common.inc
index 310aecef22..230d78237f 100644
--- a/meta/recipes-devtools/rust/rust-common.inc
+++ b/meta/recipes-devtools/rust/rust-common.inc
@@ -119,13 +119,13 @@ def llvm_features(d):
 
 
 ## arm-unknown-linux-gnueabihf
-DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
-LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}"
-TARGET_ENDIAN[arm-eabi] = "little"
-TARGET_POINTER_WIDTH[arm-eabi] = "32"
-TARGET_C_INT_WIDTH[arm-eabi] = "32"
-MAX_ATOMIC_WIDTH[arm-eabi] = "64"
-FEATURES[arm-eabi] = "+v6,+vfp2"
+DATA_LAYOUT[arm] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
+LLVM_TARGET[arm] = "${RUST_TARGET_SYS}"
+TARGET_ENDIAN[arm] = "little"
+TARGET_POINTER_WIDTH[arm] = "32"
+TARGET_C_INT_WIDTH[arm] = "32"
+MAX_ATOMIC_WIDTH[arm] = "64"
+FEATURES[arm] = "+v6,+vfp2"
 
 ## armv7-unknown-linux-gnueabihf
 DATA_LAYOUT[armv7-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164084): 
https://lists.openembedded.org/g/openembedded-core/message/164084
Mute This Topic: https://lists.openembedded.org/mt/90291532/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Ferry Toth

Hi,

Op 06-04-2022 om 13:40 schreef Richard Purdie:

On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:

Op 04-04-2022 om 22:39 schreef Richard Purdie:
  On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:

  Op 04-04-2022 om 15:58 schreef Richard Purdie:

On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
Looking at the patches I wondered if this would break testimage and
unfortunately it does:

https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/5013/s
teps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/4975

That is weird, do I understand correctly that it fails on:
   apt-get remove --yes run-postinsts-dev
Reading package lists...
Building dependency tree...
E: Unable to locate package run-postinsts-dev

That is actually *) one line I didn't touch. I did note while testing
that I saw this exact message, however that was not counted as a fail.

What could cause this? Because the complaint is it can't remove the
package because it was not installed.

It would be trivial to remove the line

*) self.pkg('remove --yes run-postinsts-dev')

but how could it have passed the test before?

I think the issue is you edited testimage which is a different set of tests
which aren't just called by oe-selftest but by things like

That would be my first thought too, but...
because the failure seems to be on the line self.pkg('remove --yes run-
postinsts-dev'),  that would mean the line self.pkg('update') passed.
And that should only pass if it finds a signed repository and has the key
installed (and believe me, I saw a log of that in the last week).
So, there may be a second thing wrong?

I was easily able to reproduce this locally and it shows the
setup_source_config_for_package_install() step fails and hence the sources
aren't setup correctly, hence the update probably works.

not correct, hence works. You lost me here, but I'll try to reproduce.

Do you know where I can find the log files referred to:
<..>tmp/work/qemux86-poky-linux/core-image-sato/1.0-
r0/temp/log.do_testimage.35553
<..>tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-
r0/temp/log.do_testimage.35362

We can get them off the autobuilder if needed but someone would have to manually

No, that would be too much work. I'll try to reproduce myself.

go in and find/share them. The issue does locally reproduce for me with a
"bitbake core-image-sato -c testimage" with package_deb set as the backend.


..in conf. But without PACKAGE_CLASSES, PACKAGE_FEED_GPG_NAME, 
PACKAGE_FEED_GPG_PASSPHRASE_FILE?



or could we do a 'quick' check by changing
 self.pkg('update')
 self.pkg('remove --yes run-postinsts-dev')
 self.pkg('install --yes run-postinsts-dev')
to
 self.pkg('update')
 self.pkg('install --yes run-postinsts-dev')
 self.pkg('remove --yes run-postinsts-dev')
?

I'm not convinced that would help us...

I'll try locally.
  

"bitbake core-image-sato -c testimage"

as well. I'd suggest making the changes in testimage conditional on signing
being configured.

Yes, regardless the above, we need to either make signing always enabled in
all test cases or detect whether signing is used.
Do you have a hint if there is a variable to test in class AptRepoTest if
PACKAGE_FEED_GPG_NAME has been set?
Otherwise I could just duplicate code and create
apt.AptRepoTest.test_apt_install_from_repo_signed.
What would you prefer?


We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the test
and handle accordingly?

I did merge the base changes into the release since I thought it was fair to get
the fixes in before it was built. We just need to get the test sorted now, I
think it is close.


Thanks for merging.

I'll fix the test, that's only fair.

One thing, the test "test_testimage_apt" is new. It needs to be 
scheduled somewhere (where "test_testimage_dnf" is called i guess), I 
didn't add that. Is that correct?




Cheers,

Richard




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164083): 
https://lists.openembedded.org/g/openembedded-core/message/164083
Mute This Topic: https://lists.openembedded.org/mt/90226708/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] libgpg-error: Add ptest

2022-04-06 Thread Simone Weiss
Add a ptest for libgpg-error to core-image-ptest-all. All tests passed on a
trial run.

Signed-off-by: Simone Weiss 
---
 meta/conf/distro/include/ptest-packagelists.inc|  1 +
 .../libgpg-error/libgpg-error/run-ptest|  3 +++
 .../libgpg-error/libgpg-error_1.44.bb  | 14 +-
 3 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-support/libgpg-error/libgpg-error/run-ptest

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index b51cce4d9e..54a290871e 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -25,6 +25,7 @@ PTESTS_FAST = "\
 json-glib-ptest \
 libconvert-asn1-perl-ptest \
 liberror-perl-ptest \
+libgpg-error-ptest\
 libnl-ptest \
 libmodule-build-perl-ptest \
 libpcre-ptest \
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/run-ptest 
b/meta/recipes-support/libgpg-error/libgpg-error/run-ptest
new file mode 100644
index 00..5eb4e8c6f3
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+make -k runtest-TESTS
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb 
b/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
index 41adad0ede..174350f6f5 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
@@ -17,13 +17,16 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html;
 SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
file://pkgconfig.patch \
file://0001-Do-not-fail-when-testing-config-scripts.patch \
+   file://run-ptest \
"
 
 SRC_URI[sha256sum] = 
"8e3d2da7a8b9a104dd8e9212ebe8e0daf86aa838cc1314ba6bc4de8f2d8a1ff9"
 
 BINCONFIG = "${bindir}/gpg-error-config"
 
-inherit autotools binconfig-disabled pkgconfig gettext multilib_header 
multilib_script
+inherit autotools binconfig-disabled pkgconfig gettext multilib_header 
multilib_script ptest
+
+RDEPENDS_${PN}-ptest:append = " make"
 
 MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config"
 
@@ -35,6 +38,15 @@ do_install:append() {
oe_multilib_header gpg-error.h gpgrt.h
 }
 
+do_compile_ptest() {
+oe_runmake -C tests buildtest-TESTS
+}
+
+do_install_ptest() {
+install ${B}/tests/t-*[!\.o] ${D}${PTEST_PATH}
+install ${B}/tests/Makefile ${D}${PTEST_PATH}
+}
+
 FILES:${PN}-dev += "${bindir}/gpg-error"
 FILES:${PN}-doc += "${datadir}/libgpg-error/errorref.txt"
 
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164082): 
https://lists.openembedded.org/g/openembedded-core/message/164082
Mute This Topic: https://lists.openembedded.org/mt/90289917/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] lttng-tools: upgrade 2.13.4 -> 2.13.6

2022-04-06 Thread wangmy
Sorry, I missed this failure. I will investigate it immediately and send it 
again after solving it

  --
Best Regards
---
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, 
Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wan...@fujitsu.com
http://www.fujitsu.com/cn/fnst/

> -Original Message-
> From: Alexandre Belloni 
> Sent: Wednesday, April 6, 2022 8:35 PM
> To: Wang, Mingyu/王 鸣瑜 
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] lttng-tools: upgrade 2.13.4 -> 2.13.6
> 
> Hello,
> 
> Last time I tried that, we got new ptest failures:
> 
> {'lttng-tools': ['kernel/test_callstack_11_-_Validate_userspace_callstack',
> 
> 'kernel/test_userspace_probe_94_-_Enable_kernel_userspace_probe_even
> t_for_session_test_userprobe_elf_cxx_function',
> 
> 'kernel/test_userspace_probe_95_-_Start_tracing_for_session_test_userpr
> obe_elf_cxx_function',
> 
> 'kernel/test_userspace_probe_96_-_Stop_lttng_tracing_for_session_test_u
> serprobe_elf_cxx_function',
> 
> 'kernel/test_userspace_probe_97_-_Validate_trace_for_event_userspace_p
> robe_test_event',
> 
> 'kernel/test_userspace_probe_100_-_Enable_kernel_userspace_probe_eve
> nt_for_session_test_userprobe_elf_cxx_method',
> 
> 'kernel/test_userspace_probe_101_-_Start_tracing_for_session_test_userp
> robe_elf_cxx_method',
> 
> 'kernel/test_userspace_probe_102_-_Stop_lttng_tracing_for_session_test_
> userprobe_elf_cxx_method',
> 
> 'kernel/test_userspace_probe_103_-_Validate_trace_for_event_userspace_
> probe_test_event']}
> 
> Did you have a look at and fix those?
> 
> On 04/04/2022 02:43:12+0800, wangmy wrote:
> > Changelog:
> > =
> > Fix: hide symbols erroneously exported in 2.13.5
> >
> > Signed-off-by: Wang Mingyu 
> > ---
> >  .../lttng/{lttng-tools_2.13.4.bb => lttng-tools_2.13.6.bb}  | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)  rename
> > meta/recipes-kernel/lttng/{lttng-tools_2.13.4.bb =>
> > lttng-tools_2.13.6.bb} (98%)
> >
> > diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> > b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> > similarity index 98%
> > rename from meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> > rename to meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> > index 0ea4da05ce..d40d0a2dd0 100644
> > --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> > +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> > @@ -39,7 +39,7 @@ SRC_URI =
> "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
> > file://disable-tests.patch \
> > "
> >
> > -SRC_URI[sha256sum] =
> "565f3102410a53d484f4c8ff517978f1dc59f67f9d16f872f4357f3ca12200f6"
> > +SRC_URI[sha256sum] =
> "1d52d249437b3f7ba23a45a22c3e26dde006a5da10e96753952084a98e052
> 3e3"
> >
> >  inherit autotools ptest pkgconfig useradd python3-dir manpages
> > systemd
> >
> > --
> > 2.25.1
> >
> 
> >
> > 
> >
> 
> 
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164081): 
https://lists.openembedded.org/g/openembedded-core/message/164081
Mute This Topic: https://lists.openembedded.org/mt/90287422/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] lttng-tools: upgrade 2.13.4 -> 2.13.6

2022-04-06 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Last time I tried that, we got new ptest failures:

{'lttng-tools': ['kernel/test_callstack_11_-_Validate_userspace_callstack',
 
'kernel/test_userspace_probe_94_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_function',
 
'kernel/test_userspace_probe_95_-_Start_tracing_for_session_test_userprobe_elf_cxx_function',
 
'kernel/test_userspace_probe_96_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_function',
 
'kernel/test_userspace_probe_97_-_Validate_trace_for_event_userspace_probe_test_event',
 
'kernel/test_userspace_probe_100_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_method',
 
'kernel/test_userspace_probe_101_-_Start_tracing_for_session_test_userprobe_elf_cxx_method',
 
'kernel/test_userspace_probe_102_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_method',
 
'kernel/test_userspace_probe_103_-_Validate_trace_for_event_userspace_probe_test_event']}

Did you have a look at and fix those?

On 04/04/2022 02:43:12+0800, wangmy wrote:
> Changelog:
> =
> Fix: hide symbols erroneously exported in 2.13.5
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../lttng/{lttng-tools_2.13.4.bb => lttng-tools_2.13.6.bb}  | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-kernel/lttng/{lttng-tools_2.13.4.bb => 
> lttng-tools_2.13.6.bb} (98%)
> 
> diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb 
> b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> similarity index 98%
> rename from meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> rename to meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> index 0ea4da05ce..d40d0a2dd0 100644
> --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
> @@ -39,7 +39,7 @@ SRC_URI = 
> "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
> file://disable-tests.patch \
> "
>  
> -SRC_URI[sha256sum] = 
> "565f3102410a53d484f4c8ff517978f1dc59f67f9d16f872f4357f3ca12200f6"
> +SRC_URI[sha256sum] = 
> "1d52d249437b3f7ba23a45a22c3e26dde006a5da10e96753952084a98e0523e3"
>  
>  inherit autotools ptest pkgconfig useradd python3-dir manpages systemd
>  
> -- 
> 2.25.1
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164080): 
https://lists.openembedded.org/g/openembedded-core/message/164080
Mute This Topic: https://lists.openembedded.org/mt/90287422/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] ethtool: upgrade 5.16 -> 5.17

2022-04-06 Thread zhengruoqin
avoid_parallel_tests.patch
refreshed for new version.

Signed-off-by: Zheng Ruoqin 
---
 .../ethtool/ethtool/avoid_parallel_tests.patch  | 6 +++---
 .../ethtool/{ethtool_5.16.bb => ethtool_5.17.bb}| 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-extended/ethtool/{ethtool_5.16.bb => ethtool_5.17.bb} (93%)

diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch 
b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
index 034dc92444..52d2a93449 100644
--- a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
+++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
@@ -1,4 +1,4 @@
-From d98b1e29b89962954690e6a8ddfdd80276407ce7 Mon Sep 17 00:00:00 2001
+From ef2ad68becea77dfdbd5a344e30b3700cc440c0f Mon Sep 17 00:00:00 2001
 From: Tudor Florea 
 Date: Wed, 28 May 2014 18:59:54 +0200
 Subject: [PATCH] ethtool: use serial-tests config needed by ptest.
@@ -15,11 +15,11 @@ Upstream-Status: Inappropriate
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 8fc93c8..94ee28d 100644
+index 7a9b5b9..dc8ae35 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure 
script.
- AC_INIT(ethtool, 5.16, net...@vger.kernel.org)
+ AC_INIT(ethtool, 5.17, net...@vger.kernel.org)
  AC_PREREQ(2.52)
  AC_CONFIG_SRCDIR([ethtool.c])
 -AM_INIT_AUTOMAKE([gnu subdir-objects])
diff --git a/meta/recipes-extended/ethtool/ethtool_5.16.bb 
b/meta/recipes-extended/ethtool/ethtool_5.17.bb
similarity index 93%
rename from meta/recipes-extended/ethtool/ethtool_5.16.bb
rename to meta/recipes-extended/ethtool/ethtool_5.17.bb
index 5dca03d082..61032d4836 100644
--- a/meta/recipes-extended/ethtool/ethtool_5.16.bb
+++ b/meta/recipes-extended/ethtool/ethtool_5.17.bb
@@ -11,7 +11,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
file://avoid_parallel_tests.patch \
"
 
-SRC_URI[sha256sum] = 
"4160fa127d75d5a6ebd5e871118486ac730dea2f28b2f1ad40fd1ed3d0d369e0"
+SRC_URI[sha256sum] = 
"3e32735d13aa19e2be32d3528ef8a135fc99782950ab3fa602198e72992e9450"
 
 UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/;
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164079): 
https://lists.openembedded.org/g/openembedded-core/message/164079
Mute This Topic: https://lists.openembedded.org/mt/90287984/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] expat: upgrade 2.4.7 -> 2.4.8

2022-04-06 Thread zhengruoqin
Changelog:
=
 Other changes:
 #587  pkg-config: Move "-lm" to section "Libs.private"
 #587  CMake|MSVC: Fix pkg-config section "Libs"
 #55 #582  CMake|macOS: Start using linker arguments
 "-compatibility_version " and
 "-current_version " in a way compatible with
 GNU Libtool
#590 #591  Version info bumped from 9:7:8 to 9:8:8;
 see https://verbump.de/ for what these numbers do

 Infrastructure:
 #589  CI: Upgrade Clang from 13 to 14

 Special thanks to:
 evpobr
 Kai Pastor
 Sam James


Signed-off-by: Zheng Ruoqin 
---
 meta/recipes-core/expat/{expat_2.4.7.bb => expat_2.4.8.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/expat/{expat_2.4.7.bb => expat_2.4.8.bb} (91%)

diff --git a/meta/recipes-core/expat/expat_2.4.7.bb 
b/meta/recipes-core/expat/expat_2.4.8.bb
similarity index 91%
rename from meta/recipes-core/expat/expat_2.4.7.bb
rename to meta/recipes-core/expat/expat_2.4.8.bb
index bf1ca8d56e..980c488640 100644
--- a/meta/recipes-core/expat/expat_2.4.7.bb
+++ b/meta/recipes-core/expat/expat_2.4.8.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TA
 
 UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/;
 
-SRC_URI[sha256sum] = 
"e149bdd8b90254c62b3d195da53a09bd531a4d63a963b0d8a5268d48dd2f6a65"
+SRC_URI[sha256sum] = 
"a247a7f6bbb21cf2ca81ea4cbb916bfb9717ca523631675f99b3d4a5678dcd16"
 
 EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164078): 
https://lists.openembedded.org/g/openembedded-core/message/164078
Mute This Topic: https://lists.openembedded.org/mt/90287967/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] createrepo-c: upgrade 0.19.0 -> 0.20.0

2022-04-06 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../{createrepo-c_0.19.0.bb => createrepo-c_0.20.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/createrepo-c/{createrepo-c_0.19.0.bb => 
createrepo-c_0.20.0.bb} (96%)

diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.19.0.bb 
b/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.0.bb
similarity index 96%
rename from meta/recipes-devtools/createrepo-c/createrepo-c_0.19.0.bb
rename to meta/recipes-devtools/createrepo-c/createrepo-c_0.20.0.bb
index 82351252e5..bc61cac955 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.19.0.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.0.bb
@@ -8,7 +8,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/createrepo_c;branch=master;p
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
 
-SRCREV = "a531ee881a8f1d9273b4383fb9fa604c56fff138"
+SRCREV = "e53188f86f4dfad46f5b81d6931cbaec19e44ea2"
 
 S = "${WORKDIR}/git"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164077): 
https://lists.openembedded.org/g/openembedded-core/message/164077
Mute This Topic: https://lists.openembedded.org/mt/90287966/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] mc: upgrade 4.8.27 -> 4.8.28

2022-04-06 Thread wangmy
Remove unsupported option of smb 

0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
removed since it's included in 4.8.28

Signed-off-by: Wang Mingyu 
---
 ...FTBFS-with-ncurses-build-with-disabl.patch | 87 ---
 .../mc/{mc_4.8.27.bb => mc_4.8.28.bb} |  5 +-
 2 files changed, 1 insertion(+), 91 deletions(-)
 delete mode 100644 
meta/recipes-extended/mc/files/0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
 rename meta/recipes-extended/mc/{mc_4.8.27.bb => mc_4.8.28.bb} (92%)

diff --git 
a/meta/recipes-extended/mc/files/0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
 
b/meta/recipes-extended/mc/files/0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
deleted file mode 100644
index 408473664f..00
--- 
a/meta/recipes-extended/mc/files/0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From e7bbf72544ab62db9c92bfe7bd1155227e78c621 Mon Sep 17 00:00:00 2001
-From: Andrew Borodin 
-Date: Sat, 28 Aug 2021 11:46:53 +0300
-Subject: [PATCH] Ticket #4200: fix FTBFS with ncurses build with
- --disable-widec.
-
-Upstream-Status: Accepted 
[https://github.com/MidnightCommander/mc/commit/e7bbf72544]
-Signed-off-by: Andrew Borodin 

- lib/tty/tty-ncurses.c   | 8 
- lib/tty/tty-ncurses.h   | 5 +
- lib/tty/tty-slang.h | 2 ++
- src/filemanager/boxes.c | 2 ++
- 4 files changed, 17 insertions(+)
-
-diff --git a/lib/tty/tty-ncurses.c b/lib/tty/tty-ncurses.c
-index f619c0a7bf31..13058a624208 100644
 a/lib/tty/tty-ncurses.c
-+++ b/lib/tty/tty-ncurses.c
-@@ -560,6 +560,7 @@ tty_fill_region (int y, int x, int rows, int cols, 
unsigned char ch)
- void
- tty_colorize_area (int y, int x, int rows, int cols, int color)
- {
-+#ifdef ENABLE_SHADOWS
- cchar_t *ctext;
- wchar_t wch[10];/* TODO not sure if the length is correct */
- attr_t attrs;
-@@ -585,6 +586,13 @@ tty_colorize_area (int y, int x, int rows, int cols, int 
color)
- }
- 
- g_free (ctext);
-+#else
-+(void) y;
-+(void) x;
-+(void) rows;
-+(void) cols;
-+(void) color;
-+#endif /* ENABLE_SHADOWS */
- }
- 
- /* 
-
 */
-diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
-index d75df9533ab9..8feb17ccd045 100644
 a/lib/tty/tty-ncurses.h
-+++ b/lib/tty/tty-ncurses.h
-@@ -30,6 +30,11 @@
- #define NCURSES_CONST const
- #endif
- 
-+/* do not draw shadows if NCurses is built with --disable-widec */
-+#if defined(NCURSES_WIDECHAR) && NCURSES_WIDECHAR
-+#define ENABLE_SHADOWS 1
-+#endif
-+
- /*** typedefs(not structures) and defined constants 
**/
- 
- /*** enums 
***/
-diff --git a/lib/tty/tty-slang.h b/lib/tty/tty-slang.h
-index 5b12c6512853..eeaade388af4 100644
 a/lib/tty/tty-slang.h
-+++ b/lib/tty/tty-slang.h
-@@ -23,6 +23,8 @@
- #define COLS  SLtt_Screen_Cols
- #define LINES SLtt_Screen_Rows
- 
-+#define ENABLE_SHADOWS 1
-+
- /*** enums 
***/
- 
- enum
-diff --git a/src/filemanager/boxes.c b/src/filemanager/boxes.c
-index 3eb525be4a9b..98df5ff2ed9a 100644
 a/src/filemanager/boxes.c
-+++ b/src/filemanager/boxes.c
-@@ -280,7 +280,9 @@ appearance_box_callback (Widget * w, Widget * sender, 
widget_msg_t msg, int parm
- switch (msg)
- {
- case MSG_INIT:
-+#ifdef ENABLE_SHADOWS
- if (!tty_use_colors ())
-+#endif
- {
- Widget *shadow;
- 
--- 
-2.34.1
-
diff --git a/meta/recipes-extended/mc/mc_4.8.27.bb 
b/meta/recipes-extended/mc/mc_4.8.28.bb
similarity index 92%
rename from meta/recipes-extended/mc/mc_4.8.27.bb
rename to meta/recipes-extended/mc/mc_4.8.28.bb
index 564599fdf6..9a950a8cd0 100644
--- a/meta/recipes-extended/mc/mc_4.8.27.bb
+++ b/meta/recipes-extended/mc/mc_4.8.28.bb
@@ -11,12 +11,10 @@ RRECOMMENDS:${PN} = "ncurses-terminfo"
 SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
file://0001-mc-replace-perl-w-with-use-warnings.patch \
file://nomandate.patch \
-   
file://0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch \
"
-SRC_URI[sha256sum] = 
"2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407"
+SRC_URI[sha256sum] = 
"6bb47533d7a55bb21e46292d2f94786c9037bd7a70bf02b6a3c48adb0c9ce20c"
 
 # remove at next version upgrade or when output changes
-PR = "r1"
 HASHEQUIV_HASH_VERSION .= ".2"
 
 inherit autotools gettext pkgconfig
@@ -25,7 +23,6 @@ inherit autotools gettext pkgconfig
 # Both Samba (smb) and sftp require package delivered from meta-openembedded
 #
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba,"
 PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
 
 

[OE-core] [PATCH] shared-mime-info: upgrade 2.1 -> 2.2

2022-04-06 Thread wangmy
0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
removed since it's included in 2.2

Changelog:
=
* model/3mf: new
* Match shared libraries with version suffix
* model/obj: add mtllib and Blender comment based magic
* model/mtl: add Blender comment magic, increase newmtl range
* model/obj, model/mtl: new types
* Add Electron Archive Format type application/x-asar
* text/x-qml: Lower match priority to avoid conflicts with Python
* Move '*.blend' to top of Blender glob list
* Adding SPARQL media types
* application/zip: Add '*.zipx' glob and test fixture
* Added DSD mime type
* Differentiate comic book archives
* FITS: Add missing 'application/fits' and legacy globs
* Add Godot engine files
* Add FlashForge "xgcode" mime-type
* text/x-objc++src: new type
* image/heif: test .hif extension too
* image/hif: add *.hif glob
* image/heif: add another test case
* image/heif: add magics
* Add a build-tools option to allow installing only the mime data
* Add compressed SVG glob pattern '*.svg.gz'
* Add Apple Wallet pass type application/vnd.apple.pkpass
* migrate from custom itstool to builtin msgfmt for creating translated XML
* Make the remaining plain text types subclasses of text/plain
* audio/mobile-xmf: separate from audio/x-xmf
* Adding ZIM file
* Make text/x-mrml a subclass of application/xml
* image/avif: move acronym and expansion to separate fields from comment
* freedesktop_generate.sh: Don't hardcode ninja
* Add text/x-mpl2
* application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in 
plist
* image/jpeg: add test case with embedded property list XML
* audio/vnd.dts.hd: include parent type magic in magic match
* model/gltf+json: new type
* model/gltf-binary: new type
* application/x-object: add *.mod and a test case
* application/x-mod: add some ProTracker magics and a test case
* image/jxl: include test files in test list
* tests: add trailing linefeed to mime-detection list
* Make application/x-mswinurl a subclass of text/plain
* Change description for *.desktop files to "desktop entry"
* application/x-x509-ca-cert: add magics and test cases
* application/pkix-cert: add BEGIN/END X509 CERTIFICATE magic
* application/pkix-crl: add magic and test case
* application/pkix-cert: add magic and test case
* image/jxl: new type
* Added .sc filename extension for Scala source code, as it is occasionally used
* application/schema+json: new type
* Add text/x-crystal
* application/x-krita: remove stray period from comment
* adding org-mode
* Add Elixir source code mime type
* Add two new offsets for .kra and .krz
* text/x-python3: add *.pyi glob (Python stub files)
* image/x-canon-cr3: new
* image/x-xpixmap: make XPM3 magic more specific
* image/x-xpixmap: add XPM2 magic
* application/x-troff-man: add *.[1-9] glob
* application/toml: new type
* Lower priority of "BEGIN {" for perl, awk uses that too
* Add Smacker video type video/vnd.radgamettools.smacker
* Clarify database license
* meson: make xmlto optional, build spec only if found
* application/x-7z-compressed: add *.7z.001 glob
* Add Bink video type video/vnd.radgamettools.bink
* image/x-nikon-nrw: add test case
* image/x-nikon-nrw: new type
* application/x-vhdx-disk: improve acronym and its expansion
* application/ovf: new
* application/x-qed-disk: new
* application/x-vdi-disk: new
* application/x-vmdk-disk: new
* application/x-vhd-disk, /x-vhdx-disk: new
* application/vnd.apple.numbers, .pages: add older magics and test cases
* Add text/x-dart
* application/vnd.apple.numbers, /vnd.apple.pages: new types
* xdgmime: configure as submodule

Signed-off-by: Wang Mingyu 
---
 ...tom-itstool-to-builtin-msgfmt-for-cr.patch | 70 ---
 .../shared-mime-info/shared-mime-info_git.bb  |  8 +--
 2 files changed, 3 insertions(+), 75 deletions(-)
 delete mode 100644 
meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch

diff --git 
a/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
 
b/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
deleted file mode 100644
index d09013bb3c..00
--- 
a/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 5ca815cb79f64fab9cbb428b95a861fc0c30c116 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 8 Nov 2021 18:22:47 -0500
-Subject: [PATCH] migrate from custom itstool to builtin msgfmt for creating
- translated XML
-
-gettext upstream has supported this for a very long time, and using it
-means we don't need to jump through hoops to run ninja inside ninja in
-order to generate the .mo files for itstool.
-
-Although meson 0.60.0 added support for real targets for the built .mo
-files, this changed the rules for output filenames, breaking the script.
-But msgfmt does not care, and anyways comes with builtin meson 

[OE-core] [PATCH] strace: upgrade 5.16 -> 5.17

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/strace/{strace_5.16.bb => strace_5.17.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/strace/{strace_5.16.bb => strace_5.17.bb} (95%)

diff --git a/meta/recipes-devtools/strace/strace_5.16.bb 
b/meta/recipes-devtools/strace/strace_5.17.bb
similarity index 95%
rename from meta/recipes-devtools/strace/strace_5.16.bb
rename to meta/recipes-devtools/strace/strace_5.17.bb
index 4bde14f939..129db87af8 100644
--- a/meta/recipes-devtools/strace/strace_5.16.bb
+++ b/meta/recipes-devtools/strace/strace_5.17.bb
@@ -14,7 +14,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
file://0001-strace-fix-reproducibilty-issues.patch \
file://skip-load.patch \
"
-SRC_URI[sha256sum] = 
"dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285"
+SRC_URI[sha256sum] = 
"5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f"
 
 inherit autotools ptest
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164075): 
https://lists.openembedded.org/g/openembedded-core/message/164075
Mute This Topic: https://lists.openembedded.org/mt/90287509/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] fontconfig: upgrade 2.13.1 -> 2.14.0

2022-04-06 Thread wangmy
License-Update:
- COPYING:
 *  year updated
 *  the following files added:
 fontconfig/fc-case/CaseFolding.txt
 fontconfig/src/fcatomic.h
 fontconfig/src/fcfoundry.h
 fontconfig/src/fcmd5.h
 fontconfig/src/fcmutex.h
 fontconfig/src/ftglue.[ch]
- fcfreetype.c
 * description of Copyright removed
 * include files added
- fccache.c
 * description of Copyright removed
 * source code changed

Signed-off-by: Wang Mingyu 
---
 .../{fontconfig_2.13.1.bb => fontconfig_2.14.0.bb} | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/fontconfig/{fontconfig_2.13.1.bb => 
fontconfig_2.14.0.bb} (87%)

diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb 
b/meta/recipes-graphics/fontconfig/fontconfig_2.14.0.bb
similarity index 87%
rename from meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb
rename to meta/recipes-graphics/fontconfig/fontconfig_2.14.0.bb
index 6dbfd32217..80f952a024 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.14.0.bb
@@ -12,9 +12,10 @@ HOMEPAGE = "http://www.fontconfig.org;
 BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig;
 
 LICENSE = "MIT & MIT & PD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \
-
file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \
-
file://src/fccache.c;beginline=1671;endline=1686;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f"
+LIC_FILES_CHKSUM = "file://COPYING;md5=00252fd272bf2e722925613ad74cb6c7 \
+
file://src/fcfreetype.c;endline=45;md5=ce976b310a013a6ace6b60afa71851c1 \
+
file://src/fccache.c;beginline=1671;endline=1686;md5=906c2f04b0c79a1bcc84ecfca4de5619
 \
+"
 
 SECTION = "libs"
 
@@ -24,8 +25,7 @@ SRC_URI = 
"http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
file://revert-static-pkgconfig.patch \
"
 
-SRC_URI[md5sum] = "690c6cb840a92fa8908cdf462d19ec66"
-SRC_URI[sha256sum] = 
"9f0d852b39d75fc655f9f53850eb32555394f36104a044bb2b2fc9e66dbbfa7f"
+SRC_URI[sha256sum] = 
"b8f607d556e8257da2f3616b4d704be30fd73bd71e367355ca78963f9a7f0434"
 
 UPSTREAM_CHECK_REGEX = "fontconfig-(?P\d+\.\d+\.(?!9\d+)\d+)"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164073): 
https://lists.openembedded.org/g/openembedded-core/message/164073
Mute This Topic: https://lists.openembedded.org/mt/90287460/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] libbsd: upgrade 0.11.5 -> 0.11.6

2022-04-06 Thread wangmy
License-Update:
year updated to 2022
license file changed

Signed-off-by: Wang Mingyu 
---
 .../libbsd/{libbsd_0.11.5.bb => libbsd_0.11.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libbsd/{libbsd_0.11.5.bb => libbsd_0.11.6.bb} (90%)

diff --git a/meta/recipes-support/libbsd/libbsd_0.11.5.bb 
b/meta/recipes-support/libbsd/libbsd_0.11.6.bb
similarity index 90%
rename from meta/recipes-support/libbsd/libbsd_0.11.5.bb
rename to meta/recipes-support/libbsd/libbsd_0.11.6.bb
index bb8766a070..74fc8ef4e5 100644
--- a/meta/recipes-support/libbsd/libbsd_0.11.5.bb
+++ b/meta/recipes-support/libbsd/libbsd_0.11.6.bb
@@ -29,12 +29,12 @@ HOMEPAGE = "https://libbsd.freedesktop.org/wiki/;
 # License: public-domain-Colin-Plumb
 LICENSE = "BSD-3-Clause & BSD-4-Clause & ISC & PD"
 LICENSE:${PN} = "BSD-3-Clause & ISC & PD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0b31944ca2c1075410a30f0c17379d3b"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c2c635b94c8dcd3593f53e10fa8a499e"
 SECTION = "libs"
 
 SRC_URI = "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz;
 
-SRC_URI[sha256sum] = 
"1a9c952525635c1bb6770cb22e969b938d8e6a9d7912362b98ee8370599b0efd"
+SRC_URI[sha256sum] = 
"19b38f3172eaf693e6e1c68714636190c7e48851e45224d720b3b5bc0499b5df"
 
 inherit autotools pkgconfig
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164072): 
https://lists.openembedded.org/g/openembedded-core/message/164072
Mute This Topic: https://lists.openembedded.org/mt/90287459/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] apt: upgrade 2.4.3 -> 2.4.4

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/apt/{apt_2.4.3.bb => apt_2.4.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/apt/{apt_2.4.3.bb => apt_2.4.4.bb} (97%)

diff --git a/meta/recipes-devtools/apt/apt_2.4.3.bb 
b/meta/recipes-devtools/apt/apt_2.4.4.bb
similarity index 97%
rename from meta/recipes-devtools/apt/apt_2.4.3.bb
rename to meta/recipes-devtools/apt/apt_2.4.4.bb
index 27e455747f..9faf1e7ea9 100644
--- a/meta/recipes-devtools/apt/apt_2.4.3.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.4.bb
@@ -25,7 +25,7 @@ SRC_URI:append:class-nativesdk = " \

file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
"
 
-SRC_URI[sha256sum] = 
"5a7215ca924302da0b2205862cd2d651326eea222a589184ec6ce663885729f7"
+SRC_URI[sha256sum] = 
"d6d83d122ddd7cc83b2c2f839a55940c13ab93e5cf6024a010d6a6b4110dcf0e"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 # the package is taken from snapshots.debian.org; that source is static and 
goes stale
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164071): 
https://lists.openembedded.org/g/openembedded-core/message/164071
Mute This Topic: https://lists.openembedded.org/mt/90287456/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] acpica: upgrade 20211217 -> 20220331

2022-04-06 Thread wangmy
License-Update: year updated to 2022.

Signed-off-by: Wang Mingyu 
---
 .../acpica/{acpica_20211217.bb => acpica_20220331.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/acpica/{acpica_20211217.bb => acpica_20220331.bb} 
(91%)

diff --git a/meta/recipes-extended/acpica/acpica_20211217.bb 
b/meta/recipes-extended/acpica/acpica_20220331.bb
similarity index 91%
rename from meta/recipes-extended/acpica/acpica_20211217.bb
rename to meta/recipes-extended/acpica/acpica_20220331.bb
index d1727c1dab..2c554f863a 100644
--- a/meta/recipes-extended/acpica/acpica_20211217.bb
+++ b/meta/recipes-extended/acpica/acpica_20220331.bb
@@ -10,14 +10,14 @@ HOMEPAGE = "http://www.acpica.org/;
 SECTION = "console/tools"
 
 LICENSE = "Intel | BSD-3-Clause | GPL-2.0-only"
-LIC_FILES_CHKSUM = 
"file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=c33ce358fdcd142684e41e336b7992e8"
+LIC_FILES_CHKSUM = 
"file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=41a76b4b1f816240f090cf010fefebf0"
 
 COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
 
 DEPENDS = "m4-native flex-native bison-native"
 
 SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz;
-SRC_URI[sha256sum] = 
"2511f85828820d747fa3e2c3433d3a38c22db3d9c2fd900e1a84eb4173cb5992"
+SRC_URI[sha256sum] = 
"acaff68b14f1e0804ebbfc4b97268a4ccbefcfa053b02ed9924f2b14d8a98e21"
 
 UPSTREAM_CHECK_URI = "https://acpica.org/downloads;
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164069): 
https://lists.openembedded.org/g/openembedded-core/message/164069
Mute This Topic: https://lists.openembedded.org/mt/90287454/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] dpkg: upgrade 1.21.4 -> 1.21.7

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/dpkg/{dpkg_1.21.4.bb => dpkg_1.21.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dpkg/{dpkg_1.21.4.bb => dpkg_1.21.7.bb} (95%)

diff --git a/meta/recipes-devtools/dpkg/dpkg_1.21.4.bb 
b/meta/recipes-devtools/dpkg/dpkg_1.21.7.bb
similarity index 95%
rename from meta/recipes-devtools/dpkg/dpkg_1.21.4.bb
rename to meta/recipes-devtools/dpkg/dpkg_1.21.7.bb
index 681909f0bf..902cc03bcd 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.21.4.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.21.7.bb
@@ -18,6 +18,6 @@ SRC_URI = 
"git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
 
 SRC_URI:append:class-native = " 
file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
 
-SRCREV = "5563bdb608b3413639b69f1c76567cb66ff1a961"
+SRCREV = "e61f582015a9c67bbb3791cb93a864cfeb9c7151"
 
 S = "${WORKDIR}/git"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164070): 
https://lists.openembedded.org/g/openembedded-core/message/164070
Mute This Topic: https://lists.openembedded.org/mt/90287455/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] libx11: upgrade 1.7.3.1 -> 1.7.5

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 .../xorg-lib/{libx11_1.7.3.1.bb => libx11_1.7.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libx11_1.7.3.1.bb => libx11_1.7.5.bb} 
(94%)

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb 
b/meta/recipes-graphics/xorg-lib/libx11_1.7.5.bb
similarity index 94%
rename from meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb
rename to meta/recipes-graphics/xorg-lib/libx11_1.7.5.bb
index 0c3abcd896..2a6f66957c 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.7.5.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.xz"
 
 SRC_URI += "file://disable_tests.patch \
"
-SRC_URI[sha256sum] = 
"2ffd417266fb875028fdc0ef349694f63dbcd76d0b0cfacfb52e6151f4b60989"
+SRC_URI[sha256sum] = 
"5a1847e2e2c248e1a203a24a1338a5586d6f48472eac58f6f08539110a965151"
 
 PROVIDES = "virtual/libx11"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164068): 
https://lists.openembedded.org/g/openembedded-core/message/164068
Mute This Topic: https://lists.openembedded.org/mt/90287423/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] lttng-tools: upgrade 2.13.4 -> 2.13.6

2022-04-06 Thread wangmy
Changelog:
=
Fix: hide symbols erroneously exported in 2.13.5

Signed-off-by: Wang Mingyu 
---
 .../lttng/{lttng-tools_2.13.4.bb => lttng-tools_2.13.6.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-kernel/lttng/{lttng-tools_2.13.4.bb => 
lttng-tools_2.13.6.bb} (98%)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb 
b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
similarity index 98%
rename from meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
rename to meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
index 0ea4da05ce..d40d0a2dd0 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.6.bb
@@ -39,7 +39,7 @@ SRC_URI = 
"https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
file://disable-tests.patch \
"
 
-SRC_URI[sha256sum] = 
"565f3102410a53d484f4c8ff517978f1dc59f67f9d16f872f4357f3ca12200f6"
+SRC_URI[sha256sum] = 
"1d52d249437b3f7ba23a45a22c3e26dde006a5da10e96753952084a98e0523e3"
 
 inherit autotools ptest pkgconfig useradd python3-dir manpages systemd
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164067): 
https://lists.openembedded.org/g/openembedded-core/message/164067
Mute This Topic: https://lists.openembedded.org/mt/90287422/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] ghostscript: upgrade 9.55.0 -> 9.56.1

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 .../{ghostscript_9.55.0.bb => ghostscript_9.56.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/ghostscript/{ghostscript_9.55.0.bb => 
ghostscript_9.56.1.bb} (98%)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb 
b/meta/recipes-extended/ghostscript/ghostscript_9.56.1.bb
similarity index 98%
rename from meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
rename to meta/recipes-extended/ghostscript/ghostscript_9.56.1.bb
index c28e62f089..b2e741b44f 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.56.1.bb
@@ -45,7 +45,7 @@ SRC_URI:class-native = "${SRC_URI_BASE} \
 
file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \
 "
 
-SRC_URI[sha256sum] = 
"31e2064be67e15b478a8da007d96d6cd4d2bee253e5be220703a225f7f79a70b"
+SRC_URI[sha256sum] = 
"1598b9a38659cce8448d42a73054b2f9cbfcc40a9b97eeec5f22d4d6cd1de8e6"
 
 # Put something like
 #
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164065): 
https://lists.openembedded.org/g/openembedded-core/message/164065
Mute This Topic: https://lists.openembedded.org/mt/90287419/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] freetype: upgrade 2.11.1 -> 2.12.0

2022-04-06 Thread wangmy
Signed-off-by: Wang Mingyu 
---
 .../freetype/{freetype_2.11.1.bb => freetype_2.12.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/freetype/{freetype_2.11.1.bb => 
freetype_2.12.0.bb} (95%)

diff --git a/meta/recipes-graphics/freetype/freetype_2.11.1.bb 
b/meta/recipes-graphics/freetype/freetype_2.12.0.bb
similarity index 95%
rename from meta/recipes-graphics/freetype/freetype_2.11.1.bb
rename to meta/recipes-graphics/freetype/freetype_2.12.0.bb
index 5055ff185c..3034977cd4 100644
--- a/meta/recipes-graphics/freetype/freetype_2.11.1.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.12.0.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.TXT;md5=a5927784d823d443c6cae55701d01553 \
 file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
-SRC_URI[sha256sum] = 
"ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8"
+SRC_URI[sha256sum] = 
"ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P\d+(\.\d+)+)"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164064): 
https://lists.openembedded.org/g/openembedded-core/message/164064
Mute This Topic: https://lists.openembedded.org/mt/90287418/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] libsoup: upgrade 3.0.5 -> 3.0.6

2022-04-06 Thread wangmy
Changelog:
=
* Misc HTTP/2 fixes
* Add PUT/POST support to examples/get
* Add `--user-agent` option to examples/get
* Misc meson improvements
* Fix build with Visual Studio

Signed-off-by: Wang Mingyu 
---
 .../libsoup/{libsoup_3.0.5.bb => libsoup_3.0.6.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libsoup/{libsoup_3.0.5.bb => libsoup_3.0.6.bb} 
(94%)

diff --git a/meta/recipes-support/libsoup/libsoup_3.0.5.bb 
b/meta/recipes-support/libsoup/libsoup_3.0.6.bb
similarity index 94%
rename from meta/recipes-support/libsoup/libsoup_3.0.5.bb
rename to meta/recipes-support/libsoup/libsoup_3.0.6.bb
index d2535c91a2..17825ae6a4 100644
--- a/meta/recipes-support/libsoup/libsoup_3.0.5.bb
+++ b/meta/recipes-support/libsoup/libsoup_3.0.6.bb
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl 
nghttp2"
 SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
 SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
-SRC_URI[sha256sum] = 
"f5d143db6830b3825edc2a1c4449d639273b0bfa017a4970871962d9bca22145"
+SRC_URI[sha256sum] = 
"b45d59f840b9acf9bb45fd45854e3ef672f57e3ab957401c3ad8d7502ac23da6"
 
 PROVIDES = "libsoup-3.0"
 CVE_PRODUCT = "libsoup"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164066): 
https://lists.openembedded.org/g/openembedded-core/message/164066
Mute This Topic: https://lists.openembedded.org/mt/90287420/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Richard Purdie
On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:
> Op 04-04-2022 om 22:39 schreef Richard Purdie:
>  On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:
> >  Op 04-04-2022 om 15:58 schreef Richard Purdie:
> > > 
> > > > On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
> > > > Looking at the patches I wondered if this would break testimage and
> > > > unfortunately it does:
> > > > 
> > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/5013/s
> > > > teps/12/logs/stdio
> > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/4975
> > > That is weird, do I understand correctly that it fails on:
> > >   apt-get remove --yes run-postinsts-dev
> > > Reading package lists...
> > > Building dependency tree...
> > > E: Unable to locate package run-postinsts-dev
> > > 
> > > That is actually *) one line I didn't touch. I did note while testing 
> > > that I saw this exact message, however that was not counted as a fail.
> > > 
> > > What could cause this? Because the complaint is it can't remove the 
> > > package because it was not installed.
> > > 
> > > It would be trivial to remove the line
> > > 
> > > *) self.pkg('remove --yes run-postinsts-dev')
> > > 
> > > but how could it have passed the test before?
> > 
> > I think the issue is you edited testimage which is a different set of tests
> > which aren't just called by oe-selftest but by things like 
> That would be my first thought too, but...
> because the failure seems to be on the line self.pkg('remove --yes run-
> postinsts-dev'),  that would mean the line self.pkg('update') passed.
> And that should only pass if it finds a signed repository and has the key
> installed (and believe me, I saw a log of that in the last week).
> So, there may be a second thing wrong?

I was easily able to reproduce this locally and it shows the
setup_source_config_for_package_install() step fails and hence the sources
aren't setup correctly, hence the update probably works.

> Do you know where I can find the log files referred to:
> <..>tmp/work/qemux86-poky-linux/core-image-sato/1.0-
> r0/temp/log.do_testimage.35553
> <..>tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-
> r0/temp/log.do_testimage.35362

We can get them off the autobuilder if needed but someone would have to manually
go in and find/share them. The issue does locally reproduce for me with a
"bitbake core-image-sato -c testimage" with package_deb set as the backend.

> or could we do a 'quick' check by changing
> self.pkg('update')
> self.pkg('remove --yes run-postinsts-dev')
> self.pkg('install --yes run-postinsts-dev')
> to 
> self.pkg('update')
> self.pkg('install --yes run-postinsts-dev')
> self.pkg('remove --yes run-postinsts-dev')
> ?

I'm not convinced that would help us...

>  
> > 
> > "bitbake core-image-sato -c testimage"
> > 
> > as well. I'd suggest making the changes in testimage conditional on signing
> > being configured.
> Yes, regardless the above, we need to either make signing always enabled in
> all test cases or detect whether signing is used.
> Do you have a hint if there is a variable to test in class AptRepoTest if
> PACKAGE_FEED_GPG_NAME has been set?
> Otherwise I could just duplicate code and create
> apt.AptRepoTest.test_apt_install_from_repo_signed.
> What would you prefer?
> 

We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the test
and handle accordingly?

I did merge the base changes into the release since I thought it was fair to get
the fixes in before it was built. We just need to get the test sorted now, I
think it is close.

Cheers,

Richard




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164063): 
https://lists.openembedded.org/g/openembedded-core/message/164063
Mute This Topic: https://lists.openembedded.org/mt/90226708/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 3/3] apt: add apt selftest to test signed package feeds

2022-04-06 Thread Alexandre Belloni via lists.openembedded.org
Hello,

On 04/04/2022 14:58:07+0100, Richard Purdie wrote:
> On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
> > From: Ferry Toth 
> > 
> > Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow 
> > unsigned repositories by default.
> > Currently when building images this requirement is worked around by using 
> > [allow-insecure=yes] and
> > equivalently when performing selftest.
> > 
> > Patches "gpg-sign: Add parameters to gpg signature function" and 
> > "package_manager: sign DEB package feeds"
> > enable signed DEB package feeds. This patch adds a runtime test for apt 
> > derived from the test_testimage_dnf
> > test. It creates a signed deb package feed, runs a qemu image to install 
> > the key and performs some package
> > management. To be able to install the key the gnupg package is added to the 
> > testimage.
> > 
> > Signed-off-by: Ferry Toth 
> > ---
> >  meta/lib/oeqa/runtime/cases/apt.py   | 16 ++---
> >  meta/lib/oeqa/selftest/cases/runtime_test.py | 38 
> >  2 files changed, 49 insertions(+), 5 deletions(-)
> > 
> > diff --git a/meta/lib/oeqa/runtime/cases/apt.py 
> > b/meta/lib/oeqa/runtime/cases/apt.py
> > index 53745df93f..49f8714730 100644
> > --- a/meta/lib/oeqa/runtime/cases/apt.py
> > +++ b/meta/lib/oeqa/runtime/cases/apt.py
> > @@ -21,7 +21,7 @@ class AptRepoTest(AptTest):
> >  
> >  @classmethod
> >  def setUpClass(cls):
> > -service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], 'all')
> > +service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], '')
> >  cls.repo_server = HTTPService(service_repo,
> >'0.0.0.0', 
> > port=cls.tc.target.server_port,
> >logger=cls.tc.logger)
> > @@ -32,13 +32,18 @@ class AptRepoTest(AptTest):
> >  cls.repo_server.stop()
> >  
> >  def setup_source_config_for_package_install(self):
> > -apt_get_source_server = 'http://%s:%s/' % 
> > (self.tc.target.server_ip, self.repo_server.port)
> > +apt_get_source_server = 'http:\/\/%s:%s' % 
> > (self.tc.target.server_ip, self.repo_server.port)
> >  apt_get_sourceslist_dir = '/etc/apt/'
> > -self.target.run('cd %s; echo deb [ allow-insecure=yes ] %s ./ > 
> > sources.list' % (apt_get_sourceslist_dir, apt_get_source_server))
> > +self.target.run("cd %s; cp sources.list sources.list.bak; sed -i 
> > 's/\[trusted=yes\] http:\/\/bogus_ip:bogus_port/%s/g' sources.list" % 
> > (apt_get_sourceslist_dir, apt_get_source_server))
> >  
> >  def cleanup_source_config_for_package_install(self):
> >  apt_get_sourceslist_dir = '/etc/apt/'
> > -self.target.run('cd %s; rm sources.list' % 
> > (apt_get_sourceslist_dir))
> > +self.target.run('cd %s; mv sources.list.bak sources.list' % 
> > (apt_get_sourceslist_dir))
> > +
> > +def setup_key(self):
> > +# the key is found on the target /etc/pki/packagefeed-gpg/
> > +# named PACKAGEFEED-GPG-KEY-poky-branch
> > +self.target.run('cd %s; apt-key add P*' % 
> > ('/etc/pki/packagefeed-gpg'))
> >  
> >  @skipIfNotFeature('package-management',
> >'Test requires package-management to be in 
> > IMAGE_FEATURES')
> > @@ -47,7 +52,8 @@ class AptRepoTest(AptTest):
> >  @OEHasPackage(['apt'])
> >  def test_apt_install_from_repo(self):
> >  self.setup_source_config_for_package_install()
> > +self.setup_key()
> >  self.pkg('update')
> >  self.pkg('remove --yes run-postinsts-dev')
> > -self.pkg('install --yes --allow-unauthenticated run-postinsts-dev')
> > +self.pkg('install --yes run-postinsts-dev')
> >  self.cleanup_source_config_for_package_install()
> > diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
> > b/meta/lib/oeqa/selftest/cases/runtime_test.py
> > index 642f0eb637..7a75b95a99 100644
> > --- a/meta/lib/oeqa/selftest/cases/runtime_test.py
> > +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
> > @@ -162,6 +162,44 @@ class TestImage(OESelftestTestCase):
> >  bitbake('core-image-full-cmdline socat')
> >  bitbake('-c testimage core-image-full-cmdline')
> >  
> > +def test_testimage_apt(self):
> > +"""
> > +Summary: Check package feeds functionality for apt
> > +Expected: 1. Check that remote package feeds can be accessed
> > +Product: oe-core
> > +Author: Ferry Toth 
> > +"""
> > +if get_bb_var('DISTRO') == 'poky-tiny':
> > +self.skipTest('core-image-full-cmdline not buildable for 
> > poky-tiny')
> > +
> > +features = 'INHERIT += "testimage"\n'
> > +features += 'TEST_SUITES = "ping ssh 
> > apt.AptRepoTest.test_apt_install_from_repo"\n'
> > +# We don't yet know what the server ip and port will be - they 
> > will be patched
> > +# in at the start of the on-image test
> > +features += 

Re: [OE-core] [PATCH] Added quotes around variables to prevent word splitting in the oe-init-build-env/oe-setup-builddir shell scripts.

2022-04-06 Thread Abongwa Amahnui Bonalais
Hi Richard,
I am happy to have made a positive addition.
Thanks

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164061): 
https://lists.openembedded.org/g/openembedded-core/message/164061
Mute This Topic: https://lists.openembedded.org/mt/90270943/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] Added quotes around variables to prevent word splitting in the oe-init-build-env/oe-setup-builddir shell scripts.

2022-04-06 Thread Richard Purdie
On Wed, 2022-04-06 at 00:37 -0700, Abongwa Amahnui Bonalais wrote:
> Hi Richard 
> I presume it is a good change since the user will know what is wrong and be
> able to fix it.

Yes, I did merge it to master with a small fix to the subject line to clarify
where the patch was being applied to.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164060): 
https://lists.openembedded.org/g/openembedded-core/message/164060
Mute This Topic: https://lists.openembedded.org/mt/90270943/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] pseudo: Update to latest to fix link handling

2022-04-06 Thread Alexandre Belloni via lists.openembedded.org
Hi,

I'm sorry, I forgot to send my patch to the ML after build testing but
this is already in master.

On 05/04/2022 17:03:28-0500, Chaitanya Vadrevu wrote:
> Update to latest version of pseudo which includes a fix to handle
> absolute links correctly. This fixes ldconfig failures in OE builds
> when rootfs contains absolute links.
> 
> Signed-off-by: Chaitanya Vadrevu 
> ---
>  meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
> b/meta/recipes-devtools/pseudo/pseudo_git.bb
> index d20136aef9..e7ef6a730c 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> @@ -13,7 +13,7 @@ SRC_URI:append:class-nativesdk = " \
>  file://older-glibc-symbols.patch"
>  SRC_URI[prebuilt.sha256sum] = 
> "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
>  
> -SRCREV = "df1d1321fb093283485c387e3c933d2d264e509c"
> +SRCREV = "2b4b88eb513335b0ece55fe51854693d9b20de35"
>  S = "${WORKDIR}/git"
>  PV = "1.9.0+git${SRCPV}"
>  
> -- 
> 2.17.1
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164059): 
https://lists.openembedded.org/g/openembedded-core/message/164059
Mute This Topic: https://lists.openembedded.org/mt/90277234/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] Added quotes around variables to prevent word splitting in the oe-init-build-env/oe-setup-builddir shell scripts.

2022-04-06 Thread Abongwa Amahnui Bonalais
Hi Richard
I presume it is a good change since the user will know what is wrong and be 
able to fix it.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164058): 
https://lists.openembedded.org/g/openembedded-core/message/164058
Mute This Topic: https://lists.openembedded.org/mt/90270943/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] Added quotes around variables to prevent word splitting in the oe-init-build-env/oe-setup-builddir shell scripts.

2022-04-06 Thread Richard Purdie
On Wed, 2022-04-06 at 11:08 +0800, Chen Qi wrote:
> Whitespace is not a valid char in builddir. There's sanity check for 
> this in sanity.bbclass:
> if val.find(' ') != -1:
>      status.addresult("Error, you have a space in your %s 
> directory path. Please move the installation to a directory which 
> doesn't include a space since autotools doesn't support this." % checkdir)

The issue was that you couldn't reach that error message if you had a space in
the build path. This change allows you to reach the sanity check!

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164057): 
https://lists.openembedded.org/g/openembedded-core/message/164057
Mute This Topic: https://lists.openembedded.org/mt/90270943/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] Including kernel-devsrc to the SDK while using INCOMPATIBLE_LICENSE

2022-04-06 Thread Mans Zigher
So for anyone that stumbles across this issue it looks like I was
using the kernel-devsrc in the wrong way.
It seems like it is more for kernel module development done on the
target. I was more interesting in having access to
some kernel driver headers so instead I ended up following

https://docs.yoctoproject.org/singleindex.html#using-headers-to-interface-with-devices

Thanks

Den tis 29 mars 2022 kl 08:52 skrev Måns :
>
> Hi,
>
> I am trying to add the kernel-devsrc to the SDK by using
>
> TOOLCHAIN_TARGET_TASK_append = "kernel-devsrc"
>
> My problem is that we are trying to prevent GPLv3 packages by setting
>
> INCOMPATIBLE_LICENSE = "GPL-3.0"
>
> This resulting in an issue because the kernel-devsrc depend on GPLv3 packages
>
> RDEPENDS_${PN} = "bc python flex bison ${TCLIBC}-utils"
>
> We are currently using Thud. We are not shipping the SDK so the
> INCOMPATIBLE_LICENSE is only needed for the image build. Any
> suggestions on the best approach on how to solve this would be really
> appreciated.
>
> Thanks

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164056): 
https://lists.openembedded.org/g/openembedded-core/message/164056
Mute This Topic: https://lists.openembedded.org/mt/90103149/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-