Re: [OE-core] [meta-oe][PATCH] base-files: profile: allow profile.d to set EDITOR

2023-10-14 Thread Luca Ceresoli via lists.openembedded.org
Hello Johannes,

On Fri, 13 Oct 2023 10:27:34 +
"Johannes Schneider via lists.openembedded.org"
 wrote:
 ^^

As you can see your sender address has been mangled, and as a result
the patch is rejected by the the openembedded git server. This is not
your fault, but we need you to modify your git configuration to prevent
this from happening in the future. Have a look at the wiki for more
info and how to solve that:

https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Fixing_your_From_identity

I'm taking your patch for testing on the autobuilders fixing it
manually so you don't need to resend your patch this time.

Luca


-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189110): 
https://lists.openembedded.org/g/openembedded-core/message/189110
Mute This Topic: https://lists.openembedded.org/mt/101937238/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] [meta-oe][PATCH] base-files: profile: allow profile.d to set EDITOR

2023-10-14 Thread Luca Ceresoli via lists.openembedded.org
Hello again,

On Fri, 13 Oct 2023 10:27:34 +
"Johannes Schneider via lists.openembedded.org"
 wrote:

> From 0013c8a6482018d5476e4eb2f4d537c96551e0c6 Mon Sep 17 00:00:00 2001
> From: Johannes Schneider 
> Date: Fri, 13 Oct 2023 08:28:38 +0200
> Subject: [PATCH v1] base-files: profile: allow profile.d to set EDITOR

In addition to my previous remark, I noticed that your e-mail is
formatted in an incorrect way. The From/Date/Subject: lines inside the
e-mail body suggest you probably manipulated a git-formatted patch in
an incorrect way. You should review the way you are sending patches,
perhaps you only need to call 'git send-patch -1' or similar instead of
some manipulation you have been doing here.

Again, you don't need to resend for this tome as I have fixed it
locally.

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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



