Re: [OE-core] [PATCH v2 3/5] ninja: build modified version with GNU Make jobserver support

2024-04-25 Thread Alexandre Belloni via lists.openembedded.org
gt; ++  CreateFifoPool();
> ++
> ++  ASSERT_NE(NULL, tokens_);
> ++  EXPECT_EQ(kLoadAverageDefault, load_avg_);
> ++
> ++  // implicit token
> ++  EXPECT_TRUE(tokens_->Acquire());
> ++  tokens_->Reserve();
> ++  EXPECT_FALSE(tokens_->Acquire());
> ++
> ++  // jobserver offers 2nd token
> ++  char test_tokens[1] = { '+' };
> ++  ASSERT_EQ(1u, write(fds_[1], test_tokens, sizeof(test_tokens)));
> ++  EXPECT_TRUE(tokens_->Acquire());
> ++  tokens_->Reserve();
> ++  EXPECT_FALSE(tokens_->Acquire());
> ++
> ++  // release 2nd token
> ++  tokens_->Release();
> ++  EXPECT_TRUE(tokens_->Acquire());
> ++
> ++  // release implicit token - must return 2nd token back to jobserver
> ++  tokens_->Release();
> ++  EXPECT_TRUE(tokens_->Acquire());
> ++
> ++  // there must be one token available
> ++  EXPECT_EQ(1u, read(fds_[0], buf_, sizeof(buf_)));
> ++  EXPECT_EQ(test_tokens[0], buf_[0]);
> ++
> ++  // implicit token
> ++  EXPECT_TRUE(tokens_->Acquire());
> ++}
> ++#endif
> ++
> + TEST_F(TokenPoolTest, Clear) {
> +   CreateDefaultPool();
> + 
> +-- 
> +2.44.0
> +
> diff --git a/meta/recipes-devtools/ninja/ninja_1.11.1.bb 
> b/meta/recipes-devtools/ninja/ninja_1.11.1.bb
> index 8e297ec4d4..dbff2e191a 100644
> --- a/meta/recipes-devtools/ninja/ninja_1.11.1.bb
> +++ b/meta/recipes-devtools/ninja/ninja_1.11.1.bb
> @@ -6,9 +6,13 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
>  
>  DEPENDS = "re2c-native ninja-native"
>  
> -SRCREV = "a524bf3f6bacd1b4ad85d719eed2737d8562f27a"
> +SRCREV = "95dee2a91d96c409d54f9fa0b70ea9aa2bdf8e63"
>  
> -SRC_URI = 
> "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"
> +SRC_URI = " \
> +
> git://github.com/kitware/ninja.git;branch=kitware-staged-features;protocol=https
>  \
> +file://0001-Rename-TokenPool-Setup-to-SetupClient.patch \
> +file://0002-Add-GNU-make-jobserver-fifo-style-client-support.patch \
> +"
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)"
>  
>  S = "${WORKDIR}/git"
> -- 
> 2.44.0
> 

> 
> 
> 


-- 
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 (#198700): 
https://lists.openembedded.org/g/openembedded-core/message/198700
Mute This Topic: https://lists.openembedded.org/mt/105326967/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/1] [mesa] Update do_install as needed per upstream changes

2024-04-25 Thread Alexandre Belloni via lists.openembedded.org
This causes the following failures:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4702/steps/13/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7874/steps/11/logs/stdio

On 22/04/2024 09:39:21-0500, Joseph Mills wrote:
> Signed-off-by: Joseph Mills 
> 
> Developer's Certificate of Origin 1.1
> 
> By making a contribution to this project, I certify that:
> 
> (a) The contribution was created in whole or in part by me and I
> have the right to submit it under the open source license
> indicated in the file; or
> 
> (b) The contribution is based upon previous work that, to the best
> of my knowledge, is covered under an appropriate open source
> license and I have the right under that license to submit that
> work with modifications, whether created in whole or in part
> by me, under the same open source license (unless I am
> permitted to submit under a different license), as indicated
> in the file; or
> 
> (c) The contribution was provided directly to me by some other
> person who certified (a), (b) or (c) and I have not modified
> it.
> 
> (d) I understand and agree that this project and the contribution
> are public and that a record of the contribution (including all
> personal information I submit with it, including my sign-off) is
> maintained indefinitely and may be redistributed consistent with
> this project or the open source license(s) involved.
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa.inc 
> b/meta/recipes-graphics/mesa/mesa.inc
> index 6e96190084..f4fcf31df0 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -27,12 +27,12 @@ SRC_URI[sha256sum] = 
> "94e28a8edad06d8ed2b83eb53f253b9eb5aa62c3080f939702e1b3039b
>  UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
>  
>  #because we cannot rely on the fact that all apps will use pkgconfig,
> -#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
> +#make eglplatform.h independent of USE_X11
>  do_install:append() {
># sed can't find EGL/eglplatform.h as it doesn't get installed when glvnd 
> enabled.
># So, check if EGL/eglplatform.h exists before running sed.
>if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)} && [ 
> -f ${D}${includedir}/EGL/eglplatform.h ]; then
> -  sed -i -e 's/^#elif defined(__unix__) && defined(EGL_NO_X11)$/#elif 
> defined(__unix__) \&\& defined(EGL_NO_X11) || 
> ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' 
> ${D}${includedir}/EGL/eglplatform.h
> +      sed -i -e 's/^#elif defined(USE_X11)$/#elif 
> ${@bb.utils.contains('PACKAGECONFIG', 'x11', '1', '0', d)}/' 
> ${D}${includedir}/EGL/eglplatform.h
>fi
>  }
>  
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#198697): 
https://lists.openembedded.org/g/openembedded-core/message/198697
Mute This Topic: https://lists.openembedded.org/mt/105670960/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 v6 0/3] pkg-database and systemd-sysext image

2024-04-21 Thread Alexandre Belloni via lists.openembedded.org
On 15/04/2024 08:02:00+0200, Johannes Schneider via lists.openembedded.org 
wrote:
> systemd-sysext allows to overlay another image (or multiple) ontop of
> a "base-image" = the current rootfs, via the use of overlayfs; to add
> tools and features meant for development purposes.
> 
> To quote the documentation on systemd-sysext:
> " ...addition in order to make debugging/development easier). System
> extension images should not be misunderstood as a generic software
> packaging framework, ..."
> 
> To build a lean image, that only holds packages that are not already
> part of the base-image, a snapshot of the package-database is taken
> after the installation of the base-rootfs is done, and picked up again
> when collecting the rootfs of such a extension image.
> 
> with all this in place an example usage could look like this:
> some-core-image.bb
>   inherit core-image
>   IMAGE_GEN_PKGDBFS = "1"
> 
> extending-image.bb
>   inherit image-sysext
>   IMAGE_FSTYPES = "squashfs"
>   IMAGE_BASE_PKGDB = "some-core-image"
>   # the above pointing at a package-db similar to:
>   # 
> build/deploy/images/$MACHINE/some-core-image-$MACHINE-20240210172305-pkgdb.rootfs.tar.gz
> 
> then on the device, running some-core-image, with the extension image placed 
> at FN:
> $> ln -s "$FN" /run/extensions/$(basename $FN).raw
> $> systemd-sysext list
> $> SYSTEMD_LOG_LEVEL=debug systemd-sysext merge
> 
> As long as the VERSION_ID of the extension image matches the os-release
> in the base image, the above commands return sucessfully;
> for details on the compativility check see the docs for systemd-sysext.
> 
> =
> 
> changes with v2:
> rebase from 'kirkstone' onto 'master'
> 
> changes with v3:
>   incorporate review suggestions for simplification
>   add task dependency handling
>   add oe-selftest for the pkgdb handling
>   add variable documentation and
>   some more comments, and examples in the commit-msg
> 
> changes with v4:
>   rebase onto 'master' => no functional changes
>   fixed patchtest findings
> 
> changes with v5:
> rebase onto 'master'
>   add '.sysext' to the deployed symlink name
> sidenote on the tests and autobuilder failure: run locally they 
> succeed, e.g.:
>   #> oe-selftest --verbose -r 
> imagefeatures.ImageFeatures.test_image_gen_pkgdbfs
> 
> changes with v6:
>   restructure test to call 'bitbake' only once in the testcase itself
> (in hopes of solving the autobuilder problem; local test runs succeed)


This still fails on the autobuilders:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6607/steps/14/logs/stdio

Reached login banner in 3.26 seconds (04/18/24 18:54:41)
Couldn't login into serial console as root using blank password
The output:
root
Password: 
Login timed out after 60 seconds.
Poky (Yocto Project Reference Distro) 
5.0+snapshot-0ee872ff1baf43e5436ccbd4c9ae4d733289e05e qemux86-64 /dev/ttyS1
qemux86-64 login: <<< run_serial(): command timed out after 120 seconds without 
output >>>
2024-04-18 19:17:59,061 - oe-selftest - INFO - 6: 20/46 379/588 (131.80s) (0 
failed) (imagefeatures.ImageFeatures.test_image_gen_pkgdbfs)
2024-04-18 19:17:59,062 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/imagefeatures.py",
 line 342, in test_image_gen_pkgdbfs
self.assertTrue(os.path.exists(os.path.join(img_vars['DEPLOY_DIR_IMAGE'], 
'var/lib/opkg/status')), 'opkg\'s status file was not present in: %s' % 
tar_file)
  File "/usr/lib/python3.9/unittest/case.py", line 682, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true : opkg's status file was not present in: 
/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3638382/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs-pkgdb.tar.gz


> 
> 
> 


