]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agovte: upgrade 0.72.1 -> 0.72.2
Anuj Mittal [Mon, 3 Jul 2023 03:30:22 +0000 (11:30 +0800)] 
vte: upgrade 0.72.1 -> 0.72.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: upgrade 3.41.2 -> 3.42.0
Anuj Mittal [Mon, 3 Jul 2023 06:59:09 +0000 (14:59 +0800)] 
sqlite3: upgrade 3.41.2 -> 3.42.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorpm: backport fix to prevent crashes with latest sqlite
Anuj Mittal [Mon, 3 Jul 2023 06:59:08 +0000 (14:59 +0800)] 
rpm: backport fix to prevent crashes with latest sqlite

SQLite 3.42.0 causes crashes when installing RPM packages at rootfs
creation time. Backport an upstream fix to resolve the issue.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.79.2 -> 6.80.0
Tim Orling [Sun, 2 Jul 2023 10:03:52 +0000 (03:03 -0700)] 
python3-hypothesis: upgrade 6.79.2 -> 6.80.0

Changes:
* This release drops support for Python 3.7, which reached end of life
  on 2023-06-27.
* Fixes occasional recursion-limit-exceeded errors when validating deeply
  nested strategies. Closes: issue #3671
* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpam: Fix examples build on musl
Khem Raj [Sun, 2 Jul 2023 20:02:49 +0000 (13:02 -0700)] 
libpam: Fix examples build on musl

This came with latest libpam upgrade

../../Linux-PAM-1.5.3/examples/tty_conv.c:9:10: fatal error: 'termio.h' file not found
         ^~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoffmpeg: Fix build on riscv
Khem Raj [Mon, 3 Jul 2023 02:45:44 +0000 (19:45 -0700)] 
ffmpeg: Fix build on riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.6.3 -> 4.7.0
Tim Orling [Mon, 3 Jul 2023 08:51:11 +0000 (01:51 -0700)] 
python3-typing-extensions: upgrade 4.6.3 -> 4.7.0

New features and bug fixes.

NOTE: This is expected to be the last feature release supporting Python 3.7,
      which reaches its end of life on June 27, 2023. Version 4.8.0 will
      support only Python 3.8.0 and up.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-urllib3: upgrade 2.0.2 -> 2.0.3
Tim Orling [Mon, 3 Jul 2023 08:52:05 +0000 (01:52 -0700)] 
python3-urllib3: upgrade 2.0.2 -> 2.0.3

https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07

* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
  warning as we cannot help users facing issues with implementations other
  than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
  several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)

License-Update: Removed outdated reference to CONTRIBUTORS.txt

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
Tim Orling [Mon, 3 Jul 2023 08:52:38 +0000 (01:52 -0700)] 
python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0

* inherit python_setuptools_build_meta since setup.py was dropped

https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15

* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
  warnings have been issued) (#86). Thanks to Andrew-Brock for providing
  the solution.
* Now the msg contents of a subtest is displayed when running pytest with
  -v (#6).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-runner: Pull in "runner: Remove threads and mutexes" fix
Richard Purdie [Thu, 29 Jun 2023 16:39:55 +0000 (17:39 +0100)] 
ptest-runner: Pull in "runner: Remove threads and mutexes" fix

This fix simplifies the code to drop the pthread and mutexs which should
address some of the buffering issues we were seeing in some test case
failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME...
Martin Jansa [Mon, 12 Jun 2023 16:22:47 +0000 (18:22 +0200)] 
image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

* ${IMAGE_NAME}${IMAGE_NAME_SUFFIX} is almost always used together already
  and when they aren't it's usually because of hardcoded '.rootfs' suffix

* it's a bit strange, because ${IMAGE_NAME_SUFFIX} is applied after the
  version from ${IMAGE_VERSION_SUFFIX}, if we move it to ${IMAGE_LINK_NAME}
  then it will be applied before the version and ${IMAGE_LINK_NAME}
  will be just the version-less symlink to latest built version.

* it's not added to INITRAMFS_IMAGE_NAME as it assumes that all
  images used as initramfs will set IMAGE_NAME_SUFFIX to empty.
  Many already do as shown bellow, but you might need to extend
  this list in your layer.

* this also allows to drop support for imgsuffix varflag, recipes which
  don't want to have .rootfs suffix can just set IMAGE_NAME_SUFFIX to
  empty and it will be consistently respected by both IMAGE_NAME and IMAGE_LINK_NAME

* imgsuffix = d.getVarFlag("do_" + taskname, 'imgsuffix') or d.expand("${IMAGE_NAME_SUFFIX}.")
  is kind of terrible, notice trailing '.' after ${IMAGE_NAME_SUFFIX}
  while this dot was in imgsuffix in:
  do_bootimg[imgsuffix] = "."

  but in both cases it's not really part of the imgsuffix, but the
  "extension" type separator as in dst variable:

         dst = os.path.join(deploy_dir, link_name + "." + type)
-        src = img_name + imgsuffix + type
+        src = img_name + "." + type

* for ubifs volumes move vname after IMAGE_NAME_SUFFIX

* to better document these changes here is an example with default poky
  configuration with just:
  IMAGE_FSTYPES:append:pn-core-image-minimal = " live wic wic.vmdk ubi"
  MKUBIFS_ARGS = "-m 2048 -e 129024 -c 968 -x zlib"
  UBINIZE_ARGS = "-m 2048 -p 131072 -s 512"
  added in local.conf, so that deploy_dir has also some initramfs and more
  IMAGE_FSTYPES

* "ls -lahi tmp/deploy/images/qemux86-64/"
  output after "bitbake core-image-minimal"

  And deploy-dir is cleaned between runs with:
  bitbake -c clean core-image-minimal core-image-minimal-initramfs virtual/kernel grub-efi systemd-boot

  The output confirms that the only change is ".rootfs" added not only
  in ext4 and manifest files, but also for hddimg, iso, qemuboot.conf
  testdata.json for both the actual artifacts as well as the symlinks
  while core-image-minimal-initramfs doesn't have them as IMAGE_NAME_SUFFIX
  was already set to empty there:
meta/classes-recipe/baremetal-image.bbclass:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-minimal-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-tiny-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/images/core-image-testcontroller-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""

  before these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:19 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
35845703 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845704 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845702 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
40236967 -rw-r--r-- 2 martin martin  13M Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203232 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212700 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211556 -rw-r--r-- 2 martin martin 211K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40236964 lrwxrwxrwx 2 martin martin   62 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203235 lrwxrwxrwx 2 martin martin   63 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212690 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211560 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40237307 -rw-r--r-- 2 martin martin  57M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.hddimg
40237329 -rw-r--r-- 2 martin martin  56M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.iso
40220347 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40236942 -rw-r--r-- 2 martin martin  34M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40211563 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40237206 -rw-r--r-- 2 martin martin  16M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40237216 -rw-r--r-- 2 martin martin  20M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40224358 -rw-r--r-- 2 martin martin  19M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40360386 -rw-r--r-- 2 martin martin  73M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237285 -rw-r--r-- 2 martin martin  35M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40209866 -rw-r--r-- 2 martin martin 206K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.testdata.json
40236946 lrwxrwxrwx 2 martin martin   56 Mar  7 19:19 core-image-minimal-qemux86-64.ext4 -> core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40237336 lrwxrwxrwx 2 martin martin   51 Mar  7 19:19 core-image-minimal-qemux86-64.hddimg -> core-image-minimal-qemux86-64-20230307181808.hddimg
40237337 lrwxrwxrwx 2 martin martin   48 Mar  7 19:19 core-image-minimal-qemux86-64.iso -> core-image-minimal-qemux86-64-20230307181808.iso
40211564 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.manifest -> core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40220348 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.qemuboot.conf -> core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40237205 lrwxrwxrwx 2 martin martin   59 Mar  7 19:19 core-image-minimal-qemux86-64.tar.bz2 -> core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40209873 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.testdata.json -> core-image-minimal-qemux86-64-20230307181808.testdata.json
40237217 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.ubi -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40236771 lrwxrwxrwx 2 martin martin   57 Mar  7 19:19 core-image-minimal-qemux86-64.ubifs -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40237287 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.wic -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237286 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.wic.vmdk -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40237192 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:19 core-image-minimal.env
34458377 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
34963606 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
35845662 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
35845701 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
34963605 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:19 ubinize-core-image-minimal-qemux86-64-20230307181808.cfg

  after these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:16 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
39479266 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479267 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479264 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39648810 -rw-r--r-- 2 martin martin  13M Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638400 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644650 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637657 -rw-r--r-- 2 martin martin 211K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39648091 lrwxrwxrwx 2 martin martin   62 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638401 lrwxrwxrwx 2 martin martin   63 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644651 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637662 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39654281 -rw-r--r-- 2 martin martin  34M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39656710 -rw-r--r-- 2 martin martin  57M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657112 -rw-r--r-- 2 martin martin  56M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645313 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646013 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656336 -rw-r--r-- 2 martin martin  16M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644408 -rw-r--r-- 2 martin martin 206K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656583 -rw-r--r-- 2 martin martin  20M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654124 -rw-r--r-- 2 martin martin  19M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39802371 -rw-r--r-- 2 martin martin  73M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657113 -rw-r--r-- 2 martin martin  35M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654412 lrwxrwxrwx 2 martin martin   56 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ext4 -> core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39657167 lrwxrwxrwx 2 martin martin   58 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.hddimg -> core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657168 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.iso -> core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645316 lrwxrwxrwx 2 martin martin   60 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.manifest -> core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646014 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.qemuboot.conf -> core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656315 lrwxrwxrwx 2 martin martin   59 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.tar.bz2 -> core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644406 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.testdata.json -> core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656584 lrwxrwxrwx 2 martin martin   55 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubi -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654775 lrwxrwxrwx 2 martin martin   57 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubifs -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39657126 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657088 lrwxrwxrwx 2 martin martin   60 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic.vmdk -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654418 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:15 core-image-minimal.env
39475732 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
31507074 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
39479261 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
39479263 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
31507058 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:15 ubinize-core-image-minimal-qemux86-64.rootfs-20230307181456.cfg

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix
Martin Jansa [Thu, 25 May 2023 10:22:18 +0000 (12:22 +0200)] 
kernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix

* we were installing them with -${KERNEL_DTB_NAME} suffix
  and then adding a symlink without this suffix if
  KERNEL_IMAGETYPE_SYMLINK is set:
  if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext
  fi

  and another one when KERNEL_DTB_LINK_NAME is set:
  if [ -n "${KERNEL_DTB_LINK_NAME}" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext
  fi

  but KERNEL_DEVICETREE variable doesn't include this
  -${KERNEL_DTB_NAME} suffix, so everything which uses KERNEL_DEVICETREE
  either needs to add it as well or depend on KERNEL_IMAGETYPE_SYMLINK
  being set, e.g. IMAGE_BOOT_FILES variable used by do_image_wic is
  generated by make_dtb_boot_files function here:
  https://github.com/agherzan/meta-raspberrypi/blob/2ad4dd667affb72bdbbc2d6b5f7b50589f506b31/conf/machine/include/rpi-base.inc#L118
  and do_image_wic fails without KERNEL_IMAGETYPE_SYMLINK:
  | WARNING: bootloader config not specified, using defaults
  |
  | ERROR: _exec_cmd: install -m 0644 -D deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb image/1.0-r1/tmp-wic/boot.1/bcm2711-rpi-4-b.dtb returned '1' instead of 0
  | output: install: cannot stat 'deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb': No such file or directory

  we can fix the function to append -${KERNEL_DTB_NAME} or we can
  change this to install without suffix and then add ${KERNEL_DTB_NAME}
  link only when KERNEL_DTB_NAME is set (${MACHINE} by default)

* now it looks strange to have both KERNEL_DTB_LINK_NAME and KERNEL_DTB_NAME
  symlinks, but keep it for backwards compatibility and it will make
  more sense again together with the rest of [YOCTO #12937] where version
  specific *_LINK_NAME links are created as hardlinks in separate do_deploy_links
  task.

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoselftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME
Martin Jansa [Mon, 13 Mar 2023 12:15:33 +0000 (13:15 +0100)] 
selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME

* this still assumes that IMAGE_LINK_NAME will contain IMAGE_BASENAME
  which will be BPN 'multiconfig-image-packager' and that replacing
  it with 'core-image-minimal' will match with the actual IMAGE_LINK_NAME
  from core-image-minimal recipe - there is no good way to query
  core-image-minimal's context, but this is still closer than assuming:
  core-image-minimal-${MCMACHINE}.${MCIMGTYPE}
  which works only with the current default:
  IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasse-recipes: npm: Add support for dependencies and devDependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:52 +0000 (00:27 +0200)] 
classe-recipes: npm: Add support for dependencies and devDependencies

Adapt the npm classe for the shrinkwrap of Nodejs 18, and seperate
dependencies and dev dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:51 +0000 (00:27 +0200)] 
classes: npm: Add support for the new format of the shrinkwrap file

1 - Adapt do_configure to the new format of the shrinkwrap

2 - Remove useless function _npmsw_dependency_dict because the dictionnary
    is already given by npmsw:foreach_dependencies

3 - Rename arguments of callback functions

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support to handle peer dependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:50 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support to handle peer dependencies

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:49 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support for the new format of the shrinkwrap file

The shrinkwrap file changed its format, but npm does not version this file. So we can use it properly.
The actual changes make the script check if the npm package has dependencies in the actual shrinkwrap format.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Handle peer dependencies for npm packages
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:48 +0000 (00:27 +0200)] 
classes: npm: Handle peer dependencies for npm packages

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Remove duplicate function to not have future conflicts
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:47 +0000 (00:27 +0200)] 
recipetool: create: npm: Remove duplicate function to not have future conflicts

Npm packages do not have yocto friendly names. fore instance we can have names like
"@example/npmPackage"

npm fetcher has a function that convert these names to yocto friendly names.
But in recipe tool we have an other function (duplicate).

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629
Ross Burton [Fri, 23 Jun 2023 12:32:48 +0000 (13:32 +0100)] 
ghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629