Re: Kernel 6.5 ttyS1 hang with qemu (was Re: [OE-core] Summary of the remaining 6.5 kernel serial issue (and 6.5 summary)

2023-10-14 Thread Richard Purdie
On Mon, 2023-10-09 at 13:05 +0300, Mikko Rapeli wrote:
> Yocto Linux distro maintainer Richard Purdie is seeing a regression or 
> behavior
> change after updating kernel from 6.4 to 6.5. Yocto runs a lot of automated 
> tests with qemu
> where a python test framework configures and spawns qemu (version 8.1) with 
> two
> serial ports and boots a newly built kernel and rootfs there. The python test 
> framework
> tries to detect getty login prompt from ttyS1 while boot time logging
> from qemu, kernel, userspace etc happens on serial console ttyS0. This has 
> worked
> reliably for years and across multiple kernel versions. Now with 6.5 kernel 
> there are
> suddenly frequent failures where ttyS1 doesn't show the login prompt in the 
> python code
> which listens on the qemu socket from target system ttyS1. The target system 
> ttyS0 is working
> and boot time logs and getty prompt are visible there. The ttyS1 logs from 
> test framework show
> that only two characters CR and LF make it through. This same happens on 
> x86_64 host
> running qemu machine for x86_64 and arm64 targets.
> 
> The kernel boot logs from target system with 6.5.5 don't show any errors and 
> getty
> processes are started correctly and they don't see any errors either. Data 
> from
> target system userspace is being written, but seems to sometimes hang inside 
> kernel
> or qemu serial port buffers, and only on the ttyS1 while ttyS0 works reliably 
> all
> the time.
> 
> Example target logs with 6.5.5 via ttyS0:
> 
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/j/qemu_boot_log.20231007084853
> or https://pastebin.com/raw/jRRa2CwW
> 
> ttyS1 logs from the same run:
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/j/qemu_boot_log.20231007084853.2
> 
> Kernel config:
> https://pastebin.com/raw/Lv9Hfeuh
> 
> Do you have any ideas or hints how to debug or possibly fix this?
> 
> tty layer has seen quite a few major changes between 6.4.14 and 6.5.5 and 
> we're not able
> to pinpoint or bisect the issue, since it so annoyingly rare.
> 
> Some more details from Richard below.

Brief summary:

We're seeing an issue on x86_64 with 6.5.X where data appears to be
left in the transmission buffer and not sent to the port on the second
serial port (ttyS1) until we trigger it with intervention.

Paul Gortmaker did some painful bisection over a few days down to:

serial: core: Start managing serial controllers to enable runtime PM
https://lore.kernel.org/linux-serial/1431f5b4-fb39-483b-9314-ed2b7c118...@gmail.com/T/#t

More details:

We run very simple plain images under qemu with two serial ports
configured. These are x86_64 images with two 16550A ports with the
standard x86 port addresses which appear as ttyS0 and ttyS1, nothing
special. We run a console and getty on ttyS0 and a getty on ttyS1.
After boot, we wait for a getty to appear on ttyS1, login to it and run
commands.

With 6.5.5 (and latest 6.5.X head as of yesterday), we see an issue say
1% of the time where the getty never appears on ttyS1 even after our
timeout of 1000s.

When this happens we've added code to login to the ttyS0 getty and run
debug commands. We've been able to confirm the getty is running and the
init system doesn't matter (happens with sysvinit and systemd). The
most interesting debug I've seen is this:

root@qemux86-64:~# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:03F8 irq:4 tx:418 rx:43 RTS|CTS|DTR|DSR|CD
1: uart:16550A port:02F8 irq:3 tx:249 rx:0 RTS|CTS|DTR|DSR|CD
2: uart:unknown port:03E8 irq:4
3: uart:unknown port:02E8 irq:3
root@qemux86-64:~# echo helloA > /dev/ttyS1
root@qemux86-64:~# echo helloB > /dev/ttyS0
helloB
root@qemux86-64:~# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:03F8 irq:4 tx:803 rx:121 RTS|CTS|DTR|DSR|CD
1: uart:16550A port:02F8 irq:3 tx:281 rx:0 RTS|CTS|DTR|DSR|CD
2: uart:unknown port:03E8 irq:4
3: uart:unknown port:02E8 irq:3

This is being run after the getty didn't appear for 60s on ttyS1 so
we've logged into ttyS0 and run these commands. We've seen that if it
doesn't appear after 60s, it won't appear after 1000s either.

The tx:249 is interesting as it should be tx:273, 273 being the number
of bytes our successful serial getty prompt has. Once we echo something
to the port (8 bytes), tx: jumps to 281, so it suddenly found our
missing login prompt. This is confirmed with the data appearing on the
port after the echo.

I did try disabling the autosuspend code in the commit above but it
made no difference.

Reproducing this is a pain. I thought I had a local setup doing it
fairly frequently, then spent an hour this morning without it happening
once.

I'm hoping someone might recognise what is going on here? I'm happy to
try and add debug or find further information if that would help narrow
it down.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Onl

Re: Kernel 6.5 ttyS1 hang with qemu (was Re: [OE-core] Summary of the remaining 6.5 kernel serial issue (and 6.5 summary)

2023-10-14 Thread Richard Purdie
On Sat, 2023-10-14 at 10:41 +0100, Richard Purdie wrote:
> Brief summary:
> 
> We're seeing an issue on x86_64 with 6.5.X where data appears to be
> left in the transmission buffer and not sent to the port on the second
> serial port (ttyS1) until we trigger it with intervention.
> 
> Paul Gortmaker did some painful bisection over a few days down to:
> 
> serial: core: Start managing serial controllers to enable runtime PM
> https://lore.kernel.org/linux-serial/1431f5b4-fb39-483b-9314-ed2b7c118...@gmail.com/T/#t

Having poked around a bit and knowing nothing about any of this, should
this bit of new code added in the above commit to __uart_start() in
serial_core.c:

/*
 * Start TX if enabled, and kick runtime PM. If the device is not
 * enabled, serial_port_runtime_resume() calls start_tx()
again
 * after enabling the device.
 */
if (pm_runtime_active(&port_dev->dev))
port->ops->start_tx(port);


actually be something like:


if (pm_runtime_active(&port_dev->dev) || 
!pm_runtime_enabled(&port_dev->dev))
port->ops->start_tx(port);


since there are uarts that don't enable runtime PM?

I notice that 16550A I'm using doesn't set UART_CAP_RPM and since we
have data left in the xmit buffer (I managed to confirm that), it is as
if during init, there is a race between the serial probing and the
getty putting data in the buffer? If it weren't statrted, that would
explain things...

Keep in mind I know nothing about pm_runtime or serial/uarts so this is
guesswork on my part.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189113): 
https://lists.openembedded.org/g/openembedded-core/message/189113
Mute This Topic: https://lists.openembedded.org/mt/101849211/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] linux/cve-exclusion6.1/6.5: Update to latest kernel point releases

2023-10-14 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/recipes-kernel/linux/cve-exclusion_6.1.inc | 4 ++--
 meta/recipes-kernel/linux/cve-exclusion_6.5.inc | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
index 88c7e4589a8..6af53b0d750 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-09-30 07:26:16.988526+00:00 for version 6.1.55
+# Generated at 2023-10-14 12:24:32.747058+00:00 for version 6.1.57
 
 python check_kernel_cve_status_version() {
-this_version = "6.1.55"
+this_version = "6.1.57"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
index c88b6f7c593..dbcfdcd31c7 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-09-29 00:20:42.494116+00:00 for version 6.5.5
+# Generated at 2023-10-14 12:24:32.683888+00:00 for version 6.5.7
 
 python check_kernel_cve_status_version() {
-this_version = "6.5.5"
+this_version = "6.5.7"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
-- 
2.39.2


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



[OE-core] [RFC PATCH] kernel.bbclass: make scripts_gdb when CONFIG_GDB_SCRIPTS=y and target is available

2023-10-14 Thread Olivier Dautricourt
Since Commit 67274c083438340ad16c ("scripts/gdb: delay generation of gdb
constants.py") in kernel source tree (>=V5.1), scripts_gdb target needs
explicit run to build scripts/gdb. (vmlinux-gdb.py script is used by gdb for
linux kernel integration).

As this step was previously not needed, this suggest newer kernels builds
do not bundle it anymore, this change provides the same functionalities
for kernels >=V5.1 .

Signed-off-by: Olivier Dautricourt 
---
 meta/classes-recipe/kernel.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes-recipe/kernel.bbclass 
b/meta/classes-recipe/kernel.bbclass
index 2ec9ea2091..5206b4f2a7 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -394,6 +394,9 @@ kernel_do_compile() {
for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
oe_runmake ${PARALLEL_MAKE} ${typeformake} ${KERNEL_EXTRA_ARGS} 
$use_alternate_initrd
done
+   if (grep -q -i -e '^CONFIG_GDB_SCRIPTS=y$' .config && grep -q -e 
"^PHONY +=.*scripts_gdb" "${S}/Makefile"); then
+   oe_runmake ${PARALLEL_MAKE} scripts_gdb
+   fi
 }
 
 kernel_do_transform_kernel() {
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189115): 
https://lists.openembedded.org/g/openembedded-core/message/189115
Mute This Topic: https://lists.openembedded.org/mt/101960387/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] [RFC PATCH] kernel.bbclass: make scripts_gdb when CONFIG_GDB_SCRIPTS=y and target is available

2023-10-14 Thread Bruce Ashfield
On Sat, Oct 14, 2023 at 10:14 AM Olivier Dautricourt
 wrote:
>
> Since Commit 67274c083438340ad16c ("scripts/gdb: delay generation of gdb
> constants.py") in kernel source tree (>=V5.1), scripts_gdb target needs
> explicit run to build scripts/gdb. (vmlinux-gdb.py script is used by gdb for
> linux kernel integration).
>
> As this step was previously not needed, this suggest newer kernels builds
> do not bundle it anymore, this change provides the same functionalities
> for kernels >=V5.1 .

It also suggests that very few people use the integration :)

>
> Signed-off-by: Olivier Dautricourt 
> ---
>  meta/classes-recipe/kernel.bbclass | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/classes-recipe/kernel.bbclass 
> b/meta/classes-recipe/kernel.bbclass
> index 2ec9ea2091..5206b4f2a7 100644
> --- a/meta/classes-recipe/kernel.bbclass
> +++ b/meta/classes-recipe/kernel.bbclass
> @@ -394,6 +394,9 @@ kernel_do_compile() {
> for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
> oe_runmake ${PARALLEL_MAKE} ${typeformake} 
> ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
> done
> +   if (grep -q -i -e '^CONFIG_GDB_SCRIPTS=y$' .config && grep -q -e 
> "^PHONY +=.*scripts_gdb" "${S}/Makefile"); then
> +   oe_runmake ${PARALLEL_MAKE} scripts_gdb
> +   fi

We really try to avoid using any explicit checks for CONFIG_* in the kernel
classes or using them to coordinate functionality. While I don't think that this
is a significant issue here (since what is being built is small and it
is isolated),
it is something that could be coordinated via a distro feature as the main
"on off" switch. We already have some debug distro features, and I could see
this being something that could trigger when they are enabled (and for
kernel-yocto derived kernels, it could also ensure that gdb functionality is
enabled via a fragment).

I'd also suggest that this could be placed into a separate task like we do
for modules. Again, the build here is small, but it is something outside of the
core kernel build which is the purpose of do_compile in the kernel classes.
As a task, it also would be easy enough for other users to override if it causes
them issues.

Cheers,

Bruce

>  }
>
>  kernel_do_transform_kernel() {
> --
> 2.42.0
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189116): 
https://lists.openembedded.org/g/openembedded-core/message/189116
Mute This Topic: https://lists.openembedded.org/mt/101960387/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] [RFC PATCH] kernel.bbclass: make scripts_gdb when CONFIG_GDB_SCRIPTS=y and target is available

2023-10-14 Thread Olivier Dautricourt
On Sat, Oct 14, 2023 at 10:30:48AM -0400, Bruce Ashfield wrote:
> On Sat, Oct 14, 2023 at 10:14 AM Olivier Dautricourt
>  wrote:
> >
> > Since Commit 67274c083438340ad16c ("scripts/gdb: delay generation of gdb
> > constants.py") in kernel source tree (>=V5.1), scripts_gdb target needs
> > explicit run to build scripts/gdb. (vmlinux-gdb.py script is used by gdb for
> > linux kernel integration).
> >
> > As this step was previously not needed, this suggest newer kernels builds
> > do not bundle it anymore, this change provides the same functionalities
> > for kernels >=V5.1 .
> 
> It also suggests that very few people use the integration :)
> 
> >
> > Signed-off-by: Olivier Dautricourt 
> > ---
> >  meta/classes-recipe/kernel.bbclass | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/classes-recipe/kernel.bbclass 
> > b/meta/classes-recipe/kernel.bbclass
> > index 2ec9ea2091..5206b4f2a7 100644
> > --- a/meta/classes-recipe/kernel.bbclass
> > +++ b/meta/classes-recipe/kernel.bbclass
> > @@ -394,6 +394,9 @@ kernel_do_compile() {
> > for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
> > oe_runmake ${PARALLEL_MAKE} ${typeformake} 
> > ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
> > done
> > +   if (grep -q -i -e '^CONFIG_GDB_SCRIPTS=y$' .config && grep -q -e 
> > "^PHONY +=.*scripts_gdb" "${S}/Makefile"); then
> > +   oe_runmake ${PARALLEL_MAKE} scripts_gdb
> > +   fi
> 
> We really try to avoid using any explicit checks for CONFIG_* in the kernel
> classes or using them to coordinate functionality. While I don't think that 
> this
> is a significant issue here (since what is being built is small and it
> is isolated),
> it is something that could be coordinated via a distro feature as the main
> "on off" switch. We already have some debug distro features, and I could see
> this being something that could trigger when they are enabled (and for
> kernel-yocto derived kernels, it could also ensure that gdb functionality is
> enabled via a fragment).
> 
> I'd also suggest that this could be placed into a separate task like we do
> for modules. Again, the build here is small, but it is something outside of 
> the
> core kernel build which is the purpose of do_compile in the kernel classes.
> As a task, it also would be easy enough for other users to override if it 
> causes
> them issues.
> 
> Cheers,
> 
> Bruce

Thanks for the quick reply. I understood your points and i will see how to 
better integrate this.

Kind Regards,

Olivier

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



[OE-core] [PATCH 1/2] gcompat: Add fcntl64 wrapper

2023-10-14 Thread Khem Raj
Needed by pvr mesa drivers

Signed-off-by: Khem Raj 
---
 .../gcompat/0001-Add-fcntl64-wrapper.patch| 44 +++
 meta/recipes-core/musl/gcompat_git.bb |  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta/recipes-core/musl/gcompat/0001-Add-fcntl64-wrapper.patch

diff --git a/meta/recipes-core/musl/gcompat/0001-Add-fcntl64-wrapper.patch 
b/meta/recipes-core/musl/gcompat/0001-Add-fcntl64-wrapper.patch
new file mode 100644
index 000..3f265e273a9
--- /dev/null
+++ b/meta/recipes-core/musl/gcompat/0001-Add-fcntl64-wrapper.patch
@@ -0,0 +1,44 @@
+From 37f70f54c74c4ceeb089cbee88311ba00638f211 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 13 Oct 2023 21:02:23 -0700
+Subject: [PATCH] Add fcntl64 wrapper
+
+fixes loadtime errors with pvr precompiled driver for visionfive2
+
+load libpvr_dri_support.so: Error relocating /usr/lib/libpvr_dri_support.so: 
fcntl64: symbol not found
+
+Upstream-Status: Submitted 
[https://git.adelielinux.org/adelie/gcompat/-/merge_requests/28]
+Signed-off-by: Khem Raj 
+---
+ libgcompat/unistd.c | 11 +++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/libgcompat/unistd.c b/libgcompat/unistd.c
+index 011fba2..400abf3 100644
+--- a/libgcompat/unistd.c
 b/libgcompat/unistd.c
+@@ -1,6 +1,7 @@
+ #include  /* assert */
+ #include   /* O_CREAT */
+ #include  /* NGROUPS_MAX */
++#include  /* va_list, va_start, va_end */
+ #include  /* NULL, size_t */
+ #include  /* confstr, getcwd, getgroups, ... */
+ #include   /* ENOSYS, ENOMEM */
+@@ -250,3 +251,13 @@ int __close(int fd)
+ {
+   return close(fd);
+ }
++
++int fcntl64 (int fd, int cmd, ...)
++{
++  int ret;
++  va_list ap;
++  va_start(ap, cmd);
++  ret = fcntl(fd, cmd, ap);
++  va_end(ap);
++  return ret;
++}
+-- 
+2.42.0
+
diff --git a/meta/recipes-core/musl/gcompat_git.bb 
b/meta/recipes-core/musl/gcompat_git.bb
index ba802e3caaa..3e5541ba91e 100644
--- a/meta/recipes-core/musl/gcompat_git.bb
+++ b/meta/recipes-core/musl/gcompat_git.bb
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=eb33ef4af05a9c7602843afb7adfe792"
 
 SRC_URI = 
"git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current \
file://0001-auxv-new-module.patch \
+   file://0001-Add-fcntl64-wrapper.patch \
"
 SRC_URI:append:powerpc = "\
file://0001-make-Static-PIE-does-not-work-on-musl-ppc.patch \
-- 
2.42.0


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



[OE-core] [PATCH 2/2] gcompat: Upgrade to 1.1.0 release

2023-10-14 Thread Khem Raj
License-Update: Updated copyright years and contibutors [1]

Brings following changes
* b7bfe0b Update documentation for 1.1 release
* f0de9c6 CHANGELOG: Add pthread section
* 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np
* f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe
* 158f2b5 Update CHANGELOG for 1.1
* 4a4c840 fix path-searching for execvp
* 9dbbddc sysctl: Add __getauxval alias
* fbdd06c misc: add __libc_single_threaded
* f727ab7 locale: also override __newlocale/__duplocale
* 244110e random_r: fix null dereference when passed uninitialized buf

[1] 
https://git.adelielinux.org/adelie/gcompat/-/commit/b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6#0398ccd0f49298b10a3d76a47800d2ebecd49859

Signed-off-by: Khem Raj 
---
 .../musl/gcompat/0001-auxv-new-module.patch   | 59 ---
 meta/recipes-core/musl/gcompat_git.bb |  7 +--
 2 files changed, 3 insertions(+), 63 deletions(-)
 delete mode 100644 meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch

diff --git a/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch 
b/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch
deleted file mode 100644
index ee292f38416..000
--- a/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From aecd42801904462501a890d173648e4e826eda19 Mon Sep 17 00:00:00 2001
-From: "A. Wilcox" 
-Date: Sat, 23 Oct 2021 23:29:40 -0500
-Subject: [PATCH] auxv: new module
-
-Adds `__getauxval` wrapper, needed for Parallels Tools GUI installer.
-
-Upstream-Status: Submitted 
[https://git.adelielinux.org/adelie/gcompat/-/commit/e860a38a88c7ea148ee15976136a1f83ea13f8e0]
-Signed-off-by: Khem Raj 

- CHANGELOG.rst | 5 +
- Makefile  | 1 +
- libgcompat/auxv.c | 6 ++
- 3 files changed, 12 insertions(+)
- create mode 100644 libgcompat/auxv.c
-
-diff --git a/CHANGELOG.rst b/CHANGELOG.rst
-index ce6859b..c3a9cee 100644
 a/CHANGELOG.rst
-+++ b/CHANGELOG.rst
-@@ -11,6 +11,11 @@
- 1.1 (202?-??-??)
- 
- 
-+auxv
-+
-+
-+* Add __getauxval wrapper for getauxval.
-+
- locale
- --
- 
-diff --git a/Makefile b/Makefile
-index cbb7634..1893cc1 100644
 a/Makefile
-+++ b/Makefile
-@@ -2,6 +2,7 @@ LIBGCOMPAT_INCLUDE = \
-   libgcompat/alias.h \
-   libgcompat/internal.h
- LIBGCOMPAT_SRC = \
-+  libgcompat/auxv.c   \
-   libgcompat/ctype.c  \
-   libgcompat/cxx_thread.c \
-   libgcompat/dlfcn.c  \
-diff --git a/libgcompat/auxv.c b/libgcompat/auxv.c
-new file mode 100644
-index 000..01de376
 /dev/null
-+++ b/libgcompat/auxv.c
-@@ -0,0 +1,6 @@
-+#include  /* getauxval */
-+
-+unsigned long __getauxval(unsigned long value)
-+{
-+  return getauxval(value);
-+}
--- 
-2.37.3
-
diff --git a/meta/recipes-core/musl/gcompat_git.bb 
b/meta/recipes-core/musl/gcompat_git.bb
index 3e5541ba91e..40fe8c6a5f5 100644
--- a/meta/recipes-core/musl/gcompat_git.bb
+++ b/meta/recipes-core/musl/gcompat_git.bb
@@ -5,17 +5,16 @@ SUMMARY = "A library which provides glibc-compatible APIs for 
use on musl libc s
 HOMEPAGE = "https://git.adelielinux.org/adelie/gcompat";
 
 LICENSE = "NCSA"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=eb33ef4af05a9c7602843afb7adfe792"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=802b1aed7330d90086be4de63a3188e3"
 
 SRC_URI = 
"git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current \
-   file://0001-auxv-new-module.patch \
file://0001-Add-fcntl64-wrapper.patch \
"
 SRC_URI:append:powerpc = "\
file://0001-make-Static-PIE-does-not-work-on-musl-ppc.patch \
"
-PV = "1.0.0+1.1+git"
-SRCREV = "c6921a1aa454bb87671f9bd1ecfe47d80d1620aa"
+PV = "1.1.0"
+SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6"
 
 S = "${WORKDIR}/git"
 
-- 
2.42.0


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

2023-10-14 Thread Luca Ceresoli via lists.openembedded.org
Hello wangmy,

On Fri, 13 Oct 2023 16:57:28 +0800
"wangmy"  wrote:

> From: Wang Mingyu 
> 
> Signed-off-by: Wang Mingyu 
> ---
>  meta/recipes-rt/rt-tests/rt-tests.inc | 4 ++--

The subject should be "rt-tests: ..." I think.

Besides, the patch fails:

ERROR: rt-tests-1_2.6-r0 do_patch: Applying patch 
'0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch' on target directory 
'/home/pokybuild/yocto-worker/no-x11/build/build/tmp/work/core2-64-poky-linux/rt-tests/2.6/git'

https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/7974/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/7974/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/7852/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/5210/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/3750/steps/12/logs/stdio

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

2023-10-14 Thread Luca Ceresoli via lists.openembedded.org
Hello wangmy,

On Fri, 13 Oct 2023 17:00:21 +0800
"wangmy"  wrote:

> From: Wang Mingyu 
> 
> Changelog:
> ===

This patch fails building:

ERROR: lighttpd-1.4.72-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable 
to fetch URL from any source.', 
'http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.72.tar.xz')

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/8297/steps/12/logs/stdio

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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



[OE-core] Feature request: Add btop resource monitor

2023-10-14 Thread Jan Claußen
Hi guys,

I would like to add btop to the openembedded-core. The package does now support 
cmake, which eases the maintenance effort.
Before it would have involved a lot of patching as seen here. 
(https://github.com/aristocratos/btop/issues/330) The Cmake support is listed 
as community maintained though, if that is a show stopper.

tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
author Jan Claußen  Sat Oct 14 22:56:45 2023 +0200
committer Jan Claußen  Sat Oct 14 22:56:45 2023 +0200

recipes-support: Add btop

diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb 
b/meta-oe/recipes-support/btop/btop_1.2.13.bb
new file mode 100644
index 0..f780a993a
--- /dev/null
+++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Resource monitor that shows usage and stats for processor, memory, 
disks, network and processes."
+HOMEPAGE = "https://github.com/aristocratos/btop";
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+SECTION = "console/utils"
+
+SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
+SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ /usr/share/icons \
+ /usr/share/icons/hicolor \
+ /usr/share/icons/hicolor/48x48 \
+ /usr/share/icons/hicolor/scalable \
+ /usr/share/icons/hicolor/48x48/apps \
+ /usr/share/icons/hicolor/48x48/apps/btop.png \
+ /usr/share/icons/hicolor/scalable/apps \
+ /usr/share/icons/hicolor/scalable/apps/btop.svg \
+"


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189122): 
https://lists.openembedded.org/g/openembedded-core/message/189122
Mute This Topic: https://lists.openembedded.org/mt/101967134/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] Feature request: Add btop resource monitor

2023-10-14 Thread Jan Claußen
Another thing is that btop is dependent on a utf-8 locale being set. You can 
still run it with the --force-utf8 flag though. Should this be set by the 
recipe as well?

On Okt. 14 2023, at 11:06 pm, Jan Claußen  wrote:
> Hi guys,
>
> I would like to add btop to the openembedded-core. The package does now 
> support cmake, which eases the maintenance effort.
> Before it would have involved a lot of patching as seen here. 
> (https://github.com/aristocratos/btop/issues/330) The Cmake support is listed 
> as community maintained though, if that is a show stopper.
>
> tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
> parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
> author Jan Claußen  Sat Oct 14 22:56:45 2023 +0200
> committer Jan Claußen  Sat Oct 14 22:56:45 2023 +0200
>
> recipes-support: Add btop
>
>
> diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb 
> b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> new file mode 100644
> index 0..f780a993a
> --- /dev/null
> +++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "Resource monitor that shows usage and stats for processor, 
> memory, disks, network and processes."
> +HOMEPAGE = "https://github.com/aristocratos/btop";
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +SECTION = "console/utils"
> +
> +SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
> +SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +FILES:${PN} += " \
> + /usr/share/icons \
> + /usr/share/icons/hicolor \
> + /usr/share/icons/hicolor/48x48 \
> + /usr/share/icons/hicolor/scalable \
> + /usr/share/icons/hicolor/48x48/apps \
> + /usr/share/icons/hicolor/48x48/apps/btop.png \
> + /usr/share/icons/hicolor/scalable/apps \
> + /usr/share/icons/hicolor/scalable/apps/btop.svg \
> +"
>
>
> 


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



[OE-core][kirkstone 00/13] Patch review

2023-10-14 Thread Steve Sakoman
Please review this set of changes for kikrstone and have comments back by
end of day Tuesday, October 17

Passed a-full on autobuilder:

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

The following changes since commit bca43f95850d395f9dc56644fa1d12910cabb0c5:

  glibc: Update to latest on stable 2.35 branch (2023-10-06 12:03:30 -1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut

Alexander Kanavin (2):
  python3-urllib3: upgrade 1.26.10 -> 1.26.11
  python3-urllib3: upgrade 1.26.12 -> 1.26.13

Hitendra Prajapati (2):
  libtiff: fix CVE-2022-40090 improved IFD-Loop handling
  xdg-utils: Fix CVE-2022-4055

Khem Raj (1):
  apt: add missing  for uint16_t

Lee Chee Yang (1):
  python3-urllib3: 1.26.15 -> 1.26.17

Siddharth Doshi (1):
  vim: Upgrade 9.0.1894 -> 9.0.2009

Tim Orling (1):
  python3-urllib3: upgrade 1.26.13 -> 1.26.14

Wang Mingyu (1):
  python3-urllib3: upgrade 1.26.14 -> 1.26.15

Yash Shinde (2):
  binutils: Fix CVE-2022-44840
  binutils: Fix CVE-2022-45703

wangmy (2):
  python3-urllib3: upgrade 1.26.9 -> 1.26.10
  python3-urllib3: upgrade 1.26.11 -> 1.26.12

 ...001-add-missing-cstdint-for-uint16_t.patch |  35 ++
 meta/recipes-devtools/apt/apt_2.4.5.bb|   1 +
 .../binutils/binutils-2.38.inc|   3 +
 .../binutils/0030-CVE-2022-44840.patch| 151 +
 .../binutils/0031-CVE-2022-45703-1.patch  | 147 +
 .../binutils/0031-CVE-2022-45703-2.patch  |  31 +
 ...3_1.26.9.bb => python3-urllib3_1.26.17.bb} |   3 +-
 .../xdg-utils/xdg-utils/CVE-2022-4055.patch   | 165 +
 .../xdg-utils/xdg-utils_1.1.3.bb  |   1 +
 .../libtiff/tiff/CVE-2022-40090.patch | 569 ++
 meta/recipes-multimedia/libtiff/tiff_4.3.0.bb |   1 +
 meta/recipes-support/vim/vim.inc  |   4 +-
 12 files changed, 1108 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-devtools/apt/apt/0001-add-missing-cstdint-for-uint16_t.patch
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0030-CVE-2022-44840.patch
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-1.patch
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-2.patch
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.9.bb => 
python3-urllib3_1.26.17.bb} (82%)
 create mode 100644 
meta/recipes-extended/xdg-utils/xdg-utils/CVE-2022-4055.patch
 create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2022-40090.patch

-- 
2.34.1


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



[OE-core][kirkstone 01/13] libtiff: fix CVE-2022-40090 improved IFD-Loop handling

2023-10-14 Thread Steve Sakoman
From: Hitendra Prajapati 

Upstream-Status: Backport from 
https://gitlab.com/libtiff/libtiff/-/commit/c7caec9a4d8f24c17e667480d2c7d0d51c9fae41

Signed-off-by: Hitendra Prajapati 
Signed-off-by: Steve Sakoman 
---
 .../libtiff/tiff/CVE-2022-40090.patch | 569 ++
 meta/recipes-multimedia/libtiff/tiff_4.3.0.bb |   1 +
 2 files changed, 570 insertions(+)
 create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2022-40090.patch

diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2022-40090.patch 
b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-40090.patch
new file mode 100644
index 00..fe48dc6028
--- /dev/null
+++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-40090.patch
@@ -0,0 +1,569 @@
+From c7caec9a4d8f24c17e667480d2c7d0d51c9fae41 Mon Sep 17 00:00:00 2001
+From: Su Laus 
+Date: Thu, 6 Oct 2022 10:11:05 +
+Subject: [PATCH] Improved IFD-Loop Handling (fixes #455)
+
+IFD infinite looping was not fixed by MR 20 (see #455).
+An improved IFD loop handling is proposed.
+
+Basic approach:
+
+- The order in the entire chain must be checked, and not only whether an 
offset has already been read once.
+- To do this, pairs of directory number and offset are stored and checked.
+- The offset of a directory number can change.
+- TIFFAdvanceDirectory() must also perform an IFD loop check.
+- TIFFCheckDirOffset() is replaced by _TIFFCheckDirNumberAndOffset().
+
+Rules for the check:
+
+- If an offset is already in the list, it must have the same IFD number. 
Otherwise it is an IDF loop.
+- If the offset is not in the list and the IFD number is greater than there 
are list entries, a new list entry is added.
+- Otherwise, the offset of the IFD number is updated.
+
+Reference is also made to old bugzilla bug 2772 and MR 20, which did not solve 
the general issue.
+This MR closes #455
+
+Upstream-Status: Backport 
[https://gitlab.com/libtiff/libtiff/-/commit/c7caec9a4d8f24c17e667480d2c7d0d51c9fae41]
+CVE: CVE-2022-40090
+Signed-off-by: Hitendra Prajapati 
+---
+ libtiff/tif_close.c   |   6 +-
+ libtiff/tif_dir.c | 129 +---
+ libtiff/tif_dir.h |   2 +
+ libtiff/tif_dirread.c | 147 +-
+ libtiff/tif_open.c|   3 +-
+ libtiff/tiffiop.h |   3 +-
+ 6 files changed, 219 insertions(+), 71 deletions(-)
+
+diff --git a/libtiff/tif_close.c b/libtiff/tif_close.c
+index 0fe7af4..2fe2bde 100644
+--- a/libtiff/tif_close.c
 b/libtiff/tif_close.c
+@@ -52,8 +52,10 @@ TIFFCleanup(TIFF* tif)
+   (*tif->tif_cleanup)(tif);
+   TIFFFreeDirectory(tif);
+ 
+-  if (tif->tif_dirlist)
+-  _TIFFfree(tif->tif_dirlist);
++  if (tif->tif_dirlistoff)
++  _TIFFfree(tif->tif_dirlistoff);
++  if (tif->tif_dirlistdirn)
++  _TIFFfree(tif->tif_dirlistdirn);
+ 
+   /*
+  * Clean up client info links.
+diff --git a/libtiff/tif_dir.c b/libtiff/tif_dir.c
+index 1402c8e..6d4bf58 100644
+--- a/libtiff/tif_dir.c
 b/libtiff/tif_dir.c
+@@ -1511,12 +1511,22 @@ TIFFDefaultDirectory(TIFF* tif)
+ }
+ 
+ static int
+-TIFFAdvanceDirectory(TIFF* tif, uint64_t* nextdir, uint64_t* off)
++TIFFAdvanceDirectory(TIFF* tif, uint64_t* nextdiroff, uint64_t* off, 
uint16_t* nextdirnum)
+ {
+   static const char module[] = "TIFFAdvanceDirectory";
++
++  /* Add this directory to the directory list, if not already in. */
++  if (!_TIFFCheckDirNumberAndOffset(tif, *nextdirnum, *nextdiroff)) {
++  TIFFErrorExt(tif->tif_clientdata, module, "Starting directory 
%"PRIu16" at offset 0x%"PRIx64" (%"PRIu64") might cause an IFD loop",
++  *nextdirnum, *nextdiroff, *nextdiroff);
++  *nextdiroff = 0;
++  *nextdirnum = 0;
++  return(0);
++  }
++
+   if (isMapped(tif))
+   {
+-  uint64_t poff=*nextdir;
++  uint64_t poff=*nextdiroff;
+   if (!(tif->tif_flags&TIFF_BIGTIFF))
+   {
+   tmsize_t poffa,poffb,poffc,poffd;
+@@ -1527,7 +1537,7 @@ TIFFAdvanceDirectory(TIFF* tif, uint64_t* nextdir, 
uint64_t* off)
+   if (((uint64_t)poffa != poff) || (poffb < poffa) || 
(poffb < (tmsize_t)sizeof(uint16_t)) || (poffb > tif->tif_size))
+   {
+   TIFFErrorExt(tif->tif_clientdata,module,"Error 
fetching directory count");
+-  *nextdir=0;
++  *nextdiroff=0;
+   return(0);
+   }
+   
_TIFFmemcpy(&dircount,tif->tif_base+poffa,sizeof(uint16_t));
+@@ -1545,7 +1555,7 @@ TIFFAdvanceDirectory(TIFF* tif, uint64_t* nextdir, 
uint64_t* off)
+   
_TIFFmemcpy(&nextdir32,tif->tif_base+poffc,sizeof(uint32_t));
+   if (tif->tif_flags&TIFF_SWAB)
+   TIFFSwabLong(&nextdir32);
+-  *nextdir=nextd

[OE-core][kirkstone 03/13] binutils: Fix CVE-2022-44840

2023-10-14 Thread Steve Sakoman
From: Yash Shinde 

Signed-off-by: Yash Shinde 
Signed-off-by: Steve Sakoman 
---
 .../binutils/binutils-2.38.inc|   1 +
 .../binutils/0030-CVE-2022-44840.patch| 151 ++
 2 files changed, 152 insertions(+)
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0030-CVE-2022-44840.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.38.inc 
b/meta/recipes-devtools/binutils/binutils-2.38.inc
index 638b1ba93d..7c5d8f79ec 100644
--- a/meta/recipes-devtools/binutils/binutils-2.38.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.38.inc
@@ -59,5 +59,6 @@ SRC_URI = "\
  file://0029-CVE-2022-48065-1.patch \
  file://0029-CVE-2022-48065-2.patch \
  file://0029-CVE-2022-48065-3.patch \
+ file://0030-CVE-2022-44840.patch \
 "
 S  = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0030-CVE-2022-44840.patch 
b/meta/recipes-devtools/binutils/binutils/0030-CVE-2022-44840.patch
new file mode 100644
index 00..2f4c38044b
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0030-CVE-2022-44840.patch
@@ -0,0 +1,151 @@
+From: Alan Modra 
+Date: Sun, 30 Oct 2022 08:38:51 + (+1030)
+Subject: Pool section entries for DWP version 1
+X-Git-Tag: gdb-13-branchpoint~664
+X-Git-Url: 
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=28750e3b967da2207d51cbce9fc8be262817ee59
+
+Pool section entries for DWP version 1
+
+Ref: https://gcc.gnu.org/wiki/DebugFissionDWP?action=recall&rev=3
+
+Fuzzers have found a weakness in the code stashing pool section
+entries.  With random nonsensical values in the index entries (rather
+than each index pointing to its own set distinct from other sets),
+it's possible to overflow the space allocated, losing the NULL
+terminator.  Without a terminator, find_section_in_set can run off the
+end of the shndx_pool buffer.  Fix this by scanning the pool directly.
+
+binutils/
+   * dwarf.c (add_shndx_to_cu_tu_entry): Delete range check.
+   (end_cu_tu_entry): Likewise.
+   (process_cu_tu_index): Fill shndx_pool by directly scanning
+   pool, rather than indirectly from index entries.
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff_plain;f=binutils/dwarf.c;h=7730293326ac1049451eb4a037ac86d827030700;hp=c6340a28906114e9df29d7401472c7dc0a98c2b1;hb=28750e3b967da2207d51cbce9fc8be262817ee59;hpb=60095ba3b8f8ba26a6389dded732fa446422c98f]
+
+CVE: CVE-2022-44840
+
+Signed-off-by: yash shinde 
+
+diff --git a/binutils/dwarf.c b/binutils/dwarf.c
+index c6340a28906..7730293326a 100644
+--- a/binutils/dwarf.c
 b/binutils/dwarf.c
+@@ -10652,22 +10652,12 @@ prealloc_cu_tu_list (unsigned int nshndx)
+ static void
+ add_shndx_to_cu_tu_entry (unsigned int shndx)
+ {
+-  if (shndx_pool_used >= shndx_pool_size)
+-{
+-  error (_("Internal error: out of space in the shndx pool.\n"));
+-  return;
+-}
+   shndx_pool [shndx_pool_used++] = shndx;
+ }
+ 
+ static void
+ end_cu_tu_entry (void)
+ {
+-  if (shndx_pool_used >= shndx_pool_size)
+-{
+-  error (_("Internal error: out of space in the shndx pool.\n"));
+-  return;
+-}
+   shndx_pool [shndx_pool_used++] = 0;
+ }
+ 
+@@ -10773,53 +10763,55 @@ process_cu_tu_index (struct dwarf_section *section, 
int do_display)
+ 
+   if (version == 1)
+ {
++  unsigned char *shndx_list;
++  unsigned int shndx;
++
+   if (!do_display)
+-  prealloc_cu_tu_list ((limit - ppool) / 4);
+-  for (i = 0; i < nslots; i++)
+   {
+-unsigned char *shndx_list;
+-unsigned int shndx;
+-
+-SAFE_BYTE_GET (signature, phash, 8, limit);
+-if (signature != 0)
++prealloc_cu_tu_list ((limit - ppool) / 4);
++for (shndx_list = ppool + 4; shndx_list <= limit - 4; shndx_list += 4)
+   {
+-SAFE_BYTE_GET (j, pindex, 4, limit);
+-shndx_list = ppool + j * 4;
+-/* PR 17531: file: 705e010d.  */
+-if (shndx_list < ppool)
+-  {
+-warn (_("Section index pool located before start of 
section\n"));
+-return 0;
+-  }
++shndx = byte_get (shndx_list, 4);
++add_shndx_to_cu_tu_entry (shndx);
++  }
++end_cu_tu_entry ();
++  }
++  else
++  for (i = 0; i < nslots; i++)
++{
++  SAFE_BYTE_GET (signature, phash, 8, limit);
++  if (signature != 0)
++{
++  SAFE_BYTE_GET (j, pindex, 4, limit);
++  shndx_list = ppool + j * 4;
++  /* PR 17531: file: 705e010d.  */
++  if (shndx_list < ppool)
++{
++  warn (_("Section index pool located before start of 
section\n"));
++  return 0;
++}
+ 
+-if (do_display)
+   printf (_("  [%3d] Signature:  0x%s  Sections: "),
+   i, dwarf_vmatoa ("x", signature));
+-for 

[OE-core][kirkstone 04/13] binutils: Fix CVE-2022-45703

2023-10-14 Thread Steve Sakoman
From: Yash Shinde 

Signed-off-by: Yash Shinde 
Signed-off-by: Steve Sakoman 
---
 .../binutils/binutils-2.38.inc|   2 +
 .../binutils/0031-CVE-2022-45703-1.patch  | 147 ++
 .../binutils/0031-CVE-2022-45703-2.patch  |  31 
 3 files changed, 180 insertions(+)
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-1.patch
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-2.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.38.inc 
b/meta/recipes-devtools/binutils/binutils-2.38.inc
index 7c5d8f79ec..0964ab0825 100644
--- a/meta/recipes-devtools/binutils/binutils-2.38.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.38.inc
@@ -60,5 +60,7 @@ SRC_URI = "\
  file://0029-CVE-2022-48065-2.patch \
  file://0029-CVE-2022-48065-3.patch \
  file://0030-CVE-2022-44840.patch \
+ file://0031-CVE-2022-45703-1.patch \
+ file://0031-CVE-2022-45703-2.patch \
 "
 S  = "${WORKDIR}/git"
diff --git 
a/meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-1.patch 
b/meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-1.patch
new file mode 100644
index 00..3db4385e13
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0031-CVE-2022-45703-1.patch
@@ -0,0 +1,147 @@
+From: Alan Modra 
+Date: Tue, 24 May 2022 00:02:14 + (+0930)
+Subject: PR29169, invalid read displaying fuzzed .gdb_index
+X-Git-Tag: binutils-2_39~530
+X-Git-Url: 
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=244e19c79111eed017ee38ab1d44fb2a6cd1b636
+
+PR29169, invalid read displaying fuzzed .gdb_index
+
+   PR 29169
+   * dwarf.c (display_gdb_index): Combine sanity checks.  Calculate
+   element counts, not word counts.
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=244e19c79111eed017ee38ab1d44fb2a6cd1b636]
+
+CVE: CVE-2022-45703   
+
+Signed-off-by: yash shinde 
+
+---
+
+diff --git a/binutils/dwarf.c b/binutils/dwarf.c
+index 7de6f28161f..c855972a12f 100644
+--- a/binutils/dwarf.c
 b/binutils/dwarf.c
+@@ -10406,7 +10406,7 @@ display_gdb_index (struct dwarf_section *section,
+   uint32_t cu_list_offset, tu_list_offset;
+   uint32_t address_table_offset, symbol_table_offset, constant_pool_offset;
+   unsigned int cu_list_elements, tu_list_elements;
+-  unsigned int address_table_size, symbol_table_slots;
++  unsigned int address_table_elements, symbol_table_slots;
+   unsigned char *cu_list, *tu_list;
+   unsigned char *address_table, *symbol_table, *constant_pool;
+   unsigned int i;
+@@ -10454,48 +10454,19 @@ display_gdb_index (struct dwarf_section *section,
+   || tu_list_offset > section->size
+   || address_table_offset > section->size
+   || symbol_table_offset > section->size
+-  || constant_pool_offset > section->size)
++  || constant_pool_offset > section->size
++  || tu_list_offset < cu_list_offset
++  || address_table_offset < tu_list_offset
++  || symbol_table_offset < address_table_offset
++  || constant_pool_offset < symbol_table_offset)
+ {
+   warn (_("Corrupt header in the %s section.\n"), section->name);
+   return 0;
+ }
+ 
+-  /* PR 17531: file: 418d0a8a.  */
+-  if (tu_list_offset < cu_list_offset)
+-{
+-  warn (_("TU offset (%x) is less than CU offset (%x)\n"),
+-  tu_list_offset, cu_list_offset);
+-  return 0;
+-}
+-
+-  cu_list_elements = (tu_list_offset - cu_list_offset) / 8;
+-
+-  if (address_table_offset < tu_list_offset)
+-{
+-  warn (_("Address table offset (%x) is less than TU offset (%x)\n"),
+-  address_table_offset, tu_list_offset);
+-  return 0;
+-}
+-
+-  tu_list_elements = (address_table_offset - tu_list_offset) / 8;
+-
+-  /* PR 17531: file: 18a47d3d.  */
+-  if (symbol_table_offset < address_table_offset)
+-{
+-  warn (_("Symbol table offset (%x) is less then Address table offset 
(%x)\n"),
+-  symbol_table_offset, address_table_offset);
+-  return 0;
+-}
+-
+-  address_table_size = symbol_table_offset - address_table_offset;
+-
+-  if (constant_pool_offset < symbol_table_offset)
+-{
+-  warn (_("Constant pool offset (%x) is less than symbol table offset 
(%x)\n"),
+-  constant_pool_offset, symbol_table_offset);
+-  return 0;
+-}
+-
++  cu_list_elements = (tu_list_offset - cu_list_offset) / 16;
++  tu_list_elements = (address_table_offset - tu_list_offset) / 24;
++  address_table_elements = (symbol_table_offset - address_table_offset) / 20;
+   symbol_table_slots = (constant_pool_offset - symbol_table_offset) / 8;
+ 
+   cu_list = start + cu_list_offset;
+@@ -10504,31 +10475,25 @@ display_gdb_index (struct dwarf_section *section,
+   symbol_table = start + symbol_table_offset;
+   constant_pool = start + constant_pool_offset;
+ 
+-  if (address_table_offset + address_table_size > section->size)
+-{
+-  warn (_("Address table 

[OE-core][kirkstone 02/13] xdg-utils: Fix CVE-2022-4055

2023-10-14 Thread Steve Sakoman
From: Hitendra Prajapati 

Upstream-Status: Backport from 
https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/f67c4d1f8bd2e3cbcb9eb49f5e897075e7426780

Signed-off-by: Hitendra Prajapati 
Signed-off-by: Steve Sakoman 
---
 .../xdg-utils/xdg-utils/CVE-2022-4055.patch   | 165 ++
 .../xdg-utils/xdg-utils_1.1.3.bb  |   1 +
 2 files changed, 166 insertions(+)
 create mode 100644 
meta/recipes-extended/xdg-utils/xdg-utils/CVE-2022-4055.patch

diff --git a/meta/recipes-extended/xdg-utils/xdg-utils/CVE-2022-4055.patch 
b/meta/recipes-extended/xdg-utils/xdg-utils/CVE-2022-4055.patch
new file mode 100644
index 00..383634ad53
--- /dev/null
+++ b/meta/recipes-extended/xdg-utils/xdg-utils/CVE-2022-4055.patch
@@ -0,0 +1,165 @@
+From f67c4d1f8bd2e3cbcb9eb49f5e897075e7426780 Mon Sep 17 00:00:00 2001
+From: Gabriel Corona 
+Date: Thu, 25 Aug 2022 23:51:45 +0200
+Subject: [PATCH] Disable special support for Thunderbird in xdg-email (fixes
+ CVE-2020-27748, CVE-2022-4055)
+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/f67c4d1f8bd2e3cbcb9eb49f5e897075e7426780]
+CVE: CVE-2022-4055
+Signed-off-by: Hitendra Prajapati 
+---
+ scripts/xdg-email.in | 108 ---
+ 1 file changed, 108 deletions(-)
+
+diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in
+index 13ba2d5..b700679 100644
+--- a/scripts/xdg-email.in
 b/scripts/xdg-email.in
+@@ -30,76 +30,8 @@ _USAGE
+ 
+ #@xdg-utils-common@
+ 
+-run_thunderbird()
+-{
+-local THUNDERBIRD MAILTO NEWMAILTO TO CC BCC SUBJECT BODY
+-THUNDERBIRD="$1"
+-MAILTO=$(echo "$2" | sed 's/^mailto://')
+-echo "$MAILTO" | grep -qs "^?"
+-if [ "$?" = "0" ] ; then
+-MAILTO=$(echo "$MAILTO" | sed 's/^?//')
+-else
+-MAILTO=$(echo "$MAILTO" | sed 's/^/to=/' | sed 's/?/\&/')
+-fi
+-
+-MAILTO=$(echo "$MAILTO" | sed 's/&/\n/g')
+-TO=$(/bin/echo -e $(echo "$MAILTO" | grep '^to=' | sed 
's/^to=//;s/%\(..\)/\\x\1/g' | awk '{ printf "%s,",$0 }'))
+-CC=$(/bin/echo -e $(echo "$MAILTO" | grep '^cc=' | sed 
's/^cc=//;s/%\(..\)/\\x\1/g' | awk '{ printf "%s,",$0 }'))
+-BCC=$(/bin/echo -e $(echo "$MAILTO" | grep '^bcc=' | sed 
's/^bcc=//;s/%\(..\)/\\x\1/g' | awk '{ printf "%s,",$0 }'))
+-SUBJECT=$(echo "$MAILTO" | grep '^subject=' | tail -n 1)
+-BODY=$(echo "$MAILTO" | grep '^body=' | tail -n 1)
+-
+-if [ -z "$TO" ] ; then
+-NEWMAILTO=
+-else
+-NEWMAILTO="to='$TO'"
+-fi
+-if [ -n "$CC" ] ; then
+-NEWMAILTO="${NEWMAILTO},cc='$CC'"
+-fi
+-if [ -n "$BCC" ] ; then
+-NEWMAILTO="${NEWMAILTO},bcc='$BCC'"
+-fi
+-if [ -n "$SUBJECT" ] ; then
+-NEWMAILTO="${NEWMAILTO},$SUBJECT"
+-fi
+-if [ -n "$BODY" ] ; then
+-NEWMAILTO="${NEWMAILTO},$BODY"
+-fi
+-
+-NEWMAILTO=$(echo "$NEWMAILTO" | sed 's/^,//')
+-DEBUG 1 "Running $THUNDERBIRD -compose \"$NEWMAILTO\""
+-"$THUNDERBIRD" -compose "$NEWMAILTO"
+-if [ $? -eq 0 ]; then
+-exit_success
+-else
+-exit_failure_operation_failed
+-fi
+-}
+-
+ open_kde()
+ {
+-if [ -n "$KDE_SESSION_VERSION" ] && [ "$KDE_SESSION_VERSION" -ge 5 ]; then
+-local kreadconfig=kreadconfig$KDE_SESSION_VERSION
+-else
+-local kreadconfig=kreadconfig
+-fi
+-
+-if which $kreadconfig >/dev/null 2>&1; then
+-local profile=$($kreadconfig --file emaildefaults \
+- --group Defaults --key Profile)
+-if [ -n "$profile" ]; then
+-local client=$($kreadconfig --file emaildefaults \
+---group "PROFILE_$profile" \
+---key EmailClient \
+-  | cut -d ' ' -f 1)
+-
+-if echo "$client" | grep -Eq 'thunderbird|icedove'; then
+-run_thunderbird "$client" "$1"
+-fi
+-fi
+-fi
+-
+ local command
+ case "$KDE_SESSION_VERSION" in
+ '') command=kmailservice ;;
+@@ -130,15 +62,6 @@ open_kde()
+ 
+ open_gnome3()
+ {
+-local client
+-local desktop
+-desktop=`xdg-mime query default "x-scheme-handler/mailto"`
+-client=`desktop_file_to_binary "$desktop"`
+-echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1
+-if [ $? -eq 0 ] ; then
+-run_thunderbird "$client" "$1"
+-fi
+-
+ if gio help open 2>/dev/null 1>&2; then
+ DEBUG 1 "Running gio open \"$1\""
+ gio open "$1"
+@@ -159,13 +82,6 @@ open_gnome3()
+ 
+ open_gnome()
+ {
+-local client
+-client=`gconftool-2 --get /desktop/gnome/url-handlers/mailto/command | 
cut -d ' ' -f 1` || ""
+-echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1
+-if [ $? -eq 0 ] ; then
+-run_thunderbird "$client" "$1"
+-fi
+-
+ if gio help open 2>/dev/null 1>&2; then
+ DEBUG 1 "Running gio open \"$1\""
+ gio open "$1"
+@@ -231,15

[OE-core][kirkstone 05/13] vim: Upgrade 9.0.1894 -> 9.0.2009

2023-10-14 Thread Steve Sakoman
From: Siddharth Doshi 

This includes CVE fix for CVE-2023-5441.

Signed-off-by: Siddharth Doshi 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-support/vim/vim.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 5f55f590e6..5e06866692 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -19,8 +19,8 @@ SRC_URI = 
"git://github.com/vim/vim.git;branch=master;protocol=https \
file://no-path-adjust.patch \
"
 
-PV .= ".1894"
-SRCREV = "e5f7cd0a60d0eeab84f7aeb35c13d3af7e50072e"
+PV .= ".2009"
+SRCREV = "54844857fd6933fa4f6678e47610c4b9c9f7a091"
 
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0"
-- 
2.34.1


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



[OE-core][kirkstone 06/13] python3-urllib3: upgrade 1.26.9 -> 1.26.10

2023-10-14 Thread Steve Sakoman
From: wangmy 

Add dependence python3-logging.

Changelog:
=
* Removed support for Python 3.5
* Fixed an issue where a "ProxyError" recommending configuring the proxy as HTTP
  instead of HTTPS could appear even when an HTTPS proxy wasn't configured.

Signed-off-by: Wang Mingyu 
Signed-off-by: Richard Purdie 
(cherry picked from commit a8a26a92dfe367472daf086a33a1b30ff6d17540)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.9.bb => python3-urllib3_1.26.10.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.9.bb => 
python3-urllib3_1.26.10.bb} (82%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.9.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.10.bb
similarity index 82%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.9.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.10.bb
index 95ae4a54a4..a8e2073d71 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.9.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.10.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e"
+SRC_URI[sha256sum] = 
"879ba4d1e89654d9769ce13121e0f94310ea32e8d2f8cf587b77c08bbcdb30d6"
 
 inherit pypi setuptools3
 
@@ -15,6 +15,7 @@ RDEPENDS:${PN} += "\
 ${PYTHON_PN}-netclient \
 ${PYTHON_PN}-pyopenssl \
 ${PYTHON_PN}-threading \
+${PYTHON_PN}-logging \
 "
 
 CVE_PRODUCT = "urllib3"
-- 
2.34.1


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



[OE-core][kirkstone 07/13] python3-urllib3: upgrade 1.26.10 -> 1.26.11

2023-10-14 Thread Steve Sakoman
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit dbe07ff87e2cb1a8276e69a43c7cdbb9ae6e5493)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.10.bb => python3-urllib3_1.26.11.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.10.bb => 
python3-urllib3_1.26.11.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.10.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.11.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.10.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.11.bb
index a8e2073d71..a8d47de0f4 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.10.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.11.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"879ba4d1e89654d9769ce13121e0f94310ea32e8d2f8cf587b77c08bbcdb30d6"
+SRC_URI[sha256sum] = 
"ea6e8fb210b19d950fab93b60c9009226c63a28808bc8386e05301e25883ac0a"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core][kirkstone 08/13] python3-urllib3: upgrade 1.26.11 -> 1.26.12

2023-10-14 Thread Steve Sakoman
From: wangmy 

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit cb05578af3ace6e3983f93e16d9ad1ac2a65fbe2)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.11.bb => python3-urllib3_1.26.12.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.11.bb => 
python3-urllib3_1.26.12.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.11.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.12.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.11.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.12.bb
index a8d47de0f4..1cd69bcb10 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.11.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.12.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"ea6e8fb210b19d950fab93b60c9009226c63a28808bc8386e05301e25883ac0a"
+SRC_URI[sha256sum] = 
"3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core][kirkstone 09/13] python3-urllib3: upgrade 1.26.12 -> 1.26.13

2023-10-14 Thread Steve Sakoman
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit b18552f69a2eb8900981a10ba386dc4f862b29c3)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.12.bb => python3-urllib3_1.26.13.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.12.bb => 
python3-urllib3_1.26.13.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.12.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.13.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.12.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.13.bb
index 1cd69bcb10..7af95117cf 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.12.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.13.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e"
+SRC_URI[sha256sum] = 
"c083dd0dce68dbfbe1129d5271cb90f9447dea7d52097c6e0126120c521ddea8"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core][kirkstone 10/13] python3-urllib3: upgrade 1.26.13 -> 1.26.14

2023-10-14 Thread Steve Sakoman
From: Tim Orling 

https://github.com/urllib3/urllib3/blob/1.26.14/CHANGES.rst#12614-2023-01-11

1.26.14 (2023-01-11)
Fixed parsing of port 0 (zero) returning None, instead of 0. (#2850)
Removed deprecated getheaders() calls in contrib module.

Signed-off-by: Tim Orling 
Signed-off-by: Richard Purdie 
(cherry picked from commit 55ab1bf20e6893088acb6460e9004dac8e205559)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.13.bb => python3-urllib3_1.26.14.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.13.bb => 
python3-urllib3_1.26.14.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.13.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.14.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.13.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.14.bb
index 7af95117cf..f35a141df2 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.13.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.14.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"c083dd0dce68dbfbe1129d5271cb90f9447dea7d52097c6e0126120c521ddea8"
+SRC_URI[sha256sum] = 
"076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core][kirkstone 12/13] python3-urllib3: 1.26.15 -> 1.26.17

2023-10-14 Thread Steve Sakoman
From: Lee Chee Yang 

1.26.17 (2023-10-02)
Added the Cookie header to the list of headers to strip from requests
when redirecting to a different host. As before, different headers can
be set via Retry.remove_headers_on_redirect. (CVE-2023-43804)

1.26.16 (2023-05-23)
Fixed thread-safety issue where accessing a PoolManager with many
distinct origins would cause connection pools to be closed while
requests are in progress (#2954)

Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.15.bb => python3-urllib3_1.26.17.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.15.bb => 
python3-urllib3_1.26.17.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.15.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.17.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.15.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.17.bb
index d2de7c4c02..57b166870a 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.15.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.17.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"8a388717b9476f934a21484e8c8e61875ab60644d29b9b39e11e4b9dc1c6b305"
+SRC_URI[sha256sum] = 
"24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core][kirkstone 13/13] apt: add missing for uint16_t

2023-10-14 Thread Steve Sakoman
From: Khem Raj 

Signed-off-by: Khem Raj 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 8c46ded67df2d830c8bbf5f7b82d75db81d797e2)
Signed-off-by: Steve Sakoman 
---
 ...001-add-missing-cstdint-for-uint16_t.patch | 35 +++
 meta/recipes-devtools/apt/apt_2.4.5.bb|  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 
meta/recipes-devtools/apt/apt/0001-add-missing-cstdint-for-uint16_t.patch

diff --git 
a/meta/recipes-devtools/apt/apt/0001-add-missing-cstdint-for-uint16_t.patch 
b/meta/recipes-devtools/apt/apt/0001-add-missing-cstdint-for-uint16_t.patch
new file mode 100644
index 00..44aa8a5873
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-add-missing-cstdint-for-uint16_t.patch
@@ -0,0 +1,35 @@
+From 960d10e89cf60d39998dae6fdcd4f0866b753a79 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Mon, 23 Jan 2023 12:31:35 -0800
+Subject: [PATCH] add missing  for uint16_t
+
+This fixes build problems with gcc 13 snapshot [1]
+
+Fixes
+| include/apt-pkg/pkgcache.h:257:23: warning: cast from 'char*' to 'const 
uint16_t*' {aka 'const short unsigned int*'} increases required alignment of 
target type [-Wcast-align]
+|   257 |   uint16_t len = *reinterpret_cast(name - 
sizeof(uint16_t));
+|   |   
^~
+
+[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
+
+Upstream-Status: Submitted 
[https://salsa.debian.org/apt-team/apt/-/merge_requests/276]
+Signed-off-by: Khem Raj 
+---
+ apt-pkg/contrib/mmap.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/apt-pkg/contrib/mmap.cc b/apt-pkg/contrib/mmap.cc
+index 642e20473..0568e1cd0 100644
+--- a/apt-pkg/contrib/mmap.cc
 b/apt-pkg/contrib/mmap.cc
+@@ -23,6 +23,7 @@
+ #include 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.39.1
+
diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb 
b/meta/recipes-devtools/apt/apt_2.4.5.bb
index 9ebcdfd527..9ceabcc186 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -13,6 +13,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
file://0001-cmake-Do-not-build-po-files.patch \
file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \
file://0001-aptwebserver.cc-Include-array.patch \
+   file://0001-add-missing-cstdint-for-uint16_t.patch \
"
 
 SRC_URI:append:class-native = " \
-- 
2.34.1


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



[OE-core][kirkstone 11/13] python3-urllib3: upgrade 1.26.14 -> 1.26.15

2023-10-14 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
==
* Fix socket timeout value when "HTTPConnection" is reused ('#2645 
'__)
* Remove "!" character from the unreserved characters in IPv6 Zone ID parsing
  ('#2899 '__)
* Fix IDNA handling of '\x80' byte ('#2901 
'__)

Signed-off-by: Wang Mingyu 
Signed-off-by: Richard Purdie 
(cherry picked from commit 8e062efbac29a81831c3060bcae601dc533d65dd)
Signed-off-by: Lee Chee Yang 
Signed-off-by: Steve Sakoman 
---
 .../{python3-urllib3_1.26.14.bb => python3-urllib3_1.26.15.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_1.26.14.bb => 
python3-urllib3_1.26.15.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.14.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.15.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_1.26.14.bb
rename to meta/recipes-devtools/python/python3-urllib3_1.26.15.bb
index f35a141df2..d2de7c4c02 100644
--- a/meta/recipes-devtools/python/python3-urllib3_1.26.14.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.15.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = 
"076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72"
+SRC_URI[sha256sum] = 
"8a388717b9476f934a21484e8c8e61875ab60644d29b9b39e11e4b9dc1c6b305"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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