-- 
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 (#198579): 
https://lists.openembedded.org/g/openembedded-core/message/198579
Mute This Topic: https://lists.openembedded.org/mt/105530718/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 2/2] linux-firmware: add a package for ath12k firmware

2024-04-17 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Now that master has dverged from Scarthgap, can you rebase?

On 14/03/2024 11:06:10+0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski 
> 
> Add the firmware package for the ATH12K module.
> 
> Signed-off-by: Bartosz Golaszewski 
> ---
>  .../linux-firmware/linux-firmware_20240312.bb | 8 +++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20240312.bb 
> b/meta/recipes-kernel/linux-firmware/linux-firmware_20240312.bb
> index 390d10d2f3..4961b43ad5 100644
> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20240312.bb
> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20240312.bb
> @@ -320,7 +320,8 @@ PACKAGES =+ "${PN}-amphion-vpu-license ${PN}-amphion-vpu \
>   ${PN}-cnm-license ${PN}-cnm \
>   ${PN}-atheros-license ${PN}-ar5523 ${PN}-ar9170 ${PN}-ath6k 
> ${PN}-ath9k ${PN}-ath3k \
>   ${PN}-gplv2-license ${PN}-carl9170 \
> - ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k 
> ${PN}-ath11k ${PN}-qca \
> + ${PN}-ar3k-license ${PN}-ar3k \
> + ${PN}-ath10k-license ${PN}-ath10k ${PN}-ath11k ${PN}-ath12k 
> ${PN}-qca \
>   \
>   ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q 
> ${PN}-imx-sdma-imx7d \
>   \
> @@ -488,6 +489,10 @@ FILES:${PN}-ath11k = " \
>${nonarch_base_libdir}/firmware/ath11k \
>  "
>  
> +FILES:${PN}-ath12k = " \
> +  ${nonarch_base_libdir}/firmware/ath12k \
> +"
> +
>  FILES:${PN}-qca = " \
>${nonarch_base_libdir}/firmware/qca \
>  "
> @@ -495,6 +500,7 @@ FILES:${PN}-qca = " \
>  RDEPENDS:${PN}-ar3k += "${PN}-ar3k-license ${PN}-atheros-license"
>  RDEPENDS:${PN}-ath10k += "${PN}-ath10k-license"
>  RDEPENDS:${PN}-ath11k += "${PN}-ath10k-license"
> +RDEPENDS:${PN}-ath12k += "${PN}-ath10k-license"
>  RDEPENDS:${PN}-qca += "${PN}-ath10k-license"
>  
>  # For ralink
> -- 
> 2.40.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 (#198470): 
https://lists.openembedded.org/g/openembedded-core/message/198470
Mute This Topic: https://lists.openembedded.org/mt/104923522/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 v5 0/3] pkg-database and systemd-sysext image

2024-04-12 Thread Alexandre Belloni via lists.openembedded.org
On 10/04/2024 09:18:24+0200, Johannes Schneider via lists.openembedded.org 
wrote:
> systemd-sysext allows to overlay another image (or multiple) ontop of
> a "base-image" = the current rootfs, via the use of overlayfs; to add
> tools and features meant for development purposes.
> 
> To quote the documentation on systemd-sysext:
> " ...addition in order to make debugging/development easier). System
> extension images should not be misunderstood as a generic software
> packaging framework, ..."
> 
> To build a lean image, that only holds packages that are not already
> part of the base-image, a snapshot of the package-database is taken
> after the installation of the base-rootfs is done, and picked up again
> when collecting the rootfs of such a extension image.
> 
> with all this in place an example usage could look like this:
> some-core-image.bb
>   inherit core-image
>   IMAGE_GEN_PKGDBFS = "1"
> 
> extending-image.bb
>   inherit image-sysext
>   IMAGE_FSTYPES = "squashfs"
>   IMAGE_BASE_PKGDB = "some-core-image"
>   # the above pointing at a package-db similar to:
>   # 
> build/deploy/images/$MACHINE/some-core-image-$MACHINE-20240210172305-pkgdb.rootfs.tar.gz
> 
> then on the device, running some-core-image, with the extension image placed 
> at FN:
> $> ln -s "$FN" /run/extensions/$(basename $FN).raw
> $> systemd-sysext list
> $> SYSTEMD_LOG_LEVEL=debug systemd-sysext merge
> 
> As long as the VERSION_ID of the extension image matches the os-release
> in the base image, the above commands return sucessfully;
> for details on the compativility check see the docs for systemd-sysext.
> 
> =
> 
> changes with v2:
> rebase from 'kirkstone' onto 'master'
> 
> changes with v3:
>   incorporate review suggestions for simplification
>   add task dependency handling
>   add oe-selftest for the pkgdb handling
>   add variable documentation and
>   some more comments, and examples in the commit-msg
> 
> changes with v4:
>   rebase onto 'master' => no functional changes
>   fixed patchtest findings
> 
> changes with v5:
> rebase onto 'master'
>   add '.sysext' to the deployed symlink name
> sidenote on the tests and autobuilder failure: run locally they 
> succeed, e.g.:
>   #> oe-selftest --verbose -r 
> imagefeatures.ImageFeatures.test_image_gen_pkgdbfs

This still fails on the autobuilders:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6639/steps/14/logs/stdio

2024-04-12 13:58:27,614 - oe-selftest - INFO - 6: 20/46 442/588 (108.93s) (0 
failed) (imagefeatures.ImageFeatures.test_image_gen_pkgdbfs)
2024-04-12 13:58:27,614 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/imagefeatures.py",
 line 327, in test_image_gen_pkgdbfs
self.assertTrue(os.path.exists(os.path.join(img_vars['DEPLOY_DIR_IMAGE'], 
'var/lib/opkg/status')), 'opkg\'s status file was not present in: %s' % 
tar_file)
  File "/usr/lib/python3.11/unittest/case.py", line 715, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true : opkg's status file was not present in: 
/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-3521802/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs-pkgdb.tar.gz


You can fnd the content of auto.conf here: 
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6639/steps/13/logs/stdio



> 
> 
> 


-- 
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 (#198187): 
https://lists.openembedded.org/g/openembedded-core/message/198187
Mute This Topic: https://lists.openembedded.org/mt/105437784/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 10/33] gnutls: upgrade 3.8.4 -> 3.8.5

2024-04-12 Thread Alexandre Belloni via lists.openembedded.org
On 11/04/2024 19:41:09+, Simone Weiß wrote:
> On Wed, 2024-04-10 at 02:45 +0200, Alexandre Belloni via
> lists.openembedded.org wrote:
> > Failed ptests:
> > {'gnutls': ['alerts',
> >     'cert-status',
> >     'ciphersuite-name',
> >     'dtls-etm',
> >     'dtls10-cert-key-exchange',
> >     'dtls12-cert-key-exchange',
> >     'keylog-env',
> >     'mini-chain-unsorted',
> >     'mini-record-failure',
> >     'mini-overhead',
> >     'mini-record',
> >     'mini-record-2',
> >     'record-retvals',
> >     'rehandshake-switch-cert',
> >     'rehandshake-switch-cert-allow',
> >     'rehandshake-switch-cert-client',
> >     'rehandshake-switch-cert-client-allow',
> >     'rsa-encrypt-decrypt',
> >     'rsa-psk',
> >     'rsa-psk-cb',
> >     'rsaes-pkcs1-v1_5',
> >     'tls-etm',
> >     'tls-force-etm',
> >     'tls-neg-ext4-key',
> >     'tls10-cert-key-exchange',
> >     'tls11-cert-key-exchange',
> >     'tls10-server-kx-neg',
> >     'tls12-anon-upgrade',
> >     'tls12-cert-key-exchange',
> >     'tls11-server-kx-neg',
> >     'tls12-server-kx-neg',
> >     'tls13-cert-key-exchange',
> >     'tls13-server-kx-neg',
> >     'version-checks']}
> > 
> > 
> Hi,
> 
> is there a autobuilder link to this? I tried it locally and all was fine.
> Would like to check it just to see if I can spot a difference. Or do you
> (Wang Mingyu) already check at the moment?

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6489/steps/12/logs/stdio

https://autobuilder.yocto.io/pub/non-release/20240409-25/testresults/qemux86-64-ptest/gnutls.log

> 
> Best

-- 
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 (#198170): 
https://lists.openembedded.org/g/openembedded-core/message/198170
Mute This Topic: https://lists.openembedded.org/mt/105417636/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] Replaced :append with += in multiple recipe files under meta layer.

2024-04-12 Thread Alexandre Belloni via lists.openembedded.org
-driven makefiles
>  # so we cannot use cargo class directly, but still need bits and pieces from 
> it 
>  # for cargo to be happy
> -BASEDEPENDS:append = " cargo-native"
> +BASEDEPENDS += " cargo-native"
>  
>  export RUST_BACKTRACE = "full"
>  export RUSTFLAGS
> diff --git a/meta/recipes-graphics/waffle/waffle_1.7.2.bb 
> b/meta/recipes-graphics/waffle/waffle_1.7.2.bb
> index cb917d8894..84f2f70ab2 100644
> --- a/meta/recipes-graphics/waffle/waffle_1.7.2.bb
> +++ b/meta/recipes-graphics/waffle/waffle_1.7.2.bb
> @@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
>  
>  inherit meson features_check lib_package bash-completion pkgconfig
>  
> -DEPENDS:append = " python3"
> +DEPENDS += " python3"
>  
>  # This should be overridden per-machine to reflect the capabilities of the GL
>  # stack.
> diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb 
> b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> index 9f2b49209d..b268d5b9c1 100644
> --- a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> @@ -26,7 +26,7 @@ BINCONFIG = "${bindir}/gpg-error-config"
>  
>  inherit autotools binconfig-disabled pkgconfig gettext multilib_header 
> multilib_script ptest
>  
> -RDEPENDS:${PN}-ptest:append = " make bash"
> +RDEPENDS:${PN}-ptest += " make bash"
>  
>  MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config"
>  
> diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb 
> b/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb
> index e6668da01f..30838cb3a6 100644
> --- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb
> +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb
> @@ -31,7 +31,7 @@ do_install () {
>  RDEPENDS:${PN}:append:libc-glibc = " libgcc"
>  
>  # pstree is called by ptest-runner-collect-system-data
> -RDEPENDS:${PN}:append = " pstree"
> +RDEPENDS:${PN} += " pstree"
>  
>  # Create a non-root user that test suites can use easily
>  inherit useradd
> -- 
> 2.34.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 (#198162): 
https://lists.openembedded.org/g/openembedded-core/message/198162
Mute This Topic: https://lists.openembedded.org/mt/105479729/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe-core][PATCH 2/2] packagegroup-core-boot: recommend ifupdown

2024-04-12 Thread Alexandre Belloni via lists.openembedded.org
On 11/04/2024 14:58:40+, Joe Slater via lists.openembedded.org wrote:
> 
> 
> > -Original Message-
> > From: Ross Burton 
> > Sent: Thursday, April 11, 2024 7:21 AM
> > To: Richard Purdie ; Slater, Joseph
> > 
> > Cc: OE-core ; MacLeod, Randy
> > 
> > Subject: Re: [oe-core][PATCH 2/2] packagegroup-core-boot: recommend
> > ifupdown
> > 
> > On 11 Apr 2024, at 10:33, Richard Purdie via lists.openembedded.org
> >  wrote:
> > >> --- 
> > >> a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/qemuall/interfaces
> > >> +++ /dev/null
> > >> @@ -1,5 +0,0 @@
> > >> -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> > >> -
> > >> -# The loopback interface
> > >> -auto lo
> > >> -iface lo inet loopback
> > >
> > > Is this patch meant to touch ifupdown as well as the packagegroup?
> > 
> > I suspect not, given that runqemu manually brings up network devices and the
> > last thing we want is DHCP running again.
> > 
> > Joe, please remove this chunk.
> 
> This was accidental since I removed the qemuall/interfaces in order to use 
> the main one with qemu.  I'm sending new patches.  Maybe, though, we don't 
> really need the qemuall stuff.

This broke all the tests of this build:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6786

> 
> Joe
> > 
> > Ross

> 
> 
> 


-- 
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 (#198161): 
https://lists.openembedded.org/g/openembedded-core/message/198161
Mute This Topic: https://lists.openembedded.org/mt/105454861/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 13/33] librepo: upgrade 1.17.0 -> 1.17.1

2024-04-12 Thread Alexandre Belloni via lists.openembedded.org
On 12/04/2024 00:52:52+, Mingyu Wang (Fujitsu) wrote:
> I use the command git am and patch on master-text to apply this patch, they 
> are all succeeded.
> May I ask what command you used to apply this patch, that would be helpful. 
> Thank you.

I use git am, the patch is definitively mangled as you can see on the
list archive:
https://lore.kernel.org/all/1712646620-16608-13-git-send-email-wan...@fujitsu.com/

> 
>   --
> Best Regards
> ---
> Wang Mingyu
> FUJITSU NANJING SOFTWARE TECHNOLOGY 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
> 
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org
> >  On Behalf Of Alexandre
> > Belloni via lists.openembedded.org
> > Sent: Thursday, April 11, 2024 5:11 PM
> > To: Wang, Mingyu/王 鸣瑜 
> > Cc: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH 13/33] librepo: upgrade 1.17.0 -> 1.17.1
> > 
> > On 09/04/2024 15:10:00+0800, wangmy via lists.openembedded.org wrote:
> > > From: Wang Mingyu 
> > >
> > > 0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
> > > removed since it's included in 1.17.1
> > >
> > > Changelog:
> > > =
> > > -gpg_gpgme.c: fix build errors with older gcc -Fix some compiler
> > > warnings -Change header files to match a configured ABI regarding a
> > > zchunk support -Fix building zchunk code if zchunk is enabled
> > >
> > > Signed-off-by: Wang Mingyu 
> > > ---
> > >  ...me.c-fix-build-errors-with-older-gcc.patch | 36
> > > ---  .../{librepo_1.17.0.bb => librepo_1.17.1.bb}  |
> > > 3 +-
> > >  2 files changed, 1 insertion(+), 38 deletions(-)  delete mode 100644
> > > meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-error
> > > s-with-older-gcc.patch  rename
> > > meta/recipes-devtools/librepo/{librepo_1.17.0.bb => librepo_1.17.1.bb}
> > > (88%)
> > >
> > > diff --git
> > > a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-err
> > > ors-with-older-gcc.patch
> > > b/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-err
> > > ors-with-older-gcc.patch
> > > deleted file mode 100644
> > > index 8727b181b3..00
> > > ---
> > > a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-err
> > > ors-with-older-gcc.patch
> > > +++ /dev/null
> > > @@ -1,36 +0,0 @@
> > > -From b525cdec3051d1c6ff0c3cd38bf3070b18d6fb50 Mon Sep 17 00:00:00
> > > 2001
> > > -From: Alexander Kanavin 
> > > -Date: Wed, 6 Mar 2024 10:13:38 +0100
> > > -Subject: [PATCH] gpg_gpgme.c: fix build errors with older gcc
> > > -MIME-Version: 1.0
> > > -Content-Type: text/plain; charset=UTF-8
> > > -Content-Transfer-Encoding: 8bit
> > > -
> > > -When selinux is not enabled, older gcc versions error out this way:
> > > -
> > > -| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-193
> > > -| 8845/tmp-mc-tiny/hosttools/gcc -DG_LOG_DOMAIN=\"librepo\"
> > > -| -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> > -D_LARGEFILE_SOURCE
> > > -| -Dlibrepo_EXPORTS
> > > -| -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1
> > > -| 938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git
> > > -| -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1
> > > -| 938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-
> > > -| sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount
> > > -| -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1
> > > -| 938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-
> > > -| sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid
> > > -| -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1
> > > -| 938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-
> > > -| sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0
> > > -| -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1
> > > -| 9
> > >
> > > 38845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysr
> > > oot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include
> > > -I/home/pokybuild/yocto-worker/oe-selftest

Re: [OE-core] [PATCH 13/33] librepo: upgrade 1.17.0 -> 1.17.1

2024-04-11 Thread Alexandre Belloni via lists.openembedded.org
meta/recipes-devtools/librepo/librepo_1.17.1.bb
> similarity index 88%
> rename from meta/recipes-devtools/librepo/librepo_1.17.0.bb
> rename to meta/recipes-devtools/librepo/librepo_1.17.1.bb
> index 810191459d..beb8baf8d6 100644
> --- a/meta/recipes-devtools/librepo/librepo_1.17.0.bb
> +++ b/meta/recipes-devtools/librepo/librepo_1.17.1.bb
> @@ -8,10 +8,9 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>  SRC_URI = 
> "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https
>  \
> 
> file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
> 
> file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
> -   file://0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch \
> "
>  
> -SRCREV = "ae727d99086f70f39fba5695af5460e1da908c1b"
> +SRCREV = "4ff11d85cb06026943f297bc3e06f047dd73bf0b"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 2.34.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 (#198121): 
https://lists.openembedded.org/g/openembedded-core/message/198121
Mute This Topic: https://lists.openembedded.org/mt/105417639/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 09/33] ffmpeg: upgrade 6.1.1 -> 7.0

2024-04-09 Thread Alexandre Belloni via lists.openembedded.org
ite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self 
-Wmissing-include-dirs -Waddress -Wno-multichar -Waggregate-return -Wvla 
-Wpointer-arith -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map 
-fmacro-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/gst-libav-1.22.11=/usr/src/debug/gstreamer1.0-libav/1.22.11
 
-fdebug-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/gst-libav-1.22.11=/usr/src/debug/gstreamer1.0-libav/1.22.11
 
-fmacro-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/build=/usr/src/debug/gstreamer1.0-libav/1.22.11
 
-fdebug-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/build=/usr/src/debug/gstreamer1.0-libav/1.22.11
 
-fdebug-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/recipe-sysroot=
 
-fmacro-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/recipe-sysroot=
 
-fdebug-prefix-map=/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/recipe-sysroot-native=
 -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ ext/libav/libgstlibav.so.p/gstavmux.c.o 
-MF ext/libav/libgstlibav.so.p/gstavmux.c.o.d -o 
ext/libav/libgstlibav.so.p/gstavmux.c.o -c 
../gst-libav-1.22.11/ext/libav/gstavmux.c
| ninja: build stopped: subcommand failed.
| INFO: autodetecting backend as ninja
| INFO: calculating backend command to run: 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/recipe-sysroot-native/usr/bin/ninja
 -j 16 -l 75.0 -v
| WARNING: 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/temp/run.do_compile.1619925:153
 exit 1 from 'meson compile -v -j 16 -l 75'
| WARNING: Backtrace (BB generated script):
|   #1: meson_do_compile, 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/temp/run.do_compile.1619925,
 line 153
|   #2: do_compile, 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/temp/run.do_compile.1619925,
 line 148
|   #3: main, 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/gstreamer1.0-libav/1.22.11/temp/run.do_compile.1619925,
 line 157
NOTE: recipe gstreamer1.0-libav-1.22.11-r0: task do_compile: Failed
ERROR: Task 
(/home/pokybuild/yocto-worker/reproducible/build/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.11.bb:do_compile)
 failed with exit code '1'

On 09/04/2024 15:09:56+0800, wangmy via lists.openembedded.org wrote:
> From: Wang Mingyu 
> 
> Changelog:
> ===
> - enable gdigrab device to grab a window using the hwnd=HANDLER syntax
> - qrencode filter and qrencodesrc source
> - lavu/eval: introduce randomi() function in expressions
> - Change the default bitrate control method from VBR to CQP for QSV encoders.
> - removed deprecated ffmpeg CLI options -psnr and -map_channel
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../ffmpeg/{ffmpeg_6.1.1.bb => ffmpeg_7.0.bb}   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-multimedia/ffmpeg/{ffmpeg_6.1.1.bb => ffmpeg_7.0.bb} 
> (99%)
> 
> diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb 
> b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.bb
> similarity index 99%
> rename from meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
> rename to meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.bb
> index aa59755034..633f32bff0 100644
> --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
> +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.bb
> @@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
>  
>  SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz;
>  
> -SRC_URI[sha256sum] = 
> "8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968"
> +SRC_URI[sha256sum] = 
> "4426a94dd2c814945456600c8adfc402bee65ec14a70e8c531ec9a2cd651da7b"
>  
>  # https://nvd.nist.gov/vuln/detail/CVE-2023-39018
>  # https://github.com/bramp/ffmpeg-cli-wrapper/issues/291
> -- 
> 2.34.1
> 

> 
> 
> 


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

-=-=-=-=

Re: [OE-core] [PATCH 10/33] gnutls: upgrade 3.8.4 -> 3.8.5

2024-04-09 Thread Alexandre Belloni via lists.openembedded.org
Failed ptests:
{'gnutls': ['alerts',
'cert-status',
'ciphersuite-name',
'dtls-etm',
'dtls10-cert-key-exchange',
'dtls12-cert-key-exchange',
'keylog-env',
'mini-chain-unsorted',
'mini-record-failure',
'mini-overhead',
'mini-record',
'mini-record-2',
'record-retvals',
'rehandshake-switch-cert',
'rehandshake-switch-cert-allow',
'rehandshake-switch-cert-client',
'rehandshake-switch-cert-client-allow',
'rsa-encrypt-decrypt',
'rsa-psk',
'rsa-psk-cb',
'rsaes-pkcs1-v1_5',
'tls-etm',
'tls-force-etm',
'tls-neg-ext4-key',
'tls10-cert-key-exchange',
'tls11-cert-key-exchange',
'tls10-server-kx-neg',
'tls12-anon-upgrade',
'tls12-cert-key-exchange',
'tls11-server-kx-neg',
'tls12-server-kx-neg',
'tls13-cert-key-exchange',
'tls13-server-kx-neg',
'version-checks']}


On 09/04/2024 15:09:57+0800, wangmy via lists.openembedded.org wrote:
> From: Wang Mingyu 
> 
> Add-ptest-support.patch
> refreshed for 3.8.5
> 
> Changelog:
> ==
> * libgnutls: Due to majority of usages and implementations of
>   RSA decryption with PKCS#1 v1.5 padding being incorrect,
>   leaving them vulnerable to Marvin attack, the RSAES-PKCS1-v1_5
>   is being deprecated (encryption and decryption) and will be
>   disabled in the future.
> * libgnutls: Added support for RIPEMD160 and PBES1-DES-SHA1 for
>   backward compatibility with GCR.
> * libgnutls: A couple of memory related issues have been fixed in RSA PKCS#1
>   v1.5 decryption error handling and deterministic ECDSA with earlier
>   versions of GMP.
> * build: Fixed a bug where building gnutls statically failed due
>   to a duplicate definition of nettle_rsa_compute_root_tr().
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../recipes-support/gnutls/gnutls/Add-ptest-support.patch | 8 
>  .../gnutls/{gnutls_3.8.4.bb => gnutls_3.8.5.bb}   | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
>  rename meta/recipes-support/gnutls/{gnutls_3.8.4.bb => gnutls_3.8.5.bb} (97%)
> 
> diff --git a/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch 
> b/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
> index 1152d3797f..8edd31d6b9 100644
> --- a/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
> +++ b/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
> @@ -1,4 +1,4 @@
> -From ff6a345235b2585c261752e47a749228672b07dc Mon Sep 17 00:00:00 2001
> +From bfa70adcbda4e505cf2e597907852e78e0439ee2 Mon Sep 17 00:00:00 2001
>  From: Ravineet Singh 
>  Date: Tue, 10 Jan 2023 16:11:10 +0100
>  Subject: [PATCH] gnutls: add ptest support
> @@ -26,7 +26,7 @@ index 843193f..816b09f 100644
>   
>   include $(top_srcdir)/cligen/cligen.mk
>  diff --git a/configure.ac b/configure.ac
> -index d6e03cf..e3f15fb 100644
> +index 934377e..4406eae 100644
>  --- a/configure.ac
>  +++ b/configure.ac
>  @@ -1213,6 +1213,8 @@ AC_SUBST(LIBGNUTLS_CFLAGS)
> @@ -39,10 +39,10 @@ index d6e03cf..e3f15fb 100644
>   
>   hw_features=
>  diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index fb9e55a..c2d226a 100644
> +index e39a3b3..861dd63 100644
>  --- a/tests/Makefile.am
>  +++ b/tests/Makefile.am
> -@@ -658,6 +658,12 @@ SH_LOG_COMPILER = $(SHELL)
> +@@ -663,6 +663,12 @@ SH_LOG_COMPILER = $(SHELL)
>   AM_VALGRINDFLAGS = --suppressions=$(srcdir)/suppressions.valgrind
>   LOG_COMPILER = $(LOG_VALGRIND)
>   
> diff --git a/meta/recipes-support/gnutls/gnutls_3.8.4.bb 
> b/meta/recipes-support/gnutls/gnutls_3.8.5.bb
> similarity index 97%
> rename from meta/recipes-support/gnutls/gnutls_3.8.4.bb
> rename to meta/recipes-support/gnutls/gnutls_3.8.5.bb
> index 20139b4dd4..21506a04dc 100644
> --- a/meta/recipes-support/gnutls/gnutls_3.8.4.bb
> +++ b/meta/recipes-support/gnutls/gnutls_3.8.5.bb
> @@ -25,7 +25,7 @@ SRC_URI = 
> "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar
> file://Add-ptest-support.patch \
> "
>  
> -SRC_URI[sha256sum] = 
> "2bea4e154794f3f00180fa2a5c51fe8b005ac7a31cd58bd44cdfa7f36ebc3a9b"
> +SRC_URI[sha256sum] = 
> "66269a2cfe0e1c2dabec87bdbbd8ab656f396edd9a40dd006978e003cfa52bfc"
>  
>  inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest
>  
> -- 
> 2.34.1
> 

> 
> 
> 


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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all mes

Re: [OE-core] [PATCH 06/33] dropbear: upgrade 2022.83 -> 2024.84

2024-04-09 Thread Alexandre Belloni via lists.openembedded.org
_options.h b/src/default_options.h
>  index d417588..bc5200f 100644
>  a/default_options.h
> -+++ b/default_options.h
> +--- a/src/default_options.h
>  b/src/default_options.h
>  @@ -180,7 +180,7 @@ IMPORTANT: Some options will require "make clean" after 
> changes */
>* Small systems should generally include either curve25519 or ecdh for 
> performance.
>* curve25519 is less widely supported but is faster
> diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb 
> b/meta/recipes-core/dropbear/dropbear_2024.84.bb
> similarity index 97%
> rename from meta/recipes-core/dropbear/dropbear_2022.83.bb
> rename to meta/recipes-core/dropbear/dropbear_2024.84.bb
> index 528eff1a10..69c7b04c55 100644
> --- a/meta/recipes-core/dropbear/dropbear_2022.83.bb
> +++ b/meta/recipes-core/dropbear/dropbear_2024.84.bb
> @@ -21,10 +21,9 @@ SRC_URI = 
> "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
> file://dropbear.default \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', 
> '', d)} \
> ${@bb.utils.contains('PACKAGECONFIG', 'disable-weak-ciphers', 
> 'file://dropbear-disable-weak-ciphers.patch', '', d)} \
> -   file://CVE-2023-36328.patch \
> "
>  
> -SRC_URI[sha256sum] = 
> "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b"
> +SRC_URI[sha256sum] = 
> "16e22b66b333d6b7e504c43679d04ed6ca30f2838db40a21f935c850dfc01009"
>  
>  PAM_SRC_URI = "file://0005-dropbear-enable-pam.patch \
> file://0006-dropbear-configuration-file.patch \
> -- 
> 2.34.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 (#198070): 
https://lists.openembedded.org/g/openembedded-core/message/198070
Mute This Topic: https://lists.openembedded.org/mt/105417634/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH V2 1/2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-04-08 Thread Alexandre Belloni via lists.openembedded.org
On 08/04/2024 11:59:04+0200, Alexandre Belloni wrote:
> Since this merged, we have:
> 
> WARNING: ovmf-native-edk2-stable202308-r0 do_cve_check: edk2: Failed to 
> compare 202308 < svn_16280 for CVE-2014-8271

This is because the second patch wasn't merged

> 
> On 06/04/2024 12:41:28+0800, Chen Qi via lists.openembedded.org wrote:
> > From: Chen Qi 
> > 
> > Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the
> > version should be the date only. Here's an example:
> > https://nvd.nist.gov/vuln/detail/CVE-2023-45232
> > 
> > Signed-off-by: Chen Qi 
> > ---
> >  meta/recipes-core/ovmf/ovmf_git.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/meta/recipes-core/ovmf/ovmf_git.bb 
> > b/meta/recipes-core/ovmf/ovmf_git.bb
> > index 3dc031d3b6..5b1353b8e8 100644
> > --- a/meta/recipes-core/ovmf/ovmf_git.bb
> > +++ b/meta/recipes-core/ovmf/ovmf_git.bb
> > @@ -30,6 +30,9 @@ PV = "edk2-stable202308"
> >  SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e"
> >  UPSTREAM_CHECK_GITTAGREGEX = "(?Pedk2-stable.*)"
> >  
> > +CVE_PRODUCT = "edk2"
> > +CVE_VERSION = "${@d.getVar('PV').split('stable')[1]}"
> > +
> >  inherit deploy
> >  
> >  PARALLEL_MAKE = ""
> > -- 
> > 2.34.1
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

-- 
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 (#198007): 
https://lists.openembedded.org/g/openembedded-core/message/198007
Mute This Topic: https://lists.openembedded.org/mt/105362148/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH V2 1/2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-04-08 Thread Alexandre Belloni via lists.openembedded.org
Since this merged, we have:

WARNING: ovmf-native-edk2-stable202308-r0 do_cve_check: edk2: Failed to compare 
202308 < svn_16280 for CVE-2014-8271

On 06/04/2024 12:41:28+0800, Chen Qi via lists.openembedded.org wrote:
> From: Chen Qi 
> 
> Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the
> version should be the date only. Here's an example:
> https://nvd.nist.gov/vuln/detail/CVE-2023-45232
> 
> Signed-off-by: Chen Qi 
> ---
>  meta/recipes-core/ovmf/ovmf_git.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-core/ovmf/ovmf_git.bb 
> b/meta/recipes-core/ovmf/ovmf_git.bb
> index 3dc031d3b6..5b1353b8e8 100644
> --- a/meta/recipes-core/ovmf/ovmf_git.bb
> +++ b/meta/recipes-core/ovmf/ovmf_git.bb
> @@ -30,6 +30,9 @@ PV = "edk2-stable202308"
>  SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e"
>  UPSTREAM_CHECK_GITTAGREGEX = "(?Pedk2-stable.*)"
>  
> +CVE_PRODUCT = "edk2"
> +CVE_VERSION = "${@d.getVar('PV').split('stable')[1]}"
> +
>  inherit deploy
>  
>  PARALLEL_MAKE = ""
> -- 
> 2.34.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 (#198006): 
https://lists.openembedded.org/g/openembedded-core/message/198006
Mute This Topic: https://lists.openembedded.org/mt/105362148/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 v7 2/3] nfs-utils: Use upstream systemd service files

2024-04-07 Thread Alexandre Belloni via lists.openembedded.org
clean needed because the package comes with
> @@ -125,18 +121,11 @@ do_install:append () {
>   install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
>   install -m 0755 ${WORKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon
>  
> - install -m 0755 ${WORKDIR}/nfs-utils.conf ${D}${sysconfdir}
> - install -m 0755 ${S}/utils/mount/nfsmount.conf ${D}${sysconfdir}
> + install -m 0644 ${S}/nfs.conf ${D}${sysconfdir}
>  
>   install -d ${D}${systemd_system_unitdir}
> - install -m 0644 ${WORKDIR}/nfs-server.service 
> ${D}${systemd_system_unitdir}/
> - install -m 0644 ${WORKDIR}/nfs-mountd.service 
> ${D}${systemd_system_unitdir}/
> - install -m 0644 ${WORKDIR}/nfs-statd.service 
> ${D}${systemd_system_unitdir}/
> - install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount 
> ${D}${systemd_system_unitdir}/
> - sed -i -e 's,@SBINDIR@,${sbindir},g' \
> - -e 's,@SYSCONFDIR@,${sysconfdir},g' \
> - -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \
> - ${D}${systemd_system_unitdir}/*.service
> + # Retain historical service name so old scripts keep working
> + ln -s rpc-statd.service ${D}${systemd_system_unitdir}/nfs-statd.service
>   # Add compatibility symlinks for the sysvinit scripts
>   ln -s nfs-server.service ${D}${systemd_system_unitdir}/nfsserver.service
>   ln -s /dev/null ${D}${systemd_system_unitdir}/nfscommon.service
> -- 
> 2.41.0
> 

> 
> 
> 


-- 
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 (#198004): 
https://lists.openembedded.org/g/openembedded-core/message/198004
Mute This Topic: https://lists.openembedded.org/mt/105279024/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] shadow: install manpages

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

This causes the following warnings:

https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/8766/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/8739/steps/17/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/8787/steps/11/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/8787/steps/14/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/8849/steps/25/logs/warnings

WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: alternative target 
(/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1
 or 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1.shadow)
 does not exist, skipping...
WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: alternative target 
(/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1
 or 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1.shadow)
 does not exist, skipping...
WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: NOT adding alternative 
provide 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1:
 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1.shadow
 does not exist
WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: NOT adding alternative 
provide 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1:
 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1.shadow
 does not exist
WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: alt_link == alt_target: 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1
 == 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chfn.1
WARNING: nativesdk-shadow-4.14.2-r0 do_package: shadow: alt_link == alt_target: 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1
 == 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/share/man/man1/chsh.1

On 04/04/2024 16:18:23-0600, Dan McGregor wrote:
> From: Daniel McGregor 
> 
> Install the manpages for shadow, and also make the conflicting manpages
> alternatives in util-linux.
> 
> Signed-off-by: Daniel McGregor 
> ---
>  meta/recipes-core/util-linux/util-linux_2.39.3.bb | 3 +++
>  meta/recipes-extended/shadow/shadow.inc   | 8 
>  2 files changed, 11 insertions(+)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux_2.39.3.bb 
> b/meta/recipes-core/util-linux/util-linux_2.39.3.bb
> index 83b3f4e05b3..a3f9badbd97 100644
> --- a/meta/recipes-core/util-linux/util-linux_2.39.3.bb
> +++ b/meta/recipes-core/util-linux/util-linux_2.39.3.bb
> @@ -282,8 +282,11 @@ blkid.8 eject.1 findfs.8 fsck.8 kill.1 last.1 lastb.1 
> libblkid.3 logger.1 mesg.1
>  mountpoint.1 nologin.8 rfkill.8 sulogin.8 utmpdump.1 uuid.3 wall.1\
>  "
>  ALTERNATIVE:${PN}-doc += "${@bb.utils.contains('PACKAGECONFIG', 'pam', 
> 'su.1', '', d)}"
> +ALTERNATIVE:${PN}-doc += "${@bb.utils.contains('PACKAGECONFIG', 'chfn-chsh', 
> 'chfn.1 chsh.1', '', d)}"
>  
>  ALTERNATIVE_LINK_NAME[blkid.8] = "${mandir}/man8/blkid.8"
> +ALTERNATIVE_LINK_NAME[chfn.1] = "${mandir}/man1/chfn.1"
> +ALTERNATIVE_LINK_NAME[chsh.1] = "${mandir}/man1/chsh.1"
>  ALTERNATIVE_LINK_NAME[eject.1] = "${mandir}/man1/eject.1"
>  ALTERNATIVE_LINK_NAME[findfs.8] = "${mandir}/man8/findfs.8"
>  ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8"
> diff --git a/meta/recipes-extended/shadow/shadow.inc 
> b/meta/recipes-extended/shadow/shadow.inc
> index 40e6ab0b30e..0029d848bf1 100644
> --- a/meta/recipes-extended/shadow/shadow.inc
> +++ b/meta/recipes-extended/shadow/shadow.inc
> @@ -168,6 +168,10 @@ do_install:append:class-native() {
>  SYSROOT_DIRS:append:class-native = " ${STAGING_DIR_NATIVE}/lib-shadow-deps/"
>  INSANE_SKIP:${PN}:class-native = "already-stripped"
>  
> +do_install:append:class-target() {
> + oe_runmake -C ${B}/man DESTDIR="${D}" sbindir="${base_sbindir}" 
> usbindir="${sbindir}" install-man
> +}
> +
>  PACKAGES =+ "${PN}-base"
>  FILES:${PN}-base = "\
>  ${base_bindir}/login.shadow \
> @@ -193,6 +197,10 @@ ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw"
>  ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr"
>  ALTERNATIVE_LINK_NAME[nologin] = "${base_sbindir}/nologin"
>  
> +ALTERNATIVE:${PN}-doc = "chfn.1 chsh.1"
> +ALTERNATIVE_LIN

Re: [OE-core] [PATCH] util-linux: Set the license for util-linux-fcntl-lock to MIT

2024-04-04 Thread Alexandre Belloni via lists.openembedded.org
On 04/04/2024 17:25:52+, Peter Kjellerstedt wrote:
> > -Original Message-
> > From: Alexandre Belloni 
> > Sent: den 4 april 2024 01:45
> > To: Peter Kjellerstedt 
> > Cc: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH] util-linux: Set the license for 
> > util-linux-fcntl-lock to MIT
> > 
> > Hello,
> > 
> > This caused:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4604/steps/12/logs/stdio
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240403-u_hyp_wv/packages/diff-html/
> 
> Doesn't this type of breakage happen all the time for pure recipe 
> changes that affect the output if the PR server is not enabled?
> 
> > 
> > I guess we need to bump PR?
> 
> Given that RP removed all PR variables from the recipes in OE-Core (see 
> commit d4c346e8ab8f3cae25d1b01c7331ed9f6d4f96ef), I would expect that he 
> is not too keen to see them coming back...
> 

The plan is to take your patch as-is in master and if this causes reop
failures bump PR

> //Peter
> 
> > 
> > On 02/04/2024 06:56:54+0200, Peter Kjellerstedt wrote:
> > > This avoids problems if BSD-4-Clause is in INCOMPATIBLE_LICENSE since
> > > util-linux-fcntl-lock is now a dependency of run-postinsts.
> > >
> > > Signed-off-by: Peter Kjellerstedt 
> > > ---
> > >  meta/recipes-core/util-linux/util-linux.inc | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/meta/recipes-core/util-linux/util-linux.inc 
> > > b/meta/recipes-core/util-linux/util-linux.inc
> > > index f4b547215e..d506783f9a 100644
> > > --- a/meta/recipes-core/util-linux/util-linux.inc
> > > +++ b/meta/recipes-core/util-linux/util-linux.inc
> > > @@ -7,6 +7,7 @@ disk partitioning, kernel message management, filesystem 
> > > creation, and system lo
> > >  SECTION = "base"
> > >
> > >  LICENSE = "GPL-1.0-or-later & GPL-2.0-or-later & LGPL-2.1-or-later & 
> > > BSD-2-Clause & BSD-3-Clause & BSD-4-Clause & MIT"
> > > +LICENSE:${PN}-fcntl-lock = "MIT"
> > >  LICENSE:${PN}-fdisk = "GPL-1.0-or-later"
> > >  LICENSE:${PN}-libblkid = "LGPL-2.1-or-later"
> > >  LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later"
> 

-- 
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 (#197970): 
https://lists.openembedded.org/g/openembedded-core/message/197970
Mute This Topic: https://lists.openembedded.org/mt/105282531/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] util-linux: Set the license for util-linux-fcntl-lock to MIT

2024-04-03 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This caused:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4604/steps/12/logs/stdio
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240403-u_hyp_wv/packages/diff-html/

I guess we need to bump PR?

On 02/04/2024 06:56:54+0200, Peter Kjellerstedt wrote:
> This avoids problems if BSD-4-Clause is in INCOMPATIBLE_LICENSE since
> util-linux-fcntl-lock is now a dependency of run-postinsts.
> 
> Signed-off-by: Peter Kjellerstedt 
> ---
>  meta/recipes-core/util-linux/util-linux.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux.inc 
> b/meta/recipes-core/util-linux/util-linux.inc
> index f4b547215e..d506783f9a 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -7,6 +7,7 @@ disk partitioning, kernel message management, filesystem 
> creation, and system lo
>  SECTION = "base"
>  
>  LICENSE = "GPL-1.0-or-later & GPL-2.0-or-later & LGPL-2.1-or-later & 
> BSD-2-Clause & BSD-3-Clause & BSD-4-Clause & MIT"
> +LICENSE:${PN}-fcntl-lock = "MIT"
>  LICENSE:${PN}-fdisk = "GPL-1.0-or-later"
>  LICENSE:${PN}-libblkid = "LGPL-2.1-or-later"
>  LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later"

> 
> 
> 


-- 
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 (#197945): 
https://lists.openembedded.org/g/openembedded-core/message/197945
Mute This Topic: https://lists.openembedded.org/mt/105282531/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] vte: update 0.74.2 -> 0.76.0

2024-04-03 Thread Alexandre Belloni via lists.openembedded.org
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/8655/steps/12/logs/stdio

| configure: error: Package requirements (glib-2.0 gtk+-3.0 vte-2.91) were not 
met:
| 
| No package 'vte-2.91' found
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables MBTERM_CFLAGS
| and MBTERM_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| NOTE: The following config.log files may provide further information.
| NOTE: 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/build/config.log
| ERROR: configure failed
| WARNING: 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482:285
 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|   #1: bbfatal_log, 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482,
 line 285
|   #2: oe_runconf, 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482,
 line 261
|   #3: autotools_do_configure, 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482,
 line 231
|   #4: do_configure, 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482,
 line 151
|   #5: main, 
/home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/matchbox-terminal/0.2+git/temp/run.do_configure.1616482,
 line 289
NOTE: recipe matchbox-terminal-0.2+git-r0: task do_configure: Failed
ERROR: Task 
(/home/pokybuild/yocto-worker/qemux86-64-x32/build/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb:do_configure)
 failed with exit code '1'

On 31/03/2024 18:06:55+0200, Markus Volk wrote:
> - add missing lz4 dependency
> - add PACKAGECONFIG for gtk+3
> - if wayland and opengl are available, gtk4 will be used
> - for plain x11 it can be built with or without opengl depending on 
> DISTRO_FEATURE
> 
> Signed-off-by: Markus Volk 
> ---
>  meta/recipes-support/vte/{vte_0.74.2.bb => vte_0.76.0.bb} | 7 ---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>  rename meta/recipes-support/vte/{vte_0.74.2.bb => vte_0.76.0.bb} (87%)
> 
> diff --git a/meta/recipes-support/vte/vte_0.74.2.bb 
> b/meta/recipes-support/vte/vte_0.76.0.bb
> similarity index 87%
> rename from meta/recipes-support/vte/vte_0.74.2.bb
> rename to meta/recipes-support/vte/vte_0.76.0.bb
> index d8eafde2fb..701b7417e3 100644
> --- a/meta/recipes-support/vte/vte_0.74.2.bb
> +++ b/meta/recipes-support/vte/vte_0.76.0.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = " \
>  file://COPYING.XTERM;md5=d7fc3a23c16c039afafe2e042030f057 \
>  "
>  
> -DEPENDS = "glib-2.0 glib-2.0-native gtk+3 libpcre2 libxml2-native 
> gperf-native icu"
> +DEPENDS = "glib-2.0 glib-2.0-native lz4 libpcre2 libxml2-native gperf-native 
> icu"
>  
>  GIR_MESON_OPTION = 'gir'
>  GIDOCGEN_MESON_OPTION = "docs"
> @@ -19,7 +19,7 @@ GIDOCGEN_MESON_OPTION = "docs"
>  inherit gnomebase gi-docgen features_check upstream-version-is-even 
> gobject-introspection systemd vala
>  
>  SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
> -SRC_URI[archive.sha256sum] = 
> "a535fb2a98fea8a2449cd1a02cccf5190131dddff52e715afdace3feb536eae7"
> +SRC_URI[archive.sha256sum] = 
> "bbce30b8f504370b12d6439c07a82993e97d7e9afe2dd367817cd58ff029ffda"
>  
>  ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>  
> @@ -29,9 +29,10 @@ EXTRA_OEMESON:append = " 
> ${@bb.utils.contains('GI_DATA_ENABLED', 'False', '-Ddoc
>  PACKAGECONFIG ??= " \
>   gnutls \
>   ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'gtk4', 
> 'gtk3', d)} \
>  "
>  PACKAGECONFIG[fribidi] = "-Dfribidi=true,-Dfribidi=false,fribidi"
> +PACKAGECONFIG[gtk3] = "-Dgtk3=true,-Dgtk3=false,gtk+3"
>  PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4"
>  PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
>  PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
> -- 
> 2.44.0
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owne

Re: [OE-core][PATCH] iputils: splitting the ping6 as a package

2024-04-03 Thread Alexandre Belloni via lists.openembedded.org
/core2-32-poky-linux-musl/iputils/20240117/temp/run.do_install.685043,
 line 154
|   #2: main, 
/home/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/iputils/20240117/temp/run.do_install.685043,
 line 164
NOTE: recipe iputils-20240117-r0: task do_install: Failed
ERROR: Task 
(/home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-extended/iputils/iputils_20240117.bb:do_install)
 failed with exit code '1'

On 01/04/2024 16:10:02+0800, Xiangyu Chen wrote:
> From: Xiangyu Chen 
> 
> The iputils merged the ping4 and ping6 command into the ping since the
> commit ebad35fe[1], currently, iputils ping support being called using
> "ping -6" or "ping6" symlinks.
> 
> In oe-core, there are two packages provide ipv6 ping, inetutils and iputils,
> the inetutils-ping6 doesn't support "-I" option to bind the interface, that
> cause some of scripts(e.g. LTP test[2]) which was based on iputils-ping6 
> fails.
> 
> If someone or a package needs iputils-ping6, they can enable it in local.conf
> or add it into rdepends directly.
> 
> Ref:
> [1] https://github.com/iputils/iputils/commit/e3de851b809c7b72ccc654a72b6af61d
> [2] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/ \
> containers/netns/netns_comm.sh#L25
> 
> Signed-off-by: Xiangyu Chen 
> ---
>  meta/recipes-extended/iputils/iputils_20240117.bb | 13 -
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/iputils/iputils_20240117.bb 
> b/meta/recipes-extended/iputils/iputils_20240117.bb
> index 5a5e15528e..72a7aeb777 100644
> --- a/meta/recipes-extended/iputils/iputils_20240117.bb
> +++ b/meta/recipes-extended/iputils/iputils_20240117.bb
> @@ -35,7 +35,11 @@ ALTERNATIVE_PRIORITY = "100"
>  ALTERNATIVE:${PN}-ping = "ping"
>  ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping"
>  
> -SPLITPKGS = "${PN}-ping ${PN}-arping ${PN}-tracepath ${PN}-clockdiff"
> +ALTERNATIVE:${PN}-ping6 = "ping6"
> +ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6"
> +
> +SPLITPKGS = "${PN}-ping ${PN}-arping ${PN}-tracepath ${PN}-clockdiff \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '${PN}-ping6', 
> '', d)}"
>  PACKAGES += "${SPLITPKGS}"
>  
>  ALLOW_EMPTY:${PN} = "1"
> @@ -43,6 +47,13 @@ RDEPENDS:${PN} += "${SPLITPKGS}"
>  
>  FILES:${PN} = ""
>  FILES:${PN}-ping = "${base_bindir}/ping.${BPN}"
> +FILES:${PN}-ping6 = "${base_bindir}/ping6.${BPN}"
>  FILES:${PN}-arping = "${base_bindir}/arping"
>  FILES:${PN}-tracepath = "${base_bindir}/tracepath"
>  FILES:${PN}-clockdiff = "${base_bindir}/clockdiff"
> +
> +do_install:append() {
> + if ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'true', 'false', 
> d)}; then
> + ln -sf ping ${D}/${bindir}/ping6
> + fi
> +}
> -- 
> 2.35.5
> 

> 
> 
> 


-- 
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 (#197914): 
https://lists.openembedded.org/g/openembedded-core/message/197914
Mute This Topic: https://lists.openembedded.org/mt/105259616/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2 1/3] binutils-cross-canadian: add gprofng package as runtime dependency

2024-04-02 Thread Alexandre Belloni via lists.openembedded.org
I believe this causes these failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/8798/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/9202/steps/12/logs/stdio

On 29/03/2024 07:55:05-0700, Sadineni, Harish via lists.openembedded.org wrote:
> From: Harish Sadineni 
> 
> In SDK, while running "x86_64-poky-linux-gp-collect-app ./exe" fails to 
> create 'test.1.er' due to missing gprofng configure file in sysconfdir and 
> aborting with below error while generating the profiling data.
> - configuration error: can not find libgp-collector.so. run aborted
> 
> Signed-off-by: Harish Sadineni 
> ---
>  meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc 
> b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> index 62ebb3f5bc..7f2699089e 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> @@ -30,3 +30,4 @@ do_install () {
>  }
>  
>  BBCLASSEXTEND = ""
> +RDEPENDS:${PN} = "nativesdk-gprofng"
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#197882): 
https://lists.openembedded.org/g/openembedded-core/message/197882
Mute This Topic: https://lists.openembedded.org/mt/105216924/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 v5 1/3] nfs-utils: clean up startup

2024-03-31 Thread Alexandre Belloni via lists.openembedded.org
This still fails on the AB:

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/9115/steps/14/logs/stdio

On 28/03/2024 19:24:10-0600, Dan McGregor wrote:
> From: Daniel McGregor 
> 
> Change the sysvinit script to start at the S runlevel, this matches
> Debian, and prevents systemd from generating a unit file for it.
> Also have the nfsd systemd service request the nfsd kernel filesystem
> mountpoint. This avoids startup failures in unpriviled containers
> or other setups that don't support the filesystem.
> 
> Signed-off-by: Daniel McGregor 
> ---
>  meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon | 4 ++--
>  meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb  | 9 -
>  2 files changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon 
> b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
> index 992267d5a16..4c1ad17c3c6 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
> @@ -3,7 +3,7 @@
>  # Provides:  nfs-common
>  # Required-Start:$portmap hwclock
>  # Required-Stop: $portmap hwclock
> -# Default-Start: 2 3 4 5
> +# Default-Start: S
>  # Default-Stop:  0 1 6
>  # Short-Description: NFS support for both client and server
>  # Description:   NFS is a popular protocol for file sharing across
> @@ -20,7 +20,7 @@
>  . /etc/init.d/functions
>  
>  test -x "$NFS_STATD" || NFS_STATD=/usr/sbin/rpc.statd
> -test -z "$STATD_PID" && STATD_PID=/var/run/rpc.statd.pid
> +test -z "$STATD_PID" && STATD_PID=/run/rpc.statd.pid
>  #
>  # The default state directory is /var/lib/nfs
>  test -n "$NFS_STATEDIR" || NFS_STATEDIR=/var/lib/nfs
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb 
> b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
> index 2f2644f9a83..527fcd609c1 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
> @@ -132,15 +132,14 @@ do_install:append () {
>   install -m 0644 ${WORKDIR}/nfs-server.service 
> ${D}${systemd_system_unitdir}/
>   install -m 0644 ${WORKDIR}/nfs-mountd.service 
> ${D}${systemd_system_unitdir}/
>   install -m 0644 ${WORKDIR}/nfs-statd.service 
> ${D}${systemd_system_unitdir}/
> + install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount 
> ${D}${systemd_system_unitdir}/
>   sed -i -e 's,@SBINDIR@,${sbindir},g' \
>   -e 's,@SYSCONFDIR@,${sysconfdir},g' \
>   -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \
>   ${D}${systemd_system_unitdir}/*.service
> - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
> then
> - install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount 
> ${D}${systemd_system_unitdir}/
> - install -d ${D}${systemd_system_unitdir}/sysinit.target.wants/
> - ln -sf ../proc-fs-nfsd.mount 
> ${D}${systemd_system_unitdir}/sysinit.target.wants/proc-fs-nfsd.mount
> - fi
> + # Add compatibility symlinks for the sysvinit scripts
> + ln -s nfs-server.service ${D}${systemd_system_unitdir}/nfsserver.service
> + ln -s /dev/null ${D}${systemd_system_unitdir}/nfscommon.service
>  
>   # kernel code as of 3.8 hard-codes this path as a default
>   install -d ${D}/var/lib/nfs/v4recovery
> -- 
> 2.41.0
> 

> 
> 
> 


-- 
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 (#197669): 
https://lists.openembedded.org/g/openembedded-core/message/197669
Mute This Topic: https://lists.openembedded.org/mt/105209254/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/3] valgrind: Re-enable fixed test cases

2024-03-31 Thread Alexandre Belloni via lists.openembedded.org
On 30/03/2024 08:31:10+, Richard Purdie wrote:
> On Thu, 2024-03-28 at 22:50 -0700, Khem Raj wrote:
> > These tests have been fixed in prior to 3.22 release
> > 
> > Signed-off-by: Khem Raj 
> > ---
> >  meta/recipes-devtools/valgrind/valgrind_3.22.0.bb | 6 --
> >  1 file changed, 6 deletions(-)
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6452/steps/13/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6257/steps/13/logs/stdio
> 
> Failed ptests:
> {'valgrind': ['memcheck/tests/leak_cpp_interior', 
> 'drd/tests/pth_mutex_signal']}
> 
> so they're not fixed.
> 

Failed test details...
drd/tests/pth_mutex_signal.stderr.diff

--- pth_mutex_signal.stderr.exp
+++ pth_mutex_signal.stderr.out
@@ -2,14 +2,34 @@
 mutex initialized
 thread attributes initialized
 thread created
-sleeping
-signalling
-sleeping
-nullHandler running
-unlocking
-contender locked mutex
-contender unlocking mutex
-contender unlocked mutex
-joining thread
 
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+Process terminating with default action of signal 6 (SIGABRT)
+   at 0x: __pthread_kill_implementation (pthread_kill.c:?)
+   by 0x: raise (raise.c:?)
+   by 0x: abort (abort.c:?)
+   by 0x: __libc_message_impl.cold (libc_fatal.c:?)
+   by 0x: __libc_fatal (libc_fatal.c:?)
+   by 0x: futex_fatal_error (futex-internal.h:87)
+   by 0x: __futex_lock_pi64 (futex-internal.c:203)
+   by 0x: __pthread_mutex_lock_full (pthread_mutex_lock.c:?)
+   by 0x: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+   by 0x: contender_start (pth_mutex_signal.c:?)
+   by 0x: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+   by 0x: start_thread
+   by 0x: clone (in /...libc...)
+Thread 2:
+Destroying locked mutex: mutex 0x, recursion count 1, owner 1.
+   at 0x: __libc_write (write.c:?)
+   by 0x: write (write.c:?)
+   by 0x: _IO_file_write@@GLIBC_2.2.5 (fileops.c:?)
+   by 0x: new_do_write (fileops.c:?)
+   by 0x: _IO_new_file_xsputn (fileops.c:?)
+   by 0x: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:?)
+   by 0x: fwrite (iofwrite.c:?)
+   by 0x: main (pth_mutex_signal.c:?)
+mutex 0x was first observed at:
+   at 0x: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x: main (pth_mutex_signal.c:?)
+
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

Failed test details...
memcheck/tests/leak_cpp_interior.stderr.diff

--- leak_cpp_interior.stderr.exp
+++ leak_cpp_interior.stderr.out
@@ -1,4 +1,7 @@
 
+Conditional jump or move depends on uninitialised value(s)
+   ...
+
 valgrind output will go to log
 VALGRIND_DO_LEAK_CHECK
 x bytes in 1 blocks are definitely lost in loss record ... of ...
@@ -35,10 +38,10 @@
 LEAK SUMMARY:
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: x (-x) bytes in 5 (+1) blocks
-   still reachable: x (+x) bytes in 3 (-1) blocks
+ possibly lost: x (-x) bytes in 4 (+0) blocks
+   still reachable: x (+x) bytes in 4 (+0) blocks
   of which reachable via heuristic:
-newarray   : x (+x) bytes in 1 (+1) blocks
+newarray   : x (+x) bytes in 2 (+2) blocks
 multipleinheritance: 0 (-x) bytes in 0 (-2) blocks
 To see details of leaked memory, give 'full' arg to leak_check
 
@@ -46,11 +49,11 @@
 LEAK SUMMARY:
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: x (-x) bytes in 5 (+0) blocks
-   still reachable: x (+x) bytes in 3 (+0) blocks
+ possibly lost: x (+x) bytes in 5 (+1) blocks
+   still reachable: x (-x) bytes in 3 (-1) blocks
   of which reachable via heuristic:
 length64   : x (+x) bytes in 1 (+1) blocks
-newarray   : 0 (-x) bytes in 0 (-1) blocks
+newarray   : 0 (-x) bytes in 0 (-2) blocks
 To see details of leaked memory, give 'full' arg to leak_check
 
 leak_check summary heuristics stdstring
@@ -133,5 +136,6 @@
 
 All heap blocks were freed -- no leaks are possible
 
+Use --track-origins=yes to see where uninitialised values come from



-- 
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 (#197656): 
https://lists.openembedded.org/g/openembedded-core/message/197656
Mute This Topic: https://lists.openembedded.org/mt/105211846/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 31/34] spirv-tools: upgrade 1.3.275.0 -> 1.3.280.0

2024-03-27 Thread Alexandre Belloni via lists.openembedded.org
On 27/03/2024 11:34:42+, Jose Quaresma wrote:
> Hi Alexandre,
> 
> I see this is still on
> https://git.yoctoproject.org/poky-contrib/log/?h=abelloni/master-next but
> it should be dropped
> because it is included in the vulkan v2
> https://lists.openembedded.org/g/openembedded-core/message/197546
> 
> This spirv and glslang recipes should be updated in lockstep with vulkan as
> printed by AlexK on
> https://lists.openembedded.org/g/openembedded-core/message/197529

Note that I took the spirv patches only once there was the vulkan
update so it is not *still* there.
This is super frustrating because the vulkan upgrade commit changelog is
not a replacement for the spirv upgrade commit changelog.

> 
> Jose
> 
> 
> wangmy via lists.openembedded.org 
> escreveu (terça, 26/03/2024 à(s) 00:37):
> 
> > From: Wang Mingyu 
> >
> > Changelog:
> > ==
> > - Add tooling support for SPV_KHR_maximal_reconvergence
> > - Add support for SPV_KHR_float_controls2
> > - SPV_KHR_quad_control
> > - Fold 64-bit int operations
> > - update image enum tests to remove Kernel capability
> > - Support operand kind for SPV_INTEL_maximum_registers
> > - SPV_NV_shader_atomic_fp16_vector
> > - Support for SPV_QCOM_image_processing2 (#5582)
> > - Fix access chain struct checks
> >
> > Signed-off-by: Wang Mingyu 
> > ---
> >  .../spir/{spirv-tools_1.3.275.0.bb => spirv-tools_1.3.280.0.bb} | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >  rename meta/recipes-graphics/spir/{spirv-tools_1.3.275.0.bb =>
> > spirv-tools_1.3.280.0.bb} (96%)
> >
> > diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.275.0.bb
> > b/meta/recipes-graphics/spir/spirv-tools_1.3.280.0.bb
> > similarity index 96%
> > rename from meta/recipes-graphics/spir/spirv-tools_1.3.275.0.bb
> > rename to meta/recipes-graphics/spir/spirv-tools_1.3.280.0.bb
> > index 05c6de1b50..d2b6acf946 100644
> > --- a/meta/recipes-graphics/spir/spirv-tools_1.3.275.0.bb
> > +++ b/meta/recipes-graphics/spir/spirv-tools_1.3.280.0.bb
> > @@ -7,7 +7,7 @@ SECTION = "graphics"
> >  LICENSE  = "Apache-2.0"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> >
> > -SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc"
> > +SRCREV = "04896c462d9f3f504c99a4698605b6524af813c1"
> >  SRC_URI = "git://
> > github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https"
> >  PE = "1"
> >  # These recipes need to be updated in lockstep with each other:
> > --
> > 2.34.1
> >
> >
> > 
> >
> >
> 
> -- 
> Best regards,
> 
> José Quaresma

-- 
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 (#197556): 
https://lists.openembedded.org/g/openembedded-core/message/197556
Mute This Topic: https://lists.openembedded.org/mt/105150547/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 06/34] glib-networking: upgrade 2.78.1 -> 2.80.0

2024-03-26 Thread Alexandre Belloni via lists.openembedded.org
This causes ptest failures:

Failed ptests:
{'glib-networking': ['glib-networking/connection-gnutls.test',
 'glib-networking/file-database-gnutls.test']}

(/usr/libexec/installed-tests/glib-networking/file-database-gnutls:400): 
GLib-Net-WARNING **: 10:09:00.679: Failed to load TLS database: System trust 
contains zero trusted certificates; please investigate your GnuTLS configuration
FAIL: glib-networking/file-database-gnutls.test (Child process killed by signal 
5)
Running test: glib-networking/connection-gnutls.test

(/usr/libexec/installed-tests/glib-networking/connection-gnutls:402): 
GLib-Net-WARNING **: 10:09:00.693: Failed to load TLS database: System trust 
contains zero trusted certificates; please investigate your GnuTLS configuration
FAIL: glib-networking/connection-gnutls.test (Child process killed by signal 5)
Running test: glib-networking/certificate-gnutls.test

I guess the ptests need ca-certificates.


On 26/03/2024 08:34:24+0800, wangmy via lists.openembedded.org wrote:
> From: Wang Mingyu 
> 
> Changelog:
> ===
> - Mark plugin functions as exports on Windows
> - GnuTLS: fix improper use of IP address in SNI extension
> - GnuTLS: major performance improvement: reduce unnecessary trust list 
> creation
> - OpenSSL: properly handle BIO_CTRL_EOF
> - GnuTLS: Add warning when system has no trusted certificates
> - OpenSSL: Fix bug when populating trust store
> - Fix license on dtls-connection.c test
> - Updated translations
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../{glib-networking_2.78.1.bb => glib-networking_2.80.0.bb}| 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-core/glib-networking/{glib-networking_2.78.1.bb => 
> glib-networking_2.80.0.bb} (95%)
> 
> diff --git a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb 
> b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
> similarity index 95%
> rename from meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
> rename to meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
> index 5060d9fd7a..c8a1355548 100644
> --- a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
> +++ b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
> @@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
>  SECTION = "libs"
>  DEPENDS = "glib-2.0-native glib-2.0"
>  
> -SRC_URI[archive.sha256sum] = 
> "e48f2ddbb049832cbb09230529c5e45daca9f0df0eda325f832f7379859bf09f"
> +SRC_URI[archive.sha256sum] = 
> "d8f4f1aab213179ae3351617b59dab5de6bcc9e785021eee178998ebd4bb3acf"
>  
>  # Upstream note that for the openssl backend, half the tests where this 
> backend don't return
>  # the expected error code or don't work as expected so default to gnutls
> -- 
> 2.34.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 (#197535): 
https://lists.openembedded.org/g/openembedded-core/message/197535
Mute This Topic: https://lists.openembedded.org/mt/105150499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] wic: plugins source bootimage/isoimage rename to allow be imported

2024-03-25 Thread Alexandre Belloni via lists.openembedded.org
This breaks some selftests and meta-virtualization:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6573/steps/14/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/3005/steps/12/logs/stdio


On 23/03/2024 13:53:04-0600, Anibal Limon wrote:
> Python not support importing modules with - so change to _.
> 
> Signed-off-by: Anibal Limon 
> ---
>  .../source/{bootimg-biosplusefi.py => bootimg_biosplusefi.py} | 0
>  scripts/lib/wic/plugins/source/{bootimg-efi.py => bootimg_efi.py} | 0
>  .../plugins/source/{bootimg-partition.py => bootimg_partition.py} | 0
>  .../wic/plugins/source/{bootimg-pcbios.py => bootimg_pcbios.py}   | 0
>  .../source/{isoimage-isohybrid.py => isoimage_isohybrid.py}   | 0
>  5 files changed, 0 insertions(+), 0 deletions(-)
>  rename scripts/lib/wic/plugins/source/{bootimg-biosplusefi.py => 
> bootimg_biosplusefi.py} (100%)
>  rename scripts/lib/wic/plugins/source/{bootimg-efi.py => bootimg_efi.py} 
> (100%)
>  rename scripts/lib/wic/plugins/source/{bootimg-partition.py => 
> bootimg_partition.py} (100%)
>  rename scripts/lib/wic/plugins/source/{bootimg-pcbios.py => 
> bootimg_pcbios.py} (100%)
>  rename scripts/lib/wic/plugins/source/{isoimage-isohybrid.py => 
> isoimage_isohybrid.py} (100%)
> 
> diff --git a/scripts/lib/wic/plugins/source/bootimg-biosplusefi.py 
> b/scripts/lib/wic/plugins/source/bootimg_biosplusefi.py
> similarity index 100%
> rename from scripts/lib/wic/plugins/source/bootimg-biosplusefi.py
> rename to scripts/lib/wic/plugins/source/bootimg_biosplusefi.py
> diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py 
> b/scripts/lib/wic/plugins/source/bootimg_efi.py
> similarity index 100%
> rename from scripts/lib/wic/plugins/source/bootimg-efi.py
> rename to scripts/lib/wic/plugins/source/bootimg_efi.py
> diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py 
> b/scripts/lib/wic/plugins/source/bootimg_partition.py
> similarity index 100%
> rename from scripts/lib/wic/plugins/source/bootimg-partition.py
> rename to scripts/lib/wic/plugins/source/bootimg_partition.py
> diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py 
> b/scripts/lib/wic/plugins/source/bootimg_pcbios.py
> similarity index 100%
> rename from scripts/lib/wic/plugins/source/bootimg-pcbios.py
> rename to scripts/lib/wic/plugins/source/bootimg_pcbios.py
> diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py 
> b/scripts/lib/wic/plugins/source/isoimage_isohybrid.py
> similarity index 100%
> rename from scripts/lib/wic/plugins/source/isoimage-isohybrid.py
> rename to scripts/lib/wic/plugins/source/isoimage_isohybrid.py
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#197482): 
https://lists.openembedded.org/g/openembedded-core/message/197482
Mute This Topic: https://lists.openembedded.org/mt/105108998/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] musl: Update to latest tip of trunk

2024-03-23 Thread Alexandre Belloni via lists.openembedded.org
> diff --git 
> a/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch
>  
> b/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch
> index 59bfae5a27c..04630b32ee9 100644
> --- 
> a/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch
> +++ 
> b/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch
> @@ -1,4 +1,4 @@
> -From 3cce8716c6c3ae2e0c835caeac3780ec35090b2d Mon Sep 17 00:00:00 2001
> +From e27de983ef70257ca1fd7f5096eea41613612ecf Mon Sep 17 00:00:00 2001
>  From: Serhey Popovych 
>  Date: Tue, 11 Dec 2018 05:44:20 -0500
>  Subject: [PATCH 2/2] ldso: Use syslibdir and libdir as default pathes to
> @@ -36,10 +36,10 @@ index 466d9afd..d2f458fa 100644
>   
>   LDFLAGS_ALL = $(LDFLAGS_AUTO) $(LDFLAGS)
>  diff --git a/ldso/dynlink.c b/ldso/dynlink.c
> -index cc677952..b0e8815b 100644
> +index 324aa859..7d3ab44c 100644
>  --- a/ldso/dynlink.c
>  +++ b/ldso/dynlink.c
> -@@ -29,6 +29,8 @@
> +@@ -35,6 +35,8 @@ static size_t ldso_page_size;
>   #define realloc __libc_realloc
>   #define free __libc_free
>   
> @@ -48,7 +48,7 @@ index cc677952..b0e8815b 100644
>   static void error_impl(const char *, ...);
>   static void error_noop(const char *, ...);
>   static void (*error)(const char *, ...) = error_noop;
> -@@ -1097,7 +1099,7 @@ static struct dso *load_library(const char *name, 
> struct dso *needed_by)
> +@@ -1159,7 +1161,7 @@ static struct dso *load_library(const char *name, 
> struct dso *needed_by)
>   sys_path = "";
>   }
>   }
> @@ -58,5 +58,5 @@ index cc677952..b0e8815b 100644
>   }
>   pathname = buf;
>  -- 
> -2.37.2
> +2.43.0
>  
> diff --git 
> a/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch
>  
> b/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch
> deleted file mode 100644
> index 45d40cd5b46..000
> --- 
> a/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From 65b0ac0d998bf0f36924a7c27ed9e702b2a5a453 Mon Sep 17 00:00:00 2001
> -From: Violet Purcell 
> -Date: Sat, 4 Nov 2023 12:09:20 -0400
> -Subject: [PATCH] elf.h: add typedefs for Elf64_Relr and Elf32_Relr
> -
> -These were overlooked when DT_RELR was added in commit
> -d32dadd60efb9d3b255351a3b532f8e4c3dd0db1, potentially breaking
> -software that treats presence of the DT_RELR macro as implying they
> -exist.
> -
> -Upstream-Status: Backport [1.2.5]
> -
> -Signed-off-by: Zang Ruochen 
> -
> 
> - include/elf.h | 5 +
> - 1 file changed, 5 insertions(+)
> -
> -diff --git a/include/elf.h b/include/elf.h
> -index 23f2c4bc..72d17c3a 100644
>  a/include/elf.h
> -+++ b/include/elf.h
> -@@ -558,6 +558,11 @@ typedef struct {
> - 
> - 
> - 
> -+typedef Elf32_Word Elf32_Relr;
> -+typedef Elf64_Xword Elf64_Relr;
> -+
> -+
> -+
> - #define ELF32_R_SYM(val)((val) >> 8)
> - #define ELF32_R_TYPE(val)   ((val) & 0xff)
> - #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
> --- 
> -2.25.1
> -
> diff --git a/meta/recipes-core/musl/musl_git.bb 
> b/meta/recipes-core/musl/musl_git.bb
> index 324269a9687..fb2b188e010 100644
> --- a/meta/recipes-core/musl/musl_git.bb
> +++ b/meta/recipes-core/musl/musl_git.bb
> @@ -4,16 +4,15 @@
>  require musl.inc
>  inherit linuxloader
>  
> -SRCREV = "79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30"
> +SRCREV = "cf91e9b3937dc354b702c8ac1b6135bd818154ba"
>  
>  BASEVER = "1.2.4"
>  
>  PV = "${BASEVER}+git"
>  
> -SRC_URI = "git://git.etalabs.net/git/musl;branch=master;protocol=https \
> +SRC_URI = "git://git.musl-libc.org/musl;branch=master \
> file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
> 
> file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
> -   
> file://0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch \
>"
>  
>  S = "${WORKDIR}/git"
> -- 
> 2.43.2
> 

> 
> 
> 


-- 
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 (#197472): 
https://lists.openembedded.org/g/openembedded-core/message/197472
Mute This Topic: https://lists.openembedded.org/mt/104376684/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 v4 0/3] pkg-database and systemd-sysext image

2024-03-23 Thread Alexandre Belloni via lists.openembedded.org


Hello,

The series causes failures on the autobuilders:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6548/steps/14/logs/stdio


2024-03-21 21:05:49,848 - oe-selftest - INFO - 6: 20/46 500/587 (137.73s) (0 
failed) (imagefeatures.ImageFeatures.test_image_gen_pkgdbfs)
2024-03-21 21:05:49,848 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/imagefeatures.py",
 line 327, in test_image_gen_pkgdbfs
self.assertTrue(os.path.exists(os.path.join(img_vars['DEPLOY_DIR_IMAGE'], 
'var/lib/opkg/status')), 'opkg\'s status file was not present in: %s' % 
tar_file)
  File "/usr/lib64/python3.9/unittest/case.py", line 688, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true : opkg's status file was not present in: 
/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3332915/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs-pkgdb.tar.gz


On 04/03/2024 07:15:50+0100, Johannes Schneider via lists.openembedded.org 
wrote:
> systemd-sysext allows to overlay another image (or multiple) ontop of
> a "base-image" = the current rootfs, via the use of overlayfs; to add
> tools and features meant for development purposes.
> 
> To quote the documentation on systemd-sysext:
> " ...addition in order to make debugging/development easier). System
> extension images should not be misunderstood as a generic software
> packaging framework, ..."
> 
> To build a lean image, that only holds packages that are not already
> part of the base-image, a snapshot of the package-database is taken
> after the installation of the base-rootfs is done, and picked up again
> when collecting the rootfs of such a extension image.
> 
> with all this in place an example usage could look like this:
> some-core-image.bb
>   inherit core-image
>   IMAGE_GEN_PKGDBFS = "1"
> 
> extending-image.bb
>   inherit image-sysext
>   IMAGE_FSTYPES = "squashfs"
>   IMAGE_BASE_PKGDB = "some-core-image"
>   # the above pointing at a package-db similar to:
>   # 
> build/deploy/images/$MACHINE/some-core-image-$MACHINE-20240210172305-pkgdb.rootfs.tar.gz
> 
> then on the device, running some-core-image, with the extension image placed 
> at FN:
> $> ln -s "$FN" /run/extensions/$(basename $FN).raw
> $> systemd-sysext list
> $> SYSTEMD_LOG_LEVEL=debug systemd-sysext merge
> 
> As long as the VERSION_ID of the extension image matches the os-release
> in the base image, the above commands return sucessfully;
> for details on the compativility check see the docs for systemd-sysext.
> 
> =
> 
> changes with v2:
> rebase from 'kirkstone' onto 'master'
> 
> changes with v3;
>   incorporate review suggestions for simplification
>   add task dependency handling
>   add oe-selftest for the pkgdb handling
>   add variable documentation and
>   some more comments, and examples in the commit-msg
> 
> changes with v4;
>   rebase onto 'master' => no functional changes
>   fixed patchtest findings

> 
> 
> 


-- 
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 (#197452): 
https://lists.openembedded.org/g/openembedded-core/message/197452
Mute This Topic: https://lists.openembedded.org/mt/104717642/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] riscv: libcamera stack smashing detected

2024-03-21 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This report should have gone to the openembedded-devel mailing list as
libcamera is in meta-oe. But I guess Khem will have a look anyway.


On 20/03/2024 09:10:05-0700, Joel Winarske wrote:
> In master there is a problem running the libcamera "cam" app on a RISC-V
> device:
> 
> *** stack smashing detected ***: terminated
> 
> If I remove the patches in the libcamera recipe, it builds and runs on
> target without issue.
> 
> libcamera bug has the details:
> https://bugs.libcamera.org/show_bug.cgi?id=214
> 
> Joel

> 
> 
> 


-- 
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 (#197431): 
https://lists.openembedded.org/g/openembedded-core/message/197431
Mute This Topic: https://lists.openembedded.org/mt/105047726/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] toolchain-shar-relocate.sh: Add check for missing command 'file'

2024-03-21 Thread Alexandre Belloni via lists.openembedded.org
Hello Tom,

On 16/03/2024 12:35:58-0500, Tom Hochstein wrote:
> On a machine without the file command, the SDK install fails with a
> cryptic error message.
> 
> ```
> xargs: file: No such file or directory
> sed: no input files
> Failed to replace perl. Relocate script failed. Abort!
> ```
> 
> Add a test for 'file' to print a clear error message.
> 
> ```
> The command 'file' is required by the relocation script, please install it 
> first. Abort!
> ```
> 
> Signed-off-by: Tom Hochstein 
> ---
>  meta/files/toolchain-shar-relocate.sh | 10 ++
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/files/toolchain-shar-relocate.sh 
> b/meta/files/toolchain-shar-relocate.sh
> index e8ab357717..3d55e38102 100644
> --- a/meta/files/toolchain-shar-relocate.sh
> +++ b/meta/files/toolchain-shar-relocate.sh
> @@ -1,7 +1,9 @@
> -if ! xargs --version > /dev/null 2>&1; then
> - echo "xargs is required by the relocation script, please install it 
> first. Abort!"
> - exit 1
> -fi
> +for cmd in xargs file; do
> + if ! command -v $cmd &> /dev/null; then

This fails on some of our builders:
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/9148/steps/12/logs/stdio

> + echo "The command '$cmd' is required by the relocation script, 
> please install it first. Abort!"
> + exit 1
> + fi
> +done
>  
>  # fix dynamic loader paths in all ELF SDK binaries
>  # allow symlinks to be accessed via the find command too
> -- 
> 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 (#197414): 
https://lists.openembedded.org/g/openembedded-core/message/197414
Mute This Topic: https://lists.openembedded.org/mt/104970783/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 23/36] python3-maturin: upgrade 1.4.0 -> 1.5.0

2024-03-19 Thread Alexandre Belloni via lists.openembedded.org
On 13/03/2024 15:08:21+0800, wangmy via lists.openembedded.org wrote:
> From: Wang Mingyu 
> 
> Changelog:
>  Fix the format_name property and move it from the ArchiveEntry class to the 
> ArchiveRead class
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../{python3-maturin_1.4.0.bb => python3-maturin_1.5.0.bb}  | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-maturin_1.4.0.bb => 
> python3-maturin_1.5.0.bb} (92%)
> 
> diff --git a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb 
> b/meta/recipes-devtools/python/python3-maturin_1.5.0.bb
> similarity index 92%
> rename from meta/recipes-devtools/python/python3-maturin_1.4.0.bb
> rename to meta/recipes-devtools/python/python3-maturin_1.5.0.bb
> index ed19ee647a..e80a45f0bc 100644
> --- a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb
> +++ b/meta/recipes-devtools/python/python3-maturin_1.5.0.bb
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
> "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \
>  file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
>  
>  SRC_URI += "file://0001-Add-32-bit-RISC-V-support.patch"

ERROR: python3-maturin-native-1.5.0-r0 do_patch: Applying patch 
'0001-Add-32-bit-RISC-V-support.patch' on target directory 
'/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/x86_64-linux/python3-maturin-native/1.5.0/maturin-1.5.0'
CmdError('quilt --quiltrc 
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleA/tmp/work/x86_64-linux/python3-maturin-native/1.5.0/recipe-sysroot-native/etc/quiltrc
 push', 0, 'stdout: Applying patch 0001-Add-32-bit-RISC-V-support.patch


> -SRC_URI[sha256sum] = 
> "ed12e1768094a7adeafc3a74ebdb8dc2201fa64c4e7e31f14cfc70378bf93790"
> +SRC_URI[sha256sum] = 
> "e046ea2aed687991d58c42f6276dfcc0c037092934654f538b5877fd57dd3a9c"
>  
>  S = "${WORKDIR}/maturin-${PV}"
>  
> -- 
> 2.34.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 (#197317): 
https://lists.openembedded.org/g/openembedded-core/message/197317
Mute This Topic: https://lists.openembedded.org/mt/104900971/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/7, v3] openssh: replace complete configuration files by patch

2024-03-16 Thread Alexandre Belloni via lists.openembedded.org
sh/sshd_config
> deleted file mode 100644
> index e9eaf9315775..
> --- a/meta/recipes-connectivity/openssh/openssh/sshd_config
> +++ /dev/null
> @@ -1,119 +0,0 @@
> -#$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $
> -
> -# This is the sshd server system-wide configuration file.  See
> -# sshd_config(5) for more information.
> -
> -# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
> -
> -# The strategy used for options in the default sshd_config shipped with
> -# OpenSSH is to specify options with their default value where
> -# possible, but leave them commented.  Uncommented options override the
> -# default value.
> -
> -Include /etc/ssh/sshd_config.d/*.conf
> -
> -#Port 22
> -#AddressFamily any
> -#ListenAddress 0.0.0.0
> -#ListenAddress ::
> -
> -#HostKey /etc/ssh/ssh_host_rsa_key
> -#HostKey /etc/ssh/ssh_host_ecdsa_key
> -#HostKey /etc/ssh/ssh_host_ed25519_key
> -
> -# Ciphers and keying
> -#RekeyLimit default none
> -
> -# Logging
> -#SyslogFacility AUTH
> -#LogLevel INFO
> -
> -# Authentication:
> -
> -#LoginGraceTime 2m
> -#PermitRootLogin prohibit-password
> -#StrictModes yes
> -#MaxAuthTries 6
> -#MaxSessions 10
> -
> -#PubkeyAuthentication yes
> -
> -# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
> -# but this is overridden so installations will only check 
> .ssh/authorized_keys
> -AuthorizedKeysFile   .ssh/authorized_keys
> -
> -#AuthorizedPrincipalsFile none
> -
> -#AuthorizedKeysCommand none
> -#AuthorizedKeysCommandUser nobody
> -
> -# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
> -#HostbasedAuthentication no
> -# Change to yes if you don't trust ~/.ssh/known_hosts for
> -# HostbasedAuthentication
> -#IgnoreUserKnownHosts no
> -# Don't read the user's ~/.rhosts and ~/.shosts files
> -#IgnoreRhosts yes
> -
> -# To disable tunneled clear text passwords, change to no here!
> -#PasswordAuthentication yes
> -#PermitEmptyPasswords no
> -
> -# Change to yes to enable keyboard-interactive authentication (beware issues
> -# with some PAM modules and threads)
> -KbdInteractiveAuthentication no
> -
> -# Kerberos options
> -#KerberosAuthentication no
> -#KerberosOrLocalPasswd yes
> -#KerberosTicketCleanup yes
> -#KerberosGetAFSToken no
> -
> -# GSSAPI options
> -#GSSAPIAuthentication no
> -#GSSAPICleanupCredentials yes
> -
> -# Set this to 'yes' to enable PAM authentication, account processing,
> -# and session processing. If this is enabled, PAM authentication will
> -# be allowed through the KbdInteractiveAuthentication and
> -# PasswordAuthentication.  Depending on your PAM configuration,
> -# PAM authentication via KbdInteractiveAuthentication may bypass
> -# the setting of "PermitRootLogin without-password".
> -# If you just want the PAM account and session checks to run without
> -# PAM authentication, then enable this but set PasswordAuthentication
> -# and KbdInteractiveAuthentication to 'no'.
> -#UsePAM no
> -
> -#AllowAgentForwarding yes
> -#AllowTcpForwarding yes
> -#GatewayPorts no
> -#X11Forwarding no
> -#X11DisplayOffset 10
> -#X11UseLocalhost yes
> -#PermitTTY yes
> -#PrintMotd yes
> -#PrintLastLog yes
> -#TCPKeepAlive yes
> -#PermitUserEnvironment no
> -Compression no
> -ClientAliveInterval 15
> -ClientAliveCountMax 4
> -#UseDNS no
> -#PidFile /var/run/sshd.pid
> -#MaxStartups 10:30:100
> -#PermitTunnel no
> -#ChrootDirectory none
> -#VersionAddendum none
> -
> -# no default banner path
> -#Banner none
> -
> -# override default of no subsystems
> -Subsystemsftp/usr/libexec/sftp-server
> -
> -# Example of overriding settings on a per-user basis
> -#Match User anoncvs
> -#X11Forwarding no
> -#AllowTcpForwarding no
> -#PermitTTY no
> -#ForceCommand cvs server
> diff --git a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb 
> b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
> index edd8e8c2d18f..d500ca6019fe 100644
> --- a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
> +++ b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
> @@ -12,8 +12,6 @@ DEPENDS = "zlib openssl virtual/crypt"
>  DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>  
>  SRC_URI = 
> "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
> -   file://sshd_config \
> -   file://ssh_config \
> file://init \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', 
> '', d)} \
> file://sshd.service \
> @@ -23,6 +21,7 @@ 

Re: [OE-core] [PATCH] glibc: Fix conflict error when enbale multilib on aarch64.

2024-03-11 Thread Alexandre Belloni via lists.openembedded.org
https://lore.kernel.org/all/b023614f7765fc003a4aa854440c0b66d200d27b.ca...@linuxfoundation.org/

On 07/03/2024 16:22:32-0800, leimaohui via lists.openembedded.org wrote:
> Ping 
> 
> 
> 
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org
> >  On Behalf Of Khem Raj
> > Sent: Monday, February 26, 2024 2:19 PM
> > To: Lei, Maohui 
> > Cc: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH] glibc: Fix conflict error when enbale 
> > multilib on
> > aarch64.
> > 
> > lgtm.
> > 
> > On Sun, Feb 25, 2024 at 9:32 PM leimaohui via lists.openembedded.org
> >  wrote:
> > >
> > > From: Lei Maohui 
> > >
> > > Error: Transaction test error:
> > >   file /usr/include/finclude/math-vector-fortran.h from install of
> > > lib32-libc6-dev-2.39+git0+312e159626-r0.armv7ahf_neon conflicts with
> > > file from package libc6-dev-2.39+git0+312e159626-r0.aarch64
> > >
> > > The difference of math-vector-fortran.h between 32bit and 64bit is as
> > > the following:
> > >
> > > ---
> > tmp/work/aarch64-linux/glibc/2.39+git/image/usr/include/finclude/math-vecto
> > r-fortran.h2024-02-26 03:41:59.56000 +
> > > +++ tmp/work/armv7ahf-neon-xmllib32-linux-gnueabi/lib32-glibc/2.39+git
> > > +++ /image/usr/include/finclude/math-vector-fortran.h 2024-02-26
> > > +++ 02:22:28.59200 +
> > > @@ -15,33 +15,5 @@
> > >  !   You should have received a copy of the GNU Lesser General Public
> > >  !   License along with the GNU C Library; if not, see
> > >  !   <https://www.gnu.org/licenses/>.
> > > -!GCC$ builtin (acos) attributes simd (notinbranch) -!GCC$ builtin
> > > (acosf) attributes simd (notinbranch) -!GCC$ builtin (asin) attributes
> > > simd (notinbranch) -!GCC$ builtin (asinf) attributes simd
> > > (notinbranch) -!GCC$ builtin (atan) attributes simd (notinbranch)
> > > -!GCC$ builtin (atanf) attributes simd (notinbranch) -!GCC$ builtin
> > > (atan2) attributes simd (notinbranch) -!GCC$ builtin (atan2f)
> > > attributes simd (notinbranch) -!GCC$ builtin (cos) attributes simd
> > > (notinbranch) -!GCC$ builtin (cosf) attributes simd (notinbranch)
> > > -!GCC$ builtin (exp) attributes simd (notinbranch) -!GCC$ builtin
> > > (expf) attributes simd (notinbranch) -!GCC$ builtin (exp10) attributes
> > > simd (notinbranch) -!GCC$ builtin (exp10f) attributes simd
> > > (notinbranch) -!GCC$ builtin (exp2) attributes simd (notinbranch)
> > > -!GCC$ builtin (exp2f) attributes simd (notinbranch) -!GCC$ builtin
> > > (expm1) attributes simd (notinbranch) -!GCC$ builtin (expm1f)
> > > attributes simd (notinbranch) -!GCC$ builtin (log) attributes simd
> > > (notinbranch) -!GCC$ builtin (logf) attributes simd (notinbranch)
> > > -!GCC$ builtin (log10) attributes simd (notinbranch) -!GCC$ builtin
> > > (log10f) attributes simd (notinbranch) -!GCC$ builtin (log1p)
> > > attributes simd (notinbranch) -!GCC$ builtin (log1pf) attributes simd
> > > (notinbranch) -!GCC$ builtin (log2) attributes simd (notinbranch)
> > > -!GCC$ builtin (log2f) attributes simd (notinbranch) -!GCC$ builtin
> > > (sin) attributes simd (notinbranch) -!GCC$ builtin (sinf) attributes
> > > simd (notinbranch) -!GCC$ builtin (tan) attributes simd (notinbranch)
> > > -!GCC$ builtin (tanf) attributes simd (notinbranch)
> > > +
> > > +! No SIMD math functions are available for this platform.
> > >
> > > Signed-off-by: Lei Maohui 
> > > ---
> > >  meta/recipes-core/glibc/glibc-package.inc | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/meta/recipes-core/glibc/glibc-package.inc
> > > b/meta/recipes-core/glibc/glibc-package.inc
> > > index 1ef987be0a..19eb7afa81 100644
> > > --- a/meta/recipes-core/glibc/glibc-package.inc
> > > +++ b/meta/recipes-core/glibc/glibc-package.inc
> > > @@ -167,6 +167,7 @@ do_install_armmultilib () {
> > > oe_multilib_header fpu_control.h gnu/lib-names.h gnu/stubs.h
> > > ieee754.h
> > >
> > > oe_multilib_header sys/elf.h sys/procfs.h sys/ptrace.h
> > > sys/ucontext.h sys/user.h
> > > +   oe_multilib_header finclude/math-vector-fortran.h
> > >  }
> > >
> > >
> > > --
> > > 2.34.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 (#196966): 
https://lists.openembedded.org/g/openembedded-core/message/196966
Mute This Topic: https://lists.openembedded.org/mt/104577604/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] Patchtest results for [PATCH 2/5] meta/lib/bblayers/buildconf.py: add support for configuration summaries

2024-02-16 Thread Alexandre Belloni via lists.openembedded.org
On 16/02/2024 09:26:18-0500, Trevor Gamblin wrote:
> 
> On 2024-02-16 08:57, Patchtest wrote:
> > Thank you for your submission. Patchtest identified one
> > or more issues with the patch. Please see the log below for
> > more information:
> Alright, so it's still not working properly. Short of changing the subject
> line, I'm not sure what else can be done on our end, unless there's a
> problem with the mailer itself - but that should show up in the headers if
> that's the case.

It is threaded properly for me.

> > 
> > ---
> > Testing patch 
> > /home/patchtest/share/mboxes/2-5-meta-lib-bblayers-buildconf.py-add-support-for-configuration-summaries.patch
> > 
> > FAIL: test commit message presence: Please include a commit message on your 
> > patch explaining the change 
> > (test_mbox.TestMbox.test_commit_message_presence)
> > 
> > PASS: pretest pylint (test_python_pylint.PyLint.pretest_pylint)
> > PASS: test Signed-off-by presence 
> > (test_mbox.TestMbox.test_signed_off_by_presence)
> > PASS: test author valid (test_mbox.TestMbox.test_author_valid)
> > PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
> > PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
> > PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
> > PASS: test pylint (test_python_pylint.PyLint.test_pylint)
> > PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
> > PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
> > 
> > SKIP: pretest src uri left files: No modified recipes, skipping pretest 
> > (test_metadata.TestMetadata.pretest_src_uri_left_files)
> > SKIP: test CVE check ignore: No modified recipes, skipping test 
> > (test_metadata.TestMetadata.test_cve_check_ignore)
> > SKIP: test CVE tag format: No new CVE patches introduced 
> > (test_patch.TestPatch.test_cve_tag_format)
> > SKIP: test Signed-off-by presence: No new CVE patches introduced 
> > (test_patch.TestPatch.test_signed_off_by_presence)
> > SKIP: test Upstream-Status presence: No new CVE patches introduced 
> > (test_patch.TestPatch.test_upstream_status_presence_format)
> > SKIP: test bugzilla entry format: No bug ID found 
> > (test_mbox.TestMbox.test_bugzilla_entry_format)
> > SKIP: test lic files chksum modified not mentioned: No modified recipes, 
> > skipping test 
> > (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
> > SKIP: test lic files chksum presence: No added recipes, skipping test 
> > (test_metadata.TestMetadata.test_lic_files_chksum_presence)
> > SKIP: test license presence: No added recipes, skipping test 
> > (test_metadata.TestMetadata.test_license_presence)
> > SKIP: test series merge on head: Merge test is disabled for now 
> > (test_mbox.TestMbox.test_series_merge_on_head)
> > SKIP: test src uri left files: No modified recipes, skipping pretest 
> > (test_metadata.TestMetadata.test_src_uri_left_files)
> > SKIP: test summary presence: No added recipes, skipping test 
> > (test_metadata.TestMetadata.test_summary_presence)
> > SKIP: test target mailing list: Series merged, no reason to check other 
> > mailing lists (test_mbox.TestMbox.test_target_mailing_list)
> > 
> > ---
> > 
> > Please address the issues identified and
> > submit a new revision of the patch, or alternatively, reply to this
> > email with an explanation of why the patch should be accepted. If you
> > believe these results are due to an error in patchtest, please submit a
> > bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
> > under 'Yocto Project Subprojects'). For more information on specific
> > failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
> > you!
> > 
> > 
> > 

> 
> 
> 


-- 
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 (#195810): 
https://lists.openembedded.org/g/openembedded-core/message/195810
Mute This Topic: https://lists.openembedded.org/mt/104392578/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 00/11] linux-yocto: consolidated pull request

2024-01-26 Thread Alexandre Belloni via lists.openembedded.org
Hello Bruce,

I'm not sur this has been reported yet, we are seeing those warnings for
beaglebone:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/8541/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7446/steps/12/logs/stdio



On 19/01/2024 16:14:08-0500, Bruce Ashfield wrote:
> From: Bruce Ashfield 
> 
> Richard,
> 
> Here's the colllected -stable updates for 6.6 and 6.1. This will probably be
> the last round of 6.1 updates for master, since I'll drop it shortly in
> preparation for the release. 6.1 will of course continue to be updated in
> linux-yocto and in older releases.
> 
> I've also reenabled my CVE update script, if any of those commits don't look
> right, feel free to toss them out.
> 
> Cheers,
> 
> Bruce
> 
> The following changes since commit 7af374c90c349af2c7ae9cf7d4fa14eeeb23b108:
> 
>   build-appliance-image: Update to master head revision (2024-01-19 12:22:58 
> +)
> 
> are available in the Git repository at:
> 
>   https://git.yoctoproject.org/poky-contrib zedd/kernel
>   https://git.yoctoproject.org/poky-contrib/log/?h=zedd/kernel
> 
> Bruce Ashfield (11):
>   linux-yocto/6.6: update to v6.6.11
>   linux-yocto/6.6: update CVE exclusions
>   linux-yocto/6.1: update to v6.1.72
>   linux-yocto/6.1: update CVE exclusions
>   linux-yocto/6.6: cfg: arm: introduce page size fragments
>   linux-yocto/6.6: security/cfg: add configs to harden protection
>   linux-yocto/6.1: security/cfg: add configs to harden protection
>   linux-yocto/6.6: update to v6.6.12
>   linux-yocto/6.6: update CVE exclusions
>   linux-yocto/6.1: update to v6.1.73
>   linux-yocto/6.1: update CVE exclusions
> 
>  .../linux/cve-exclusion_6.1.inc   | 34 +++
>  .../linux/cve-exclusion_6.6.inc   | 30 +---
>  .../linux/linux-yocto-rt_6.1.bb   |  6 ++--
>  .../linux/linux-yocto-rt_6.6.bb   |  6 ++--
>  .../linux/linux-yocto-tiny_6.1.bb |  6 ++--
>  .../linux/linux-yocto-tiny_6.6.bb |  6 ++--
>  meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 28 +++
>  meta/recipes-kernel/linux/linux-yocto_6.6.bb  | 28 +++
>  8 files changed, 92 insertions(+), 52 deletions(-)
> 
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#194396): 
https://lists.openembedded.org/g/openembedded-core/message/194396
Mute This Topic: https://lists.openembedded.org/mt/103839206/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 v1] wic: implement reproducible Disk GUID

2024-01-26 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This causes oe-selftest failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6342/steps/15/logs/stdio

2024-01-25 02:21:53,130 - oe-selftest - INFO - RESULTS - 
runqemu.RunqemuTests.test_boot_machine_slirp_qcow2: ERROR (1028.13s)
2024-01-25 02:21:53,131 - oe-selftest - INFO - RESULTS - 
runqemu.RunqemuTests.test_boot_recipe_image_vdi: ERROR (1031.11s)
2024-01-25 02:21:53,131 - oe-selftest - INFO - RESULTS - 
runqemu.RunqemuTests.test_boot_recipe_image_vmdk: ERROR (1075.13s)
2024-01-25 02:21:53,131 - oe-selftest - INFO - RESULTS - 
wic.Wic2.test_biosplusefi_plugin_qemu: ERROR (1037.31s)
2024-01-25 02:21:53,131 - oe-selftest - INFO - RESULTS - 
wic.Wic2.test_efi_plugin_unified_kernel_image_qemu: ERROR (1953.51s)
2024-01-25 02:21:53,131 - oe-selftest - INFO - RESULTS - 
wic.Wic2.test_rawcopy_plugin_qemu: ERROR (1187.55s)

On 22/01/2024 17:55:21+0530, Adithya Balakumar wrote:
> From: Adithya Balakumar 
> 
> GPT based disks have a disk guid apart from the 32-bit disk identifier.
> This commit implements reproducible disk guid by using SOURCE_DATE_EPOCH (if 
> available) value as a random seed
> 
> Signed-off-by: Adithya Balakumar 
> ---
>  scripts/lib/wic/plugins/imager/direct.py | 16 
>  1 file changed, 16 insertions(+)
> 
> diff --git a/scripts/lib/wic/plugins/imager/direct.py 
> b/scripts/lib/wic/plugins/imager/direct.py
> index 9b619e41c1..d0f8481c2e 100644
> --- a/scripts/lib/wic/plugins/imager/direct.py
> +++ b/scripts/lib/wic/plugins/imager/direct.py
> @@ -530,6 +530,21 @@ class PartitionedImage():
>  exec_native_cmd("parted -s %s mklabel %s" % (device, ptable_format),
>  self.native_sysroot)
>  
> +def _write_disk_guid(self):
> +if os.getenv('SOURCE_DATE_EPOCH'):
> +if self.ptable_format in ('gpt', 'gpt-hybrid'):
> +self.disk_guid = 
> uuid.UUID(int=int(os.getenv('SOURCE_DATE_EPOCH')))
> +elif self.ptable_format == "msdos":
> +self.disk_guid = '0x' + 
> str(uuid.UUID(int=int(os.getenv('SOURCE_DATE_EPOCH'))).int & 0x)[:8]
> +else:
> +if self.ptable_format in ('gpt', 'gpt-hybrid'):
> +self.disk_guid = uuid.uuid4()
> +elif self.ptable_format == "msdos":
> +self.disk_guid = '0x' + str(uuid.uuid4())[:8]
> +
> +logger.debug("Set disk guid %s", self.disk_guid)
> +sfdisk_cmd = "sfdisk --disk-id %s %s" % (self.path, self.disk_guid)
> +exec_native_cmd(sfdisk_cmd, self.native_sysroot)
>  
>  def create(self):
>  self._make_disk(self.path,
> @@ -537,6 +552,7 @@ class PartitionedImage():
>  self.min_size)
>  
>  self._write_identifier(self.path, self.identifier)
> +self._write_disk_guid()
>  
>  if self.ptable_format == "gpt-hybrid":
>  mbr_path = self.path + ".mbr"
> -- 
> 2.39.2
> 
> 

> 
> 
> 


-- 
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 (#194384): 
https://lists.openembedded.org/g/openembedded-core/message/194384
Mute This Topic: https://lists.openembedded.org/mt/103884949/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] binutils: Add patch to fix CVE-2023-25584

2024-01-23 Thread Alexandre Belloni via lists.openembedded.org
 break;
> + 
> + case DST__K_SET_PC_L:
> +   _bfd_error_handler
> + (_("%s not implemented"), "DST__K_SET_PC_L");
> +-  cmd_length = 5;
> +   break;
> + 
> + case DST__K_SET_STMTNUM:
> +   _bfd_error_handler
> + (_("%s not implemented"), "DST__K_SET_STMTNUM");
> +-  cmd_length = 2;
> +   break;
> + 
> + case DST__K_TERM:
> +   data = pcl_ptr[DST_S_B_PCLINE_UNSBYTE];
> +   curr_pc += data;
> +-  cmd_length = 2;
> +   vms_debug2 ((4, "DST__K_TERM: %d\n", data));
> +   break;
> + 
> + case DST__K_TERM_W:
> +   data = bfd_getl16 (pcl_ptr + DST_S_W_PCLINE_UNSWORD);
> +   curr_pc += data;
> +-  cmd_length = 3;
> +   vms_debug2 ((4, "DST__K_TERM_W: %d\n", data));
> +   break;
> + 
> + case DST__K_TERM_L:
> +   data = bfd_getl32 (pcl_ptr + DST_S_L_PCLINE_UNSLONG);
> +   curr_pc += data;
> +-  cmd_length = 5;
> +   vms_debug2 ((4, "DST__K_TERM_L: %d\n", data));
> +   break;
> + 
> + case DST__K_SET_ABS_PC:
> +   data = bfd_getl32 (pcl_ptr + DST_S_L_PCLINE_UNSLONG);
> +   curr_pc = data;
> +-  cmd_length = 5;
> +   vms_debug2 ((4, "DST__K_SET_ABS_PC: 0x%x\n", data));
> +   break;
> + 
> +@@ -4721,15 +4847,11 @@ parse_module (bfd *abfd, struct module *module, 
> unsigned char *ptr,
> + {
> +   curr_pc -= cmd;
> +   curr_linenum += 1;
> +-  cmd_length = 1;
> +   vms_debug2 ((4, "bump pc to 0x%lx and line to %d\n",
> +(unsigned long)curr_pc, curr_linenum));
> + }
> +   else
> +-{
> +-  _bfd_error_handler (_("unknown line command %d"), cmd);
> +-  cmd_length = 2;
> +-}
> ++_bfd_error_handler (_("unknown line command %d"), cmd);
> +   break;
> + }
> + 
> +@@ -4859,7 +4981,8 @@ build_module_list (bfd *abfd)
> + return NULL;
> + 
> +   module = new_module (abfd);
> +-  if (!parse_module (abfd, module, PRIV (dst_section)->contents, -1))
> ++  if (!parse_module (abfd, module, PRIV (dst_section)->contents,
> ++ PRIV (dst_section)->size))
> + return NULL;
> +   list = module;
> + }
> -- 
> 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 (#194253): 
https://lists.openembedded.org/g/openembedded-core/message/194253
Mute This Topic: https://lists.openembedded.org/mt/103882827/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-22 Thread Alexandre Belloni via lists.openembedded.org
On 22/01/2024 16:15:41+0800, ChenQi wrote:
> On 1/22/24 16:04, Alexandre Belloni wrote:
> > On 22/01/2024 12:38:15+0800, ChenQi wrote:
> > > On 1/20/24 02:14, Alexandre Belloni wrote:
> > > > On 19/01/2024 19:13:25+0100, Alexandre Belloni wrote:
> > > > > On 19/01/2024 11:09:20+0800, Chen Qi via lists.openembedded.org wrote:
> > > > > > What's the status of this patch series?
> > > > > > Is there any issue or concern that I missed?
> > > > > I'm glad you asked, I got this today:
> > > > > 
> > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8466/steps/26/logs/warnings
> > > > and I know you sent a patch for this but it didn't make it yet.
> > > I just double checked with the following settings from the "Sysvinit with
> > > systemd" entry in config.json, there's no warning.
> > > 
> > > DISTRO_FEATURES:append = ' systemd usrmerge'
> > > ROOT_HOME = '/root'
> > > VIRTUAL-RUNTIME_init_manager = 'sysvinit'
> > > 
> > > So I further checked the build's settings.
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8466
> > > 
> > > In the second step, "Fetch yocto-autobuilder-helper", I can see the
> > > following logs:
> > > 
> > > HEAD is now at ebb7e65 config.json: Fix syntax errors
> > > 
> > > So the build is not using the latest repo. The latest commit is:
> > This is not correct, it was using the latest commit at the time, the
> > patch was applied after my email.
> > 
> > 
> OK... Do you mean that the warning appeared in autobuilder, and then you
> applied the patch to yocto-autobuilder-helper to make the warning disappear?
> I thought you meant that the warning continued to exist even with the patch.
> 
> To clarify, we can now wait for autobuiler's results and I don't need to do
> anything more, right?

I confirm, no action is needed on your side.


-- 
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 (#194122): 
https://lists.openembedded.org/g/openembedded-core/message/194122
Mute This Topic: https://lists.openembedded.org/mt/103380516/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-22 Thread Alexandre Belloni via lists.openembedded.org
On 22/01/2024 12:38:15+0800, ChenQi wrote:
> On 1/20/24 02:14, Alexandre Belloni wrote:
> > On 19/01/2024 19:13:25+0100, Alexandre Belloni wrote:
> > > On 19/01/2024 11:09:20+0800, Chen Qi via lists.openembedded.org wrote:
> > > > What's the status of this patch series?
> > > > Is there any issue or concern that I missed?
> > > I'm glad you asked, I got this today:
> > > 
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8466/steps/26/logs/warnings
> > and I know you sent a patch for this but it didn't make it yet.
> 
> I just double checked with the following settings from the "Sysvinit with
> systemd" entry in config.json, there's no warning.
> 
> DISTRO_FEATURES:append = ' systemd usrmerge'
> ROOT_HOME = '/root'
> VIRTUAL-RUNTIME_init_manager = 'sysvinit'
> 
> So I further checked the build's settings.
> https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8466
> 
> In the second step, "Fetch yocto-autobuilder-helper", I can see the
> following logs:
> 
> HEAD is now at ebb7e65 config.json: Fix syntax errors
> 
> So the build is not using the latest repo. The latest commit is:

This is not correct, it was using the latest commit at the time, the
patch was applied after my email.


-- 
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 (#194120): 
https://lists.openembedded.org/g/openembedded-core/message/194120
Mute This Topic: https://lists.openembedded.org/mt/103380516/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] opensbi: bump to 1.4

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org

On 19/01/2024 19:24:44+, Richard Purdie wrote:
> On Fri, 2024-01-19 at 18:48 +0100, Thomas Perrot wrote:
> > Hello Richard,
> > 
> > On Fri, 2024-01-19 at 17:22 +, Richard Purdie wrote:
> > > On Wed, 2024-01-17 at 10:47 +0100, Thomas Perrot via
> > > lists.openembedded.org wrote:
> > > > From: Thomas Perrot 
> > > > 
> > > > This release has:
> > > > - Synopsys DesignWare APB GPIO driver
> > > > - Zicntr and Zihpm support
> > > > - Console print improvements
> > > > - Smepmp support
> > > > - Simple FDT based syscon regmap driver
> > > > - Syscon based reboot and poweroff driver
> > > > - Non-contiguous hpm counters
> > > > - Smcntrpmf support
> > > > - Full sparse hartid support
> > > > - IPI improvements
> > > > - RFENCE improvements
> > > > - Zkr support
> > > > - Andes custom PMU support
> > > > Overall, this release mainly adds more ISA extensions, drivers and
> > > > other improvements.
> > > > 
> > > > https://github.com/riscv-software-src/opensbi/compare/v1.3.1...v1.4
> > > > 
> > > > Signed-off-by: Thomas Perrot 
> > > 
> > > This all seems reasonable but why is there a revert below?
> > 
> > I reverted it otherwise the following link issue occurs:
> > 
> > "build/tmp-glibc/work/riscv64-oe-linux/opensbi/1.4/recipe-sysroot-
> > native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-
> > linux/gcc/riscv64-oe-linux/13.2.0/ld.bfd:/src/build/tmp-
> > glibc/work/riscv64-oe-
> > linux/opensbi/1.4/git/build/platform/generic/firmware/fw_dynamic.elf.ld
> > :54: undefined section `.dynsym' referenced in expression"
> 
> The commit should at least mention the issue.
> 
> I'm also not sure that is "Inappropriate", more like "Pending" as in
> needs further investigation.

The original commit states that relocations don't need to be handled
because everything is linked statically which is not true in our case,
else we wouldn't be trying to link dynamically.

> 
> > > > ---
> > > >  ...re-Remove-handling-of-R_RISCV_-32-64.patch | 88
> > > > +++
> > > >  .../{opensbi_1.3.bb => opensbi_1.4.bb}    |  8 +-
> > > >  2 files changed, 92 insertions(+), 4 deletions(-)
> > > >  create mode 100644 meta/recipes-bsp/opensbi/opensbi/0001-Revert-
> > > > firmware-Remove-handling-of-R_RISCV_-32-64.patch
> > > >  rename meta/recipes-bsp/opensbi/{opensbi_1.3.bb => opensbi_1.4.bb}
> > > > (90%)
> > > > 
> > > > diff --git a/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-
> > > > Remove-handling-of-R_RISCV_-32-64.patch b/meta/recipes-
> > > > bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-
> > > > R_RISCV_-32-64.patch
> > > > new file mode 100644
> > > > index ..d14e0b73a9bc
> > > > --- /dev/null
> > > > +++ b/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-
> > > > handling-of-R_RISCV_-32-64.patch
> > > > @@ -0,0 +1,88 @@
> > > > +From bfe480929bcc966e1fdf5afdde8d4c22adba7f6f Mon Sep 17 00:00:00
> > > > 2001
> > > > +From: Thomas Perrot 
> > > > +Date: Tue, 16 Jan 2024 15:16:58 +0100
> > > > +Subject: [PATCH] Revert "firmware: Remove handling of
> > > > R_RISCV_{32,64}"
> > > > +
> > > > +This reverts commit 2a6d72534d44c39e1de0614970a0dad97b1c41ba.
> > > > +
> > > > +Upstream-Status: Inappropriate [oe specific]
> > > > +Signed-off-by: Thomas Perrot 
> > > 
> > > If we're going to revert an upstream change, we need to say *why*. We
> > > need to revert it for some OE specific reason but what is that
> > > reason?
> > > 
> > 
> > I agree, maybe you have any advice to fix it in another way?
> 
> I have no idea, I've copied Khem who might or might know who to talk
> to.
> 
> Cheers,
> 
> Richard

> 
> 
> 


-- 
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 (#194078): 
https://lists.openembedded.org/g/openembedded-core/message/194078
Mute This Topic: https://lists.openembedded.org/mt/103782707/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org
On 19/01/2024 19:13:25+0100, Alexandre Belloni wrote:
> On 19/01/2024 11:09:20+0800, Chen Qi via lists.openembedded.org wrote:
> > What's the status of this patch series?
> > Is there any issue or concern that I missed?
> 
> I'm glad you asked, I got this today:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8466/steps/26/logs/warnings

and I know you sent a patch for this but it didn't make it yet.

> 
> > 
> > Regards,
> > Qi
> > 
> > On 12/27/23 12:20, Chen Qi via lists.openembedded.org wrote:
> > > From: Chen Qi 
> > > 
> > > 1. Patch changes:
> > > 
> > > 0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch
> > > is removed because it has no real effect now. The /lib is now
> > > /usr/lib because 'usrmerge' is a required distro feature for systemd.
> > > 
> > > 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch is
> > > refreshed for the new version to avoid patch-fuzz issue.
> > > 
> > > 2. root user's home directory now defaults to "/root":
> > > 
> > > The sysuers.d/basic.conf is still modified to respect the ROOT_HOME
> > > value, so if users set ROOT_HOME to "/home/root", the behavior is the
> > > same as before. However, this is only for backward compatibility. With
> > > this patch, The ROOT_HOME value is set to "/root" in 
> > > init-manager-systemd.inc.
> > > This is because systemd's source codes are hardcoding "/root", and other
> > > values are not officially supported. See the list below.
> > > $ grep -rl '"/root"' src/ | grep -v 'src/test'
> > > src/core/namespace.c
> > > src/basic/user-util.c
> > > src/nss-systemd/nss-systemd.c
> > > src/nspawn/nspawn.c
> > > src/firstboot/firstboot.c
> > > src/shared/userdb.c
> > > src/shared/user-record.c
> > > $ grep -rl /root network/ factory/ sysctl.d/ sysusers.d/ rules.d/ 
> > > tmpfiles.d/ units/ xorg/ tools/
> > > sysusers.d/basic.conf.in
> > > tmpfiles.d/provision.conf
> > > units/emergency.service.in
> > > units/rescue.service.in
> > > tools/list-discoverable-partitions.py
> > > Previously, the recipe was just substituting sysusers.d/basic.conf.in,
> > > which is not enough to be treated as 'fully support'. I deliberately put
> > > a warning message in do_install to warn users about non "/root" ROOT_HOME
> > > value. Don't remove it until all above places are handled.
> > > 
> > > 3. cgroupv2 is now the default.
> > > cgroupv2 is the default for systemd for many years and it's the default
> > > for distros such as ubuntu and fedora. Let's also use it as the default.
> > > 
> > > Signed-off-by: Chen Qi 
> > > ---
> > >   .../distro/include/init-manager-systemd.inc   |  2 +
> > >   meta/recipes-core/systemd/systemd.inc |  4 +-
> > >   ...tall-dependency-links-at-install-tim.patch | 22 +++---
> > >   ...sysctl.d-binfmt.d-modules-load.d-to-.patch | 73 ---
> > >   .../systemd/systemd/basic.conf.in | 40 --
> > >   .../{systemd_254.4.bb => systemd_255.1.bb}| 16 ++--
> > >   6 files changed, 25 insertions(+), 132 deletions(-)
> > >   delete mode 100644 
> > > meta/recipes-core/systemd/systemd/0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch
> > >   delete mode 100644 meta/recipes-core/systemd/systemd/basic.conf.in
> > >   rename meta/recipes-core/systemd/{systemd_254.4.bb => systemd_255.1.bb} 
> > > (98%)
> > > 
> > > diff --git a/meta/conf/distro/include/init-manager-systemd.inc 
> > > b/meta/conf/distro/include/init-manager-systemd.inc
> > > index 595d1f2644..0a76647459 100644
> > > --- a/meta/conf/distro/include/init-manager-systemd.inc
> > > +++ b/meta/conf/distro/include/init-manager-systemd.inc
> > > @@ -5,3 +5,5 @@ VIRTUAL-RUNTIME_init_manager ??= "systemd"
> > >   VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units"
> > >   VIRTUAL-RUNTIME_login_manager ??= "shadow-base"
> > >   VIRTUAL-RUNTIME_dev_manager ??= "systemd"
> > > +# systemd hardcodes /root in its source codes, other values are not 
> > > offically supported
> > > +ROOT_HOME ?= "/root"
> > > diff --git a/meta/recipes-core/systemd/systemd.inc 
> > > b/meta/recipes-core/systemd/systemd.inc
> > > index ccc3236457..1417e0150f 100644
> > 

Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org
--
> > -g video   {{VIDEO_GID  }} --
> > -
> > -# Default group for normal users
> > -g users   {{USERS_GID  }} --
> > diff --git a/meta/recipes-core/systemd/systemd_254.4.bb 
> > b/meta/recipes-core/systemd/systemd_255.1.bb
> > similarity index 98%
> > rename from meta/recipes-core/systemd/systemd_254.4.bb
> > rename to meta/recipes-core/systemd/systemd_255.1.bb
> > index 0c12926bef..daa3a01fef 100644
> > --- a/meta/recipes-core/systemd/systemd_254.4.bb
> > +++ b/meta/recipes-core/systemd/systemd_255.1.bb
> > @@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES += "systemd"
> >   SRC_URI += " \
> >  file://touchscreen.rules \
> >  file://00-create-volatile.conf \
> > -   file://basic.conf.in \
> >  ${@bb.utils.contains('PACKAGECONFIG', 
> > 'polkit_hostnamed_fallback', 
> > 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \
> >  ${@bb.utils.contains('PACKAGECONFIG', 
> > 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', 
> > d)} \
> >  file://init \
> > @@ -29,7 +28,6 @@ SRC_URI += " \
> >  file://systemd-pager.sh \
> >  
> > file://0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
> >  file://0008-implment-systemd-sysv-install-for-OE.patch \
> > -   
> > file://0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \
> >  "
> >   # patches needed by musl
> > @@ -73,6 +71,7 @@ PACKAGECONFIG ??= " \
> >   ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', 
> > 'link-udev-shared', d)} \
> >   backlight \
> >   binfmt \
> > +cgroupv2 \
> >   gshadow \
> >   hibernate \
> >   hostnamed \
> > @@ -266,12 +265,16 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \
> >   # The 60 seconds is watchdog's default vaule.
> >   WATCHDOG_TIMEOUT ??= "60"
> > -do_configure:prepend() {
> > -  sed s@:ROOT_HOME:@${ROOT_HOME}@g ${WORKDIR}/basic.conf.in > 
> > ${S}/sysusers.d/basic.conf.in
> > -}
> > -
> >   do_install() {
> > meson_do_install
> > +   # Change the root user's home directory in /lib/sysusers.d/basic.conf.
> > +   # This is done merely for backward compatibility with previous systemd 
> > recipes.
> > +   # systemd hardcodes root user's HOME to be "/root". Changing to use 
> > other values
> > +   # may have unexpected runtime behaviors.
> > +   if [ "${ROOT_HOME}" != "/root" ]; then
> > +   bbwarn "Using ${ROOT_HOME} as root user's home directory is not 
> > fully supported by systemd"
> > +   sed -i -e 's#/root#${ROOT_HOME}#g' 
> > ${D}${exec_prefix}/lib/sysusers.d/basic.conf
> > +   fi
> > install -d ${D}/${base_sbindir}
> > if ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 
> > 'false', 'true', d)}; then
> > # Provided by a separate recipe
> > @@ -754,6 +757,7 @@ FILES:udev += "${base_sbindir}/udevd \
> >  ${rootlibexecdir}/udev/rules.d/60-persistent-alsa.rules \
> >  ${rootlibexecdir}/udev/rules.d/60-persistent-input.rules \
> >  ${rootlibexecdir}/udev/rules.d/60-persistent-storage.rules 
> > \
> > +   
> > ${rootlibexecdir}/udev/rules.d/60-persistent-storage-mtd.rules \
> >  
> > ${rootlibexecdir}/udev/rules.d/60-persistent-storage-tape.rules \
> >  ${rootlibexecdir}/udev/rules.d/60-persistent-v4l.rules \
> >  ${rootlibexecdir}/udev/rules.d/60-sensor.rules \
> > 
> > 
> > 
> 

> 
> 
> 


-- 
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 (#194063): 
https://lists.openembedded.org/g/openembedded-core/message/194063
Mute This Topic: https://lists.openembedded.org/mt/103380516/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] btrfs-tools: upgrade 6.5.3 -> 6.6.3

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org
This causes oe-selftest failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6326/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6317/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6328/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6266/steps/14/logs/stdio

On 16/01/2024 10:06:36+0800, wangmy wrote:
> From: Jiang Kai 
> 
> 0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
> refreshed for 6.6.3
> 
> Changelog:
> ==
> * subvol create: accept multiple arguments
> * subvol delete: print the subvolume id in the output
> * subvol sync: check if the filesystems is still writeable so it does not
>   wait indefinitely
> * device delete: add a timeout and warning when deleting multiple devices
> * scrub status: report limit if set in sysfs/../scrub_speed_max
> * scrub limit: new command to show or set the per-device scrub limits
> * scrub start: report the limit if set
> * build:
>* fix CPU feature detection on aarch64
>* support Botan and OpenSSL (3.2+) as crypto backends
> * other:
>* documentation updates, RTD config update
>* new and updated tests
>* CI updates
> 
> Signed-off-by: Jiang Kai 
> Signed-off-by: Wang Mingyu 
> ---
>  ...-a-possibility-to-specify-where-python-modules-ar.patch | 7 ---
>  .../{btrfs-tools_6.5.3.bb => btrfs-tools_6.6.3.bb} | 2 +-
>  2 files changed, 5 insertions(+), 4 deletions(-)
>  rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_6.5.3.bb => 
> btrfs-tools_6.6.3.bb} (98%)
> 
> diff --git 
> a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
>  
> b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
> index 5846f04d1a..ed2c64eb4c 100644
> --- 
> a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
> +++ 
> b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
> @@ -1,4 +1,4 @@
> -From d3adfc21c9cc264bd191722f102963cbc4794259 Mon Sep 17 00:00:00 2001
> +From ddfdc0102c22e8dc782c34b8a03777fb73dfddf6 Mon Sep 17 00:00:00 2001
>  From: Alexander Kanavin 
>  Date: Wed, 23 May 2018 21:20:35 +0300
>  Subject: [PATCH] Add a possibility to specify where python modules are
> @@ -6,15 +6,16 @@ Subject: [PATCH] Add a possibility to specify where python 
> modules are
>  
>  Upstream-Status: Inappropriate [oe-core specific to solve multilib use case]
>  Signed-off-by: Alexander Kanavin 
> +
>  ---
>   Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>  
>  diff --git a/Makefile b/Makefile
> -index 1697794c..8ab38818 100644
> +index 374f59b9..ed083f6b 100644
>  --- a/Makefile
>  +++ b/Makefile
> -@@ -651,7 +651,7 @@ endif
> +@@ -959,7 +959,7 @@ endif
>   ifeq ($(PYTHON_BINDINGS),1)
>   install_python: libbtrfsutil_python
>   $(Q)cd libbtrfsutil/python; \
> diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.3.bb 
> b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.6.3.bb
> similarity index 98%
> rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.3.bb
> rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_6.6.3.bb
> index 873d5e7a14..ef40f553fb 100644
> --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.3.bb
> +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.6.3.bb
> @@ -18,7 +18,7 @@ DEPENDS = "util-linux zlib"
>  SRC_URI = 
> "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https
>  \
> 
> file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
> "
> -SRCREV = "a45c360b64660477c726e192d9e92ceb73a50f80"
> +SRCREV = "92e18dbce521789e02057d406769b073d474fa72"
>  S = "${WORKDIR}/git"
>  
>  PACKAGECONFIG ??= " \
> -- 
> 2.34.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 (#194026): 
https://lists.openembedded.org/g/openembedded-core/message/194026
Mute This Topic: https://lists.openembedded.org/mt/103754480/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 4/4] rpm: update 4.18.1 -> 4.19.1

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org
I believe this series is the cause of some repro failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4254/steps/12/logs/stdio

On 18/01/2024 11:24:09+0100, Alexander Kanavin wrote:
> Upstream has replaced autoconf with cmake, which necessitates a rewrite of the
> recipe and available options, and a rebase to cmake of
> 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
> 
> Correct a mistake in 0001-Do-not-read-config-files-from-HOME.patch :
> the patch was removing the NULL marker at the end of function arguments,
> and 0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
> was restoring it (in addition to the actual change the patch was making).
> Now both patches preserve the NULL terminator.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  ...olor-setting-for-mips64_n32-binaries.patch | 12 +--
>  ...ook-for-lua-with-pkg-config-rather-t.patch | 28 +++
>  ...estore-readline-support-as-an-explic.patch | 42 +++
>  ...satisfiable-dependency-when-building.patch | 12 +--
>  ...lib-rpm-as-the-installation-path-for.patch | 52 +
>  ...1-Do-not-read-config-files-from-HOME.patch | 19 ++---
>  ...-PATH-environment-variable-before-ru.patch | 12 +--
>  ...lename-before-passing-it-to-basename.patch | 40 --
>  ...ix-missing-basename-include-on-macOS.patch | 26 ---
>  ...l-dependency-on-non-POSIX-GLOB_ONLYD.patch | 56 ++
>  ...lling-execute-package-scriptlets-wit.patch | 24 ++
>  ...not-insert-payloadflags-into-.rpm-me.patch | 13 ++--
>  ...-linux-gnux32-variant-to-triplet-han.patch | 28 ---
>  c-fix-file-conflicts-for-MIPS64-N32.patch | 13 ++--
>  .../files/0001-perl-disable-auto-reqs.patch   | 26 ---
>  ...y_hash_t-instead-of-long-in-hdr_hash.patch | 35 -
>  ...prefixing-etc-from-RPM_ETCCONFIGDIR-.patch | 31 
>  ...txt-do-not-install-non-existent-docs.patch | 26 +++
>  ...avoid-using-GLOB_BRACE-if-undefined-.patch | 34 +
>  ...ge-logging-level-around-scriptlets-t.patch | 19 ++---
>  ...87cfcf9cac87e5bc5e7db79b0338da9e355e.patch | 51 -
>  .../rpm/files/fix-declaration.patch   | 39 --
>  .../rpm/{rpm_4.18.1.bb => rpm_4.19.1.bb}  | 73 ---
>  23 files changed, 328 insertions(+), 383 deletions(-)
>  create mode 100644 
> meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
>  create mode 100644 
> meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch
>  delete mode 100644 
> meta/recipes-devtools/rpm/files/0001-Duplicate-filename-before-passing-it-to-basename.patch
>  delete mode 100644 
> meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch
>  create mode 100644 
> meta/recipes-devtools/rpm/files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch
>  delete mode 100644 
> meta/recipes-devtools/rpm/files/0001-configure.ac-add-linux-gnux32-variant-to-triplet-han.patch
>  delete mode 100644 
> meta/recipes-devtools/rpm/files/0001-python-Use-Py_hash_t-instead-of-long-in-hdr_hash.patch
>  create mode 100644 
> meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
>  create mode 100644 
> meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
>  delete mode 100644 
> meta/recipes-devtools/rpm/files/ea3187cfcf9cac87e5bc5e7db79b0338da9e355e.patch
>  delete mode 100644 meta/recipes-devtools/rpm/files/fix-declaration.patch
>  rename meta/recipes-devtools/rpm/{rpm_4.18.1.bb => rpm_4.19.1.bb} (72%)
> 
> diff --git 
> a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
>  
> b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
> index 9fa486dfd3c..96fe57dfeb8 100644
> --- 
> a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
> +++ 
> b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
> @@ -1,4 +1,4 @@
> -From 93f219df68f3741ff63a294a16bcbe8deba1112f Mon Sep 17 00:00:00 2001
> +From ecc45e3ae837ab50603088dcc8fd2f8e67a7ece6 Mon Sep 17 00:00:00 2001
>  From: Alexander Kanavin 
>  Date: Thu, 9 Mar 2017 18:54:02 +0200
>  Subject: [PATCH] Add a color setting for mips64_n32 binaries
> @@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin 
>   2 files changed, 6 insertions(+)
>  
>  diff --git a/build/rpmfc.c b/build/rpmfc.c
> -index 26606378f..a16e3f4e9 100644
> +index 4b67a9bae..ed7e4e623 100644
>  --- a/build/rpmfc.c
>  +++ b/build/rpmfc.c
> -@@ -646,6 +646,7 @@ exit:
> +@@ -660,6 +660,7 @@ exit:
>   static const struct rpmfcTokens_s rpmfcTokens[] = {
> { "directory",RPMFC_INCLUDE },
>   
> @@ -23,7 +23,7 @@ index 26606378f..a16e3f4e9 100644
> { "ELF 32-bit",   RPMFC_ELF32|RPMFC_INCLUDE },
> { "ELF 64-bit",   RPMFC_ELF64|RPMFC_INCLUDE },
>   
> -@@ -1151,6 +1152,9 

Re: [OE-core] [PATCH 2/4] classes/package_rpm: write file permissions and ownership explicitly into .spec

2024-01-19 Thread Alexandre Belloni via lists.openembedded.org
I got this failure:

https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/8493/steps/23/logs/stdio

On 18/01/2024 11:24:07+0100, Alexander Kanavin wrote:
> Per 
> https://github.com/rpm-software-management/rpm/commit/77d3529c31ca090a40b8d3959a0bcdd721a556d6
> rpm 4.19.1+ will not consider actual filesystem permissions and ownership, 
> and will quietly default
> to root if not expictly set otherwise in .spec file.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/classes-global/package_rpm.bbclass | 24 ++--
>  1 file changed, 18 insertions(+), 6 deletions(-)
> 
> diff --git a/meta/classes-global/package_rpm.bbclass 
> b/meta/classes-global/package_rpm.bbclass
> index 2fc18fe98c1..09cc7d62681 100644
> --- a/meta/classes-global/package_rpm.bbclass
> +++ b/meta/classes-global/package_rpm.bbclass
> @@ -103,6 +103,7 @@ def write_rpm_perfiledata(srcname, d):
>  
>  python write_specfile () {
>  import oe.packagedata
> +import os,pwd,grp,stat
>  
>  # append information for logs and patches to %prep
>  def add_prep(d, spec_files_bottom):
> @@ -198,6 +199,13 @@ python write_specfile () {
>  # of the walk, the isdir() test would then fail and the walk code 
> would assume its a file
>  # hence we check for the names in files too.
>  for rootpath, dirs, files in os.walk(walkpath):
> +def get_attr(path):
> +stat_f = os.stat(rootpath + "/" + path, 
> follow_symlinks=False)
> +mode = stat.S_IMODE(stat_f.st_mode)
> +owner = pwd.getpwuid(stat_f.st_uid).pw_name
> +group = grp.getgrgid(stat_f.st_gid).gr_name
> +return "%attr({:o},{},{}) ".format(mode, owner, group)
> +
>  path = rootpath.replace(walkpath, "")
>  if path.endswith("DEBIAN") or path.endswith("CONTROL"):
>  continue
> @@ -221,24 +229,28 @@ python write_specfile () {
>  if dir == "CONTROL" or dir == "DEBIAN":
>  continue
>  dir = dir.replace("%", "")
> +p = path + '/' + dir
>  # All packages own the directories their files are in...
> -target.append('%dir "' + path + '/' + dir + '"')
> +target.append(get_attr(dir) + '%dir "' + p + '"')
>  else:
>  # packages own only empty directories or explict directory.
>  # This will prevent the overlapping of security permission.
> +attr = get_attr(path)
>  if path and not files and not dirs:
> -target.append('%dir "' + path + '"')
> +target.append(attr + '%dir "' + path + '"')
>  elif path and path in dirfiles:
> -target.append('%dir "' + path + '"')
> +target.append(attr + '%dir "' + path + '"')
>  
>  for file in files:
>  if file == "CONTROL" or file == "DEBIAN":
>  continue
>  file = file.replace("%", "")
> -if conffiles.count(path + '/' + file):
> -target.append('%config "' + path + '/' + file + '"')
> +attr = get_attr(file)
> +p = path + '/' + file
> +    if conffiles.count(p):
> +target.append(attr + '%config "' + p + '"')
>  else:
> -target.append('"' + path + '/' + file + '"')
> +target.append(attr + '"' + p + '"')
>  
>  # Prevent the prerm/postrm scripts from being run during an upgrade
>  def wrap_uninstall(scriptvar):
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#194023): 
https://lists.openembedded.org/g/openembedded-core/message/194023
Mute This Topic: https://lists.openembedded.org/mt/103805482/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/4] oeqa/runtime/rpm: raise exception if test rpm file cannot be found

2024-01-18 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This fails pkgman-non-rpm:

https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/8412

On 18/01/2024 11:24:06+0100, Alexander Kanavin wrote:
> The tests rely on that, and so the discovery shouldn't simply
> fall through.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/lib/oeqa/runtime/cases/rpm.py | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oeqa/runtime/cases/rpm.py 
> b/meta/lib/oeqa/runtime/cases/rpm.py
> index a4ba4e67698..bd9050a81b2 100644
> --- a/meta/lib/oeqa/runtime/cases/rpm.py
> +++ b/meta/lib/oeqa/runtime/cases/rpm.py
> @@ -88,9 +88,12 @@ class RpmInstallRemoveTest(OERuntimeTestCase):
>  # and it will always be built for standard targets
>  rpm_doc = 'base-passwd-doc-*.%s.rpm' % pkgarch
>  if not os.path.exists(rpmdir):
> -return
> +raise Exception("Rpm directory {} does not 
> exist".format(cls.tc.td['DEPLOY_DIR']))
>  for f in fnmatch.filter(os.listdir(rpmdir), rpm_doc):
>  cls.test_file = os.path.join(rpmdir, f)
> +break
> +else:
> +raise Exception("Couldn't find the test rpm file {} in 
> {}".format(rpm_doc, rpmdir))
>  cls.dst = '/tmp/base-passwd-doc.rpm'
>  
>  @OETestDepends(['rpm.RpmBasicTest.test_rpm_query'])
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#194001): 
https://lists.openembedded.org/g/openembedded-core/message/194001
Mute This Topic: https://lists.openembedded.org/mt/103805481/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 v1] uboot-sign: support to load optee-os and TFA images

2024-01-18 Thread Alexandre Belloni via lists.openembedded.org
;< EOF >> ${UBOOT_ITS}
> +atf {
> +description = "ARM Trusted Firmware-A";
> +data = /incbin/("${UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A_IMAGE}");
> +type = "firmware";
> +arch = "${UBOOT_ARCH}";
> +os = "arm-trusted-firmware";
> +load = <${UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A_LOADADDRESS}>;
> +entry = <${UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A_ENTRYPOINT}>;
> +compression = "none";
> +EOF
> +
> + if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then
> + cat << EOF >> ${UBOOT_ITS}
> +signature {
> +algo = "${UBOOT_FIT_HASH_ALG},${UBOOT_FIT_SIGN_ALG}";
> +key-name-hint = "${SPL_SIGN_KEYNAME}";
> +};
> +EOF
> + fi
> +
> + cat << EOF >> ${UBOOT_ITS}
> +};
> +EOF
> + fi
> +
> + if [ "${UBOOT_FIT_OPTEE_OS}" = "1" ] ; then
> + cat << EOF >> ${UBOOT_ITS}
> +optee {
> +description = "OPTEE OS Image";
> +data = /incbin/("${UBOOT_FIT_OPTEE_OS_IMAGE}");
> +type = "tee";
> +    arch = "${UBOOT_ARCH}";
> +os = "tee";
> +load = <${UBOOT_FIT_OPTEE_OS_LOADADDRESS}>;
> +entry = <${UBOOT_FIT_OPTEE_OS_ENTRYPOINT}>;
> +compression = "none";
> +EOF
> +
> + if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then
> + cat << EOF >> ${UBOOT_ITS}
> +signature {
> +algo = "${UBOOT_FIT_HASH_ALG},${UBOOT_FIT_SIGN_ALG}";
> +key-name-hint = "${SPL_SIGN_KEYNAME}";
> +};
> +EOF
> + fi
> +
> + cat << EOF >> ${UBOOT_ITS}
> +};
> +EOF
> + fi
> +
> + cat << EOF >> ${UBOOT_ITS}
>  };
>  
>  configurations {
>  default = "conf";
>  conf {
>  description = "Boot with signed U-Boot FIT";
> -loadables = "uboot";
> +EOF
> + if [ -n "${conf_firmware}" ]; then
> + cat << EOF >> ${UBOOT_ITS}
> +firmware = ${conf_firmware};
> +EOF
> + fi
> + cat << EOF >> ${UBOOT_ITS}
> +loadables = ${conf_loadables};
>  fdt = "fdt";
>  };
>  };
> -- 
> 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 (#193982): 
https://lists.openembedded.org/g/openembedded-core/message/193982
Mute This Topic: https://lists.openembedded.org/mt/103778291/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] classes-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS

2024-01-17 Thread Alexandre Belloni via lists.openembedded.org
On 17/01/2024 19:19:28+, Simone Weiß wrote:
> I see, the warning is correct and a fix should be applied to meta-
> oe/recipes-core/opencl/ocl-icd_2.3.2.bb for this, I will send out a
> patch for this as well. Afterwards this should be fixed implicitly.
> Just one question: Which branch is tested in the autobuilder for meta-
> aws/meta-op? Is it good enough if I just fix it on meta-oes main
> branch?

Yes, this would be master for this patch.


-- 
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 (#193947): 
https://lists.openembedded.org/g/openembedded-core/message/193947
Mute This Topic: https://lists.openembedded.org/mt/103722088/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] swig: upgrade 4.1.1 -> 4.2.0

2024-01-17 Thread Alexandre Belloni via lists.openembedded.org
> path
> -@@ -946,7 +951,22 @@ int SWIG_main(int argc, char *argv[], co
> +@@ -898,7 +903,22 @@ int SWIG_main(int argc, char *argv[], const 
> TargetLanguageModule *tlm) {
>   if (Len(SWIG_LIB_WIN_UNIX) > 0)
> SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation 
> path using a drive letter (for msys/mingw)
>   #else
> diff --git 
> a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
>  
> b/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
> index cfcbd8c73a..40e98af77c 100644
> --- 
> a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
> +++ 
> b/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
> @@ -1,4 +1,4 @@
> -From ffb785ed8d3cac3c28e014b1238d93e2bc1f0c01 Mon Sep 17 00:00:00 2001
> +From 94f53f3f6629c2b7ffcffe0dd6ff4b5874271d26 Mon Sep 17 00:00:00 2001
>  From: Koen Kooi 
>  Date: Tue, 17 Jun 2014 08:18:17 +0200
>  Subject: [PATCH] configure: use pkg-config for pcre detection
> @@ -11,10 +11,10 @@ Upstream-Status: Pending
>   1 file changed, 7 insertions(+), 32 deletions(-)
>  
>  diff --git a/configure.ac b/configure.ac
> -index f88004a..3a2b47c 100644
> +index c060028..a330266 100644
>  --- a/configure.ac
>  +++ b/configure.ac
> -@@ -57,39 +57,14 @@ AC_MSG_RESULT([$with_pcre])
> +@@ -49,39 +49,14 @@ AC_MSG_RESULT([$with_pcre])
>   
>   dnl To make configuring easier, check for a locally built PCRE using the 
> Tools/pcre-build.sh script
>   if test x"${with_pcre}" = xyes ; then
> diff --git a/meta/recipes-devtools/swig/swig/determinism.patch 
> b/meta/recipes-devtools/swig/swig/determinism.patch
> index 84c399182a..8e6b01deb3 100644
> --- a/meta/recipes-devtools/swig/swig/determinism.patch
> +++ b/meta/recipes-devtools/swig/swig/determinism.patch
> @@ -1,13 +1,23 @@
> +From 2a106412fa86e57b6c069a6498fa6181ec5f983e Mon Sep 17 00:00:00 2001
> +From: Richard Purdie 
> +Date: Mon, 1 Mar 2021 00:11:10 +
> +Subject: [PATCH] swig: Fix reproducibility issue
> +
>  Remove the compiler commandline/platform from the compiled binary as this
>  breaks reproducibilty.
>  
>  Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to 
> take]
>  RP 2021/3/1
>  
> +---
> + Source/Modules/main.cxx | 1 -
> + 1 file changed, 1 deletion(-)
>  
> +diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
> +index 8250dee..415761d 100644
>  --- a/Source/Modules/main.cxx
>  +++ b/Source/Modules/main.cxx
> -@@ -642,7 +642,6 @@ static void getoptions(int argc, char *a
> +@@ -629,7 +629,6 @@ static void getoptions(int argc, char *argv[]) {
>   }
> } else if (strcmp(argv[i], "-version") == 0) {
>   fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
> diff --git a/meta/recipes-devtools/swig/swig_4.1.1.bb 
> b/meta/recipes-devtools/swig/swig_4.2.0.bb
> similarity index 72%
> rename from meta/recipes-devtools/swig/swig_4.1.1.bb
> rename to meta/recipes-devtools/swig/swig_4.2.0.bb
> index b9e0175299..2ab4ed006c 100644
> --- a/meta/recipes-devtools/swig/swig_4.1.1.bb
> +++ b/meta/recipes-devtools/swig/swig_4.2.0.bb
> @@ -4,4 +4,4 @@ SRC_URI += 
> "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.pat
>  file://0001-configure-use-pkg-config-for-pcre-detection.patch \
>  file://determinism.patch \
> "
> -SRC_URI[sha256sum] = 
> "2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b"
> +SRC_URI[sha256sum] = 
> "261ca2d7589e260762817b912c075831572b72ff2717942f75b3e51244829c97"
> -- 
> 2.34.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 (#193916): 
https://lists.openembedded.org/g/openembedded-core/message/193916
Mute This Topic: https://lists.openembedded.org/mt/103735728/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] elfutils: upgrade 0.189 -> 0.190

2024-01-17 Thread Alexandre Belloni via lists.openembedded.org
the caller.  */
> diff --git 
> a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
>  
> b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
> index a2c0b90227..b8bd58117e 100644
> --- 
> a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
> +++ 
> b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
> @@ -1,4 +1,4 @@
> -From e355ca3b8ddcc6e73ee140f53d25634afdaec0da Mon Sep 17 00:00:00 2001
> +From 8cc1f0ab2e04fc3899b5a6e0b4f17e7778fced84 Mon Sep 17 00:00:00 2001
>  From: Alexander Kanavin 
>  Date: Tue, 23 Jun 2020 07:49:35 +
>  Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
> @@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin 
>   1 file changed, 1 insertion(+), 1 deletion(-)
>  
>  diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index 2ade5d9..f85cdba 100644
> +index ac82456..79105f2 100644
>  --- a/tests/Makefile.am
>  +++ b/tests/Makefile.am
> -@@ -98,7 +98,7 @@ endif
> +@@ -102,7 +102,7 @@ endif
>   test-nlist$(EXEEXT): test-nlist.c
>   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
> $(AM_CPPFLAGS) $(CPPFLAGS) \
> diff --git 
> a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
>  
> b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
> index be48ef010b..c13104713a 100644
> --- 
> a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
> +++ 
> b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
> @@ -1,4 +1,4 @@
> -From 1643d793761216252bb654e28aaa5b8eb1536bca Mon Sep 17 00:00:00 2001
> +From 60524c7b7c420ff94cd728f791e44cef84cea7b9 Mon Sep 17 00:00:00 2001
>  From: Hongxu Jia 
>  Date: Tue, 15 Aug 2017 17:13:59 +0800
>  Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
> @@ -18,10 +18,10 @@ Signed-off-by: Hongxu Jia 
>   1 file changed, 2 insertions(+), 1 deletion(-)
>  
>  diff --git a/libelf/gnuhash_xlate.h b/libelf/gnuhash_xlate.h
> -index 6faf113..04d9ca1 100644
> +index 3a00ae0..40468fc 100644
>  --- a/libelf/gnuhash_xlate.h
>  +++ b/libelf/gnuhash_xlate.h
> -@@ -40,6 +40,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, 
> int encode)
> +@@ -42,6 +42,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, 
> int encode)
>words.  We must detangle them here.   */
> Elf32_Word *dest32 = dest;
> const Elf32_Word *src32 = src;
> @@ -29,7 +29,7 @@ index 6faf113..04d9ca1 100644
>   
> /* First four control words, 32 bits.  */
> for (unsigned int cnt = 0; cnt < 4; ++cnt)
> -@@ -50,7 +51,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, 
> int encode)
> +@@ -52,7 +53,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, 
> int encode)
> len -= 4;
>   }
>   
> diff --git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch 
> b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
> index 212b358dc2..21256304ef 100644
> --- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
> +++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
> @@ -1,4 +1,4 @@
> -From 7e1f91c42ef5b0bf10afefec10dd08588df3ab1f Mon Sep 17 00:00:00 2001
> +From 8401b50ef3ca9e64f1baaae89750a5accac9cb35 Mon Sep 17 00:00:00 2001
>  From: Hongxu Jia 
>  Date: Tue, 15 Aug 2017 17:17:20 +0800
>  Subject: [PATCH] fixheadercheck
> @@ -22,10 +22,10 @@ Signed-off-by: Hongxu Jia 
>   1 file changed, 2 insertions(+), 2 deletions(-)
>  
>  diff --git a/libelf/elf32_updatenull.c b/libelf/elf32_updatenull.c
> -index d0d4d1e..4ecf5a5 100644
> +index 3594e8b..a3314e5 100644
>  --- a/libelf/elf32_updatenull.c
>  +++ b/libelf/elf32_updatenull.c
> -@@ -354,8 +354,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int 
> *change_bop, size_t shnum)
> +@@ -355,8 +355,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int 
> *change_bop, size_t shnum)
>we test for the alignment of the section being large
>enough for the largest alignment required by a data
>block.  */
> diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch 
> b/meta/recipes-devtools/elfutils/files/ptest.patch
> index fe6f272a83..0b612f734a 100644
> --- a/meta/recipes-devtools/elfutils/files/ptest.patch
> +++ b/meta/recipes-devtools/elfutils/files/ptest.patch
> @@ -1,4 +1,4 @@
> -From bfbf393e7d5b1b41df85ce1c37e887776c45d529 Mon Sep 17 00:00:00 2001
> +From 2f9788de46ec0619f951d61891d8b123f5c0fa50 Mon Sep 17 00:00:00 2001
>  From: Richard Purdie 
>  Date: Wed, 1 May 2019 16:37:48 +0100
>  Subject: [PATCH] Changes to allow ptest to run standalone on target:
> @@ -22,10 +22,10 @@ Upstream-Status: Inappropriate [oe specific]
>   3 files changed, 3 insertions(+), 7 deletions(-)
>  
>  diff --git a/configure.ac b/configure.ac
> -index d345495..67933d1 100644
> +index af5b6bf..2ef302f 100644
>  --- a/configure.ac
>  +++ b/configure.ac
> -@@ -48,7 +48,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2021 The elfutils 
> developers.])
> +@@ -49,7 +49,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2023 The elfutils 
> developers.])
>   AC_PREREQ(2.63) dnl Minimum Autoconf version required.
>   
>   dnl We use GNU make extensions; automake 1.10 defaults to -Wportability.
> @@ -35,10 +35,10 @@ index d345495..67933d1 100644
>   
>   AM_SILENT_RULES([yes])
>  diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index 72afd0e..a2dfd43 100644
> +index 71c1a61..ac82456 100644
>  --- a/tests/Makefile.am
>  +++ b/tests/Makefile.am
> -@@ -698,3 +698,5 @@ check: check-am coverage
> +@@ -834,3 +834,5 @@ check: check-am coverage
>   coverage:
>   -$(srcdir)/coverage.sh
>   endif
> -- 
> 2.34.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 (#193915): 
https://lists.openembedded.org/g/openembedded-core/message/193915
Mute This Topic: https://lists.openembedded.org/mt/103735400/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] python3-wcwidth: upgrade 0.2.12 -> 0.2.13

2024-01-17 Thread Alexandre Belloni via lists.openembedded.org
New ptest failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5977/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6163/steps/12/logs/stdio

On 15/01/2024 17:26:40+0800, wangmy wrote:
> From: Wang Mingyu 
> 
> Changelog:
>  Bugfix zero-width support for Hangul Jamo
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../{python3-wcwidth_0.2.12.bb => python3-wcwidth_0.2.13.bb}| 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-wcwidth_0.2.12.bb => 
> python3-wcwidth_0.2.13.bb} (87%)
> 
> diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.12.bb 
> b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
> similarity index 87%
> rename from meta/recipes-devtools/python/python3-wcwidth_0.2.12.bb
> rename to meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
> index ae845a39a7..320a34a5f5 100644
> --- a/meta/recipes-devtools/python/python3-wcwidth_0.2.12.bb
> +++ b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
> @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/jquast/wcwidth;
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
>  
> -SRC_URI[sha256sum] = 
> "f01c104efdf57971bcb756f054dd58ddec5204dd15fa31d6503ea57947d97c02"
> +SRC_URI[sha256sum] = 
> "72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"
>  
>  inherit pypi setuptools3 ptest
>  
> -- 
> 2.34.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 (#193914): 
https://lists.openembedded.org/g/openembedded-core/message/193914
Mute This Topic: https://lists.openembedded.org/mt/103735720/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] classes-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS

2024-01-16 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This causes warnings for meta-aws:

https://autobuilder.yoctoproject.org/typhoon/#/builders/122/builds/3840/steps/12/logs/warnings

On 14/01/2024 17:19:03+, Simone Weiß wrote:
> From: Simone Weiß 
> 
> Fixes [YOCTO #14538]
> 
> Recipes shouldn't use "virtual/" in RPROVIDES and RDEPENDS. This was
> addressed already in recipes in meta-oe and oe-core. Add a test for
> this in insane.bbclass to ensure no regressions occur.
> 
> Signed-off-by: Simone Weiß 
> ---
>  meta/classes-global/insane.bbclass | 6 ++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta/classes-global/insane.bbclass 
> b/meta/classes-global/insane.bbclass
> index d625fd82f7..9e8e35e0f7 100644
> --- a/meta/classes-global/insane.bbclass
> +++ b/meta/classes-global/insane.bbclass
> @@ -1606,6 +1606,12 @@ python () {
>  if (d.getVar(d.expand('DEPENDS:${PN}'))):
>  oe.qa.handle_error("pkgvarcheck", "recipe uses DEPENDS:${PN}, should 
> use DEPENDS", d)
>  
> +# virtual/ is meaningless for those variables
> +for k in ['RDEPENDS', 'RPROVIDES']:
> +for var in bb.utils.explode_deps(d.getVar(k + ':' + pn) or ""):
> +if var.startswith("virtual/"):
> +bb.warn("%s is set to %s, the substring 'virtual/' holds no 
> meaning in this context. It is suggested to use the 'virtual-' instead." % 
> (k, var))
> +
>  issues = []
>  if (d.getVar('PACKAGES') or "").split():
>  for dep in (d.getVar('QADEPENDS') or "").split():
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193879): 
https://lists.openembedded.org/g/openembedded-core/message/193879
Mute This Topic: https://lists.openembedded.org/mt/103722088/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 v9 4/9] oe-selftest devtool: ide-sdk tests

2024-01-16 Thread Alexandre Belloni via lists.openembedded.org
._write_bb_config([modified_recipe_name])
> +tempdir = self._devtool_ide_sdk_recipe(
> +modified_recipe_name, modified_build_file, None)
> +
> +IDE_RE = re.compile(r'.*--ide \{(.*)\}.*')
> +
> +def get_ides_from_help(help_str):
> +m = IDE_RE.search(help_str)
> +return m.group(1).split(',')
> +
> +# verify the default plugins are available but the foo plugin is not
> +result = runCmd('devtool ide-sdk -h')
> +found_ides = get_ides_from_help(result.output)
> +self.assertIn('code', found_ides)
> +self.assertIn('none', found_ides)
> +self.assertNotIn('foo', found_ides)
> +
> +shared_config_file = os.path.join(tempdir, 'shared-config.txt')
> +shared_config_str = 'Dummy shared IDE config'
> +modified_config_file = os.path.join(tempdir, 'modified-config.txt')
> +modified_config_str = 'Dummy modified IDE config'
> +
> +# Generate a foo plugin in the workspace layer
> +plugin_dir = os.path.join(
> +self.workspacedir, 'lib', 'devtool', 'ide_plugins')
> +os.makedirs(plugin_dir)
> +plugin_code = 'from devtool.ide_plugins import IdeBase\n\n'
> +plugin_code += 'class IdeFoo(IdeBase):\n'
> +plugin_code += 'def setup_shared_sysroots(self, shared_env):\n'
> +plugin_code += 'with open("%s", "w") as config_file:\n' % 
> shared_config_file
> +plugin_code += 'config_file.write("%s")\n\n' % 
> shared_config_str
> +plugin_code += 'def setup_modified_recipe(self, args, 
> image_recipe, modified_recipe):\n'
> +plugin_code += 'with open("%s", "w") as config_file:\n' % 
> modified_config_file
> +plugin_code += 'config_file.write("%s")\n\n' % 
> modified_config_str
> +plugin_code += 'def register_ide_plugin(ide_plugins):\n'
> +plugin_code += 'ide_plugins["foo"] = IdeFoo\n'
> +
> +plugin_py = os.path.join(plugin_dir, 'ide_foo.py')
> +with open(plugin_py, 'w') as plugin_file:
> +plugin_file.write(plugin_code)
> +
> +# Verify the foo plugin is available as well
> +result = runCmd('devtool ide-sdk -h')
> +found_ides = get_ides_from_help(result.output)
> +self.assertIn('code', found_ides)
> +self.assertIn('none', found_ides)
> +self.assertIn('foo', found_ides)
> +
> +# Verify the foo plugin generates a shared config
> +result = runCmd(
> +'devtool ide-sdk -m shared --skip-bitbake --ide foo %s' % 
> shared_recipe_name)
> +with open(shared_config_file) as shared_config:
> +shared_config_new = shared_config.read()
> +self.assertEqual(shared_config_str, shared_config_new)
> +
> +# Verify the foo plugin generates a modified config
> +result = runCmd('devtool ide-sdk --skip-bitbake --ide foo %s %s' %
> +(modified_recipe_name, testimage))
> +with open(modified_config_file) as modified_config:
> +modified_config_new = modified_config.read()
> +self.assertEqual(modified_config_str, modified_config_new)
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#193878): 
https://lists.openembedded.org/g/openembedded-core/message/193878
Mute This Topic: https://lists.openembedded.org/mt/103727322/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] Patchtest results for [PATCH v2 7/9] oeqa/selftest/recipetool: Move create_go test to a proper class

2024-01-16 Thread Alexandre Belloni via lists.openembedded.org
On 16/01/2024 10:08:50+0100, Alexander Kanavin wrote:
> No.

Why not?

> 
> Alex
> 
> On Tue, 16 Jan 2024 at 09:53, Vyacheslav Yurkov  wrote:
> >
> > Is that a strict requirement now even for trivial patches?
> >
> > Slava
> >
> > On 16.01.2024 09:45, patcht...@automation.yoctoproject.org wrote:
> > > Thank you for your submission. Patchtest identified one
> > > or more issues with the patch. Please see the log below for
> > > more information:
> > >
> > > ---
> > > Testing patch 
> > > /home/patchtest/share/mboxes/v2-7-9-oeqa-selftest-recipetool-Move-create_go-test-to-a-proper-class.patch
> > >
> > > FAIL: test commit message presence: Please include a commit message on 
> > > your patch explaining the change 
> > > (test_mbox.TestMbox.test_commit_message_presence)
> > >
> > > PASS: pretest pylint (test_python_pylint.PyLint.pretest_pylint)
> > > PASS: test Signed-off-by presence 
> > > (test_mbox.TestMbox.test_signed_off_by_presence)
> > > PASS: test author valid (test_mbox.TestMbox.test_author_valid)
> > > PASS: test max line length 
> > > (test_metadata.TestMetadata.test_max_line_length)
> > > PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
> > > PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
> > > PASS: test pylint (test_python_pylint.PyLint.test_pylint)
> > > PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
> > > PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
> > >
> > > SKIP: pretest src uri left files: No modified recipes, skipping pretest 
> > > (test_metadata.TestMetadata.pretest_src_uri_left_files)
> > > SKIP: test CVE check ignore: No modified recipes, skipping test 
> > > (test_metadata.TestMetadata.test_cve_check_ignore)
> > > SKIP: test CVE tag format: No new CVE patches introduced 
> > > (test_patch.TestPatch.test_cve_tag_format)
> > > SKIP: test Signed-off-by presence: No new CVE patches introduced 
> > > (test_patch.TestPatch.test_signed_off_by_presence)
> > > SKIP: test Upstream-Status presence: No new CVE patches introduced 
> > > (test_patch.TestPatch.test_upstream_status_presence_format)
> > > SKIP: test bugzilla entry format: No bug ID found 
> > > (test_mbox.TestMbox.test_bugzilla_entry_format)
> > > SKIP: test lic files chksum modified not mentioned: No modified recipes, 
> > > skipping test 
> > > (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
> > > SKIP: test lic files chksum presence: No added recipes, skipping test 
> > > (test_metadata.TestMetadata.test_lic_files_chksum_presence)
> > > SKIP: test license presence: No added recipes, skipping test 
> > > (test_metadata.TestMetadata.test_license_presence)
> > > SKIP: test series merge on head: Merge test is disabled for now 
> > > (test_mbox.TestMbox.test_series_merge_on_head)
> > > SKIP: test src uri left files: No modified recipes, skipping pretest 
> > > (test_metadata.TestMetadata.test_src_uri_left_files)
> > > SKIP: test summary presence: No added recipes, skipping test 
> > > (test_metadata.TestMetadata.test_summary_presence)
> > > SKIP: test target mailing list: Series merged, no reason to check other 
> > > mailing lists (test_mbox.TestMbox.test_target_mailing_list)
> > >
> > > ---
> > >
> > > Please address the issues identified and
> > > submit a new revision of the patch, or alternatively, reply to this
> > > email with an explanation of why the patch should be accepted. If you
> > > believe these results are due to an error in patchtest, please submit a
> > > bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
> > > under 'Yocto Project Subprojects'). For more information on specific
> > > failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
> > > you!
> >
> >
> >
> > 
> >

> 
> 
> 


-- 
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 (#193846): 
https://lists.openembedded.org/g/openembedded-core/message/193846
Mute This Topic: https://lists.openembedded.org/mt/103758512/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python: update 3.11.5 -> 3.12.1

2024-01-15 Thread Alexandre Belloni via lists.openembedded.org
I got failures on the AB:

https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/8302/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/8477/steps/25/logs/stdio

On 12/01/2024 13:41:41+0100, Alexander Kanavin wrote:
> Drop distutils and smtpd modules from packaging, as both are gone in 3.12.
> 
> Rebase:
> 0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
> (drop setup.py chunk as the file is gone)
> 
> Drop patches:
> 0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
> (setup.py gone, lib/termcap not mentioned anywhere else)
> 
> 0001-Don-t-search-system-for-headers-libraries.patch
> (setup.py gone, usr/lib64 not mentioned anywhere else)
> 
> 0001-Makefile-do-not-compile-.pyc-in-parallel.patch
> (replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE)
> 
> 0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch
> (setup.py gone, add_multiarch_paths not mentioned anywhere else)
> 
> 0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
> (has been superseded by Setup.local tweak in do_configure:prepend)
> 
> 12-distutils-prefix-is-inside-staging-area.patch
> (distutils has been removed upstream, so this old, unplesant hack can be 
> finally dropped)
> 
> avoid_warning_about_tkinter.patch
> (setup.py gone, tkinter detection logic performed in configure.ac)
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/classes-recipe/python3-dir.bbclass   |   2 +-
>  ...shebang-overflow-on-python-config.py.patch |   8 +-
>  ...ib-termcap-to-linker-flags-to-avoid-.patch |  25 -
>  ...-search-system-for-headers-libraries.patch |  27 -
>  ...e-stdin-I-O-errors-same-way-as-maste.patch |   6 +-
>  ...-use-prefix-value-from-build-configu.patch |  30 +++---
>  ...file-do-not-compile-.pyc-in-parallel.patch |  65 
>  ...-qemu-wrapper-when-gathering-profile.patch |  16 +--
>  ...sts-due-to-load-variability-on-YP-AB.patch |  24 ++---
>  ...est_sysconfig-for-posix_user-purelib.patch |  10 +-
>  ...asename-to-replace-CC-for-checking-c.patch |  44 
>  ...detect-multiarch-paths-when-cross-co.patch |  42 
>  ..._fileno-test-due-to-load-variability.patch |  10 +-
>  ...g.py-use-platlibdir-also-for-purelib.patch |   6 +-
>  ...pes.test_find-skip-without-tools-sdk.patch |  10 +-
>  ...le.py-correct-the-test-output-format.patch |   6 +-
>  ...orlines-skip-due-to-load-variability.patch |  10 +-
>  ...report-missing-dependencies-for-disa.patch |  38 ---
>  ...up.py-do-not-add-a-curses-include-pa.patch |  37 ++-
>  ...tutils-prefix-is-inside-staging-area.patch |  58 --
>  .../python3/avoid_warning_about_tkinter.patch |  30 --
>  .../python/python3/cgi_py.patch   |   4 +-
>  .../python/python3/crosspythonpath.patch  |   6 +-
>  .../python3/deterministic_imports.patch   |  18 +++-
>  .../python/python3/makerace.patch |  10 +-
>  .../python/python3/python3-manifest.json  | 100 +++---
>  .../{python3_3.11.5.bb => python3_3.12.1.bb}  |  27 +++--
>  27 files changed, 154 insertions(+), 515 deletions(-)
>  delete mode 100644 
> meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
>  delete mode 100644 
> meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
>  rename meta/recipes-devtools/python/{python3_3.11.5.bb => python3_3.12.1.bb} 
> (96%)
> 
> diff --git a/meta/classes-recipe/python3-dir.bbclass 
> b/meta/classes-recipe/python3-dir.bbclass
> index d93d337f76c..3d07de99b88 100644
> --- a/meta/classes-recipe/python3-dir.bbclass
> +++ b/meta/classes-recipe/python3-dir.bbclass
> @@ -4,7 +4,7 @@
>  # SPDX-License-Identifier: MIT
>  #
>  
> -PYTHON_BASEVERSION = "3.11"
> +PYTHON_BASEVERSION = "3.12"
>  PYTHON_ABI = ""
>  PYTHON_DIR = "python${PYTHON_BASEVERSION}"
>  PYTHON_PN = "python3"
> diff --git 
> a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
>  
> b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
> index db084350045..03ecda98c2c 100644
> --- 
> a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
> +++ 
> b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
> @@ -1,4 +1,4 @@
> -From 78f482b91d94b44a02e02c4580166757119061ea Mon Sep 17 

Re: [OE-core] [PATCH] rng-tools: move to meta-oe

2024-01-15 Thread Alexandre Belloni via lists.openembedded.org
tHostname=yes
> -ProtectKernelModules=yes
> -ProtectKernelLogs=yes
> -ProtectSystem=strict
> -RestrictAddressFamilies=AF_UNIX
> -RestrictNamespaces=yes
> -RestrictRealtime=yes
> -RestrictSUIDSGID=yes
> -SystemCallArchitectures=native
> -SystemCallErrorNumber=EPERM
> -SystemCallFilter=@system-service
> -
> -[Install]
> -WantedBy=sysinit.target
> diff --git a/meta/recipes-support/rng-tools/rng-tools_6.16.bb 
> b/meta/recipes-support/rng-tools/rng-tools_6.16.bb
> deleted file mode 100644
> index f0aa3ff93f..00
> --- a/meta/recipes-support/rng-tools/rng-tools_6.16.bb
> +++ /dev/null
> @@ -1,69 +0,0 @@
> -SUMMARY = "Random number generator daemon"
> -DESCRIPTION = "Check and feed random data from hardware device to kernel"
> -HOMEPAGE = "https://github.com/nhorman/rng-tools;
> -BUGTRACKER = "https://github.com/nhorman/rng-tools/issues;
> -LICENSE = "GPL-2.0-only"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> -DEPENDS = "openssl libcap"
> -
> -SRC_URI = 
> "git://github.com/nhorman/rng-tools.git;branch=master;protocol=https \
> -   file://init \
> -   file://default \
> -   file://rng-tools.service \
> -   "
> -SRCREV = "e061c313b95890eb5fa0ada0cd6eec619dafdfe2"
> -
> -S = "${WORKDIR}/git"
> -
> -inherit autotools update-rc.d systemd pkgconfig
> -
> -EXTRA_OECONF = "--without-rtlsdr"
> -
> -PACKAGECONFIG ??= "libjitterentropy"
> -PACKAGECONFIG:libc-musl = "libargp libjitterentropy"
> -
> -PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone,"
> -PACKAGECONFIG[libjitterentropy] = 
> "--enable-jitterentropy,--disable-jitterentropy,libjitterentropy"
> -PACKAGECONFIG[libp11] = "--with-pkcs11,--without-pkcs11,libp11 openssl"
> -PACKAGECONFIG[nistbeacon] = "--with-nistbeacon,--without-nistbeacon,curl 
> libxml2"
> -PACKAGECONFIG[qrypt] = "--with-qrypt,--without-qrypt,curl"
> -
> -INITSCRIPT_PACKAGES = "${PN}-service"
> -INITSCRIPT_NAME:${PN}-service = "rng-tools"
> -INITSCRIPT_PARAMS:${PN}-service = "start 03 2 3 4 5 . stop 30 0 6 1 ."
> -
> -SYSTEMD_PACKAGES = "${PN}-service"
> -SYSTEMD_SERVICE:${PN}-service = "rng-tools.service"
> -
> -CFLAGS += " -DJENT_CONF_ENABLE_INTERNAL_TIMER "
> -
> -PACKAGES =+ "${PN}-service"
> -
> -FILES:${PN}-service += " \
> -${sysconfdir}/init.d/rng-tools \
> -${sysconfdir}/default/rng-tools \
> -"
> -
> -# Refer autogen.sh in rng-tools
> -do_configure:prepend() {
> -cp ${S}/README.md ${S}/README
> -}
> -
> -do_install:append() {
> -install -Dm 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/rng-tools
> -install -Dm 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
> -install -Dm 0644 ${WORKDIR}/rng-tools.service \
> - ${D}${systemd_system_unitdir}/rng-tools.service
> -sed -i \
> --e 's,@SYSCONFDIR@,${sysconfdir},g' \
> --e 's,@SBINDIR@,${sbindir},g' \
> -${D}${sysconfdir}/init.d/rng-tools \
> -${D}${systemd_system_unitdir}/rng-tools.service
> -
> -if [ "${@bb.utils.contains('PACKAGECONFIG', 'nistbeacon', 'yes', 'no', 
> d)}" = "yes" ]; then
> -sed -i \
> --e '/^IPAddressDeny=any/d' \
> --e '/^RestrictAddressFamilies=/ s/$/ AF_INET AF_INET6/' \
> -${D}${systemd_system_unitdir}/rng-tools.service
> -fi
> -}
> -- 
> 2.34.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 (#193691): 
https://lists.openembedded.org/g/openembedded-core/message/193691
Mute This Topic: https://lists.openembedded.org/mt/103649050/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 2/3] insane.bbclass: Make check_32bit_symbols check for file functions too

2024-01-15 Thread Alexandre Belloni via lists.openembedded.org
This causes a bunch of warnings on the autobuilders:

https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/8306/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/5587/steps/11/logs/warnings

stdio: WARNING: lib32-openssh-9.5p1-r0 do_package_qa: QA Issue: 
/usr/bin/ssh-keyscan uses 32-bit api 'mkstemp'
stdio: WARNING: lib32-python3-numpy-1.26.2-r0 do_package_qa: QA Issue: 
/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-i386-linux-gnu.so
 uses 32-bit api 'fallocate'

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/8499/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5675/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/8382/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/8363/steps/13/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/7305/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/160/builds/295/steps/12/logs/warnings

stdio: WARNING: openssh-9.5p1-r0 do_package_qa: QA Issue: /usr/sbin/sshd uses 
32-bit api 'mkstemp'

https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7404/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/103/builds/7327/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/5743/steps/13/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/101/builds/7174/steps/13/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/2749/steps/21/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/8386/steps/13/logs/warnings

stdio: WARNING: openssh-9.5p1-r0 do_package_qa: QA Issue: /usr/bin/ssh-keyscan 
uses 32-bit api 'mkstemp'

https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/8436/steps/12/logs/warnings

stdio: WARNING: openssh-9.5p1-r0 do_package_qa: QA Issue: 
/usr/lib/openssh/ptest/regress/unittests/hostkeys/test_hostkeys uses 32-bit api 
'mkstemp'


On 12/01/2024 16:14:02+0100, Ola x Nilsson wrote:
> Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64, also check
> for functions redirected only based on _FILE_OFFSET_BITS and
> __USE_FILE_OFFSET64.
> 
> Signed-off-by: Ola x Nilsson 
> ---
>  meta/classes-global/insane.bbclass | 31 ++
>  1 file changed, 31 insertions(+)
> 
> diff --git a/meta/classes-global/insane.bbclass 
> b/meta/classes-global/insane.bbclass
> index 69741a6a79..1ff6a319c4 100644
> --- a/meta/classes-global/insane.bbclass
> +++ b/meta/classes-global/insane.bbclass
> @@ -598,6 +598,37 @@ def check_32bit_symbols(path, packagename, d, elf, 
> messages):
>  "fts_set",
>  # /usr/include/netdb.h
>  "gai_suspend",
> +
> +# Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64,
> +# also check for functions redirected only based on _FILE_OFFSET_BITS
> +# and __USE_FILE_OFFSET64
> +# /usr/include/bits/fcntl-linux.h
> +"fallocate",
> +# /usr/include/bits/resource.h
> +"prlimit",
> +# /usr/include/sys/statfs.h
> +"statfs", "fstatfs", "statvfs", "fstatvfs",
> +# /usr/include/sys/sendfile.h
> +"sendfile",
> +# /usr/include/sys/resource.h
> +"getrlimit", "setrlimit",
> +# /usr/include/sys/uio.h
> +"preadv", "pwritev", "preadv2", "pwritev2",
> +# /usr/include/sys/mman.h
> +"mmap",
> +# /usr/include/stdlib.h
> +"mkstemp", "mkstemps", "mkostemp", "mkostemps",
> +# /usr/include/stdio.h
> +"fopen", "tmpfile", "freopen", "fseeko", "ftello", "fgetpos",
> +"fsetpos",
> +# /usr/include/dirent.h
> +"readdir",
> +"readdir_r", "scandir", "scandirat", "alphasort", "getdirentries",
> +"versionsort",
> +# /usr/include/unistd.h
> +"lseek", "pread", "pwrite", "truncate", "ftruncate", "lockf",
> +# /usr/include/fcntl.h
> +"open", "openat", "creat", "posix_fadvise", "posix_fallocate",
>  }
>  
>  ptrn = re.compile(
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193689): 
https://lists.openembedded.org/g/openembedded-core/message/193689
Mute This Topic: https://lists.openembedded.org/mt/103684364/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 3/3] python3-cython: update 0.29.36 -> 3.0.7

2024-01-09 Thread Alexandre Belloni via lists.openembedded.org
On 08/01/2024 09:10:14+0100, Alexander Kanavin wrote:
> I suspect this might have been a transient network issue. Both tests
> fetch stuff from 3rd party servers.

This is super weird but I added the cython upgrade and got this one, on
fedora38-ty-4 again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6296/steps/14/logs/stdio

I'll try to reproduce without the other patches I'm carrying.

> 
> Alex
> 
> On Mon, 8 Jan 2024 at 08:39, Alexandre Belloni
>  wrote:
> >
> > On 07/01/2024 20:54:18+0100, Alexandre Belloni via lists.openembedded.org 
> > wrote:
> > > Hello,
> > >
> > > I believe this causes those failures on fedora, oe-selftest passed on
> > > the other hosts:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> > >
> > > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > > patch on this worker now.
> > >
> >
> > Amazingly, I can't reproduce anymore...
> >
> > >
> > > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > > pep517 build backends require cython 3.x when
> > > > python is at 3.12, so we can't hold this update any
> > > > longer. There are only a few things in meta-oe
> > > > and meta that break anymore, and fixes for them
> > > > are provided at the same time as this patch.
> > > >
> > > > License-update: http -> https
> > > >
> > > > Signed-off-by: Alexander Kanavin 
> > > > ---
> > > >  meta/recipes-devtools/python/python-cython.inc | 7 +--
> > > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => 
> > > > python3-cython_3.0.7.bb} (100%)
> > > >
> > > > diff --git a/meta/recipes-devtools/python/python-cython.inc 
> > > > b/meta/recipes-devtools/python/python-cython.inc
> > > > index 6aec6b012f1..bc1953c5045 100644
> > > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, 
> > > > high-level, easy-to-use world
> > > >  and the messy, low-level world of C."
> > > >  SECTION = "devel/python"
> > > >  LICENSE = "Apache-2.0"
> > > > -LIC_FILES_CHKSUM = 
> > > > "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > > +LIC_FILES_CHKSUM = 
> > > > "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > > >  PYPI_PACKAGE = "Cython"
> > > >  BBCLASSEXTEND = "native nativesdk"
> > > >
> > > > -SRC_URI[sha256sum] = 
> > > > "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > > +SRC_URI[sha256sum] = 
> > > > "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > > >  UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
> > > >
> > > >  inherit pypi
> > > > @@ -39,4 +39,7 @@ do_install:append() {
> > > > for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > > > sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' 
> > > > $PYTHSCRIPT
> > > > done
> > > > +
> > > > +# remove build paths from generated sources
> > > > +sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c 
> > > > ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > > >  }
> > > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb 
> > > > b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > similarity index 100%
> > > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > --
> > > > 2.39.2
> > > >
> > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexandre Belloni, co-owner and COO, Bootlin
> > > Embedded Linux and Kernel engineering
> > > https://bootlin.com
> >
> > >
> > > 
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com

> 
> 
> 


-- 
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 (#193484): 
https://lists.openembedded.org/g/openembedded-core/message/193484
Mute This Topic: https://lists.openembedded.org/mt/103542146/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] package_rpm: proposal to use internal dependency generator

2024-01-09 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This causes failures on the autobuilders:
https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/8478/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/8432/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/5523/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6142/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5957/steps/12/logs/stdio


DNF version: 4.18.2
cachedir: 
/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/beaglebone_yocto-poky-linux-gnueabi/core-image-ptest-valgrind/1.0/rootfs/var/cache/dnf
Added oe-repo repo from 
/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/beaglebone_yocto-poky-linux-gnueabi/core-image-ptest-valgrind/1.0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Tue 09 Jan 2024 09:11:27 AM UTC.
Last metadata expiration check: 0:00:01 ago on Tue 09 Jan 2024 09:11:29 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error: 
 Problem: conflicting requests
  - nothing provides /bin/csh needed by 
valgrind-ptest-3.21.0-r0.cortexa8hf_neon from oe-repo
  - nothing provides /this/is/a/bogus/interpreter/name needed by 
valgrind-ptest-3.21.0-r0.cortexa8hf_neon from oe-repo
  - nothing provides /usr/local/bin/bash needed by 
valgrind-ptest-3.21.0-r0.cortexa8hf_neon from oe-repo
  - nothing provides /usr/local/bin/ksh93 needed by 
valgrind-ptest-3.21.0-r0.cortexa8hf_neon from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)



On 09/01/2024 15:56:41+0800, Xiangyu Chen wrote:
> From: Xiangyu Chen 
> 
> Currently we are using external dependency generator, the rpm upstream already
> marked it as "Old Style Dependency Generators"[1], they also added a warning 
> message
> in rpm source code to inform that the external dependency generator is 
> deprecated[2].
> 
> Since it is only kept for backwards compatibility and may get removed in a 
> future
> release of rpm, so here is a proposal to use internal dependency generator by 
> default.
> 
> [1] 
> https://rpm-software-management.github.io/rpm/manual/dependency_generators.html
> [2] https://github.com/rpm-software-management/rpm/commit/cfcdd942
> 
> Signed-off-by: Xiangyu Chen 
> ---
>  meta/classes-global/package_rpm.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes-global/package_rpm.bbclass 
> b/meta/classes-global/package_rpm.bbclass
> index 2fc18fe98c..05cecee7d7 100644
> --- a/meta/classes-global/package_rpm.bbclass
> +++ b/meta/classes-global/package_rpm.bbclass
> @@ -681,7 +681,7 @@ python do_package_rpm () {
>  cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + 
> pkgwritedir + "'"
>  cmd = cmd + " --define '_builddir " + d.getVar('B') + "'"
>  cmd = cmd + " --define '_build_name_fmt 
> %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
> -cmd = cmd + " --define '_use_internal_dependency_generator 0'"
> +cmd = cmd + " --define '_use_internal_dependency_generator 1'"
>  cmd = cmd + " --define '_binaries_in_noarch_packages_terminate_build 0'"
>  cmd = cmd + " --define '_build_id_links none'"
>  cmd = cmd + " --define '_source_payload %s'" % rpmbuild_compmode
> -- 
> 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 (#193483): 
https://lists.openembedded.org/g/openembedded-core/message/193483
Mute This Topic: https://lists.openembedded.org/mt/103616137/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-08 Thread Alexandre Belloni via lists.openembedded.org
I got this today:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8420/steps/25/logs/stdio

WARNING: systemd-1_255.1-r0 do_install: Using /home/root as root user's home 
directory is not fully supported by systemd

On 07/01/2024 14:05:35+, Chen Qi via lists.openembedded.org wrote:
> Another patch in this series fixes the warning:
> rootfs-postcommands.bbclass: ignore comment mismatch in systemd_user_check
> 
> Is that patch also staged?
> 
> Regards,
> Qi
> 
> -Original Message-
> From: Alexandre Belloni  
> Sent: Saturday, January 6, 2024 12:02 AM
> To: Chen, Qi 
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1
> 
> Hello,
> 
> This fails with:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7361/steps/12/logs/warnings
> 
> WARNING: core-image-full-cmdline-1.0-r0 do_rootfs: User root has been defined 
> as (root, 0, 0, root, /root, /bin/sh) but sysusers.d expects it as (root, 0, 
> 0, Super User, /root, -)
> WARNING: core-image-full-cmdline-1.0-r0 do_rootfs: User nobody has been 
> defined as (nobody, 65534, 65534, nobody, /nonexistent, /usr/sbin/nologin) 
> but sysusers.d expects it as (nobody, 65534, 65534, Kernel Overflow User, -, 
> -)
> WARNING: core-image-sato-1.0-r0 do_rootfs: User root has been defined as 
> (root, 0, 0, root, /root, /bin/sh) but sysusers.d expects it as (root, 0, 0, 
> Super User, /root, -)
> WARNING: core-image-sato-1.0-r0 do_rootfs: User nobody has been defined as 
> (nobody, 65534, 65534, nobody, /nonexistent, /usr/sbin/nologin) but 
> sysusers.d expects it as (nobody, 65534, 65534, Kernel Overflow User, -, -)
> WARNING: core-image-sato-sdk-1.0-r0 do_rootfs: User root has been defined as 
> (root, 0, 0, root, /root, /bin/sh) but sysusers.d expects it as (root, 0, 0, 
> Super User, /root, -)
> WARNING: core-image-sato-sdk-1.0-r0 do_rootfs: User nobody has been defined 
> as (nobody, 65534, 65534, nobody, /nonexistent, /usr/sbin/nologin) but 
> sysusers.d expects it as (nobody, 65534, 65534, Kernel Overflow User, -, -)
> 
> On 27/12/2023 12:20:34+0800, Chen Qi via lists.openembedded.org wrote:
> > From: Chen Qi 
> > 
> > 1. Patch changes:
> > 
> > 0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch
> > is removed because it has no real effect now. The /lib is now /usr/lib 
> > because 'usrmerge' is a required distro feature for systemd.
> > 
> > 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch is 
> > refreshed for the new version to avoid patch-fuzz issue.
> > 
> > 2. root user's home directory now defaults to "/root":
> > 
> > The sysuers.d/basic.conf is still modified to respect the ROOT_HOME 
> > value, so if users set ROOT_HOME to "/home/root", the behavior is the 
> > same as before. However, this is only for backward compatibility. With 
> > this patch, The ROOT_HOME value is set to "/root" in 
> > init-manager-systemd.inc.
> > This is because systemd's source codes are hardcoding "/root", and 
> > other values are not officially supported. See the list below.
> > $ grep -rl '"/root"' src/ | grep -v 'src/test'
> > src/core/namespace.c
> > src/basic/user-util.c
> > src/nss-systemd/nss-systemd.c
> > src/nspawn/nspawn.c
> > src/firstboot/firstboot.c
> > src/shared/userdb.c
> > src/shared/user-record.c
> > $ grep -rl /root network/ factory/ sysctl.d/ sysusers.d/ rules.d/ 
> > tmpfiles.d/ units/ xorg/ tools/ sysusers.d/basic.conf.in 
> > tmpfiles.d/provision.conf units/emergency.service.in 
> > units/rescue.service.in tools/list-discoverable-partitions.py
> > Previously, the recipe was just substituting sysusers.d/basic.conf.in, 
> > which is not enough to be treated as 'fully support'. I deliberately 
> > put a warning message in do_install to warn users about non "/root" 
> > ROOT_HOME value. Don't remove it until all above places are handled.
> > 
> > 3. cgroupv2 is now the default.
> > cgroupv2 is the default for systemd for many years and it's the 
> > default for distros such as ubuntu and fedora. Let's also use it as the 
> > default.
> > 
> > Signed-off-by: Chen Qi 
> > ---
> >  .../distro/include/init-manager-systemd.inc   |  2 +
> >  meta/recipes-core/systemd/systemd.inc |  4 +-
> >  ...tall-dependency-links-at-install-tim.patch | 22 +++---  
> > ...sysctl.d-binfmt.d-modules-load.d-to-.patch | 73 ---
> >  .../systemd/systemd/basic.conf.in | 40 --
> >  .../{systemd_254.4.bb => systemd_255.1.bb}

Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7

2024-01-07 Thread Alexandre Belloni via lists.openembedded.org
On 07/01/2024 20:54:18+0100, Alexandre Belloni via lists.openembedded.org wrote:
> Hello,
> 
> I believe this causes those failures on fedora, oe-selftest passed on
> the other hosts:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> 
> Or maybe fedora38-ty-4 is the issue, I've started a build without the
> patch on this worker now.
> 

Amazingly, I can't reproduce anymore...

> 
> On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > pep517 build backends require cython 3.x when
> > python is at 3.12, so we can't hold this update any
> > longer. There are only a few things in meta-oe
> > and meta that break anymore, and fixes for them
> > are provided at the same time as this patch.
> > 
> > License-update: http -> https
> > 
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  meta/recipes-devtools/python/python-cython.inc | 7 +--
> >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> >  2 files changed, 5 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => 
> > python3-cython_3.0.7.bb} (100%)
> > 
> > diff --git a/meta/recipes-devtools/python/python-cython.inc 
> > b/meta/recipes-devtools/python/python-cython.inc
> > index 6aec6b012f1..bc1953c5045 100644
> > --- a/meta/recipes-devtools/python/python-cython.inc
> > +++ b/meta/recipes-devtools/python/python-cython.inc
> > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, 
> > high-level, easy-to-use world
> >  and the messy, low-level world of C."
> >  SECTION = "devel/python"
> >  LICENSE = "Apache-2.0"
> > -LIC_FILES_CHKSUM = 
> > "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > +LIC_FILES_CHKSUM = 
> > "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> >  PYPI_PACKAGE = "Cython"
> >  BBCLASSEXTEND = "native nativesdk"
> >  
> > -SRC_URI[sha256sum] = 
> > "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > +SRC_URI[sha256sum] = 
> > "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> >  UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
> >  
> >  inherit pypi
> > @@ -39,4 +39,7 @@ do_install:append() {
> > for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> > done
> > +
> > +# remove build paths from generated sources
> > +sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c 
> > ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> >  }
> > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb 
> > b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > -- 
> > 2.39.2
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> 
> 


-- 
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 (#193395): 
https://lists.openembedded.org/g/openembedded-core/message/193395
Mute This Topic: https://lists.openembedded.org/mt/103542146/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 3/3] python3-cython: update 0.29.36 -> 3.0.7

2024-01-07 Thread Alexandre Belloni via lists.openembedded.org
On 07/01/2024 21:09:11+0100, Alexandre Belloni wrote:
> On 07/01/2024 21:05:45+0100, Alexander Kanavin wrote:
> > 2024-01-07 15:06:26,597 - oe-selftest - INFO - FAIL:
> > devtool.DevtoolAddTests.test_devtool_add_fetch_simple
> > (subunit.RemotedTestCase)
> > ERROR: Nothing PROVIDES 'pv'
> > 
> > 2024-01-07 06:40:56,859 - oe-selftest - INFO - FAIL:
> > devtool.DevtoolAddTests.test_devtool_add_git_style1
> > (subunit.RemotedTestCase)
> > ERROR: Nothing PROVIDES 'mbedtls'
> > 
> > I'm totally puzzled. Why do you suspect cython?
> 
> I didn't have much else to suspect and I ran the same branch without
> this patch successfully (but on fedora38-ty-3). Apart from this, I guess
> I'm as puzzled as you are.

Note that dmesg on the worker had a bunch of
mips64-poky-linux- and prelink-rtld segfaults that are not
unusual.

But also an interesting
[435224.430115] mmap: qemu-ppc (2739864): VmData 1126244352 exceed data ulimit 
16777216. Update limits or use boot option ignore_rlimit_data.

I don't believe this is related to this issue.

> 
> > 
> > Alex
> > 
> > On Sun, 7 Jan 2024 at 20:54, Alexandre Belloni
> >  wrote:
> > >
> > > Hello,
> > >
> > > I believe this causes those failures on fedora, oe-selftest passed on
> > > the other hosts:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> > >
> > > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > > patch on this worker now.
> > >
> > >
> > > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > > pep517 build backends require cython 3.x when
> > > > python is at 3.12, so we can't hold this update any
> > > > longer. There are only a few things in meta-oe
> > > > and meta that break anymore, and fixes for them
> > > > are provided at the same time as this patch.
> > > >
> > > > License-update: http -> https
> > > >
> > > > Signed-off-by: Alexander Kanavin 
> > > > ---
> > > >  meta/recipes-devtools/python/python-cython.inc | 7 +--
> > > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => 
> > > > python3-cython_3.0.7.bb} (100%)
> > > >
> > > > diff --git a/meta/recipes-devtools/python/python-cython.inc 
> > > > b/meta/recipes-devtools/python/python-cython.inc
> > > > index 6aec6b012f1..bc1953c5045 100644
> > > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, 
> > > > high-level, easy-to-use world
> > > >  and the messy, low-level world of C."
> > > >  SECTION = "devel/python"
> > > >  LICENSE = "Apache-2.0"
> > > > -LIC_FILES_CHKSUM = 
> > > > "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > > +LIC_FILES_CHKSUM = 
> > > > "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > > >  PYPI_PACKAGE = "Cython"
> > > >  BBCLASSEXTEND = "native nativesdk"
> > > >
> > > > -SRC_URI[sha256sum] = 
> > > > "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > > +SRC_URI[sha256sum] = 
> > > > "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > > >  UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
> > > >
> > > >  inherit pypi
> > > > @@ -39,4 +39,7 @@ do_install:append() {
> > > >   for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > > >   sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' 
> > > > $PYTHSCRIPT
> > > >   done
> > > > +
> > > > +# remove build paths from generated sources
> > > > +sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c 
> > > > ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > > >  }
> > > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb 
> > > > b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > &g

Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7

2024-01-07 Thread Alexandre Belloni via lists.openembedded.org
On 07/01/2024 21:05:45+0100, Alexander Kanavin wrote:
> 2024-01-07 15:06:26,597 - oe-selftest - INFO - FAIL:
> devtool.DevtoolAddTests.test_devtool_add_fetch_simple
> (subunit.RemotedTestCase)
> ERROR: Nothing PROVIDES 'pv'
> 
> 2024-01-07 06:40:56,859 - oe-selftest - INFO - FAIL:
> devtool.DevtoolAddTests.test_devtool_add_git_style1
> (subunit.RemotedTestCase)
> ERROR: Nothing PROVIDES 'mbedtls'
> 
> I'm totally puzzled. Why do you suspect cython?

I didn't have much else to suspect and I ran the same branch without
this patch successfully (but on fedora38-ty-3). Apart from this, I guess
I'm as puzzled as you are.

> 
> Alex
> 
> On Sun, 7 Jan 2024 at 20:54, Alexandre Belloni
>  wrote:
> >
> > Hello,
> >
> > I believe this causes those failures on fedora, oe-selftest passed on
> > the other hosts:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> >
> > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > patch on this worker now.
> >
> >
> > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > pep517 build backends require cython 3.x when
> > > python is at 3.12, so we can't hold this update any
> > > longer. There are only a few things in meta-oe
> > > and meta that break anymore, and fixes for them
> > > are provided at the same time as this patch.
> > >
> > > License-update: http -> https
> > >
> > > Signed-off-by: Alexander Kanavin 
> > > ---
> > >  meta/recipes-devtools/python/python-cython.inc | 7 +--
> > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => 
> > > python3-cython_3.0.7.bb} (100%)
> > >
> > > diff --git a/meta/recipes-devtools/python/python-cython.inc 
> > > b/meta/recipes-devtools/python/python-cython.inc
> > > index 6aec6b012f1..bc1953c5045 100644
> > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, 
> > > high-level, easy-to-use world
> > >  and the messy, low-level world of C."
> > >  SECTION = "devel/python"
> > >  LICENSE = "Apache-2.0"
> > > -LIC_FILES_CHKSUM = 
> > > "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > +LIC_FILES_CHKSUM = 
> > > "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > >  PYPI_PACKAGE = "Cython"
> > >  BBCLASSEXTEND = "native nativesdk"
> > >
> > > -SRC_URI[sha256sum] = 
> > > "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > +SRC_URI[sha256sum] = 
> > > "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > >  UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
> > >
> > >  inherit pypi
> > > @@ -39,4 +39,7 @@ do_install:append() {
> > >   for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > >   sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' 
> > > $PYTHSCRIPT
> > >   done
> > > +
> > > +    # remove build paths from generated sources
> > > +sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c 
> > > ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > >  }
> > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb 
> > > b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > --
> > > 2.39.2
> > >
> >
> > >
> > > 
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com

-- 
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 (#193392): 
https://lists.openembedded.org/g/openembedded-core/message/193392
Mute This Topic: https://lists.openembedded.org/mt/103542146/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 3/3] python3-cython: update 0.29.36 -> 3.0.7

2024-01-07 Thread Alexandre Belloni via lists.openembedded.org
Hello,

I believe this causes those failures on fedora, oe-selftest passed on
the other hosts:

https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio

Or maybe fedora38-ty-4 is the issue, I've started a build without the
patch on this worker now.


On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> pep517 build backends require cython 3.x when
> python is at 3.12, so we can't hold this update any
> longer. There are only a few things in meta-oe
> and meta that break anymore, and fixes for them
> are provided at the same time as this patch.
> 
> License-update: http -> https
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/recipes-devtools/python/python-cython.inc | 7 +--
>  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
>  2 files changed, 5 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => 
> python3-cython_3.0.7.bb} (100%)
> 
> diff --git a/meta/recipes-devtools/python/python-cython.inc 
> b/meta/recipes-devtools/python/python-cython.inc
> index 6aec6b012f1..bc1953c5045 100644
> --- a/meta/recipes-devtools/python/python-cython.inc
> +++ b/meta/recipes-devtools/python/python-cython.inc
> @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, 
> high-level, easy-to-use world
>  and the messy, low-level world of C."
>  SECTION = "devel/python"
>  LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
>  PYPI_PACKAGE = "Cython"
>  BBCLASSEXTEND = "native nativesdk"
>  
> -SRC_URI[sha256sum] = 
> "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> +SRC_URI[sha256sum] = 
> "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
>  UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
>  
>  inherit pypi
> @@ -39,4 +39,7 @@ do_install:append() {
>   for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
>   sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
>   done
> +
> +# remove build paths from generated sources
> +sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c 
> ${S}/Cython/Plex/*.c
>  }
> diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb 
> b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> similarity index 100%
> rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193390): 
https://lists.openembedded.org/g/openembedded-core/message/193390
Mute This Topic: https://lists.openembedded.org/mt/103542146/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x

2024-01-07 Thread Alexandre Belloni via lists.openembedded.org
Hello,

You have a typo in the subject.

On 05/01/2024 14:35:42+0100, Alexander Kanavin wrote:
> This has been rejected by upstream in favour of requiring obsolete cython
> until there's 'proper' 3.x support. Months later, there's still no progress
> so let's just take the rejected fix, as it does work (as reported by others 
> as well),
> and allows moving forward with cython.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  .../0001-Fix-builds-with-Cython-3.patch   | 54 +++
>  .../python/python3-pyyaml_6.0.1.bb|  1 +
>  2 files changed, 55 insertions(+)
>  create mode 100644 
> meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> 
> diff --git 
> a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
>  
> b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> new file mode 100644
> index 000..a87d588b6a1
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> @@ -0,0 +1,54 @@
> +From 9cc23db56add79357b8f8257fe6fc0d6879d4579 Mon Sep 17 00:00:00 2001
> +From: "Andrew J. Hesford" 
> +Date: Fri, 21 Jul 2023 09:50:00 -0400
> +Subject: [PATCH] Fix builds with Cython 3
> +
> +This is a *de minimis* fix for building with Cython 3. Recent Cython<3
> +releases provided `Cython.Distutils.build_ext` as an alias to
> +`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this
> +alias and instead uses a wholly new `Cython.Distutils.build_ext` that
> +does not provide the `cython_sources` function used in `setup.py`.
> +
> +Explicitly importing `old_build_ext` preserves the existing behavior for
> +recent Cython<3 and uses the correct behavior for Cython 3. Should the
> +import fail (*e.g.*, because the version of Cython available predates
> +the availability of `old_build_ext`), the import falls back to just
> +`Cython.Distutils.build_ext`.
> +
> +Signed-off-by: Andrew J. Hesford 
> +Upstream-Status: Denied [https://github.com/yaml/pyyaml/pull/731]
> +Signed-off-by: Alexander Kanavin 
> +---
> + pyproject.toml | 2 +-
> + setup.py   | 6 +-
> + 2 files changed, 6 insertions(+), 2 deletions(-)
> +
> +diff --git a/pyproject.toml b/pyproject.toml
> +index 4bc04c0..2bf5ec8 100644
> +--- a/pyproject.toml
>  b/pyproject.toml
> +@@ -1,3 +1,3 @@
> + [build-system]
> +-requires = ["setuptools", "wheel", "Cython<3.0"]
> ++requires = ["setuptools", "wheel", "Cython"]
> + build-backend = "setuptools.build_meta"
> +diff --git a/setup.py b/setup.py
> +index 65b0ea0..4461580 100644
> +--- a/setup.py
>  b/setup.py
> +@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or 
> os.environ.get('PYYAML_FORCE_CYTHON') == '1':
> + with_cython = True
> + try:
> + from Cython.Distutils.extension import Extension as _Extension
> +-from Cython.Distutils import build_ext as _build_ext
> ++try:
> ++from Cython.Distutils.old_build_ext import old_build_ext as 
> _build_ext
> ++except ImportError:
> ++from Cython.Distutils import build_ext as _build_ext
> ++
> + with_cython = True
> + except ImportError:
> + if with_cython:
> +-- 
> +2.39.2
> +
> diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb 
> b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> index 4ab8f038f42..61f7cbc6b36 100644
> --- a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> +++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> @@ -9,6 +9,7 @@ PYPI_PACKAGE = "PyYAML"
>  
>  inherit pypi python_setuptools_build_meta
>  
> +SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch"
>  SRC_URI[sha256sum] = 
> "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
>  
>  RDEPENDS:${PN} += "\
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193389): 
https://lists.openembedded.org/g/openembedded-core/message/193389
Mute This Topic: https://lists.openembedded.org/mt/103542145/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] Revert "opkg-utils: upgrade 0.6.2 -> 0.6.3"

2024-01-05 Thread Alexandre Belloni via lists.openembedded.org
I believe this caused:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4191/steps/12/logs/stdio

On 03/01/2024 18:10:51-0800, Khem Raj wrote:
> This reverts commit a856192be5dd78c621478ed29871191c580686c4.
> 
> It causes a regression in creating different GIDs in image and ipk as
> reported in [1]
> 
> [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15334
> 
> Signed-off-by: Khem Raj 
> ---
>  .../opkg-utils/{opkg-utils_0.6.3.bb => opkg-utils_0.6.2.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/opkg-utils/{opkg-utils_0.6.3.bb => 
> opkg-utils_0.6.2.bb} (97%)
> 
> diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb 
> b/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb
> similarity index 97%
> rename from meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb
> rename to meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb
> index b509227e1a6..eb88b9b734c 100644
> --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb
> +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb
> @@ -10,7 +10,7 @@ PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 
> 'update-alternatives', 'virtu
>  SRC_URI = 
> "git://git.yoctoproject.org/opkg-utils;protocol=https;branch=master \
> file://0001-update-alternatives-correctly-match-priority.patch \
> "
> -SRCREV = "589880d01969eb9af1e66120e731d43193504718"
> +SRCREV = "67994e62dc598282830385da75ba9b1abbbda941"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#193370): 
https://lists.openembedded.org/g/openembedded-core/message/193370
Mute This Topic: https://lists.openembedded.org/mt/103515671/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2024-01-05 Thread Alexandre Belloni via lists.openembedded.org
systemd/systemd_254.4.bb
> +++ b/meta/recipes-core/systemd/systemd_255.1.bb
> @@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES += "systemd"
>  SRC_URI += " \
> file://touchscreen.rules \
> file://00-create-volatile.conf \
> -   file://basic.conf.in \
> ${@bb.utils.contains('PACKAGECONFIG', 
> 'polkit_hostnamed_fallback', 
> 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \
> ${@bb.utils.contains('PACKAGECONFIG', 
> 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} 
> \
> file://init \
> @@ -29,7 +28,6 @@ SRC_URI += " \
> file://systemd-pager.sh \
> 
> file://0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
> file://0008-implment-systemd-sysv-install-for-OE.patch \
> -   
> file://0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \
> "
>  
>  # patches needed by musl
> @@ -73,6 +71,7 @@ PACKAGECONFIG ??= " \
>  ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', 
> 'link-udev-shared', d)} \
>  backlight \
>  binfmt \
> +cgroupv2 \
>  gshadow \
>  hibernate \
>  hostnamed \
> @@ -266,12 +265,16 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \
>  # The 60 seconds is watchdog's default vaule.
>  WATCHDOG_TIMEOUT ??= "60"
>  
> -do_configure:prepend() {
> -  sed s@:ROOT_HOME:@${ROOT_HOME}@g ${WORKDIR}/basic.conf.in > 
> ${S}/sysusers.d/basic.conf.in
> -}
> -
>  do_install() {
>   meson_do_install
> + # Change the root user's home directory in /lib/sysusers.d/basic.conf.
> + # This is done merely for backward compatibility with previous systemd 
> recipes.
> + # systemd hardcodes root user's HOME to be "/root". Changing to use 
> other values
> + # may have unexpected runtime behaviors.
> + if [ "${ROOT_HOME}" != "/root" ]; then
> + bbwarn "Using ${ROOT_HOME} as root user's home directory is not 
> fully supported by systemd"
> + sed -i -e 's#/root#${ROOT_HOME}#g' 
> ${D}${exec_prefix}/lib/sysusers.d/basic.conf
> + fi
>   install -d ${D}/${base_sbindir}
>   if ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 
> 'false', 'true', d)}; then
>   # Provided by a separate recipe
> @@ -754,6 +757,7 @@ FILES:udev += "${base_sbindir}/udevd \
> ${rootlibexecdir}/udev/rules.d/60-persistent-alsa.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-input.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage.rules \
> +   
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage-mtd.rules \
> 
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage-tape.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-v4l.rules \
> ${rootlibexecdir}/udev/rules.d/60-sensor.rules \
> -- 
> 2.34.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 (#193368): 
https://lists.openembedded.org/g/openembedded-core/message/193368
Mute This Topic: https://lists.openembedded.org/mt/103380516/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] tcp-wrappers: drop libnsl2 build dependency

2024-01-04 Thread Alexandre Belloni via lists.openembedded.org
Please disregard this, I meant to reply to another one ;)

On 04/01/2024 10:47:47+0100, Alexandre Belloni via lists.openembedded.org wrote:
> Hello,
> 
> Your patch has a declared charset of 'y' which is not a thing and git am
> fails with:
> 
> error: cannot convert from y to UTF-8
> fatal: could not parse patch
> 
> You got the following prompt:
> 
> The following files are 8bit, but do not declare a Content-Transfer-Encoding.
> something.patch
> Which 8bit encoding should I declare [UTF-8]?
> 
> At that point, you pressed y but you should simply press enter. Please
> resend.
> 
> 
> On 03/01/2024 12:59:44+0100, Enrico Scholz via lists.openembedded.org wrote:
> > From: Enrico Scholz 
> > 
> > The only libnsl2 function which is used by tcp-wrappers is
> > 'yp_get_default_domain()'.  When USE_GETDOMAIN is set, this is
> > implemented as a simple wrapper around getdomainname() so that libnsl2
> > is not used at all.
> > 
> > We added a patch which does '#include ' to avoid
> > implicit forward declaration.  By conditionalizing this, the libnsl2
> > dependency can be dropped completely.
> > 
> > Signed-off-by: Enrico Scholz 
> > ---
> >  ...0001-Fix-implicit-function-declaration-warnings.patch | 9 +++--
> >  meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb   | 2 --
> >  2 files changed, 7 insertions(+), 4 deletions(-)
> > 
> > diff --git 
> > a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> >  
> > b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> > index ec793ac8ffed..474703885d9b 100644
> > --- 
> > a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> > +++ 
> > b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> > @@ -20,11 +20,16 @@ diff --git a/hosts_access.c b/hosts_access.c
> >  index 0133e5e..58697ea 100644
> >  --- a/hosts_access.c
> >  +++ b/hosts_access.c
> > -@@ -33,6 +33,7 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 
> > 97/02/12 02:13:22";
> > +@@ -33,6 +33,12 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 
> > 97/02/12 02:13:22";
> >   #endif
> >   #include 
> >   #include 
> > -+#include 
> > ++#ifdef USE_GETDOMAIN
> > ++/* defined in workarounds.c */
> > ++extern int yp_get_default_domain(char **ptr);
> > ++#else
> > ++#  include 
> > ++#endif/* USE_GETDOMAIN */
> >   #include 
> >   #include 
> >   #include 
> > diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb 
> > b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> > index c655da1199e7..bcd1d6f7929e 100644
> > --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> > +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> > @@ -7,8 +7,6 @@ SECTION = "console/network"
> >  LICENSE = "BSD-1-Clause"
> >  LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b1ea5e3da5c3127fa"
> >  
> > -DEPENDS += "libnsl2"
> > -
> >  PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev 
> > ${PN} ${PN}-doc"
> >  FILES:libwrap = "${base_libdir}/lib*${SOLIBS}"
> >  FILES:libwrap-doc = "${mandir}/man3 ${mandir}/man5"
> > -- 
> > 2.43.0
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> 
> 


-- 
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 (#193311): 
https://lists.openembedded.org/g/openembedded-core/message/193311
Mute This Topic: https://lists.openembedded.org/mt/103500355/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] grub: fs/fat: Don't error when mtime is 0

2024-01-04 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Your patch has a declared charset of 'y' which is not a thing and git am
fails with:

error: cannot convert from y to UTF-8
fatal: could not parse patch

You got the following prompt:

The following files are 8bit, but do not declare a Content-Transfer-Encoding.
something.patch
Which 8bit encoding should I declare [UTF-8]?

At that point, you pressed y but you should simply press enter. Please
resend.


On 03/01/2024 13:30:52+0100, Ming Liu wrote:
> From: Ming Liu 
> 
> A issue was found when I run "runqemu genericx86-64 ovmf", grub failed
> to boot, it's a known issue has been fixed in grub upstream, backport
> the fix.
> 
> Signed-off-by: Ming Liu 
> ---
>  ...1-fs-fat-Don-t-error-when-mtime-is-0.patch | 70 +++
>  meta/recipes-bsp/grub/grub2.inc   |  1 +
>  2 files changed, 71 insertions(+)
>  create mode 100644 
> meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
> 
> diff --git 
> a/meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch 
> b/meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
> new file mode 100644
> index 00..a5fbd58f46
> --- /dev/null
> +++ 
> b/meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
> @@ -0,0 +1,70 @@
> +From e43f3d93b28cce852c110c7a8e40d8311bcd8bb1 Mon Sep 17 00:00:00 2001
> +From: Robbie Harwood 
> +Date: Fri, 15 Jul 2022 16:13:02 -0400
> +Subject: [PATCH] fs/fat: Don't error when mtime is 0
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +In the wild, we occasionally see valid ESPs where some file modification
> +times are 0. For instance:
> +
> +├── [Dec 31  1979]  EFI
> +│   ├── [Dec 31  1979]  BOOT
> +│   │   ├── [Dec 31  1979]  BOOTX64.EFI
> +│   │   └── [Dec 31  1979]  fbx64.efi
> +│   └── [Jun 27 02:41]  fedora
> +│   ├── [Dec 31  1979]  BOOTX64.CSV
> +│   ├── [Dec 31  1979]  fonts
> +│   ├── [Mar 14 03:35]  fw
> +│   │   ├── [Mar 14 03:35]  
> fwupd-359c1169-abd6-4a0d-8bce-e4d4713335c1.cap
> +│   │   ├── [Mar 14 03:34]  
> fwupd-9d255c4b-2d88-4861-860d-7ee52ade9463.cap
> +│   │   └── [Mar 14 03:34]  
> fwupd-b36438d8-9128-49d2-b280-487be02d948b.cap
> +│   ├── [Dec 31  1979]  fwupdx64.efi
> +│   ├── [May 10 10:47]  grub.cfg
> +│   ├── [Jun  3 12:38]  grub.cfg.new.new
> +│   ├── [May 10 10:41]  grub.cfg.old
> +│   ├── [Jun 27 02:41]  grubenv
> +│   ├── [Dec 31  1979]  grubx64.efi
> +│   ├── [Dec 31  1979]  mmx64.efi
> +│   ├── [Dec 31  1979]  shim.efi
> +│   ├── [Dec 31  1979]  shimx64.efi
> +│   └── [Dec 31  1979]  shimx64-fedora.efi
> +└── [Dec 31  1979]  FSCK.REC
> +
> +5 directories, 17 files
> +
> +This causes grub-probe failure, which in turn causes grub-mkconfig
> +failure. They are valid filesystems that appear intact, and the Linux
> +FAT stack is able to mount and manipulate them without complaint.
> +
> +The check for mtime of 0 has been present since
> +20def1a3c3952982395cd7c3ea7e78638527962b (fat: support file
> +modification times).
> +
> +Upstream-Status: Backport 
> [https://git.savannah.gnu.org/cgit/grub.git/commit/?id=e43f3d93b28cce852c110c7a8e40d8311bcd8bb1]
> +
> +Signed-off-by: Robbie Harwood 
> +Reviewed-by: Daniel Kiper 
> +Signed-off-by: Ming Liu 
> +---
> + grub-core/fs/fat.c | 3 ---
> + 1 file changed, 3 deletions(-)
> +
> +diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c
> +index 0951b2e63..c5efed724 100644
> +--- a/grub-core/fs/fat.c
>  b/grub-core/fs/fat.c
> +@@ -1027,9 +1027,6 @@ grub_fat_dir (grub_device_t device, const char *path, 
> grub_fs_dir_hook_t hook,
> +   grub_le_to_cpu16 (ctxt.dir.w_date),
> +   );
> + #endif
> +-  if (info.mtimeset == 0)
> +-grub_error (GRUB_ERR_OUT_OF_RANGE,
> +-"invalid modification timestamp for %s", path);
> + 
> +   if (hook (ctxt.filename, , hook_data))
> + break;
> +-- 
> +2.34.1
> +
> diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
> index f594e7d3a4..1215b24668 100644
> --- a/meta/recipes-bsp/grub/grub2.inc
> +++ b/meta/recipes-bsp/grub/grub2.inc
> @@ -44,6 +44,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \
> file://0001-fs-ext2-Ignore-checksum-seed-incompat-feature.patch \
> file://CVE-2023-4692.patch \
> file://CVE-2023-4693.patch \
> +   file://0001-fs-fat-Don-t-error-when-mtime-is-0.patch \
>  

Re: [OE-core] [PATCH] tcp-wrappers: drop libnsl2 build dependency

2024-01-04 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Your patch has a declared charset of 'y' which is not a thing and git am
fails with:

error: cannot convert from y to UTF-8
fatal: could not parse patch

You got the following prompt:

The following files are 8bit, but do not declare a Content-Transfer-Encoding.
something.patch
Which 8bit encoding should I declare [UTF-8]?

At that point, you pressed y but you should simply press enter. Please
resend.


On 03/01/2024 12:59:44+0100, Enrico Scholz via lists.openembedded.org wrote:
> From: Enrico Scholz 
> 
> The only libnsl2 function which is used by tcp-wrappers is
> 'yp_get_default_domain()'.  When USE_GETDOMAIN is set, this is
> implemented as a simple wrapper around getdomainname() so that libnsl2
> is not used at all.
> 
> We added a patch which does '#include ' to avoid
> implicit forward declaration.  By conditionalizing this, the libnsl2
> dependency can be dropped completely.
> 
> Signed-off-by: Enrico Scholz 
> ---
>  ...0001-Fix-implicit-function-declaration-warnings.patch | 9 +++--
>  meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb   | 2 --
>  2 files changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git 
> a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
>  
> b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> index ec793ac8ffed..474703885d9b 100644
> --- 
> a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> +++ 
> b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch
> @@ -20,11 +20,16 @@ diff --git a/hosts_access.c b/hosts_access.c
>  index 0133e5e..58697ea 100644
>  --- a/hosts_access.c
>  +++ b/hosts_access.c
> -@@ -33,6 +33,7 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 
> 02:13:22";
> +@@ -33,6 +33,12 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 
> 02:13:22";
>   #endif
>   #include 
>   #include 
> -+#include 
> ++#ifdef USE_GETDOMAIN
> ++/* defined in workarounds.c */
> ++extern int yp_get_default_domain(char **ptr);
> ++#else
> ++#  include 
> ++#endif  /* USE_GETDOMAIN */
>   #include 
>   #include 
>   #include 
> diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb 
> b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> index c655da1199e7..bcd1d6f7929e 100644
> --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
> @@ -7,8 +7,6 @@ SECTION = "console/network"
>  LICENSE = "BSD-1-Clause"
>  LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b1ea5e3da5c3127fa"
>  
> -DEPENDS += "libnsl2"
> -
>  PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev 
> ${PN} ${PN}-doc"
>  FILES:libwrap = "${base_libdir}/lib*${SOLIBS}"
>  FILES:libwrap-doc = "${mandir}/man3 ${mandir}/man5"
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#193309): 
https://lists.openembedded.org/g/openembedded-core/message/193309
Mute This Topic: https://lists.openembedded.org/mt/103500355/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 0/7] kernel: consolidated pull request

2024-01-02 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This breaks meta-virt:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/2705/steps/12/logs/stdio

and I believe this also causes:

AssertionError: 2 != 0 : Log: 
/home/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0/target_logs/dmesg
---
Central error: [0.455917] ACPI: _OSC evaluation for CPUs failed, trying _PDC
***
[0.413863] raid6: sse2x2   gen() 14704 MB/s
[0.430863] raid6: sse2x1   gen() 11500 MB/s
[0.431830] raid6: using algorithm sse2x4 gen() 15109 MB/s
[0.448863] raid6:  xor() 8116 MB/s, rmw enabled
[0.449864] raid6: using ssse3x2 recovery algorithm
[0.450948] ACPI: Added _OSI(Module Device)
[0.451846] ACPI: Added _OSI(Processor Device)
[0.451865] ACPI: Added _OSI(3.0 _SCP Extensions)
[0.452865] ACPI: Added _OSI(Processor Aggregator Device)
[0.454666] ACPI: 1 ACPI AML tables successfully acquired and loaded
[0.455917] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[0.457035] ACPI: Interpreter enabled
[0.457889] ACPI: PM: (supports S0 S3 S5)
[0.458874] ACPI: Using IOAPIC for interrupt routing
[0.459924] PCI: Using host bridge windows from ACPI; if necessary, use 
"pci=nocrs" and report a bug
[0.460865] PCI: Using E820 reservations for host bridge windows
[0.461998] ACPI: Enabled 2 GPEs in block 00 to 3F
[0.465281] ACPI: PCI Root Bridge [PCI0] (domain  [bus 00-ff])
[0.465869] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM 
Segments MSI HPX-Type3]
[0.466904] acpi PNP0A08:00: _OSC: platform does not support [LTR]
[0.467913] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability]


On 01/01/2024 23:31:02-0500, Bruce Ashfield wrote:
> From: Bruce Ashfield 
> 
> Richard,
> 
> As promised, I waited until the new year to send this update
> to introduce the 6.6 kernel and libc-headers.
> 
> I'll be sending patches to the appropriate lists to remove
> 6.5 shortly and make 6.6 the default. Once we have the reference
> boards updated to 6.6, the 6.1 kernel will also be removed.
> 
> I've built 6.6 for all supported arches, core-image-* and have
> also tested against musl.
> 
> Patches to meta-oe have been sent, and the work done with
> 6.6 as the -dev kernel means that the tightly coupled packages
> already build against 6.6.
> 
> I'm sure there will be issues .. as there always are, but at
> this point, I need more eyes and test cycles to find those
> issues.
> 
> Bruce
> 
> 
> The following changes since commit fe5d2f0b666c83e3336ea9962c8e2e4c39816e21:
> 
>   bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9 
> (2023-12-30 11:03:25 +)
> 
> are available in the Git repository at:
> 
>   https://git.yoctoproject.org/poky-contrib zedd/kernel
>   https://git.yoctoproject.org/poky-contrib/log/?h=zedd/kernel
> 
> Bruce Ashfield (7):
>   linux-libc-headers: update to v6.6-lts
>   linux-yocto: introduce 6.6 reference kernel
>   linux-yocto/6.6: fix AB-INT: QEMU kernel panic: No irq handler for
> vector
>   linux-yocto-rt/6.6: fix CVE exclusion include
>   linux-yocto/6.6: update CVE exclusions
>   linux-yocto/6.6: update to v6.6.8
>   linux-yocto/6.1: update to v6.1.69
> 
>  meta/conf/distro/include/tcmode-default.inc   |2 +-
>  ...aders_6.5.bb => linux-libc-headers_6.6.bb} |2 +-
>  .../linux/cve-exclusion_6.6.inc   | 5172 +
>  .../linux/linux-yocto-rt_6.1.bb   |6 +-
>  .../linux/linux-yocto-rt_6.6.bb   |   48 +
>  .../linux/linux-yocto-tiny_6.1.bb |6 +-
>  .../linux/linux-yocto-tiny_6.6.bb |   33 +
>  meta/recipes-kernel/linux/linux-yocto_6.1.bb  |   28 +-
>  meta/recipes-kernel/linux/linux-yocto_6.6.bb  |   72 +
>  9 files changed, 5347 insertions(+), 22 deletions(-)
>  rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_6.5.bb => 
> linux-libc-headers_6.6.bb} (83%)
>  create mode 100644 meta/recipes-kernel/linux/cve-exclusion_6.6.inc
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.6.bb
> 
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193233): 
https://lists.openembedded.org/g/openembedded-core/message/193233
Mute This Topic: https://lists.openembedded.org/mt/103476582/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/7] selftest/sstatetests: fix up printdiff test to match rework of printdiff logic