This CVE now has a version range, indicating that this Ghostscript
release isn't vulnerable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotestimage/oeqa: Drop testimage_dump_host functionality
Thomas Roos [Wed, 17 May 2023 14:36:13 +0000 (16:36 +0200)] 
testimage/oeqa: Drop testimage_dump_host functionality

The intent behind these functions was to dump the system state when issues occured
but it has never really worked as we'd planned. Regular monitoring as the build
runs has largely replaced this as that allows a trend to be seen rather than a spot
value which was never really useful. The code is bitrotting and not functioning
correctly so drop it.

[YOCTO #13872]

RP: Reword commit message
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: make autoload and probeconf distribution specific
Jose Quaresma [Tue, 27 Jun 2023 10:16:43 +0000 (10:16 +0000)] 
kernel-module-split: make autoload and probeconf distribution specific

The modules-load.d [1] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [2] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[2] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

CC: Ola x Nilsson <Ola.x.Nilsson@axis.com>
CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: use context manager to open files
Jose Quaresma [Tue, 27 Jun 2023 10:16:42 +0000 (10:16 +0000)] 
kernel-module-split: use context manager to open files

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: install config modules directories only when they are needed
Jose Quaresma [Tue, 27 Jun 2023 10:16:41 +0000 (10:16 +0000)] 
kernel-module-split: install config modules directories only when they are needed

Instaed of allways create the directories and removing it at the if they are
not used, we can just do it when there are modules configuration to be created.
So the best thing to do is install the directories only when necessary.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel: config modules directories are handled by kernel-module-split
Jose Quaresma [Tue, 27 Jun 2023 10:16:40 +0000 (10:16 +0000)] 
kernel: config modules directories are handled by kernel-module-split

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostrace: Update patches/tests with upstream fixes
Richard Purdie [Tue, 27 Jun 2023 09:10:26 +0000 (10:10 +0100)] 
strace: Update patches/tests with upstream fixes

Replace the sockopt disable patch with a fix from upstream. Also add a
patch to handle accept/accept4 differences when using glibc optimisations
for platforms where socketcall is used instead of an accept syscall such
as 32 bit x86.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorecipetool: Fix inherit in created -native* recipes
Yoann Congal [Wed, 28 Jun 2023 07:10:37 +0000 (09:10 +0200)] 
recipetool: Fix inherit in created -native* recipes

native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoifupdown: install missing directories
Yi Zhao [Wed, 28 Jun 2023 13:41:25 +0000 (21:41 +0800)] 
ifupdown: install missing directories

There are four directories in which scripts can be placed which will
always be run for any interface during certain phases of ifup and ifdown
commands:
/etc/network/if-pre-up.d/
/etc/network/if-up.d/
/etc/network/if-down.d/
/etc/network/if-post-down.d/

Even if there are no scripts in these directories, ifup and ifdown
commands will also search these directories by using run-parts command.

Install these directories to fix the following runtime errors:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
$ ifdown lo
ifdown: interface lo not configured
$ ifup lo
run-parts: failed to open directory /etc/network/if-up.d: No such file or directory
ifup: failed to bring up lo

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64.inc: annotate and clean up recipe-specific Y2038 exceptions
Alexander Kanavin [Wed, 28 Jun 2023 15:00:43 +0000 (17:00 +0200)] 
time64.inc: annotate and clean up recipe-specific Y2038 exceptions

Additionally:
- drop pseudo from INSANE_SKIP for 32bit time API check
(pseudo passes the check; it's not clear where the issue may have been)

- move rust exceptions to the cargo class, as the problem
is common across the ecosystem, and needs to be fixed in the
libc crate.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: update a patch to upstream's better followup fix
Alexander Kanavin [Wed, 28 Jun 2023 15:00:42 +0000 (17:00 +0200)] 
python3-cryptography: update a patch to upstream's better followup fix

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: update 2.38.5 -> 2.40.2
Alexander Kanavin [Wed, 28 Jun 2023 15:00:41 +0000 (17:00 +0200)] 
webkitgtk: update 2.38.5 -> 2.40.2

Drop backports.

Add extra options that require additional dependencies, and fail without them.

Disable the recipe on ancient x86 without SSE support; SSE is now
required.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-base: enable glx/opengl support
Alexander Kanavin [Wed, 28 Jun 2023 15:00:40 +0000 (17:00 +0200)] 
gstreamer1.0-plugins-base: enable glx/opengl support

This is required by latest webkit when built with x11 support.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflac: Upgrade 1.4.2 -> 1.4.3
Siddharth Doshi [Wed, 28 Jun 2023 13:15:25 +0000 (18:45 +0530)] 
flac: Upgrade 1.4.2 -> 1.4.3

License-Update: URL fix

Remove PowerPC related options no longer supported upstream.

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: drop uid parameter for ifdown
Adrian Freihofer [Mon, 26 Jun 2023 13:29:27 +0000 (15:29 +0200)] 
runqemu: drop uid parameter for ifdown

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu-ifdown: catch up with ifup
Adrian Freihofer [Mon, 26 Jun 2023 13:29:26 +0000 (15:29 +0200)] 
runqemu-ifdown: catch up with ifup

- Drop the native-sysroot-basedir parameter
  still allow it to keep backward compatibility
  write a warning to stderr
- Add a space after ! in the if as suggested by shellcheck
- Support the new OE_TAP_NAME variable as well

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Fix automated call to runqemu-ifup
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:25 +0000 (15:29 +0200)] 
runqemu: Fix automated call to runqemu-ifup

When runqemu tries to call runqemu-ifup to create tap devices, it checks the
output of runqemu-ifup to get the newly created tap device.

The behavior of runqemu-ifup was recently modified along with its output, it
no longer expects the uid parameter to be passed and it prints out a warning
if it was, since this warning was now part of the output runqemu tries to parse
it and convert it to an int() which proved impossible.

Pass the correct arguments to the runqemu-ifup call and echo the warning
to stderr instead to make sure its not being parsed and used by runqemu in any
case.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Stop using warn() since its been deprecated
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:24 +0000 (15:29 +0200)] 
runqemu: Stop using warn() since its been deprecated

logger.warn() has been deprecated, logger.warning() should be used instead.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxcrypt: fix hard-coded ".so" extension
Etienne Cordonnier [Fri, 26 May 2023 11:51:55 +0000 (13:51 +0200)] 
libxcrypt: fix hard-coded ".so" extension

2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: Upgrade 9.18.15 -> 9.18.16
Siddharth Doshi [Tue, 27 Jun 2023 06:32:00 +0000 (12:02 +0530)] 
bind: Upgrade 9.18.15 -> 9.18.16

- Remove configure options no longer supported online.

