Skip to contentSkip to conversation

gensio: upgrade 2.5.2 -> 2.6.1

PATCH New [email protected] 3 participants 7 messages Nov 28, 2022 – Nov 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gensio: upgrade 2.5.2 -> 2.6.1

From: Wang Mingyu <[email protected]>

0001-configure-Check-for-request_init-API-when-probing-fo.patch 0001-tools-gensiot-Fix-build-with-musl.patch
removed since they're included in 2.6.1

---
 ...for-request_init-API-when-probing-fo.patch | 31 -------------------
 ...01-tools-gensiot-Fix-build-with-musl.patch | 29 -----------------
 .../{gensio_2.5.2.bb => gensio_2.6.1.bb}      |  7 ++---
 3 files changed, 2 insertions(+), 65 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch
 delete mode 100644 meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch
 rename meta-oe/recipes-connectivity/gensio/{gensio_2.5.2.bb => gensio_2.6.1.bb} (78%)
meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch deleted +0 -31
deleted file mode 100644
index 3b4caa221..000000000
@@ -1,31 +0,0 @@
-From f56e59712d8708c74a4cf66d24b5703fc16b22ae Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Thu, 1 Sep 2022 11:31:48 -0700
-Subject: [PATCH] configure: Check for request_init API when probing for
- libwrap
-
-checking for main() is not right check, since this function is not part
-of libwrap but the app. Newer autocof and toolchain may fail
-
-Upstream-Status: Submitted [https://github.com/cminyard/gensio/pull/48]
-Signed-off-by: Khem Raj <[email protected]>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 90cfcb6b..1c06d918 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -109,7 +109,7 @@ AC_ARG_WITH(tcp-wrappers,
- if test "$tcp_wrappers" != "no"
- then
-   AC_CHECK_HEADERS([tcpd.h])
--  AC_CHECK_LIB(wrap,main)
-+  AC_CHECK_LIB(wrap,request_init)
- fi
- 
- AC_ARG_ENABLE([doc],
--- 
-2.37.3
-
meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch deleted +0 -29
deleted file mode 100644
index 93831c380..000000000
@@ -1,29 +0,0 @@
-From 823b6754a4d7655480b6e8576a9d0037f842d653 Mon Sep 17 00:00:00 2001
-From: Jan Luebbe <[email protected]>
-Date: Thu, 25 Aug 2022 12:19:16 +0200
-Subject: [PATCH] tools:gensiot: Fix build with musl
-
-According to POSIX getpid() is available in unistd.h, not sys/unistd.h.
-
-Upstream-Status: Submitted [https://github.com/cminyard/gensio/pull/47]
-Signed-off-by: Jan Luebbe <[email protected]>
----
- tools/gensiotool.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/gensiotool.c b/tools/gensiotool.c
-index cac531bb4b74..ab0bb9583f9f 100644
---- a/tools/gensiotool.c
-+++ b/tools/gensiotool.c
-@@ -44,7 +44,7 @@
- #include <signal.h>
- #include <errno.h>
- #include <sys/types.h>
--#include <sys/unistd.h>
-+#include <unistd.h>
- #include <syslog.h>
- #endif
- 
--- 
-2.30.2
-
meta-oe/recipes-connectivity/gensio/gensio_2.6.1.bb renamed from meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb +2 -5
similarity index 78%
rename from meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb
rename to meta-oe/recipes-connectivity/gensio/gensio_2.6.1.bb
index d6b5f1987..91450e2c7 100644
@@ -5,12 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \
                     file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \
                     "
 
-SRCREV = "b6cd354afe6d5f63bc859c94fd3a455a3cdf0449"
+SRCREV = "d512218c4fa5667d4fe15977d3f15f05591f1f1a"
 
-SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master \
-           file://0001-tools-gensiot-Fix-build-with-musl.patch \
-           file://0001-configure-Check-for-request_init-API-when-probing-fo.patch \
-"
+SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 libglvnd: upgrade 1.5.0 -> 1.6.0

From: Wang Mingyu <[email protected]>

Changelog:
===========
Added assembly dispatch support for loongarch64 Fixed GLX assembly dispatch support for x32
Fixed TLS handling for single-threaded programs on FreeBSD

---
 .../libglvnd/{libglvnd_1.5.0.bb => libglvnd_1.6.0.bb}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-graphics/libglvnd/{libglvnd_1.5.0.bb => libglvnd_1.6.0.bb} (95%)
meta-oe/recipes-graphics/libglvnd/libglvnd_1.6.0.bb renamed from meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb
rename to meta-oe/recipes-graphics/libglvnd/libglvnd_1.6.0.bb
index b92bad46e..b76373cf2 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efe
 SRC_URI = "git://[email protected]/glvnd/libglvnd.git;protocol=https;branch=master"
 
 # v1.5.0 tag
-SRCREV = "c7cdf0cc4395b57563294d1f340b6bb1b95366a0"
+SRCREV = "b05bbcdaeb9b700cf7877e6d66f8fc3ac952295b"
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 lldpd: upgrade 1.0.15 -> 1.0.16

In reply to [email protected]

From: Wang Mingyu <[email protected]>

Fix:
======
Do not use 00:00:00:00:00:00 as chassis ID.
Do not busy loop when an interface with a neighbor disappears.

---
 .../recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb} (96%)
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +1 -1
similarity index 96%
rename from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index c7237d74b..45425561f 100644
@@ -12,7 +12,7 @@ SRC_URI = "\
     file://run-ptest \
     "
 
-SRC_URI[sha256sum] = "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"
 
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion github-releases ptest
 
Signature · 1 line
2.25.1
#3 lore raw

RE: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

Quoted 28 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of wangmy
Sent: den 28 november 2022 07:10
To: [email protected]
Cc: Wang Mingyu <[email protected]>
Subject: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

From: Wang Mingyu <[email protected]>

Fix:
======
Do not use 00:00:00:00:00:00 as chassis ID.
Do not busy loop when an interface with a neighbor disappears.

---
 .../recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb} (96%)
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +0 -0
similarity index 96%
rename from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index c7237d74b..45425561f 100644

meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb SRC_URI = "\ · line 15

Quoted 5 lines
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = "\
     file://run-ptest \
     "
 
-SRC_URI[sha256sum] = "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

This was for some reason integrated without the checksum update. However, a subsequent commit changed the SRC_URI (from media.luffy.cx to github.com), which caused a change to the checksum as I now get:

ERROR: lldpd-1.0.16-r0 do_fetch: Fetcher failure for URL:
'https://github.com/lldpd/lldpd/releases/download/1.0.16/lldpd-1.0.16.tar.gz'. Checksum mismatch! File: '.../downloads/lldpd-1.0.16.tar.gz.tmp' has sha256 checksum '7753c6e31e938923185f4e10c4ab328929729e22ee4a9687d08881fb82c092ee' when 'f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126' was expected

I.e., the checksums for the 1.0.16 tarball on media.luffy.cx does not match the checksum of the same tar ball on github.com. And comparing the contents of the two identically named tarballs reveals that the one from media.luffy.cx has been generated with newer version of autoconf and automake.

I also wonder if the change of SRC_URI, which was triggered by the AB not being able to fetch the tarball, was really due to the checksum not having been updated when the recipe version was stepped.

Based on the above, my recommendation is to revert commit e154914718 (i.e., the SRC_URI update), and then update the checksum as per the originally supplied patch from Wang Mingyu:

SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

I will send two patches to do this.

Quoted 5 lines
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +0 -1
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion github-releases ptest
 
--

2.25.1

//Peter

#4 lore raw

Re: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

Quoted 52 lines · Peter Kjellerstedt
Quoted 29 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of wangmy
Sent: den 28 november 2022 07:10
To: [email protected]
Cc: Wang Mingyu <[email protected]>
Subject: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

From: Wang Mingyu <[email protected]>

Fix:
======
Do not use 00:00:00:00:00:00 as chassis ID.
Do not busy loop when an interface with a neighbor disappears.

---
 .../recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb} (96%)
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +0 -0
similarity index 96%
rename from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index c7237d74b..45425561f 100644

meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb SRC_URI = "\ · line 15

Quoted 5 lines
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = "\
     file://run-ptest \
     "
 
-SRC_URI[sha256sum] = "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

This was for some reason integrated without the checksum update. However, a subsequent commit changed the SRC_URI (from media.luffy.cx to github.com), which caused a change to the checksum as I now get:

ERROR: lldpd-1.0.16-r0 do_fetch: Fetcher failure for URL:
'https://github.com/lldpd/lldpd/releases/download/1.0.16/lldpd-1.0.16.tar.gz'. Checksum mismatch! File: '.../downloads/lldpd-1.0.16.tar.gz.tmp' has sha256 checksum '7753c6e31e938923185f4e10c4ab328929729e22ee4a9687d08881fb82c092ee' when 'f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126' was expected

I.e., the checksums for the 1.0.16 tarball on media.luffy.cx does not match the checksum of the same tar ball on github.com. And comparing the contents of the two identically named tarballs reveals that the one from media.luffy.cx has been generated with newer version of autoconf and automake.

Quoted 3 lines

I also wonder if the change of SRC_URI, which was triggered by the AB not being able to fetch the tarball, was really due to the checksum not having been updated when the recipe version was stepped.

The site was not accessible. I would rather use github release artifacts if the projects
make that. I think I forgot to run bitbake -ccleanall before testing this change. Thanks for reporting it.
and fixing it.

Quoted 17 lines

Based on the above, my recommendation is to revert commit e154914718 (i.e., the SRC_URI update), and then update the checksum as per the originally supplied patch from Wang Mingyu:

SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

I will send two patches to do this.

Quoted 5 lines
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb renamed from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb +0 -1
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion github-releases ptest
 
--

2.25.1

//Peter

#5 lore raw

PATCH 1/1 mg: upgrade 20220614 -> 20221112

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 meta-oe/recipes-support/mg/{mg_20220614.bb => mg_20221112.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/mg/{mg_20220614.bb => mg_20221112.bb} (95%)
meta-oe/recipes-support/mg/mg_20221112.bb renamed from meta-oe/recipes-support/mg/mg_20220614.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-support/mg/mg_20220614.bb
rename to meta-oe/recipes-support/mg/mg_20221112.bb
index 01ccef512..2d0afe8a9 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://version.c;md5=43616508f42ab3fdb082c5f932bd2eb4"
 DEPENDS = "ncurses libbsd"
 SECTION = "console/editors"
 
-SRCREV = "ea58e622fad20622ac0b723d021baaaf5dc0eb49"
+SRCREV = "5dbacce10b4cc5fe0785840c09398fc5b19fb96a"
 SRC_URI = "git://github.com/hboetes/mg;branch=master;protocol=https \
            file://0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch \
            file://0002-fileio-Define-DEFFILEMODE-if-platform-is-missing.patch \
Signature · 1 line
2.25.1
#6 lore raw

PATCH 1/1 nbdkit: upgrade 1.33.2 -> 1.33.3

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 .../nbdkit/{nbdkit_1.33.2.bb => nbdkit_1.33.3.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-support/nbdkit/{nbdkit_1.33.2.bb => nbdkit_1.33.3.bb} (95%)
meta-networking/recipes-support/nbdkit/nbdkit_1.33.3.bb renamed from meta-networking/recipes-support/nbdkit/nbdkit_1.33.2.bb +1 -1
similarity index 95%
rename from meta-networking/recipes-support/nbdkit/nbdkit_1.33.2.bb
rename to meta-networking/recipes-support/nbdkit/nbdkit_1.33.3.bb
index ad7b9a6fa..af8354676 100644
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9dcc2d8acdde215fa4bd6ac12bb14f0"
 
 SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https;branch=master \
 "
-SRCREV = "9e2fdefc1ba4c883c5e6aa4f32ab21777980a978"
+SRCREV = "ef035f7090d8bec2700ef1f941e371d351d647ad"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1