2024-01-01 Thread Alexandre Belloni via lists.openembedded.org
e couldn't be used from the cache 
> because:",
>  "We need hash",
>  "most recent matching task was")
> -expected_sametmp_output = expected_output + ("Variable 
> base_do_configure value changed",'+   echo "this changes base_do_configure() 
> definiton "')
> +expected_sametmp_output = expected_output + (
> +"Variable base_do_configure value changed",
> +'+   echo "this changes base_do_configure() definiton "')
>  expected_difftmp_output = expected_output
>  
>  self.run_test_printdiff_changeconfig("core-image-minimal",
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#193095): 
https://lists.openembedded.org/g/openembedded-core/message/193095
Mute This Topic: https://lists.openembedded.org/mt/103239347/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 v3 1/4] dummy-sdk-package.inc: Filter packages which are marked for installation

2024-01-01 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This still causes issues:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6252/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6203/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6256/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6263/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2682/steps/15/logs/stdio

2023-12-31 22:35:38,306 - oe-selftest - INFO - 5: 63/78 555/579 (65.04s) (0 
failed) (spdx.SPDXCheck.test_spdx_base_files)
2023-12-31 22:35:38,306 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/spdx.py",
 line 54, in test_spdx_base_files
self.check_recipe_spdx("packages", "base-files.spdx.json", "base-files")
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/spdx.py",
 line 50, in check_recipe_spdx
self.assertExists(full_file_path)
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/case.py",
 line 251, in assertExists
raise self.failureException(msg)
AssertionError: 
'/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3943718/tmp/deploy/spdx/qemux86_64/packages/base-files.spdx.json'
 does not exist



On 18/12/2023 11:28:04+0100, Pavel Zhukov wrote:
> Hi Alex, Luca,
> 
> Can you please retest this patchset one more time please?
> Neither myself nor RP could reproduce build failure with recent
> master/sstate so it might be fixed in the meantime.
> 
> -- 
> Pavel
> 
> On 2023-10-12 09:36, Luca Ceresoli via lists.openembedded.org wrote:
> > Hello Pavel,
> > 
> > On Mon,  9 Oct 2023 16:39:58 +0200
> > "Pavel Zhukov"  wrote:
> > 
> > > if packages is provided by dummysdk and in the same time marked for
> > > installation with IMAGE_INSTALL it causes conflict in apt because
> > > virtual providers are
> > > not taken into account if package is asked to be installed explicitly.
> > > Filter such packages from provides/conflicts to workaround this
> > > problem.
> > > This workaround brakes RPM usecase because of file conlicts with
> > > DUMMYPROVIDES, use DUMMYPROVIDES_PACKAGES_MULTILIB instead (which
> > > doesn't include file based conflicts).
> > > While this is needed for the case of package_deb only adding it for
> > > all
> > > package managers to not complicate the code.
> > > 
> > > Fixes: [Yocto #13338] [Yocto #14066]
> > > 
> > > Fixes:
> > > The following information may help to resolve the situation:
> > > 
> > > The following packages have unmet dependencies:
> > >  target-sdk-provides-dummy : Conflicts: bash
> > > E: Unable to correct problems, you have held broken packages.
> > > 
> > > Signed-off-by: Pavel Zhukov 
> > 
> > Testing with this series applied results in lots of errors like these:
> > 
> > stdio: ERROR: core-image-minimal-1.0-r0 do_rootfs: No SPDX file found
> > for package base-files, False
> > sstate:base-files:qemux86_64-poky-linux:3.0.14:r0:qemux86_64:11:
> > sstate:base-files::3.0.14:r0::11:
> > stdio: ERROR: core-image-minimal-mtdutils-1.0-r0 do_rootfs: No SPDX
> > file found for package base-files, False
> > sstate:base-files:qemux86_64-poky-linux:3.0.14:r0:qemux86_64:11:
> > sstate:base-files::3.0.14:r0::11:
> > 
> > See the full log at:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5894/steps/14/logs/stdio
> > 
> > Luca
> > 
> > 
> > 

> 
> 
> 


-- 
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 (#193094): 
https://lists.openembedded.org/g/openembedded-core/message/193094
Mute This Topic: https://lists.openembedded.org/mt/101853406/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 v3 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alexandre Belloni via lists.openembedded.org
Hello Alex,

This fails the reproducibility test:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4159/steps/13/logs/stdio

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231228-881dx278/packages/diff-html/

On 28/12/2023 14:59:10+, Alex Kiernan wrote:
> Signed-off-by: Alex Kiernan 
> ---
> 
> (no changes since v1)
> 
>  .../hello-rs/hello-rs-crates.inc  |  8 +++
>  .../hello-rs/0001-Greet-OE-Core.patch | 24 +++
>  .../hello-rs/hello-rs_0.1.0.bb| 19 +++
>  3 files changed, 51 insertions(+)
>  create mode 100644 
> meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
>  create mode 100644 
> meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
>  create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> 
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> new file mode 100644
> index ..9646482b2875
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> @@ -0,0 +1,8 @@
> +# Autogenerated with 'bitbake -c update_crates hello-rs'
> +
> +# from Cargo.lock
> +SRC_URI += " \
> +crate://crates.io/figlet-rs/0.1.5 \
> +"
> +
> +SRC_URI[figlet-rs-0.1.5.sha256sum] = 
> "4742a071cd9694fc86f9fa1a08fa3e53d40cc899d7ee532295da2d085639fbc5"
> diff --git 
> a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> new file mode 100644
> index ..7569ccef7bbb
> --- /dev/null
> +++ 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> @@ -0,0 +1,24 @@
> +From 3aea1ece0ca6ac0bf0ffe42736827af22966f767 Mon Sep 17 00:00:00 2001
> +From: Alex Kiernan 
> +Date: Wed, 27 Dec 2023 09:55:48 +
> +Subject: [PATCH] Greet "OE-Core"
> +
> +Signed-off-by: Alex Kiernan 
> +Upstream-Status: Inappropriate
> +---
> + src/main.rs | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/main.rs b/src/main.rs
> +index f4a310758b19..224eca65c38d 100644
> +--- a/src/main.rs
>  b/src/main.rs
> +@@ -3,7 +3,7 @@ use hello_lib::greet;
> + 
> + fn main() {
> + let standard_font = FIGfont::standard().unwrap();
> +-let greeting = greet(None);
> ++let greeting = greet(Some("OE-Core"));
> + let figure = standard_font.convert();
> + println!("{}", figure.unwrap());
> + }
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> new file mode 100644
> index ..0046b2ca0356
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Simple hello world example"
> +HOMEPAGE = "https://github.com/akiernan/hello-bin;
> +LICENSE = "Unlicense"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
> +
> +SRC_URI = 
> "git://github.com/akiernan/hello-bin.git;protocol=https;branch=main;subpath=rust
>  \
> +   file://0001-Greet-OE-Core.patch \
> +   
> git://github.com/akiernan/hello-lib.git;protocol=https;branch=main;name=hello-lib;destsuffix=hello-lib;type=git-dependency
>  \
> +"
> +SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
> +
> +SRCREV_FORMAT .= "_hello-lib"
> +SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
> +
> +S = "${WORKDIR}/rust"
> +
> +inherit cargo cargo-update-recipe-crates ptest-cargo
> +
> +require ${BPN}-crates.inc
> -- 
> 2.39.0
> 

> 
> 
> 


-- 
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 (#193000): 
https://lists.openembedded.org/g/openembedded-core/message/193000
Mute This Topic: https://lists.openembedded.org/mt/103401571/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2023-12-28 Thread Alexandre Belloni via lists.openembedded.org
On 28/12/2023 03:00:08+, Chen, Qi wrote:
> I double checked it in my environment, setting INIT_MANAGER to "systemd" and 
> then 'bitbake systemd' will not generate this warning. In this case 
> ROOT_HOME's value is "/root".
> I checked 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/8354, but I 
> couldn't find the configuration items that set the init manager to systemd.
> Does the build use the variable 'INIT_MANAGER'? Does it set ROOT_HOME to 
> "/home/root" somewhere?
> 

This is the config that is used:

MACHINE = "qemux86-64"
DISTRO = "poky"
SDKMACHINE = "x86_64"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
DL_DIR = '/srv/autobuilder/autobuilder.yocto.io/current_sources'
SSTATE_DIR ?= '/srv/autobuilder/autobuilder.yocto.io/pub/sstate'
TEST_SUITES:append = ' systemd'
DISTRO_FEATURES:append = ' pam systemd usrmerge'
VIRTUAL-RUNTIME_init_manager = 'systemd'
DISTRO_FEATURES_BACKFILL_CONSIDERED = 'sysvinit'
DISTRO_FEATURES:remove = 'x11'
QEMU_USE_KVM = 'True'
INHERIT += 'report-error'
PREMIRRORS = ''
BB_GENERATE_MIRROR_TARBALLS = '1'
BB_NUMBER_THREADS = '16'
BB_NUMBER_PARSE_THREADS = '16'
PARALLEL_MAKE = '-j 16 -l 52'
BB_PRESSURE_MAX_CPU = '1'
BB_PRESSURE_MAX_IO = '1'
XZ_MEMLIMIT = '5%'
XZ_THREADS = '8'
ZSTD_THREADS = '8'
BB_TASK_NICE_LEVEL = '5'
BB_TASK_NICE_LEVEL:task-testimage = '0'
BB_TASK_IONICE_LEVEL = '2.7'
BB_TASK_IONICE_LEVEL:task-testimage = '2.1'
IMAGE_CLASSES += 'testimage'
TEST_QEMUBOOT_TIMEOUT = '1500'
SANITY_TESTED_DISTROS = ''
SDK_EXT_TYPE = 'minimal'
SDK_INCLUDE_TOOLCHAIN = '1'
ESDK_LOCAL_CONF_REMOVE:append = 'BB_HASHSERVE'
BB_DISKMON_DIRS = 'STOPTASKS,${TMPDIR},1G,100K STOPTASKS,${DL_DIR},1G 
STOPTASKS,${SSTATE_DIR},1G STOPTASKS,/tmp,100M,30K HALT,${TMPDIR},100M,1K 
HALT,${DL_DIR},100M HALT,${SSTATE_DIR},100M HALT,/tmp,10M,1K'
BB_HASHSERVE = 'hashserv.yocto.io:8686'
RUNQEMU_TMPFS_DIR = '/home/pokybuild/tmp'
BB_HEARTBEAT_EVENT = '60'
BB_LOG_HOST_STAT_ON_INTERVAL = '1'
BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 3'
BB_LOG_HOST_STAT_ON_FAILURE = '1'
BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'
SDK_TOOLCHAIN_LANGS += 'rust'
BB_SERVER_TIMEOUT = '60'

It is in auto.conf and it is displayed in the first lines of
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/8354/steps/14/logs/stdio

> Regards,
> Qi
> 
> -Original Message-
> From: Alexandre Belloni  
> Sent: Wednesday, December 27, 2023 7:59 PM
> To: Chen, Qi 
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1
> 
> We hit the added warning on the autobuilders:
> 
> WARNING: systemd-1_255.1-r0 do_install: Using /home/root as root user's home 
> directory is not fully supported by systemd
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/8354/steps/14/logs/warnings
> 
> On 27/12/2023 12:20:34+0800, Chen Qi via lists.openembedded.org wrote:
> > From: Chen Qi 
> > 
> > 1. Patch changes:
> > 
> > 0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch
> > is removed because it has no real effect now. The /lib is now /usr/lib 
> > because 'usrmerge' is a required distro feature for systemd.
> > 
> > 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch is 
> > refreshed for the new version to avoid patch-fuzz issue.
> > 
> > 2. root user's home directory now defaults to "/root":
> > 
> > The sysuers.d/basic.conf is still modified to respect the ROOT_HOME 
> > value, so if users set ROOT_HOME to "/home/root", the behavior is the 
> > same as before. However, this is only for backward compatibility. With 
> > this patch, The ROOT_HOME value is set to "/root" in 
> > init-manager-systemd.inc.
> > This is because systemd's source codes are hardcoding "/root", and 
> > other values are not officially supported. See the list below.
> > $ grep -rl '"/root"' src/ | grep -v 'src/test'
> > src/core/namespace.c
> > src/basic/user-util.c
> > src/nss-systemd/nss-systemd.c
> > src/nspawn/nspawn.c
> > src/firstboot/firstboot.c
> > src/shared/userdb.c
> > src/shared/user-record.c
> > $ grep -rl /root network/ factory/ sysctl.d/ sysusers.d/ rules.d/ 
> > tmpfiles.d/ units/ xorg/ tools/ sysusers.d/basic.conf.in 
> > tmpfiles.d/provision.conf units/emergency.service.in 
> > units/rescue.service.in tools/list-discoverable-partitions.py
> > Previously, the recipe was just substituting sysusers.d/basic.conf.in, 
> > which is not enough to be treated as 'fully support'. I deliberately 
> > put a warning message in do_install to warn users about non "/root" 
> &

Re: [OE-core] [PATCH] aspell: upgrade 0.60.8 -> 0.60.8.1

2023-12-27 Thread Alexandre Belloni via lists.openembedded.org
e;
> --if (top < bottom) {new_chunk(); top -= size;}
> -+if (top < bottom) {check_size(size); new_chunk(); top -= size;}
> - return top;
> -   }
> -   // This alloc_top will insure that the object is aligned based on
> -@@ -88,7 +95,7 @@ class ObjStack
> -   {loop:
> - top -= size;
> - align_top(align);
> --if (top < bottom) {new_chunk(); goto loop;}
> -+if (top < bottom) {check_size(size); new_chunk(); goto loop;}
> - return top;
> -   }
> -   char * dup_top(ParmString str) {
> -@@ -117,6 +124,7 @@ class ObjStack
> -   void * alloc_temp(size_t size) {
> - temp_end = bottom + size;
> - if (temp_end > top) {
> -+  check_size(size);
> -   new_chunk();
> -   temp_end = bottom + size;
> - }
> -@@ -131,6 +139,7 @@ class ObjStack
> - } else {
> -   size_t s = temp_end - bottom;
> -   byte * p = bottom;
> -+  check_size(size);
> -   new_chunk();
> -   memcpy(bottom, p, s);
> -   temp_end = bottom + size;
> -@@ -150,6 +159,7 @@ class ObjStack
> - } else {
> -   size_t s = temp_end - bottom;
> -   byte * p = bottom;
> -+  check_size(size);
> -   new_chunk();
> -   memcpy(bottom, p, s);
> -   temp_end = bottom + size;
> -- 
> 2.34.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 (#192968): 
https://lists.openembedded.org/g/openembedded-core/message/192968
Mute This Topic: https://lists.openembedded.org/mt/103384053/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 V4] cairo: upgrade 1.16.0 -> 1.18.0

2023-12-27 Thread Alexandre Belloni via lists.openembedded.org
;${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xlib 
> xcb', '', d)} trace"
> +PACKAGECONFIG[xlib] = "-Dxlib=enabled,-Dxlib=disabled,virtual/libx11 
> libxrender libxext"
> +PACKAGECONFIG[xcb] = "-Dxcb=enabled,-Dxcb=disabled,libxcb"
> +# cairo-trace is GPLv3 so add an option to remove it
> +PACKAGECONFIG[trace] = ""
>  
>  do_install:append () {
> - rm -rf ${D}${bindir}/cairo-sphinx
> - rm -rf ${D}${libdir}/cairo/cairo-fdr*
> - rm -rf ${D}${libdir}/cairo/cairo-sphinx*
> - rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr*
> - rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx*
> - [ ! -d ${D}${bindir} ] ||
> - rmdir -p --ignore-fail-on-non-empty ${D}${bindir}
> - [ ! -d ${D}${libdir}/cairo ] ||
> - rmdir -p --ignore-fail-on-non-empty ${D}${libdir}/cairo
> +if ! ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'true', 'false', 
> d)}; then
> +rm ${D}${bindir}/cairo-trace ${D}${libdir}/cairo/libcairo-trace.so
> +rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${libdir}/cairo
> +fi
>  }
>  
>  PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils"
> @@ -99,7 +77,7 @@ DESCRIPTION:cairo-perf-utils = "The Cairo library 
> performance utilities"
>  FILES:${PN} = "${libdir}/libcairo.so.*"
>  FILES:${PN}-gobject = "${libdir}/libcairo-gobject.so.*"
>  FILES:${PN}-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*"
> -FILES:${PN}-perf-utils = "${bindir}/cairo-trace* ${libdir}/cairo/*.la 
> ${libdir}/cairo/libcairo-trace.so"
> +FILES:${PN}-perf-utils = "${bindir}/cairo-* 
> ${libdir}/cairo/libcairo-trace.so ${libdir}/cairo/libcairo-fdr.so"
>  
>  BBCLASSEXTEND = "native nativesdk"
>  
> -- 
> 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 (#192938): 
https://lists.openembedded.org/g/openembedded-core/message/192938
Mute This Topic: https://lists.openembedded.org/mt/103380468/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2023-12-27 Thread Alexandre Belloni via lists.openembedded.org
 @@ PACKAGECONFIG ??= " \
>  ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', 
> 'link-udev-shared', d)} \
>  backlight \
>  binfmt \
> +cgroupv2 \
>  gshadow \
>  hibernate \
>  hostnamed \
> @@ -266,12 +265,16 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \
>  # The 60 seconds is watchdog's default vaule.
>  WATCHDOG_TIMEOUT ??= "60"
>  
> -do_configure:prepend() {
> -  sed s@:ROOT_HOME:@${ROOT_HOME}@g ${WORKDIR}/basic.conf.in > 
> ${S}/sysusers.d/basic.conf.in
> -}
> -
>  do_install() {
>   meson_do_install
> + # Change the root user's home directory in /lib/sysusers.d/basic.conf.
> + # This is done merely for backward compatibility with previous systemd 
> recipes.
> + # systemd hardcodes root user's HOME to be "/root". Changing to use 
> other values
> + # may have unexpected runtime behaviors.
> + if [ "${ROOT_HOME}" != "/root" ]; then
> + bbwarn "Using ${ROOT_HOME} as root user's home directory is not 
> fully supported by systemd"
> + sed -i -e 's#/root#${ROOT_HOME}#g' 
> ${D}${exec_prefix}/lib/sysusers.d/basic.conf
> + fi
>   install -d ${D}/${base_sbindir}
>   if ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 
> 'false', 'true', d)}; then
>   # Provided by a separate recipe
> @@ -754,6 +757,7 @@ FILES:udev += "${base_sbindir}/udevd \
> ${rootlibexecdir}/udev/rules.d/60-persistent-alsa.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-input.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage.rules \
> +   
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage-mtd.rules \
> 
> ${rootlibexecdir}/udev/rules.d/60-persistent-storage-tape.rules \
> ${rootlibexecdir}/udev/rules.d/60-persistent-v4l.rules \
> ${rootlibexecdir}/udev/rules.d/60-sensor.rules \
> -- 
> 2.34.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 (#192937): 
https://lists.openembedded.org/g/openembedded-core/message/192937
Mute This Topic: https://lists.openembedded.org/mt/103380516/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] appstream: update 0.16.3 -> 1.0.1

2023-12-23 Thread Alexandre Belloni via lists.openembedded.org
On 23/12/2023 09:57:51+0100, Alexander Kanavin wrote:
> Thanks, there's a working patch from Markus that just landed in master.
> 

Yes, I tested it earlier but you had a better version ;)

> Alex
> 
> On Sat, 23 Dec 2023 at 05:56, Alexandre Belloni
>  wrote:
> >
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/5512/steps/12/logs/errors
> >
> > On 22/12/2023 11:46:31+0100, Alexander Kanavin wrote:
> > > Signed-off-by: Alexander Kanavin 
> > > ---
> > >  ...-meson-do-not-rely-on-an-exe-wrapper.patch | 36 ---
> > >  .../0001-remove-hardcoded-path.patch  | 28 ---
> > >  ...appstream_0.16.3.bb => appstream_1.0.1.bb} | 10 +++---
> > >  3 files changed, 19 insertions(+), 55 deletions(-)
> > >  delete mode 100644 
> > > meta/recipes-support/appstream/appstream/0001-meson-do-not-rely-on-an-exe-wrapper.patch
> > >  rename meta/recipes-support/appstream/{appstream_0.16.3.bb => 
> > > appstream_1.0.1.bb} (78%)
> > >
> > > diff --git 
> > > a/meta/recipes-support/appstream/appstream/0001-meson-do-not-rely-on-an-exe-wrapper.patch
> > >  
> > > b/meta/recipes-support/appstream/appstream/0001-meson-do-not-rely-on-an-exe-wrapper.patch
> > > deleted file mode 100644
> > > index d4f2951e7a9..000
> > > --- 
> > > a/meta/recipes-support/appstream/appstream/0001-meson-do-not-rely-on-an-exe-wrapper.patch
> > > +++ /dev/null
> > > @@ -1,36 +0,0 @@
> > > -From 79bf322768990b28c29a9d907edcca52ff48e0b8 Mon Sep 17 00:00:00 2001
> > > -From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
> > > -Date: Wed, 26 Jul 2023 23:21:10 +0400
> > > -Subject: meson: do not rely on an exe wrapper
> > > -MIME-Version: 1.0
> > > -Content-Type: text/plain; charset=UTF-8
> > > -Content-Transfer-Encoding: 8bit
> > > -
> > > -Signed-off-by: Marc-André Lureau 
> > > -
> > > -Upstream-Status: Backport 
> > > [https://github.com/ximion/appstream/commit/79bf322768990b28c29a9d907edcca52ff48e0b8]
> > > 
> > > - data/meson.build | 7 +++
> > > - 1 file changed, 7 insertions(+)
> > > -
> > > -diff --git a/data/meson.build b/data/meson.build
> > > -index aea0cb25..ec0e434f 100644
> > >  a/data/meson.build
> > > -+++ b/data/meson.build
> > > -@@ -7,6 +7,13 @@ install_data('its/metainfo.its',
> > > - install_data('its/metainfo.loc',
> > > -   install_dir: join_paths(get_option('datadir'), 'gettext', 
> > > 'its'))
> > > -
> > > -+# Do not rely on an exe wrapper for rel-info, use the system one in 
> > > that case
> > > -+if meson.is_cross_build()
> > > -+dependency('appstream', version: '>=' + as_version, native: true,
> > > -+   not_found_message: 'Native appstream required for 
> > > cross-building')
> > > -+ascli_exe = find_program('appstreamcli')
> > > -+endif
> > > -+
> > > - # NOTE: We do not translate the release notes on purpose here.
> > > - # If you do want to give translators a chance to translate them,
> > > - # ascli news-to-metainfo needs to produce a temporary file to translate
> > > ---
> > > -2.41.0
> > > -
> > > diff --git 
> > > a/meta/recipes-support/appstream/appstream/0001-remove-hardcoded-path.patch
> > >  
> > > b/meta/recipes-support/appstream/appstream/0001-remove-hardcoded-path.patch
> > > index 9cbfaca82f1..8f4cf1b82a4 100644
> > > --- 
> > > a/meta/recipes-support/appstream/appstream/0001-remove-hardcoded-path.patch
> > > +++ 
> > > b/meta/recipes-support/appstream/appstream/0001-remove-hardcoded-path.patch
> > > @@ -1,4 +1,4 @@
> > > -From 6ab00a4279823829a9b82dc9e4d055da4de88c6e Mon Sep 17 00:00:00 2001
> > > +From 93bc5c1b221e5a10c65d4a055181dc818dfe1aa8 Mon Sep 17 00:00:00 2001
> > >  From: Markus Volk 
> > >  Date: Mon, 12 Dec 2022 15:42:42 +0100
> > >  Subject: [PATCH] remove hardcoded path
> > > @@ -9,23 +9,25 @@ Dont include hardcoded path. This fixes:
> > >  | cc1: error: include location "/usr/include" is unsafe for 
> > > cross-compilation [-Werror=poison-system-directories]
> > >
> > >  Upstream-Status: Inappropriate [oe-specific]
> > > +
> > >  ---
> > > - meson.build   | 2 +-
> > > - 1 files changed, 1 insertions(+), 1 deletions(-)
> > > + meson.build | 4 ++--
> >

Re: [OE-core] [PATCH 2/2] appstream: update 0.16.3 -> 1.0.1

2023-12-22 Thread Alexandre Belloni via lists.openembedded.org
/Snowball is installed properly in order to continue.')
> + endif
> diff --git a/meta/recipes-support/appstream/appstream_0.16.3.bb 
> b/meta/recipes-support/appstream/appstream_1.0.1.bb
> similarity index 78%
> rename from meta/recipes-support/appstream/appstream_0.16.3.bb
> rename to meta/recipes-support/appstream/appstream_1.0.1.bb
> index bde679e256a..7723800bab8 100644
> --- a/meta/recipes-support/appstream/appstream_0.16.3.bb
> +++ b/meta/recipes-support/appstream/appstream_1.0.1.bb
> @@ -24,12 +24,10 @@ inherit meson gobject-introspection gettext gtk-doc 
> pkgconfig vala
>  GIR_MESON_OPTION = "gir"
>  GTKDOC_MESON_OPTION = "apidocs"
>  
> -SRC_URI = " \
> - 
> https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz
>  \
> - file://0001-remove-hardcoded-path.patch \
> - file://0001-meson-do-not-rely-on-an-exe-wrapper.patch \
> -"
> -SRC_URI[sha256sum] = 
> "081c917646e94d7221c9e4aae54dacda95a27c607fa93cd8e6344a2b318b98b1"
> +SRC_URI = 
> "https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz
>  \
> +   file://0001-remove-hardcoded-path.patch \
> +   "
> +SRC_URI[sha256sum] = 
> "fa4d5994e5c6f22e9b66cb0b52e8b5f5d96e7353ea5528b56436e0150829203b"
>  
>  S = "${WORKDIR}/AppStream-${PV}"
>  
> -- 
> 2.39.2
> 

> 
> 
> 


-- 
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 (#192880): 
https://lists.openembedded.org/g/openembedded-core/message/192880
Mute This Topic: https://lists.openembedded.org/mt/103316474/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] libxml2: upgrade 2.11.5 -> 2.12.3

2023-12-20 Thread Alexandre Belloni via lists.openembedded.org
Hello,

I already told you that this is breaking webkit on the 23/11/2023...

On 19/12/2023 17:34:24+0800, wangmy wrote:
> From: Wang Mingyu 
> 
> Changelog:
> ==
> - parser: Fix namespaces redefined from default attributes
> - include: Rename XML_EMPTY helper macro
> - include: Move declaration of xmlInitGlobals
> - include: Add missing includes
> - include: Move globals from xmlsave.h to parser.h
> - include: Readd circular dependency between tree.h and parser.h
> 
> install-tests.patch
> refreshed for 2.12.3
> 
> License-Update:
>  hash: Rewrite hash table code
> 
> Signed-off-by: Wang Mingyu 
> ---
>  meta/recipes-core/libxml/libxml2/install-tests.patch | 8 
>  .../libxml/{libxml2_2.11.5.bb => libxml2_2.12.3.bb}  | 9 +
>  2 files changed, 9 insertions(+), 8 deletions(-)
>  rename meta/recipes-core/libxml/{libxml2_2.11.5.bb => libxml2_2.12.3.bb} 
> (92%)
> 
> diff --git a/meta/recipes-core/libxml/libxml2/install-tests.patch 
> b/meta/recipes-core/libxml/libxml2/install-tests.patch
> index 14ccce5873..62988f6bfe 100644
> --- a/meta/recipes-core/libxml/libxml2/install-tests.patch
> +++ b/meta/recipes-core/libxml/libxml2/install-tests.patch
> @@ -1,4 +1,4 @@
> -From 3fc716357ce1372d9418dc86f24315b34d9808de Mon Sep 17 00:00:00 2001
> +From 16b46f8ef89aeebe8eb110ab8ef8e69e3a23c145 Mon Sep 17 00:00:00 2001
>  From: Ross Burton 
>  Date: Mon, 5 Dec 2022 17:02:32 +
>  Subject: [PATCH] add yocto-specific install-ptest target
> @@ -13,11 +13,11 @@ Signed-off-by: Ross Burton 
>   1 file changed, 10 insertions(+)
>  
>  diff --git a/Makefile.am b/Makefile.am
> -index 5bc4018..57d27af 100644
> +index 0a49d37..1097c63 100644
>  --- a/Makefile.am
>  +++ b/Makefile.am
> -@@ -26,6 +26,16 @@ check_PROGRAMS = \
> - testlimits \
> +@@ -27,6 +27,16 @@ check_PROGRAMS = \
> + testparser \
>   testrecurse
>   
>  +ptestdir=$(libexecdir)
> diff --git a/meta/recipes-core/libxml/libxml2_2.11.5.bb 
> b/meta/recipes-core/libxml/libxml2_2.12.3.bb
> similarity index 92%
> rename from meta/recipes-core/libxml/libxml2_2.11.5.bb
> rename to meta/recipes-core/libxml/libxml2_2.12.3.bb
> index 319833f053..8f37a39fe2 100644
> --- a/meta/recipes-core/libxml/libxml2_2.11.5.bb
> +++ b/meta/recipes-core/libxml/libxml2_2.12.3.bb
> @@ -4,10 +4,11 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libxml2;
>  BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml2;
>  SECTION = "libs"
>  LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://Copyright;md5=2044417e2e5006b65a8b9067b683fcf1 \
> -
> file://hash.c;beginline=6;endline=15;md5=e77f77b12cb69e203d8b4090a0eee879 \
> +LIC_FILES_CHKSUM = "file://Copyright;md5=fec7ecfe714722b2bb0aaff7d200c701 \
> +
> file://hash.c;beginline=6;endline=15;md5=9af9349d0ead24569dc332f2116ef5f8 \
>  
> file://list.c;beginline=4;endline=13;md5=b9c25b021ccaf287e50060602d20f3a7 \
> -
> file://trio.c;beginline=5;endline=14;md5=cd4f61e27f88c1d43df112966b1cd28f"
> +
> file://trio.c;beginline=5;endline=14;md5=cd4f61e27f88c1d43df112966b1cd28f \
> +"
>  
>  DEPENDS = "zlib virtual/libiconv"
>  
> @@ -19,7 +20,7 @@ SRC_URI += 
> "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
> file://install-tests.patch \
> "
>  
> -SRC_URI[archive.sha256sum] = 
> "3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6"
> +SRC_URI[archive.sha256sum] = 
> "8c8f1092340a89ff32bc44ad5c9693aff9bc8a7a3e161bb239666e5d15ac9aaa"
>  SRC_URI[testtar.sha256sum] = 
> "c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273"
>  
>  # Disputed as a security issue, but fixed in d39f780
> -- 
> 2.34.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 (#192792): 
https://lists.openembedded.org/g/openembedded-core/message/192792
Mute This Topic: https://lists.openembedded.org/mt/103259916/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 v4] systemd-boot: Add recipe to compile native

2023-12-19 Thread Alexandre Belloni via lists.openembedded.org
Hello,

You didn't fix this one:

The following recipes do not have a maintainer assigned to them. Please add an 
entry to meta/conf/distro/include/maintainers.inc file.
systemd-boot-native 
(/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb)

On 16/12/2023 05:55:03+0530, Viswanath Kraleti wrote:
> systemd-boot native recipe provides ukify tool to build
> UKI images for systemd-boot
> 
> Signed-off-by: Viswanath Kraleti 
> ---
>  .../systemd/systemd-boot-native_254.4.bb  | 15 +++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> 
> diff --git a/meta/recipes-core/systemd/systemd-boot-native_254.4.bb 
> b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> new file mode 100644
> index 00..73db59b14e
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> @@ -0,0 +1,15 @@
> +require systemd.inc
> +
> +inherit native
> +
> +deltask do_configure
> +deltask do_compile
> +
> +do_install () {
> +   install -Dm 0755 ${S}/src/ukify/ukify.py ${D}${bindir}/ukify
> +}
> +addtask install after do_unpack
> +
> +PACKAGES = "${PN}"
> +
> +FILES:${PN} = "${bindir}/ukify"
> -- 
> 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 (#192783): 
https://lists.openembedded.org/g/openembedded-core/message/192783
Mute This Topic: https://lists.openembedded.org/mt/103202155/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] ipk: Switch to using zstd compression

2023-12-19 Thread Alexandre Belloni via lists.openembedded.org
_.py
> @@ -133,7 +133,7 @@ class OpkgDpkgPM(PackageManager):
>  tmp_dir = tempfile.mkdtemp()
>  current_dir = os.getcwd()
>  os.chdir(tmp_dir)
> -data_tar = 'data.tar.xz'
> +data_tar = 'data.tar.zst'
>  
>  try:
>  cmd = [ar_cmd, 'x', pkg_path]
> @@ -505,6 +505,6 @@ class OpkgPM(OpkgDpkgPM):
>   "trying to extract the package."  % pkg)
>  
>  tmp_dir = super(OpkgPM, self).extract(pkg, pkg_info)
> -bb.utils.remove(os.path.join(tmp_dir, "data.tar.xz"))
> +bb.utils.remove(os.path.join(tmp_dir, "data.tar.zst"))
>  
>  return tmp_dir
> diff --git a/meta/recipes-devtools/opkg/opkg_0.6.2.bb 
> b/meta/recipes-devtools/opkg/opkg_0.6.2.bb
> index b2e675ae48b..71c0b44aed0 100644
> --- a/meta/recipes-devtools/opkg/opkg_0.6.2.bb
> +++ b/meta/recipes-devtools/opkg/opkg_0.6.2.bb
> @@ -8,7 +8,7 @@ LICENSE = "GPL-2.0-or-later"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
>  
> file://src/opkg.c;beginline=4;endline=18;md5=d6200b0f2b41dee278aa5fad333eecae"
>  
> -DEPENDS = "libarchive"
> +DEPENDS = "libarchive zstd"
>  
>  PE = "1"
>  
> @@ -40,10 +40,10 @@ PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
>  PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
>  PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
>  PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
> -PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
>  PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
>  
> -EXTRA_OECONF:class-native = 
> "--localstatedir=/${@os.path.relpath('${localstatedir}', 
> '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', 
> '${STAGING_DIR_NATIVE}')}"
> +EXTRA_OECONF = "--enable-zstd"
> +EXTRA_OECONF:append:class-native = " 
> --localstatedir=/${@os.path.relpath('${localstatedir}', 
> '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', 
> '${STAGING_DIR_NATIVE}')}"
>  
>  do_install:append () {
>   install -d ${D}${sysconfdir}/opkg
> -- 
> 2.34.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 (#192778): 
https://lists.openembedded.org/g/openembedded-core/message/192778
Mute This Topic: https://lists.openembedded.org/mt/103244564/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] rxvt-unicode: set correct outdir for tic

2023-12-18 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This causes:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4106/steps/12/logs/stdio
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231218-s_bdlb3l/packages/diff-html/

On 14/12/2023 17:41:01+0800, Changqing Li wrote:
> From: Changqing Li 
> 
> tic is from ncurses-native, and set TERMINFO as
> ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the
> rxvt-unicode terminfo will be wrongly installed in there.  set the
> outdir explicitly to install them to correct dir.
> 
> Signed-off-by: Changqing Li 
> ---
>  .../rxvt-unicode/rxvt-unicode.inc |  5 +--
>  .../0001-Makefile.in-set-outdir-for-tic.patch | 35 +++
>  2 files changed, 38 insertions(+), 2 deletions(-)
>  create mode 100644 
> meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-Makefile.in-set-outdir-for-tic.patch
> 
> diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc 
> b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
> index e7d520ebef..2f01f54305 100644
> --- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
> +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
> @@ -11,7 +11,8 @@ DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf libxmu 
> libptytty"
>  SRC_URI = 
> "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
>  file://xwc.patch \
>  file://rxvt.desktop \
> -file://rxvt.png"
> +file://rxvt.png \
> +file://0001-Makefile.in-set-outdir-for-tic.patch "
>  
>  inherit autotools pkgconfig update-alternatives
>  
> @@ -55,4 +56,4 @@ do_install:append () {
>   install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
>  }
>  
> -FILES:${PN} += "${datadir}/applications/rxvt.desktop 
> ${datadir}/pixmaps/rxvt.png"
> +FILES:${PN} += "${datadir}/applications/rxvt.desktop 
> ${datadir}/pixmaps/rxvt.png ${datadir}/terminfo"
> diff --git 
> a/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-Makefile.in-set-outdir-for-tic.patch
>  
> b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-Makefile.in-set-outdir-for-tic.patch
> new file mode 100644
> index 00..7ba0e668dc
> --- /dev/null
> +++ 
> b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-Makefile.in-set-outdir-for-tic.patch
> @@ -0,0 +1,35 @@
> +From 1b7d547453fc57806ef86f64c86706530a23e62e Mon Sep 17 00:00:00 2001
> +From: Changqing Li 
> +Date: Wed, 13 Dec 2023 11:53:18 +0800
> +Subject: [PATCH] Makefile.in: set outdir for tic
> +
> +tic is from ncurses-native, and set TERMINFO as
> +${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the
> +rxvt-unicode terminfo will be wrongly installed in there.  set the
> +outdir explicitly to install them to correct dir.
> +
> +Upstream-Status: Submitted [ https://github.com/exg/rxvt-unicode/pull/4 ]
> +
> +Signed-off-by: Changqing Li 
> +---
> + doc/Makefile.in | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/doc/Makefile.in b/doc/Makefile.in
> +index e3d1fe8..1de56d3 100644
> +--- a/doc/Makefile.in
>  b/doc/Makefile.in
> +@@ -100,8 +100,8 @@ install: all
> + $(INSTALL_DATA) rxvtd.1.man   
> $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
> + $(INSTALL_DATA) rxvt.7.man
> $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
> + $(INSTALL_DATA) rclock.1.man  $(DESTDIR)$(man1dir)/urclock.$(man1ext)
> +-@TIC@ -x $(srcdir)/etc/rxvt-unicode.terminfo || \
> +-   @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
> ++    @TIC@ -x $(srcdir)/etc/rxvt-unicode.terminfo -o 
> $(DESTDIR)$(datadir)/terminfo || \
> ++   @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo -o 
> $(DESTDIR)$(datadir)/terminfo
> + 
> + distdepend: alldoc
> + 
> +-- 
> +2.25.1
> +
> -- 
> 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 (#192661): 
https://lists.openembedded.org/g/openembedded-core/message/192661
Mute This Topic: https://lists.openembedded.org/mt/103167118/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] ipk: Switch to using zstd compression

2023-12-18 Thread Alexandre Belloni via lists.openembedded.org
On 15/12/2023 22:48:51+, Richard Purdie wrote:
> On Fri, 2023-12-15 at 13:51 -0700, Joshua Watt wrote:
> > 
> > @@ -337,7 +335,7 @@ CONVERSION_CMD:lz4 = "lz4 -9 -z -l 
> > ${IMAGE_NAME}.${type} ${IMAGE_NAME}.${type}.l
> >  CONVERSION_CMD:lzo = "lzop -9 ${IMAGE_NAME}.${type}"
> >  CONVERSION_CMD:zip = "zip ${ZIP_COMPRESSION_LEVEL} 
> > ${IMAGE_NAME}.${type}.zip ${IMAGE_NAME}.${type}"
> >  CONVERSION_CMD:7zip = "7za a -mx=${7ZIP_COMPRESSION_LEVEL} 
> > -mm=${7ZIP_COMPRESSION_METHOD} ${IMAGE_NAME}.${type}.${7ZIP_EXTENSION} 
> > ${IMAGE_NAME}.${type}"
> > -CONVERSION_CMD:zst = "zstd -f -k -T0 -c ${ZSTD_COMPRESSION_LEVEL} 
> > ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.zst"
> > +CONVERSION_CMD:zst = "zstd -f -k -c ${ZSTD_DEFAULTS} ${IMAGE_NAME}.${type} 
> > > ${IMAGE_NAME}.${type}.zst"
> >  CONVERSION_CMD:sum = "sumtool -i ${IMAGE_NAME}.${type} -o 
> > ${IMAGE_NAME}.${type}.sum ${JFFS2_SUM_EXTRA_ARGS}"
> >  CONVERSION_CMD:md5sum = "md5sum ${IMAGE_NAME}.${type} > 
> > ${IMAGE_NAME}.${type}.md5sum"
> >  CONVERSION_CMD:sha1sum = "sha1sum ${IMAGE_NAME}.${type} > 
> > ${IMAGE_NAME}.${type}.sha1sum"
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> > index 55166d01784..4b1fe28c85a 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -878,6 +878,10 @@ XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS"
> >  ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}"
> >  ZSTD_THREADS[vardepvalue] = "1"
> >  
> > +ZSTD_COMPRESSION_LEVEL ?= "-3"
> > +ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} ${ZSTD_COMPRESSION_LEVEL}"
> > +ZSTD_DEFAULTS[vardepsexclude] = "ZSTD_COMPRESSION_LEVEL ZSTD_THREADS"
> > +
> 
> Threads, sure but the compression level does change the output...

Indeed: 
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4098/steps/12/logs/stdio

> 
> Cheers,
> 
> Richard

> 
> 
> 


-- 
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 (#192630): 
https://lists.openembedded.org/g/openembedded-core/message/192630
Mute This Topic: https://lists.openembedded.org/mt/103198693/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] debianutils: upgrade 5.14 -> 5.15

2023-12-16 Thread Alexandre Belloni via lists.openembedded.org
On 16/12/2023 20:15:16+0800, Yi Zhao wrote:
> Signed-off-by: Yi Zhao 

The SoB must match you From:

> ---
>  .../debianutils/{debianutils_5.14.bb => debianutils_5.15.bb}| 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-support/debianutils/{debianutils_5.14.bb => 
> debianutils_5.15.bb} (97%)
> 
> diff --git a/meta/recipes-support/debianutils/debianutils_5.14.bb 
> b/meta/recipes-support/debianutils/debianutils_5.15.bb
> similarity index 97%
> rename from meta/recipes-support/debianutils/debianutils_5.14.bb
> rename to meta/recipes-support/debianutils/debianutils_5.15.bb
> index deec8d1fe8..b1368a3b2e 100644
> --- a/meta/recipes-support/debianutils/debianutils_5.14.bb
> +++ b/meta/recipes-support/debianutils/debianutils_5.15.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
> "file://debian/copyright;md5=4b667f30411d21bc8fd7db85d502a8e9
>  SRC_URI = 
> "git://salsa.debian.org/debian/debianutils.git;protocol=https;branch=master \
> "
>  
> -SRCREV = "7e63b32ea4126c70a5da958f0106add267810a94"
> +SRCREV = "d886c15810b58e57411048f57d7fb941a6819987"
>  
>  inherit autotools update-alternatives
>  
> -- 
> 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 (#192573): 
https://lists.openembedded.org/g/openembedded-core/message/192573
Mute This Topic: https://lists.openembedded.org/mt/103207618/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] create-spdx-2.2: combine spdx can try to write before dir creation

2023-12-16 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Most of the builds failed do_rootfs with:

ERROR: core-image-sato-1.0-r0 do_rootfs: Error executing a python function in 
exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: 
 0001:
 *** 0002:image_combine_spdx(d)
 0003:
File: 
'/home/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/classes/create-spdx-2.2.bbclass',
 lineno: 964, function: image_combine_spdx
 0960:imgdeploydir = Path(d.getVar("IMGDEPLOYDIR"))
 0961:img_spdxid = oe.sbom.get_image_spdxid(image_name)
 0962:packages = image_list_installed_packages(d)
 0963:
 *** 0964:combine_spdx(d, image_name, imgdeploydir, img_spdxid, packages, 
Path(d.getVar("SPDXIMAGEWORK")))
 0965:
 0966:def make_image_link(target_path, suffix):
 0967:if image_link_name:
 0968:link = imgdeploydir / (image_link_name + suffix)
File: 
'/home/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/classes/create-spdx-2.2.bbclass',
 lineno: 1078, function: combine_spdx
 1074:"OTHER",
 1075:"%s:%s" % (runtime_ref.externalDocumentId, 
runtime_doc.SPDXID),
 1076:comment="Runtime dependencies for %s" % name
 1077:)
 *** 1078:bb.utils.mkdirhier(spdx_workdir)
 1079:image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
 1080:
 1081:with image_spdx_path.open("wb") as f:
 1082:doc.to_json(f, sort_keys=True, indent=get_json_indent(d))
File: 
'/home/pokybuild/yocto-worker/qemuarm64-ltp/build/bitbake/lib/bb/utils.py', 
lineno: 764, function: mkdirhier
 0760:def mkdirhier(directory):
 0761:"""Create a directory like 'mkdir -p', but does not complain if
 0762:directory already exists like os.makedirs
 0763:"""
 *** 0764:if directory.find('${') != -1:
 0765:bb.fatal("Directory name {} contains unexpanded bitbake 
variable. This may cause build failures and WORKDIR 
polution.".format(directory))
 0766:try:
 0767:os.makedirs(directory)
 0768:except OSError as e:
Exception: AttributeError: 'PosixPath' object has no attribute 'find'

On 15/12/2023 09:10:46-0800, Jeremy Puhlman via lists.openembedded.org wrote:
> From: "Jeremy A. Puhlman" 
> 
> On occasion a file is attmpeded to be opened prior to the
> creation of the spdx_workdir. Create the directory before
> the open, just in case.
> 
> File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 
> 1081, function: combine_spdx
>  1077:)
>  1078:
>  1079:image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
>  1080:
>  *** 1081:with image_spdx_path.open("wb") as f:
>  1082:doc.to_json(f, sort_keys=True, indent=get_json_indent(d))
> 
> Signed-off-by: Jeremy A. Puhlman 
> ---
>  meta/classes/create-spdx-2.2.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/create-spdx-2.2.bbclass 
> b/meta/classes/create-spdx-2.2.bbclass
> index b0aef80db1..486efadba9 100644
> --- a/meta/classes/create-spdx-2.2.bbclass
> +++ b/meta/classes/create-spdx-2.2.bbclass
> @@ -1075,7 +1075,7 @@ def combine_spdx(d, rootfs_name, rootfs_deploydir, 
> rootfs_spdxid, packages, spdx
>  "%s:%s" % (runtime_ref.externalDocumentId, runtime_doc.SPDXID),
>  comment="Runtime dependencies for %s" % name
>  )
> -
> +bb.utils.mkdirhier(spdx_workdir)
>  image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
>  
>  with image_spdx_path.open("wb") as f:
> -- 
> 2.35.2
> 

> 
> 
> 


-- 
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 (#192572): 
https://lists.openembedded.org/g/openembedded-core/message/192572
Mute This Topic: https://lists.openembedded.org/mt/103194653/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2 1/2] systemd-boot: Add recipe to compile native

2023-12-14 Thread Alexandre Belloni via lists.openembedded.org
On 14/12/2023 20:11:16+0530, Viswanath Kraleti wrote:
> 
> 
> On 12/14/2023 1:32 PM, Alexandre Belloni via lists.openembedded.org wrote:
> > Hello, this causes:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/8617/steps/11/logs/warnings
> > 
> > WARNING: Nothing RPROVIDES 'python3-pefile-native' (but 
> > /home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> >  RDEPENDS on or otherwise requires it)
> > WARNING: Nothing RPROVIDES 'systemd-boot-native-dev' (but 
> > /home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> >  RDEPENDS on or otherwise requires it)
> > WARNING: Nothing RPROVIDES 'systemd-boot-native' (but 
> > /home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> >  RDEPENDS on or otherwise requires it)
> > 
> 
> Thanks for pointing.Uploaded a new patch-set to address these.
> https://lists.openembedded.org/g/openembedded-core/message/192384
> 
> Some how in local build no warnings seen. Is there a way to run auto builder
> locally before submitting patches to avoid this?

Well, this one is simply a checkout of poky with the following
configuration:

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/8617/steps/10/logs/stdio

The failing command was then:
bitbake universe -k -c fetch -k


> 
> > and:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6133/steps/14/logs/stdio
> > 
> > The following recipes do not have a maintainer assigned to them. Please add 
> > an entry to meta/conf/distro/include/maintainers.inc file.
> > systemd-boot-native 
> > (/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb)
> > 
> For updating maintainer, can I submit a change post patch acceptance?

No, your patches need to pass the tests before they can be merged.


> 
> > On 13/12/2023 17:27:47+0530, Viswanath Kraleti wrote:
> > > systemd-boot native recipe provides ukify tool to build
> > > UKI images for systemd-boot
> > > 
> > > Signed-off-by: Viswanath Kraleti 
> > > ---
> > >   .../systemd/systemd-boot-native_254.4.bb  | 15 +++
> > >   1 file changed, 15 insertions(+)
> > >   create mode 100644 
> > > meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> > > 
> > > diff --git a/meta/recipes-core/systemd/systemd-boot-native_254.4.bb 
> > > b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> > > new file mode 100644
> > > index 00..0cdd7e7045
> > > --- /dev/null
> > > +++ b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> > > @@ -0,0 +1,15 @@
> > > +require systemd.inc
> > > +
> > > +inherit native
> > > +
> > > +RRECOMMENDS:${PN} += "python3-pefile-native"
> > > +
> > > +COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*)-linux"
> > > +
> > > +do_configure[noexec] = "1"
> > > +do_compile[noexec] = "1"
> > > +
> > > +do_install () {
> > > +   install -d ${D}${bindir}
> > > +   install -m 0755 ${S}/src/ukify/ukify.py ${D}${bindir}/ukify
> > > +}
> > > -- 
> > > 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 (#192409): 
https://lists.openembedded.org/g/openembedded-core/message/192409
Mute This Topic: https://lists.openembedded.org/mt/103147679/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] [PATCHv3 1/1] login.py: Proof of concept for screenshot testcases

2023-12-14 Thread Alexandre Belloni via lists.openembedded.org
Hello,

Please also fix 2/4 and always resend the whole series, else the burden
to cherry-pick from the multiple version of the series and my memory is
not what it used to be.

On 14/12/2023 16:46:51+, Eilís 'pidge' Ní Fhlannagáin wrote:
> This takes the work rburton did on image screenshot testing and
> expands it.
> 
> Right now this only works for qemux86-64. Some standardization
> of screensize/resolution needs to happen with runqemu params for other
> machines. There is an issue in qemux86-64 (and possibly others) where
> the screenswitch/home icon is only half present. This causes the test to
> fail. I'm unsure if this is a QMP/qemu issue but I've certainly seen
> the half-rendered icon, so it's not Imagemagick.
> 
> This test takes a screendump of a qemu image (for now, just
> core-image-sato for qemux86-64), and compares it to an image we
> have on record. Some normalisation of the different qemu configs
> need to happen to be able to support all machines. Example, the
> qemuarm64 screen size is much larger than the qemux86-64.
> 
> The image we have on record contains a blanked out clock. We do
> the same blanking out process for the screenshot, so the images should
> have zero differences. If they do, we fail.
> 
> In order to enable this test, you will need meta-openembedded/meta-oe in
> your bblayers.conf and the following in local.conf:
> 
> IMAGE_CLASSES += "testimage"
> TEST_SUITES = "login"
> TESTIMAGEDEPENDS:append:qemuall = " imagemagick-native:do_populate_sysroot "
> 
> Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> Co-authored-by: Ross Burton 
> Co-authored-by: Eilís 'pidge' Ní Fhlannagáin 
> ---
>  .../core-image-sato-qemux86-64.png| Bin 0 -> 46986 bytes
>  meta/lib/oeqa/runtime/cases/login.py  |  42 ++
>  2 files changed, 42 insertions(+)
>  create mode 100644 meta/files/image-tests/core-image-sato-qemux86-64.png
>  create mode 100644 meta/lib/oeqa/runtime/cases/login.py
> 
> diff --git a/meta/files/image-tests/core-image-sato-qemux86-64.png 
> b/meta/files/image-tests/core-image-sato-qemux86-64.png
> new file mode 100644
> index 
> ..5a3e46169dca6d118c003d29a59c59588cee7463
> GIT binary patch
> literal 46986
> zcmbTdb8w_x*FM^@ZDS_3CYspx#I|kQnAo;$+sULSw(SWf{Ppub@AuEC`p&7}sjjZ>
> z-o5L-_geSDwXU^yq@uh85oDcxe
> z5RdR?2nG60YAmTN2LO0c0ssLa0Kf}qDBuJDaAgJn|wmo^${J$055@={x8TXd@X3
> zQNZUvul$~}B+yKNl$J#}Xdp4%nT0kCh(zolzt_w!VSs^D>MNA0la$II}g*jel
> zE`j~c3_f6vmzmhKIe>zOG+vgHyXt?^lqU-#%$oyNq<+pxD#rVFTIk}l zZQEYK%BmWq36fvYBSp!7W;2%~Z36!J1{#?7B?cexpJB znBP}A9N~nFj zsiTBlT-Z6c9oTvU^78z1SG)pGS{
> zBYkhyAEGaFL{e3$HGujMsDR3qK~<4P>t%UNv5H2bTSrHillj2HL2^QQs;I(*loY9>
> zUiwse)CNN!rE+4D<$5WDulExL4NZm6E5$!TMv6LdNyq}ed)xppdb9f1T&-CU
> zAp$t8m-p^HJI?N^gw!-zU1-8Ane(>+tgNi~e}unMQvPa^Kw|=hBrgEG$
> z!jjRr*lI!`gA5b|46%>T@=KbTQJyc=n65wCW(%BwFJzT+SZx1SG-;J<@O;ZmoAuV%
> zYfAsIQ8|JJ`YI1?wFpvzZ+0dZVY6NrKL{0<-fQHf9j(H
> z*~h1*zI>w$yO+=vR5n6~P~Z;T>~dqXAJ9py(+IT0*YUc=RZdjFZ}$K1(=$9%17Hf*
> z`|W%6X0iXgTyIN3`xwlFxL9e(@qKNCg$`=xv&(lJE?jcKk^@@(ArezkRFssH+TC!T
> z8#;7JOkGP(Wzf3$MMcu!HDk5bVmY^Jp0hc>ne-q1DI>w45FhLe1Q(Z;?caJRs-+k(
> zM=YOHaB`+KH?!+7s*7+o~;P=^>yEzQK_G3V-bxusxyOeVKLZjsxcAjOJ`?p
> z`_AcF2^JR@GynNrVDsuiH>FOW_FqGb*CzuyhtKUuB9DW#ZaM;c-tpP4aze|fOk
> zZjI%=YUd*do5#Qct*Ii>3k?uFKsuGiWWJYtz0&2*B$%?*Tp|Du4PkP*9=?5TuNbKX
> zt3*dOe`P+RZ{w%zjE;f6+Ujc^{2=omvzK~+3>Ko4{0>lq&(H~4t_3sMw>9B_Pk
> zS`^6s;k2G7B`a%lQo4lTiVcthn*2%>lYRGte|@~JQ@*K!t(zO0US(6l3@s=_8rii-
> zpQn)!hO0Q|kxxUYn_DLJP5h76(D8WPE{2cqfwj84es8xDZkHPqH)umra#Cd9zNJ2|
> zXgu0%O_SUoCC-1%X#Qp!5fx>1Vz!*g0~ZixSnsmRN-3W^J`fCJP5%~HBed>sAfV!x
> z9#w0Ni04Dw=_gtQRNaWviV7+3Fr#~-$lK5A)157L|a5vR>B!X`{4kxmiT#=M=
> zne$!V?st7zf>$pO2cA7Hwo5TBzOO8QdS4?V z4C>>OL3VU-$9>Ly3uH`>iP&6~rIg#gRz2qyQkPe*k%HI!Crl)cN5;oXC}BD|
> zIZ4XPAN2=9h>D3dINzI1fBH)M=<$mk$L;-zW+Hc=!QWsrW4?~0;(D(ryAkEI^X`i(
> zca@GKDfONEeO;F5ObufgiEbXJ)f+-VJpMpH$6Fd;0msfXi_<)X>
> z`7BLB_n@qnQk`sX(=>i}#}k#+(!%HF=JvUt;nYYKOQMvEh>N4-;|v#d$JCOg
> zub@laXP`G4=6lN5^G2F!wKcvBfk*mVJb%_+Xz5Hj)-
> zOAz-G${Ym!ibCA48QEG}Umk%cFiXlL(D$5P59$4MWq7@{*}jpx$A8jEBt6P12OdZ&
> zm_Wp11LFbk)OEMshm^=Q$$QVb==Y>i@Ftvts?tsFZ)LyH*`nhIp()SnIdEe;N
> zd)K1(^Tc?8( zmNN$vNwj?K@^;8oKWgY_t&}q%U{I3(6v(JAXtxX&@QzQ-ec@-!O{w}p`0(*>fUm
> zEZueM!ecdoeSdwT;^ob{_+4r zZU74Lc5Um(n}xr(A`97(%fxMLbYg>9mSG0bO-xK2))Igbku>)H?VuRa*o2apm?*4f
> z8NJDf@)1Dd-ybiSkd-H+C$yz>9sjS@Wd16Zv{dDkPSy3X3!Zw)Auhq
> zP9S^B`z-L`io0rP;No@v$33Dty{VF053Axk@gqpg-^Zn96bjwzwuaSreid2b
> zQ@QhIG|hfTD4~VBVSWn)XnL~|)EfUABFT-0BhcQMZ98q(uOHB{u*ACV#S?oh&|q@C
> z!)74l2T~FTKaOTjdY!4Ny4-dX2Z9MYS6d2a!ShkUWi@>IH7o{Lspf4<
> z^uzwZZxjQ_wQ#|kZR7l6ROz!}cl^TLs4yUol}xva$OT=}Q5
> 

Re: [OE-core] [PATCH v3] elfutils: upgrade 0.189 -> 0.190

2023-12-14 Thread Alexandre Belloni via lists.openembedded.org
ile.am
>  @@ -45,7 +45,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl 
> -lpthread
> - libelf = ../libelf/libelf.a -lz
> + libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
>   else
>   libasm = ../libasm/libasm.so
>  -libdw = ../libdw/libdw.so
> @@ -36,11 +36,11 @@ index 88d0ac8..c28d81f 100644
>   endif
>   libebl = ../libebl/libebl.a ../backends/libebl_backends.a ../libcpu/libcpu.a
>  diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index c145720..72afd0e 100644
> +index 7fb8efb..71c1a61 100644
>  --- a/tests/Makefile.am
>  +++ b/tests/Makefile.am
> -@@ -554,7 +554,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) 
> $(libebl) -ldl -lpthread
> - libelf = ../libelf/libelf.a -lz
> +@@ -680,7 +680,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) 
> $(libebl) -ldl -lpthread
> + libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
>   libasm = ../libasm/libasm.a
>   else
>  -libdw = ../libdw/libdw.so
> @@ -48,3 +48,5 @@ index c145720..72afd0e 100644
>   libelf = ../libelf/libelf.so
>   libasm = ../libasm/libasm.so
>   endif
> +--
> +2.25.1
> diff --git 
> a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
>  
> b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
> deleted file mode 100644
> index 09c9d3ea24..00
> --- 
> a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -From ed1975deeaa47f98d212fd144c8bda075b1a5d36 Mon Sep 17 00:00:00 2001
> -From: Khem Raj 
> -Date: Wed, 4 Oct 2017 22:30:46 -0700
> -Subject: [PATCH] libasm may link with libbz2 if found
> -
> -This can fail to link binaries like objdump
> -where indirect libraries may be not found by linker
> -
> -| 
> /mnt/a/oe/build/tmp/work/riscv64-bec-linux/elfutils/0.170-r0/recipe-sysroot/usr/lib/libbz2.so.1:
>  error adding symbols: DSO missing from command line
> -| collect2: error: ld returned 1 exit status
> -
> -Upstream-Status: Pending
> -Signed-off-by: Khem Raj 
> -
> 
> - src/Makefile.am | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/src/Makefile.am b/src/Makefile.am
> -index c28d81f..951e978 100644
>  a/src/Makefile.am
> -+++ b/src/Makefile.am
> -@@ -40,11 +40,11 @@ EXTRA_DIST += make-debug-archive.in
> - CLEANFILES += make-debug-archive
> - 
> - if BUILD_STATIC
> --libasm = ../libasm/libasm.a
> -+libasm = ../libasm/libasm.a $(zip_LIBS)
> - libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread
> - libelf = ../libelf/libelf.a -lz
> - else
> --libasm = ../libasm/libasm.so
> -+libasm = ../libasm/libasm.so $(zip_LIBS)
> - libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
> - libelf = ../libelf/libelf.so
> - endif
> -- 
> 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 (#192407): 
https://lists.openembedded.org/g/openembedded-core/message/192407
Mute This Topic: https://lists.openembedded.org/mt/103122542/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 v3] strace: Disable bluetooth support by default

2023-12-14 Thread Alexandre Belloni via lists.openembedded.org
s://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6179/steps/15/logs/stdio
> >
> > What do most of these tests do? They do indeed build
> > core-image-minimal (sometimes full-cmdline or some other images), and
> > sometimes in multiple variants within a single test. But they never
> > use ptest. And so we need to find a way to make it happen faster.
> >
> > I'm going to get some numbers, first without any changes, then with
> > your proposed change, then with ptest dropped - this will take a bit
> > of time, so I wanted to get the concerns written and sent first.
> >
> > Alex
> >
> > 
> >

-- 
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 (#192401): 
https://lists.openembedded.org/g/openembedded-core/message/192401
Mute This Topic: https://lists.openembedded.org/mt/103146402/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2 1/2] systemd-boot: Add recipe to compile native

2023-12-14 Thread Alexandre Belloni via lists.openembedded.org
Hello, this causes:

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/8617/steps/11/logs/warnings

WARNING: Nothing RPROVIDES 'python3-pefile-native' (but 
/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
 RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'systemd-boot-native-dev' (but 
/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
 RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'systemd-boot-native' (but 
/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
 RDEPENDS on or otherwise requires it)

and:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6133/steps/14/logs/stdio

The following recipes do not have a maintainer assigned to them. Please add an 
entry to meta/conf/distro/include/maintainers.inc file.
systemd-boot-native 
(/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-core/systemd/systemd-boot-native_254.4.bb)

On 13/12/2023 17:27:47+0530, Viswanath Kraleti wrote:
> systemd-boot native recipe provides ukify tool to build
> UKI images for systemd-boot
> 
> Signed-off-by: Viswanath Kraleti 
> ---
>  .../systemd/systemd-boot-native_254.4.bb  | 15 +++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> 
> diff --git a/meta/recipes-core/systemd/systemd-boot-native_254.4.bb 
> b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> new file mode 100644
> index 00..0cdd7e7045
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
> @@ -0,0 +1,15 @@
> +require systemd.inc
> +
> +inherit native
> +
> +RRECOMMENDS:${PN} += "python3-pefile-native"
> +
> +COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*)-linux"
> +
> +do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
> +
> +do_install () {
> +   install -d ${D}${bindir}
> +   install -m 0755 ${S}/src/ukify/ukify.py ${D}${bindir}/ukify
> +}
> -- 
> 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 (#192337): 
https://lists.openembedded.org/g/openembedded-core/message/192337
Mute This Topic: https://lists.openembedded.org/mt/103147679/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/9] nativesdk: ensure features don't get backfilled

2023-12-13 Thread Alexandre Belloni via lists.openembedded.org
Hello Ross,

Not obvious but this is the cause of:

https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/8697

On 12/12/2023 14:08:12+, Ross Burton wrote:
> From: Ross Burton 
> 
> nativesdk aims to run in a slightly different environment than the
> target build, so it unsets MACHINE_FEATURES and lets DISTRO_FEATURES be
> filtered by DISTRO_FEATURES_NATIVESDK (in bitbake.conf).
> 
> However, feature backfill happens _after_ these operations:
> 
>  $ bitbake-getvar -r nativesdk-glib-2.0 MACHINE_FEATURES
>  #
>  # $MACHINE_FEATURES [5 operations]
>  #   set /home/ross/Yocto/poky/meta/conf/machine/include/qemu.inc:14
>  # "alsa bluetooth usbgadget screen vfat"
>  #   set /home/ross/Yocto/poky/meta/conf/documentation.conf:284
>  # [doc] "Specifies the list of hardware features the MACHINE supports."
>  #   set? /home/ross/Yocto/poky/meta/conf/bitbake.conf:893
>  # ""
>  #   set /home/ross/Yocto/poky/meta/classes-recipe/nativesdk.bbclass:18
>  # ""
>  #   append utils.py:132 [features_backfill]
>  # " rtc qemu-usermode"
>  # pre-expansion value:
>  #   " rtc qemu-usermode"
>  MACHINE_FEATURES=" rtc qemu-usermode"
> 
> I don't believe this is intentional or desired as the machine features
> are unrelated to the nativesdk environment.  Specifically, this means
> that recipes that look for the qemu-usermode machine feature will fail
> in nativesdk as there may not actually be qemu-user support for the
> nativesdk environment.
> 
> Signed-off-by: Ross Burton 
> ---
>  meta/classes-recipe/nativesdk.bbclass | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/classes-recipe/nativesdk.bbclass 
> b/meta/classes-recipe/nativesdk.bbclass
> index 08288fdb733..ccaf411f0d7 100644
> --- a/meta/classes-recipe/nativesdk.bbclass
> +++ b/meta/classes-recipe/nativesdk.bbclass
> @@ -15,7 +15,10 @@ NATIVESDKLIBC ?= "libc-glibc"
>  LIBCOVERRIDE = ":${NATIVESDKLIBC}"
>  CLASSOVERRIDE = "class-nativesdk"
>  MACHINEOVERRIDES = ""
> +
>  MACHINE_FEATURES = ""
> +DISTRO_FEATURES_BACKFILL = ""
> +MACHINE_FEATURES_BACKFILL = ""
>  
>  MULTILIBS = ""
>  
> -- 
> 2.34.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 (#192336): 
https://lists.openembedded.org/g/openembedded-core/message/192336
Mute This Topic: https://lists.openembedded.org/mt/103129922/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [PATCH] [OE-Core] tzdata: only the timezone subpackage tzdata-core is retained

2023-12-11 Thread Alexandre Belloni via lists.openembedded.org
Please follow 
https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#fixing-your-from-identity

On 11/12/2023 11:39:27+0800, Xu, Lizhi via lists.openembedded.org wrote:
> To reduce the size of rootfs, the subpackages contained in tzdata.bb will now 
> default to only retaining tzdata-core.
> 
> tzdata.bb by default pulls in all possible timezone data packages which 
> increases
> size of the final root filesystem considerably.
> The customer would like to have extra timezones configurable so that only 
> tzdata-core is chosen by default and rest of the zones are optional.
> 
> Signed-off-by: Lizhi Xu 
> ---
>  meta/recipes-extended/timezone/tzdata.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/timezone/tzdata.bb 
> b/meta/recipes-extended/timezone/tzdata.bb
> index dd1960ffa7..7b1d4fd460 100644
> --- a/meta/recipes-extended/timezone/tzdata.bb
> +++ b/meta/recipes-extended/timezone/tzdata.bb
> @@ -201,4 +201,4 @@ CONFFILES:tzdata-core = "${sysconfdir}/localtime 
> ${sysconfdir}/timezone"
>  
>  ALLOW_EMPTY:${PN} = "1"
>  
> -RDEPENDS:${PN} = "${TZ_PACKAGES}"
> +RDEPENDS:${PN} = "tzdata-core"
> -- 
> 2.43.0
> 

> 
> 
> 


-- 
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 (#192162): 
https://lists.openembedded.org/g/openembedded-core/message/192162
Mute This Topic: https://lists.openembedded.org/mt/103102817/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/4] python3-qemu-qmp: Add recipe

2023-12-10 Thread Alexandre Belloni via lists.openembedded.org
On 07/12/2023 09:38:17-0800, Tim Orling wrote:
> This will also need a maintainer entry in:
> https://git.openembedded.org/openembedded-core/tree/meta/conf/distro/include/maintainers.inc
> 

Also:
stdio: WARNING: python3-qemu-qmp-0.0.2-r0 do_recipe_qa: QA Issue: Recipe 
python3-qemu-qmp in 
/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
 does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-qemu-qmp-0.0.2-r0 do_recipe_qa: QA Issue: Recipe 
python3-qemu-qmp in 
/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
 does not have an assigned maintainer. Please add an entry into 
meta/conf/distro/include/maintainers.inc. [missing-maintainer]
stdio: WARNING: python3-qemu-qmp-native-0.0.2-r0 do_recipe_qa: QA Issue: Recipe 
python3-qemu-qmp-native in 
/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
 does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
WARNING: python3-qemu-qmp-0.0.2-r0 do_package_qa: QA Issue: Recipe LICENSE 
includes obsolete licenses GPLv2 LGPLv2+ [obsolete-license]

> On Thu, Dec 7, 2023 at 6:36 AM Eilís 'pidge' Ní Fhlannagáin <
> pi...@baylibre.com> wrote:
> 
> > From: Ross Burton 
> >
> > Add a recipe for python QEMU Monitor Protocol. This will be needed for
> > qemu screendumps for qemu screendump testing.
> >
> > Signed-off-by: Ross Burton 
> > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> > ---
> >  .../python/python3-qemu-qmp_0.0.2.bb   | 14 ++
> >  1 file changed, 14 insertions(+)
> >  create mode 100644 meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
> >
> > diff --git a/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
> > b/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
> > new file mode 100644
> > index 000..faa0cc69738
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-qemu-qmp_0.0.2.bb
> > @@ -0,0 +1,14 @@
> > +SUMMARY = "asyncio library for communicating with QEMU Monitor Protocol
> > (QMP) servers"
> > +LICENSE = "LGPLv2+ & GPLv2"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=4cf66a4984120007c9881cc871cf49db \
> > +
> > file://LICENSE_GPL2;md5=441c28d2cf86e15a37fa47e15a72fbac"
> > +
> > +SRC_URI[sha256sum] =
> > "c918e9e3ae09abdf70c7ece67637a93ac4583d940bbf48d24ff77987f74f1b8b"
> > +
> > +inherit pypi python_setuptools_build_meta
> > +
> > +PYPI_PACKAGE = "qemu.qmp"
> > +
> > +DEPENDS += "python3-setuptools-scm-native"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.34.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 (#192127): 
https://lists.openembedded.org/g/openembedded-core/message/192127
Mute This Topic: https://lists.openembedded.org/mt/103035077/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: drop syncfs probe patch

2023-12-10 Thread Alexandre Belloni via lists.openembedded.org
On 10/12/2023 13:19:48+, Richard Purdie wrote:
> On Sun, 2023-12-10 at 00:27 +0100, Alexandre Belloni via
> lists.openembedded.org wrote:
> > From: Alexandre Belloni 
> > 
> > The patch is now upstream and SRCREV has already been bumped
> > 
> > Signed-off-by: Alexandre Belloni 
> > ---
> >  .../pseudo/files/syncfs-probe.patch   | 44 ---
> >  meta/recipes-devtools/pseudo/pseudo_git.bb|  1 -
> >  2 files changed, 45 deletions(-)
> >  delete mode 100644 meta/recipes-devtools/pseudo/files/syncfs-probe.patch
> > 
> > diff --git a/meta/recipes-devtools/pseudo/files/syncfs-probe.patch 
> > b/meta/recipes-devtools/pseudo/files/syncfs-probe.patch
> > deleted file mode 100644
> > index 23f01673e3c2..
> > --- a/meta/recipes-devtools/pseudo/files/syncfs-probe.patch
> > +++ /dev/null
> > @@ -1,44 +0,0 @@
> > -From e38b1fec2eb4a5dcefafdab7f1a240966f3632f1 Mon Sep 17 00:00:00 2001
> > -From: =?UTF-8?q?Eil=C3=ADs=20=27pidge=27=20N=C3=AD=20Fhlannag=C3=A1in?=
> > - 
> > -Date: Wed, 6 Dec 2023 13:00:29 +
> > -Subject: [PATCH] subports: Add _GNU_SOURCE
> > -MIME-Version: 1.0
> > -Content-Type: text/plain; charset=UTF-8
> > -Content-Transfer-Encoding: 8bit
> > -
> > -[YOCTO #15074]
> > -
> > -The syncfs probe in ports/unix/subports was failing if the compiler does 
> > not 
> > -support implicit function declarations. syncfs is protected and requires 
> > -_GNU_SOURCE, so the answer here is to pull it in.
> > -
> > -Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> > -
> > 
> > -Upstream-Status: Pending
> > -
> > - ports/unix/subports | 2 ++
> > - 1 file changed, 2 insertions(+)
> > -
> > -diff --git a/ports/unix/subports b/ports/unix/subports
> > -index e41b036..bd5a2f6 100755
> >  a/ports/unix/subports
> > -+++ b/ports/unix/subports
> > -@@ -1,11 +1,13 @@
> > - #!/bin/sh
> > - cat > dummy.c < > -+#define _GNU_SOURCE
> > - #include 
> > - int main(void) {
> > -   syncfs(0);
> > -   return 0;
> > - }
> > - EOF
> > -+
> > - if ${CC} -o dummy dummy.c > /dev/null 2>&1; then
> > -   echo "unix/syncfs"
> > - fi
> > --- 
> > -2.34.1
> > -
> > diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
> > b/meta/recipes-devtools/pseudo/pseudo_git.bb
> > index 31b2d5fad20d..699cab11c668 100644
> > --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> > +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> > @@ -2,7 +2,6 @@ require pseudo.inc
> >  
> >  SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
> > file://0001-configure-Prune-PIE-flags.patch \
> > -   file://syncfs-probe.patch \
> > file://glibc238.patch \
> > file://fallback-passwd \
> > file://fallback-group \
> 
> I think this issue is only in your branch?
> 

Yes, because I was still carrying the other patch, I realized after
sending

> Cheers,
> 
> Richard
> 

-- 
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 (#192115): 
https://lists.openembedded.org/g/openembedded-core/message/192115
Mute This Topic: https://lists.openembedded.org/mt/103082192/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] mesa: upgrade 23.2.1 -> 23.3.0

2023-12-09 Thread Alexandre Belloni via lists.openembedded.org
-105,8 +104,8 @@ PACKAGECONFIG[dri3] = "-Ddri3=enabled, -Ddri3=disabled, 
> xorgproto libxshmfence"
>  # Vulkan drivers need dri3 enabled
>  # amd could be enabled as well but requires gallium-llvm with llvm >= 3.9
>  VULKAN_DRIVERS = ""
> -VULKAN_DRIVERS:append:x86 = ",intel"
> -VULKAN_DRIVERS:append:x86-64 = ",intel"
> +VULKAN_DRIVERS:append:x86 = ",intel,amd"
> +VULKAN_DRIVERS:append:x86-64 = ",intel,amd"
>  # i686 is a 32 bit override for mesa-native
>  VULKAN_DRIVERS:append:i686 = ",intel"
>  VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', 
> ',freedreno', '', d)}"
> diff --git a/meta/recipes-graphics/mesa/mesa_23.2.1.bb 
> b/meta/recipes-graphics/mesa/mesa_23.3.0.bb
> similarity index 100%
> rename from meta/recipes-graphics/mesa/mesa_23.2.1.bb
> rename to meta/recipes-graphics/mesa/mesa_23.3.0.bb
> -- 
> 2.42.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 (#192107): 
https://lists.openembedded.org/g/openembedded-core/message/192107
Mute This Topic: https://lists.openembedded.org/mt/102916247/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] pseudo: drop syncfs probe patch

2023-12-09 Thread Alexandre Belloni via lists.openembedded.org
From: Alexandre Belloni 

The patch is now upstream and SRCREV has already been bumped

Signed-off-by: Alexandre Belloni 
---
 .../pseudo/files/syncfs-probe.patch   | 44 ---
 meta/recipes-devtools/pseudo/pseudo_git.bb|  1 -
 2 files changed, 45 deletions(-)
 delete mode 100644 meta/recipes-devtools/pseudo/files/syncfs-probe.patch

diff --git a/meta/recipes-devtools/pseudo/files/syncfs-probe.patch 
b/meta/recipes-devtools/pseudo/files/syncfs-probe.patch
deleted file mode 100644
index 23f01673e3c2..
--- a/meta/recipes-devtools/pseudo/files/syncfs-probe.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From e38b1fec2eb4a5dcefafdab7f1a240966f3632f1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Eil=C3=ADs=20=27pidge=27=20N=C3=AD=20Fhlannag=C3=A1in?=
- 
-Date: Wed, 6 Dec 2023 13:00:29 +
-Subject: [PATCH] subports: Add _GNU_SOURCE
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-[YOCTO #15074]
-
-The syncfs probe in ports/unix/subports was failing if the compiler does not 
-support implicit function declarations. syncfs is protected and requires 
-_GNU_SOURCE, so the answer here is to pull it in.
-
-Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
-

-Upstream-Status: Pending
-
- ports/unix/subports | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/ports/unix/subports b/ports/unix/subports
-index e41b036..bd5a2f6 100755
 a/ports/unix/subports
-+++ b/ports/unix/subports
-@@ -1,11 +1,13 @@
- #!/bin/sh
- cat > dummy.c <
- int main(void) {
-   syncfs(0);
-   return 0;
- }
- EOF
-+
- if ${CC} -o dummy dummy.c > /dev/null 2>&1; then
-   echo "unix/syncfs"
- fi
--- 
-2.34.1
-
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 31b2d5fad20d..699cab11c668 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -2,7 +2,6 @@ require pseudo.inc
 
 SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
file://0001-configure-Prune-PIE-flags.patch \
-   file://syncfs-probe.patch \
file://glibc238.patch \
file://fallback-passwd \
file://fallback-group \
-- 
2.43.0


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



Re: [PATCH] [OE-core] [PATCHv2] elfutils: upgrade 0.189 -> 0.190

2023-12-09 Thread Alexandre Belloni via lists.openembedded.org
On 08/12/2023 14:43:44+0800, Zang Ruochen wrote:
> Hello.
> This error is caused by a lack of typedefs in musl. I'll submit a fix patch 
> for musl later.
> https://git.musl-libc.org/cgit/musl/commit/include/elf.h?id=6be76895f6863100a311d474a42abdbb6466189d
> 

This is ok but you didn't fix the failing ptests:

https://autobuilder.yocto.io/pub/non-release/20231209-22/testresults/qemux86-64-ptest/elfutils.log

eu-srcfiles: /usr/lib/elfutils/ptest/tests/..//src/srcfiles: No such file or 
directory
FAIL: run-srcfiles-self.sh

> 
> > -原始邮件-----
> > 发件人: "Alexandre Belloni" 
> > 发送时间:2023-12-05 06:35:30 (星期二)
> > 收件人: "Zang Ruochen" 
> > 抄送: openembedded-core@lists.openembedded.org
> > 主题: Re: [PATCH] [OE-core] [PATCHv2] elfutils: upgrade 0.189 -> 0.190
> > 
> > Hello,
> > 
> > This fails with musl:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/8232/steps/11/logs/stdio
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/8262/steps/12/logs/stdio
> > 
> > New ptest failure:
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5988/steps/12/logs/stdio
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5808/steps/12/logs/stdio
> > 
> > On 03/12/2023 18:35:51-0800, Zang Ruochen wrote:
> > > From: Zang Ruochen 
> > > 
> > > The following patches have been fixed:
> > > 0001-libasm-may-link-with-libbz2-if-found.patch
> > > 
> > > Refresh the following patch:
> > > 0001-dso-link-change.patch
> > > 
> > > Signed-off-by: Zang Ruochen 
> > > ---
> > >  .../{elfutils_0.189.bb => elfutils_0.190.bb}  |  3 +-
> > >  .../elfutils/files/0001-dso-link-change.patch | 14 
> > >  ...libasm-may-link-with-libbz2-if-found.patch | 36 ---
> > >  3 files changed, 9 insertions(+), 44 deletions(-)
> > >  rename meta/recipes-devtools/elfutils/{elfutils_0.189.bb => 
> > > elfutils_0.190.bb} (98%)
> > >  delete mode 100644 
> > > meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
> > > 
> > > diff --git a/meta/recipes-devtools/elfutils/elfutils_0.189.bb 
> > > b/meta/recipes-devtools/elfutils/elfutils_0.190.bb
> > > similarity index 98%
> > > rename from meta/recipes-devtools/elfutils/elfutils_0.189.bb
> > > rename to meta/recipes-devtools/elfutils/elfutils_0.190.bb
> > > index d8bf82b022..8657080830 100644
> > > --- a/meta/recipes-devtools/elfutils/elfutils_0.189.bb
> > > +++ b/meta/recipes-devtools/elfutils/elfutils_0.190.bb
> > > @@ -16,7 +16,6 @@ SRC_URI = 
> > > "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
> > > 
> > > file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
> > > file://0003-fixheadercheck.patch \
> > > file://0006-Fix-build-on-aarch64-musl.patch \
> > > -   file://0001-libasm-may-link-with-libbz2-if-found.patch \
> > > 
> > > file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \
> > > file://0001-skip-the-test-when-gcc-not-deployed.patch \
> > > file://ptest.patch \
> > > @@ -25,7 +24,7 @@ SRC_URI = 
> > > "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
> > >  SRC_URI:append:libc-musl = " \
> > > file://0003-musl-utils.patch \
> > > "
> > > -SRC_URI[sha256sum] = 
> > > "39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8"
> > > +SRC_URI[sha256sum] = 
> > > "8e00a3a9b5f04bc1dc273ae86281d2d26ed412020b391ffcc23198f10231d692"
> > >  
> > >  inherit autotools gettext ptest pkgconfig
> > >  
> > > diff --git 
> > > a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch 
> > > b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
> > > index 6acc036406..8ccfcb7bd5 100644
> > > --- a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
> > > +++ b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
> > > @@ -16,18 +16,18 @@ more details.
> > >  Rebase to 0.170
> > >  
> > >  Signed-off-by: Hongxu Jia 
> > > -
> > > +Signed-off-by: Zang Ruochen 
> > >  ---
> > >   src/Makefile.am   | 2 +-
> > >   tests/Makefile.am | 2 +-
> > >   2 files changed, 2 insertions(+), 2 deletions(-)
> > >  

  1   2   3   4   5   6   7   8   >