Changelog:
=========
[security] A query that prioritizes stale data over lookup
triggers a fetch to refresh the stale data in cache.
If the fetch is aborted for exceeding the recursion
quota, it was possible for 'named' to enter an infinite
callback loop and crash due to stack overflow. This has
been fixed. (CVE-2023-2911) [GL #4089]

[security] Improve the overmem cleaning process to prevent the
cache going over the configured limit. (CVE-2023-2828)
[GL #4055]

[performance] Reduce memory consumption by allocating properly
sized send buffers for stream-based transports.
[GL #4038]

[bug] Fix a 'clients-per-query' miscalculation bug. When the
'stale-answer-enable' options was enabled and the
'stale-answer-client-timeout' option was enabled and
larger than 0, named was taking two places from the
'clients-per-query' limit for each client and was
failing to gradually auto-tune its value, as configured.
[GL #4074]

[func] Add "ClientQuota" statistics channel counter, which
indicates the number of the resolver's spilled queries
due to reaching the clients per query quota. [GL !7978]

[bug] Fix a serve-stale bug where a delegation from cache
could be returned to the client. [GL #3950]

[cleanup] Remove configure checks for epoll, kqueue and
/dev/poll. [GL #4098]

[func] The "tkey-dhkey" option has been deprecated; a
warning will be logged when it is used. In a future
release, Diffie-Hellman TKEY mode will be removed.
[GL #3905]

[bug] The session key object could be incorrectly added
to multiple different views' keyrings. [GL #4079]

[bug] Fix an interfacemgr use-after-free error in
zoneconf.c:isself(). [GL #3765]

[test] Add support for using pytest & pytest-xdist to
execute the system test suite. [GL #3978]

[bug] BIND could get stuck on reconfiguration when a
'listen' statement for HTTP is removed from the
configuration. That has been fixed. [GL #4071]

[bug] Properly process extra "nameserver" lines in
resolv.conf otherwise the next line is not properly
processed. [GL #4066]

[bug] named could crash when deleting inline-signing zones
with "rndc delzone". [GL #4054]

[bug] Fix a logic error in dighost.c which could call the
dighost_shutdown() callback twice and cause problems
if the callback function was not idempotent. [GL #4039]

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: upgrade 23.1.1 -> 23.1.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:30 +0000 (15:17 +0800)] 
xwayland: upgrade 23.1.1 -> 23.1.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxkeyboard-config: upgrade 2.38 -> 2.39
Wang Mingyu [Tue, 27 Jun 2023 07:17:29 +0000 (15:17 +0800)] 
xkeyboard-config: upgrade 2.38 -> 2.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:27 +0000 (15:17 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32
Wang Mingyu [Tue, 27 Jun 2023 07:17:26 +0000 (15:17 +0800)] 
python3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32

Changelog:
- fix issue with scanner getting stuck in infinite loop

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest: upgrade 7.3.1 -> 7.4.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:25 +0000 (15:17 +0800)] 
python3-pytest: upgrade 7.3.1 -> 7.4.0

Changelog:
https://docs.pytest.org/en/stable/changelog.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyparsing: upgrade 3.0.9 -> 3.1.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:24 +0000 (15:17 +0800)] 
python3-pyparsing: upgrade 3.0.9 -> 3.1.0

Changelog:
==========
- Added 'tag_emitter.py' to examples. This example demonstrates how to insert
  tags into your parsed results that are not part of the original parsed text.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pycairo: upgrade 1.23.0 -> 1.24.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:23 +0000 (15:17 +0800)] 
python3-pycairo: upgrade 1.23.0 -> 1.24.0

Changelog:
==========
* Dropped Python 3.7 support
* Bumped meson version requirement from 0.53.0 to 0.56.0
* Various cairo dependency updates for the Windows wheel build
* examples: update to GTK4 :pr:'307'
* examples: add a clip_image example :pr:'316'
* docs: fix the build with Sphinx 6 :pr:'318'
* Various code cleanups :pr:'306'
* Added Python 3.12 Windows wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pluggy: upgrade 1.0.0 -> 1.2.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:22 +0000 (15:17 +0800)] 
python3-pluggy: upgrade 1.0.0 -> 1.2.0

Changelog:
==========
#405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator.
#364: Python 3.6 is no longer supported.
#260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers.
#364: Python 3.11 and 3.12 are now officially supported.
#394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-markupsafe: upgrade 2.1.2 -> 2.1.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:21 +0000 (15:17 +0800)] 
python3-markupsafe: upgrade 2.1.2 -> 2.1.3

Changelog:
=========
 Implement format_map, casefold, removeprefix, and removesuffix methods. #370
 Fix static typing for basic str methods on Markup. #358
 Use Self for annotating return types. #379

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-iso8601: upgrade 1.1.0 -> 2.0.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:20 +0000 (15:17 +0800)] 
python3-iso8601: upgrade 1.1.0 -> 2.0.0

added
------
    Add just for development commands
    Add Python 3.12 support

changed
---------
    Move changelog into CHANGELOG.md
    Freshen up README

fixed
------
    Fix test_fixedoffset_eq by adding an actual assertion

removed
--------
    Drop Python 3.6 support (3.6 is end of life)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-importlib-metadata: upgrade 6.6.0 -> 6.7.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:19 +0000 (15:17 +0800)] 
python3-importlib-metadata: upgrade 6.6.0 -> 6.7.0

Changelog:
#453: When inferring top-level names that are importable for distributions in package_distributions, now symlinks to other directories are honored.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.75.7 -> 6.79.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:18 +0000 (15:17 +0800)] 
python3-hypothesis: upgrade 6.75.7 -> 6.79.2

Changelog:
https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hatchling: upgrade 1.17.0 -> 1.18.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:17 +0000 (15:17 +0800)] 
python3-hatchling: upgrade 1.17.0 -> 1.18.0

Changed:
--------
  Drop support for Python 3.7

Added:
--------
  Update the list of directories that are always excluded for builds

Fixed:
-------
  Fix dev mode when the project has symlinks and file inclusion is defined with the packages or only-include options
  Change the name of generated PTH files for dev mode so they come first lexicographically and therefore load first

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxorgproto: upgrade 2022.2 -> 2023.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:16 +0000 (15:17 +0800)] 
xorgproto: upgrade 2022.2 -> 2023.2

License-Update: remove " All rights reserved." from Copyright

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.6.2 -> 4.6.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:15 +0000 (15:17 +0800)] 
python3-typing-extensions: upgrade 4.6.2 -> 4.6.3

License-Update:Sync LICENSE with CPython

Changelog:
==========
- Fix a regression introduced in v4.6.0 in the implementation of runtime-checkable protocols.
- Sync the repository's LICENSE file with that of CPython. typing_extensions
  is distributed under the same license as CPython itself.
- Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due
  to a bug in CPython, which will be fixed in 3.12.0b2. The typing_extensions
  test suite now passes on 3.12.0b1.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-numpy: upgrade 1.24.3 -> 1.25.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:14 +0000 (15:17 +0800)] 
python3-numpy: upgrade 1.24.3 -> 1.25.0

License-Update: Copyright year updated to 2023.

Changelog:
===========
    Support for MUSL, there are now MUSL wheels.
    Support the Fujitsu C/C++ compiler.
    Object arrays are now supported in einsum
    Support for inplace matrix multiplication (@=).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: upgrade 23.1.1 -> 23.1.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:13 +0000 (15:17 +0800)] 
mesa: upgrade 23.1.1 -> 23.1.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoccache: upgrade 4.8.1 -> 4.8.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:11 +0000 (15:17 +0800)] 
ccache: upgrade 4.8.1 -> 4.8.2

License-Update:
  BLAKE3 updated to 1.4.0
  cpp-httplib updated to 0.12.6

Changelog:
==========
Fixed parsing of Windows drive letter in file URLs for remote storage.
Fixed a bug affecting depend mode with MSVC.
Ccache no longer passes -v to the preprocessor. This improves preprocessor mode hit rate when -v is on the compiler command line.
Made --trim-max-size accept 0 for no limit.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonghttp2: upgrade 1.53.0 -> 1.54.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:10 +0000 (15:17 +0800)] 
nghttp2: upgrade 1.53.0 -> 1.54.0

Changelog:
==========
  nghttpx: Consistent error handling and use of high-level API
  h2load: Fix http3 upload stall
  h2load: Use std::chrono::steady_clock for quic timestamp
  Avoid ev_now by @tatsuhiro-t in #1907
  Remove unused macro bswap64
  Bump ngtcp2 and nghttp3
  Bump libbpf to v1.2.0
  Avoid copies

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonettle: upgrade 3.9 -> 3.9.1
Wang Mingyu [Tue, 27 Jun 2023 07:17:09 +0000 (15:17 +0800)] 
nettle: upgrade 3.9 -> 3.9.1

Bug fixes:
==========
* Fix OCB loop for processing messages of size 272 bytes or
  larger.
* Fix alignment bug in the new x86_64 non-pclmul assembly
  implementation of ghash.
* Fix build-time memory leak in eccdata.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolttng-ust: upgrade 2.13.5 -> 2.13.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:08 +0000 (15:17 +0800)] 
lttng-ust: upgrade 2.13.5 -> 2.13.6

Changelog:
===========
* Fix: segmentation fault on filter interpretation in "switch" mode
* Fix: `ip` context is expressed as a base-10 field
* Fix: c99: use __asm__ __volatile__
* Fix: c99: static assert: clang build fails due to multiple typedef
* Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h is included
* Fix: trace events in C++ constructors/destructors
* Fix: trace events in C constructors/destructors
* Fix: use unaligned pointer accesses for lttng_inline_memcpy

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibx11: upgrade 1.8.5 -> 1.8.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:06 +0000 (15:17 +0800)] 
libx11: upgrade 1.8.5 -> 1.8.6

Changelog:
==========
InitExt.c: Add bounds checks for extension request, event, & error codes
Fixes CVE-2023-3138

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibtraceevent: upgrade 1.7.2 -> 1.7.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:05 +0000 (15:17 +0800)] 
libtraceevent: upgrade 1.7.2 -> 1.7.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsdl2: upgrade 2.26.5 -> 2.28.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:04 +0000 (15:17 +0800)] 
libsdl2: upgrade 2.26.5 -> 2.28.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibmd: upgrade 1.0.4 -> 1.1.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:03 +0000 (15:17 +0800)] 
libmd: upgrade 1.0.4 -> 1.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibksba: upgrade 1.6.3 -> 1.6.4
Wang Mingyu [Tue, 27 Jun 2023 07:17:02 +0000 (15:17 +0800)] 
libksba: upgrade 1.6.3 -> 1.6.4

Changelog:
Correctly detect CMS write errors.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibassuan: upgrade 2.5.5 -> 2.5.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:01 +0000 (15:17 +0800)] 
libassuan: upgrade 2.5.5 -> 2.5.6

Changelog:
===========
 * Fix logging of confidential data.  [rA0fc31770fa]
 * Fix memory wiping.  [T5977]
 * Fix macOS build problem.  [T5440,T5610]
 * Upgrade autoconf stuff.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokbd: upgrade 2.5.1 -> 2.6.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:00 +0000 (15:17 +0800)] 
kbd: upgrade 2.5.1 -> 2.6.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: upgrade 1.22.3 -> 1.22.4
Wang Mingyu [Tue, 27 Jun 2023 07:16:59 +0000 (15:16 +0800)] 
gstreamer1.0: upgrade 1.22.3 -> 1.22.4

Bugfixes:
==========
-   Security fixes for flacparse, dvdspu, and subparse
-   d3d11videosink: Fix error on pause and play
-   decklink: Correctly handle SDK strings on macOS and free strings
    after usage on Linux
-   filesink: Fix buffered mode writing of buffer lists and buffers with
    multiple memories
-   gldownload: handle passthrough without a critical
-   h265parse: Fix framerate handling regression
-   oggdemux: vp8 fixes
-   mp4mux, qtmux, qtdemux: Opus audio mapping fixes
-   pngdec: Fix wrong colours output from 16bit RGB images
-   ptp clock: Work around ptpd bug in default configuration
-   srtpdec: fix critical warnings on shutdown
-   v4l2src: fix support for bayer format
-   v4l2videoenc: support force-keyframe event in v4l2 encoder
-   vtenc: apply DTS offset to ensure DTS <= PTS
-   gst-python: allow more functions to be called before gst_init()
-   cerbero: fix vaapi variant; add qt6 build on windows; ensure errors
    on unguarded use of new APIs, require macOS 10.13
-   packages: ship codecalpha, rtponvif, dvbsubenc, switchbin,
    videosignal plugins; fix pango crash on 32-bit windows
-   various bug fixes, memory leak fixes, and other stability and
    reliability improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofreetype: upgrade 2.13.0 -> 2.13.1
Wang Mingyu [Tue, 27 Jun 2023 07:16:58 +0000 (15:16 +0800)] 
freetype: upgrade 2.13.0 -> 2.13.1

Changelog:
===========
* docs/VERSION.TXT: Add entry for version 2.13.1.
* docs/CHANGES: Updated.
* docs/release, docs/README, builds/macs/README: Updated.
* README, src/base/ftver.rc, builds/windows/vc2010/index.html,
builds/windows/visualc/index.html, builds/windows/visualce/index.html,
builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html,
docs/freetype-config.1: s/2.13.0/2.13/1/, s/2130/2131/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 26:0:20.
* CMakeLists.txt (VERSION_PATCH): Set to 1.
* subprojects/libpng.wrap, subprojects/zlib.wrap, subprojects/dlg: Updated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibssh2: update 1.10.0 -> 1.11.0
Alexander Kanavin [Sun, 25 Jun 2023 21:22:41 +0000 (23:22 +0200)] 
libssh2: update 1.10.0 -> 1.11.0

License-update: copyright years

Enable static libs as some tests need them.

Fix up ptests; the set being run is the same.
test_simple is statically linked, hence DISABLE_STATIC is overriden.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibproxy: update 0.4.18 -> 0.5.2
Alexander Kanavin [Sun, 25 Jun 2023 21:22:40 +0000 (23:22 +0200)] 
libproxy: update 0.4.18 -> 0.5.2

License-update: formatting, years

Upstream has completely overhauled the build system
(cmake -> meson) and available options. Add the most
important ones that require external dependencies;
there's plenty more if someone finds them useful.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibproxy: fetch from git
Alexander Kanavin [Sun, 25 Jun 2023 21:22:39 +0000 (23:22 +0200)] 
libproxy: fetch from git

Upstream no longer provides tarballs for newer versions.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxtrans: update 1.4.0 -> 1.5.0
Alexander Kanavin [Sun, 25 Jun 2023 21:22:38 +0000 (23:22 +0200)] 
xtrans: update 1.4.0 -> 1.5.0

License-update: removal of 'all rights reserved' sentences.

MIT & MIT was an outcome of mass-cleanup of licenses, so it can
be just MIT.

tar.bz2 has been replaced with .tar.xz which is the default.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibdmx: update 1.1.4 -> 1.1.5
Alexander Kanavin [Sun, 25 Jun 2023 21:22:37 +0000 (23:22 +0200)] 
libdmx: update 1.1.4 -> 1.1.5

Upstream has migrated to tar.xz from tar.bz2, so default works now.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: update 11.0.1 -> 12.0.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:36 +0000 (23:22 +0200)] 
weston: update 11.0.1 -> 12.0.1

Default to launcher-seatd always, as launcher-logind option has been deprecated.

xcb-util-cursor is an additional dependency of xwayland support.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxcb-util-cursor: add a recipe from meta-oe
Alexander Kanavin [Sun, 25 Jun 2023 21:22:35 +0000 (23:22 +0200)] 
xcb-util-cursor: add a recipe from meta-oe

This is a requirement of weston 12.x when xwayland is enabled.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-validation-layers: update 1.3.243 -> 1.3.250
Alexander Kanavin [Sun, 25 Jun 2023 21:22:34 +0000 (23:22 +0200)] 
vulkan-validation-layers: update 1.3.243 -> 1.3.250

Backport a patch to unbreak cross-builds.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibrsvg: update 2.56.0 -> 2.56.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:33 +0000 (23:22 +0200)] 
librsvg: update 2.56.0 -> 2.56.1

Drop 0001-system-deps-src-lib.rs-do-not-probe-into-harcoded-li.patch
as upstream fixed the issue.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpam: update 1.5.2 -> 1.5.3
Alexander Kanavin [Sun, 25 Jun 2023 21:22:32 +0000 (23:22 +0200)] 
libpam: update 1.5.2 -> 1.5.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoshadow: remove dependency on pam-plugin-lastlog
Alexander Kanavin [Sun, 25 Jun 2023 21:22:31 +0000 (23:22 +0200)] 
shadow: remove dependency on pam-plugin-lastlog

This item has been deprecated in pam 1.5.3 and is no longer
built by default:
https://github.com/linux-pam/linux-pam/blob/master/NEWS

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodiffutils: update 3.9 -> 3.10
Alexander Kanavin [Sun, 25 Jun 2023 21:22:30 +0000 (23:22 +0200)] 
diffutils: update 3.9 -> 3.10

Remove the comment addition from the patch body, as it
increases likelyhood of rebase conflicts, and repeats what
the commit says.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3: update 3.11.3 -> 3.11.4
Alexander Kanavin [Sun, 25 Jun 2023 21:22:29 +0000 (23:22 +0200)] 
python3: update 3.11.3 -> 3.11.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography-vectors: update 39.0.2 -> 41.0.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:28 +0000 (23:22 +0200)] 
python3-cryptography-vectors: update 39.0.2 -> 41.0.1

Convert to python_setuptools_build_meta.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: update 39.0.2 -> 41.0.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:27 +0000 (23:22 +0200)] 
python3-cryptography: update 39.0.2 -> 41.0.1

Drop 0002-Cargo.toml-edition-2018-2021.patch
(issue fixed upstream)

License-Update: PSF licensed code removed as of
https://github.com/pyca/cryptography/commit/5e6476a4c6e094926a983dcf5cbe9488c30aeb53

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust-common.bbclass: move musl-specific linking fix from rust-source.inc
Alexander Kanavin [Sun, 25 Jun 2023 21:22:26 +0000 (23:22 +0200)] 
rust-common.bbclass: move musl-specific linking fix from rust-source.inc

This needs to be done for any item that is linked under rustc,
and not just rust itself. Latest python-cryptography exposes the issue.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocargo.bbclass: set up cargo environment in common do_compile
Alexander Kanavin [Sun, 25 Jun 2023 21:22:25 +0000 (23:22 +0200)] 
cargo.bbclass: set up cargo environment in common do_compile

cargo_do_compile runs only if the recipe is built using cargo
as the top level tool. Some recipes hide usage of cargo inside setuptools
(or autoconf) and use do_compile definitions specific to those,
and so the environment isn't properly set up.

This was exposed by latest versions of python3-cryptography.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolua: update 5.4.4 -> 5.4.6
Alexander Kanavin [Sun, 25 Jun 2023 21:22:24 +0000 (23:22 +0200)] 
lua: update 5.4.4 -> 5.4.6

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoovmf: update 202302 -> 202305
Alexander Kanavin [Sun, 25 Jun 2023 21:22:23 +0000 (23:22 +0200)] 
ovmf: update 202302 -> 202305

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxml2: update 2.10.4 -> 2.11.4
Alexander Kanavin [Sun, 25 Jun 2023 21:22:22 +0000 (23:22 +0200)] 
libxml2: update 2.10.4 -> 2.11.4

Drop backports.

Drop libxml-64bit.patch
(no longer necessary).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxcrypt: upgrade 4.4.34 -> 4.4.35
Alexander Kanavin [Sun, 25 Jun 2023 21:22:21 +0000 (23:22 +0200)] 
libxcrypt: upgrade 4.4.34 -> 4.4.35

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobaremetal-helloworld: Fix race condition
Alejandro Hernandez Samaniego [Fri, 23 Jun 2023 23:31:22 +0000 (17:31 -0600)] 
baremetal-helloworld: Fix race condition

There was a race condition during the Makefile execution in
between the assemble and compile targets, only the assemble
target had a dependency on creating the build directory.
If the compile target was executed first, an error was thrown
by bitbake since the build directory did not exist yet:

| Assembler messages:
| Fatal error: can't create build/hello_baremetal_aarch64.o:
  No such file or directory

Update the SRCREV to reflect the latest changes serializing
the makefile targets to avoid such race condition from happening.

[YOCTO #15146]

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotiff: backport a fix for CVE-2023-26965
Natasha Bailey [Fri, 23 Jun 2023 17:47:44 +0000 (10:47 -0700)] 
tiff: backport a fix for CVE-2023-26965

Fixes a bug where a buffer was used after a potential reallocation.

Signed-off-by: Natasha Bailey <nat.bailey@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-update-nvd2-native: use exact times, don't truncate
Ross Burton [Fri, 23 Jun 2023 12:32:50 +0000 (13:32 +0100)] 
cve-update-nvd2-native: use exact times, don't truncate

When requesting updates in a specific range, use the actual current time
and database mtime instead of truncating to midnight, and explicitly set
the timezone to UTC so that NIST don't treat the timestamps as _their_ local
time when they're _our_ local time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-update-nvd2-native: handle all configuration nodes, not just first
Ross Burton [Fri, 23 Jun 2023 12:32:49 +0000 (13:32 +0100)] 
cve-update-nvd2-native: handle all configuration nodes, not just first

Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.

Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-update-db-native: remove
Ross Burton [Fri, 23 Jun 2023 12:32:47 +0000 (13:32 +0100)] 
cve-update-db-native: remove

The replacement cve-update-nvd2-native is working, so we can remove the
old recipe now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64: Disable CFLAGS for strace
Richard Purdie [Wed, 21 Jun 2023 13:36:02 +0000 (14:36 +0100)] 
time64: Disable CFLAGS for strace

Until strace can handle the interface with glibc correctly with those flags,
disable there for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinsane.bbclass: enable 32 bit time API check (as a warning) on affected architectures
Alexander Kanavin [Fri, 28 Apr 2023 08:43:52 +0000 (10:43 +0200)] 
insane.bbclass: enable 32 bit time API check (as a warning) on affected architectures

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodefaultsetup: Enable largefile and 64bit time_t support systemwide for 32 bit platforms
Richard Purdie [Fri, 28 Apr 2023 08:43:50 +0000 (10:43 +0200)] 
defaultsetup: Enable largefile and 64bit time_t support systemwide for 32 bit platforms

There is a problem with 32 bit time looming for many 32 bit platforms
including arm, mip32, powerpc and x86 (but not riscv32) in 2038 when the
32 bit field time_t can no longer store the time value correctly due
to overflow.

Preparing for this is tricky as the ABI between libraries and binaries
will change and it isn't possible to migrate easily as structures and
return values change size.

As we're a source based system, the project has taken the decision that
we should change the compiler flags to switch to both largefile and 64
bit time_t. With OE-Core we've ironed out the issues we could spot
apart from some testing issues in strace and lttng-tools for which
discussions are ongoing upstream. There is more testing to be done
but we wanted to make this switch now in good time before our next
LTS release so we can work through any issues arrising.

We had already tried to mandate largefile everywhere before this but
this gives an opportunity to ensure that at the same time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: Cleanup and fix x11 and xwayland dependencies
Tom Hochstein [Thu, 22 Jun 2023 20:39:13 +0000 (15:39 -0500)] 
weston: Cleanup and fix x11 and xwayland dependencies

For the x11 backend package config, drop the redundant dependencies
libxcb and cairo. The former is listed twice in the package config,
while the latter is also listed globally.

For the xwayland package config, add the missing dependencies libxcb
and libxcursor. These dependencies are hidden when the x11 backend is
enabled by default. When the default setting is overridden to disable
the x11 backend, the following error occurs:
```
| Run-time dependency xcursor found: NO (tried pkgconfig and cmake)
|
| ../git/xwayland/meson.build:34:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: update to v6.1.35
Bruce Ashfield [Thu, 22 Jun 2023 21:38:47 +0000 (17:38 -0400)] 
linux-yocto/6.1: update to v6.1.35

Updating  to the latest korg -stable release that comprises
the following commits:

    e84a4e368abe Linux 6.1.35
    a76d4933c38e kbuild: Update assembler calls to use proper flags and language target
    5abcd2c18dbb MIPS: Prefer cc-option for additions to cflags
    1d485ddcba85 MIPS: Move '-Wa,-msoft-float' check from as-option to cc-option
    d51d258997e5 x86/boot/compressed: prefer cc-option for CFLAGS additions
    bdd22f2aa131 scsi: target: core: Fix error path in target_setup_session()
    741c96715fb7 neighbour: delete neigh_lookup_nodev as not used
    26435338f9dd net/sched: act_api: add specific EXT_WARN_MSG for tc action
    ab1bbd79f48e Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"
    8f3759981104 net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy
    4b4cae8e4b37 drm/amdgpu: Don't set struct drm_driver.output_poll_changed
    c6cbb4e1c10c rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
    8d842af30bc2 parisc: Delete redundant register definitions in <asm/assembly.h>
    616aba553640 afs: Fix vlserver probe RTT handling
    34dc1eed9918 octeon_ep: Add missing check for ioremap
    35d848164fec selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
    6ab77b3b852d net: tipc: resize nlattr array to correct size
    d24c96581775 dm: don't lock fs when the map is NULL during suspend or resume
    010179208c66 sfc: fix XDP queues mode with legacy IRQ
    23efdbfa8eef net: macsec: fix double free of percpu stats
    4ea1f3344472 net: lapbether: only support ethernet devices
    59f0c7bec3ca net: dsa: felix: fix taprio guard band overflow at 10Mbps with jumbo frames
    3626e93cd841 net/sched: cls_api: Fix lockup on flushing explicitly created chain
    fa285d799d1d ext4: drop the call to ext4_error() from ext4_get_group_info()
    d7d6e830cd0f cifs: fix lease break oops in xfstest generic/098
    e8119d4d1611 selftests: forwarding: hw_stats_l3: Set addrgenmode in a separate step
    ea3f336f717a net/sched: qdisc_destroy() old ingress and clsact Qdiscs before grafting
    ac57be24dcf1 net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
    096c00ea80db sched: add new attr TCA_EXT_WARN_MSG to report tc extact message
    e568e0e16830 selftests/tc-testing: Fix SFB db test
    700d7bf300c1 selftests/tc-testing: Fix Error: failed to find target LOG
    8a086daf20a8 selftests/tc-testing: Fix Error: Specified qdisc kind is unknown.
    62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
    fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
    a5acbe4ea5d0 drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow
    90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
    835457c0d608 net: phylink: use a dedicated helper to parse usgmii control word
    fabf9cb41334 net: phylink: report correct max speed for QUSGMII
    df7477a8bdcb igb: fix nvm.ops.read() error handling
    9710e5c30bd4 igc: Fix possible system crash when loading module
    c6612bf33ebe igc: Clean the TX buffer and TX descriptor ring
    fe289f8fee9a sctp: fix an error code in sctp_sf_eat_auth()
    0b8ae7d6e4ad ipvlan: fix bound dev checking for IPv6 l3s mode
    33bd6b76ac77 net: ethtool: correct MAX attribute value for stats
    277fbf63b34a IB/isert: Fix incorrect release of isert connection
    f77965f48792 IB/isert: Fix possible list corruption in CMA handler
    4e55c9abe947 IB/isert: Fix dead lock in ib_isert
    1def2a94f4ee RDMA/mlx5: Fix affinity assignment
    8618f8f72389 IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
    4dc0b367c390 RDMA/cma: Always set static rate to 0 for RoCE
    ec6d49687d2b RDMA/mlx5: Create an indirect flow table for steering anchor
    3a83145b660c RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
    c764fed5e544 octeontx2-af: fix lbk link credits on cn10k
    7c6d50414649 octeontx2-af: fixed resource availability check
    b4a3cae58cd8 iavf: remove mask from iavf_irq_enable_queues()
    26256aa7edcd RDMA/rxe: Fix the use-before-initialization error of resp_pkts
    b0b3848e0363 RDMA/rxe: Removed unused name from rxe_task struct
    e83bc9388627 wifi: mac80211: take lock before setting vif links
    170ceadf4a57 wifi: cfg80211: fix link del callback to call correct handler
    49f3a79f03bd wifi: mac80211: fix link activation settings order
    07f9cc229b44 net/sched: cls_u32: Fix reference counter leak leading to overflow
    c9411f014e5c octeontx2-af: Fix promiscuous mode
    5cf38fbc82ba net/sched: act_pedit: Parse L3 Header for L4 offset
    fb25478f6699 net/sched: act_pedit: remove extra check for key type
    b4e5d0c4cf07 net/sched: simplify tcf_pedit_act
    300be9f1dc4b igb: Fix extts capture value format for 82580/i354/i350
    a4a912aee14e ping6: Fix send to link-local addresses with VRF.
    381d49ec68ca net: enetc: correct the indexes of highest and 2nd highest TCs
    4aaa3b730d16 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
    bec51844f9ba ice: Fix XDP memory leak when NIC is brought up and down
    8fddf3f05156 netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
    55b7a00f3422 netfilter: nf_tables: integrate pipapo into commit protocol
    839d38d3b0aa spi: fsl-dspi: avoid SCK glitches with continuous transfers
    485792480660 spi: cadence-quadspi: Add missing check for dma_set_mask
    2906e0d75b50 RDMA/rxe: Fix ref count error in check_rkey()
    7617a59f0056 RDMA/rxe: Fix packet length checks
    00b276bc7b62 RDMA/rtrs: Fix rxe_dealloc_pd warning
    77226c9785f8 RDMA/rtrs: Fix the last iu->buf leak in err path
    03285557deb6 usb: dwc3: gadget: Reset num TRBs before giving back the request
    7bee7f13c039 USB: dwc3: fix use-after-free on core driver unbind
    307fe59490bd USB: dwc3: qcom: fix NULL-deref on suspend
    d8195536ce26 usb: gadget: udc: core: Prevent soft_connect_store() race
    3c048d42c305 usb: gadget: udc: core: Offload usb_udc_vbus_handler processing
    3a1882841f64 usb: typec: Fix fast_role_swap_current show function
    2bf8ea2e9e39 usb: typec: ucsi: Fix command cancellation
    b352f7b6a646 serial: lantiq: add missing interrupt ack
    04b3145db225 USB: serial: option: add Quectel EM061KGL series
    03b5964a2825 clk: pxa: fix NULL pointer dereference in pxa3xx_clk_update_accr
    5532962c9ed2 thunderbolt: Mask ring interrupt on Intel hardware as well
    d799f73d5d44 thunderbolt: dma_test: Use correct value for absent rings when creating paths
    081b5f1ebc73 thunderbolt: Do not touch CL state configuration during discovery
    1eb0eff7da97 ALSA: hda/realtek: Add a quirk for Compaq N14JP6
    21863dc45aed drm/amdgpu: add missing radeon secondary PCI ID
    6f5b5ce9397d drm/amd/pm: workaround for compute workload type on some skus
    b69a10df9003 drm/amd: Tighten permissions on VBIOS flashing attributes
    b2706d862b65 drm/amd: Make sure image is written to trigger VBIOS image update flow
    ee8c6580c310 drm/amd/display: edp do not add non-edid timings
    2cb6026df193 net: usb: qmi_wwan: add support for Compal RXM-G1
    5d1fdfb3d185 drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1
    f6d74371ce15 RDMA/uverbs: Restrict usage of privileged QKEYs
    5a144bad3e75 nouveau: fix client work fence deletion race
    33965ac34091 net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open
    bfaf388d3599 dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
    088ad777eeae dm thin metadata: check fail_io before using data_sm
    1886db9a4ee1 ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
    029e0f1f7521 ALSA: usb-audio: Fix broken resume due to UAC3 power state
    9e1c7968a275 btrfs: can_nocow_file_extent should pass down args->strict from callers
    4e9da0cda149 btrfs: fix iomap_begin length for nocow writes
    4389fb6b6a9d btrfs: do not ASSERT() on duplicated global roots
    7e23b1ec720a powerpc/purgatory: remove PGO flags
    352f62431ad3 riscv/purgatory: remove PGO flags
    2cf6e32e86ea x86/purgatory: remove PGO flags
    013027918a4e kexec: support purgatories with .text.hot sections
    c9c3163c7ab9 io_uring/net: save msghdr->msg_control for retries
    cffaa97ffb67 LoongArch: Fix perf event id calculation
    ad64865722b6 nilfs2: reject devices with insufficient block count
    69caea4eed1c nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
    8f47a9665aee nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
    3d4bc38f716c nios2: dts: Fix tse_mac "max-frame-size" property
    447f325497dc zswap: do not shrink if cgroup may not zswap
    9f17645f8528 ocfs2: check new file size on fallocate call
    534b4bbc8589 ocfs2: fix use-after-free when unmounting read-only filesystem
    3a340c63c0c3 epoll: ep_autoremove_wake_function should use list_del_init_careful
    6d304091e091 wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
    b11f953a61e9 wifi: cfg80211: fix locking in regulatory disconnect
    9a9adc42a590 irqchip/gic: Correctly validate OF quirk descriptors
    22efb27a21b6 NVMe: Add MAXIO 1602 to bogus nid list.
    c9c205945033 io_uring: unlock sqd->lock before sq thread release CPU
    8ca9880735b0 drm:amd:amdgpu: Fix missing buffer object unlock in failure path
    41c383c49657 xen/blkfront: Only check REQ_FUA for writes
    75955d698636 ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
    7e57a56374aa ASoC: cs35l41: Fix default regmap values for some registers
    424fc902728c mips: Move initrd_start check after initrd address sanitisation.
    dd035c08ee96 MIPS: Alchemy: fix dbdma2
    34dd1a90ab64 MIPS: Restore Au1300 support
    048ad52d528e MIPS: unhide PATA_PLATFORM
    3d48ea53c44b parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
    e522a12e4892 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
    0b09b35cae86 ASoC: Intel: avs: Add missing checks on FE startup
    5daa27bcb31d ASoC: Intel: avs: Account for UID of ACPI device
    c33fded7f17f ASoC: soc-pcm: test if a BE can be prepared
    0a9b2164b7d8 btrfs: handle memory allocation failure in btrfs_csum_one_bio
    e9a5175d5e83 btrfs: scrub: try harder to mark RAID56 block groups read-only
    c45aed74318e drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
    2d9144c0ca82 power: supply: Fix logic checking if system is running from battery
    808e103ebac9 irqchip/meson-gpio: Mark OF related data as maybe unused
    0cdb593c2fe9 irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
    bf8324676b1c regulator: Fix error checking for debugfs_create_dir
    c94be1f039c3 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
    cdf9cfc1bbd7 PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
    22358b9c418c power: supply: Ratelimit no data debug output
    a7620312a082 selftests: gpio: gpio-sim: Fix BUG: test FAILED due to recent change
    79a0a3695e01 tools: gpio: fix debounce_period_us output of lsgpio
    cc1444a36398 ARM: dts: vexpress: add missing cache properties
    398bf0d67bcc power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
    66a88d04cf5d power: supply: sc27xx: Fix external_power_changed race
    e3d2bdca180b power: supply: ab8500: Fix external_power_changed race
    628e40a225a0 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
    e01fc7caac9c ksmbd: validate smb request protocol id
    fec79e4f7df5 EDAC/qcom: Get rid of hardcoded register offsets
    4b3ec6b6ff24 qcom: llcc/edac: Fix the base address used for accessing LLCC banks
    314e973f36a5 cgroup: fix missing cpus_read_{lock,unlock}() in cgroup_transfer_tasks()
    c68b4db58138 cgroup: always put cset in cgroup_css_set_put_fork
    7a2e2ca9ad21 cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers
    6111f0add6ff test_firmware: prevent race conditions by a correct implementation of locking
    aa2dfdc4ed25 test_firmware: Use kstrtobool() instead of strtobool()
    100cd6d0e563 x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>