| Message ID | 20260811061251.14757-2-jaipaul.cheernam@est.tech |
|---|---|
| State | New |
| Headers | show |
| Series | swig: upgrade 4.4.1 -> 4.5.0 | expand |
On Tue, 2026-08-11 at 08:12 +0200, Jaipaul Cheernam via lists.openembedded.org wrote: > ChangeLog: https://www.swig.org/Release/CHANGES.current > > Release Notes: https://www.swig.org/Release/RELEASENOTES > > CompareLog: https://github.com/swig/swig/compare/v4.4.1...v4.5.0 > > - Refresh determinism.patch > > Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> > --- > .../swig/swig/determinism.patch | 20 +++++++++---------- > .../swig/{swig_4.4.1.bb => swig_4.5.0.bb} | 4 ++-- > 2 files changed, 12 insertions(+), 12 deletions(-) > rename meta/recipes-devtools/swig/{swig_4.4.1.bb => swig_4.5.0.bb} (92%) I suspect this breaks u-boot-tools: https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/4370 https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4214 and maybe python3-dtc: https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4188 Cheers, Richard
Hi Richard, I will send v3 by fixing dtc and u-boot-tools. Note: The following recipes in meta-openembedded may also be affected if python/swig bindings are enabled: - gensio (meta-oe): fix available upstream [1] - unbound (meta-networking): fix available upstream [2] - ldns (meta-oe): fix pending upstream [3] [1]https://github.com/cminyard/gensio/commit/e024df7fc3d21896bd9d2e26964a0b59b7c2a91b [2]https://github.com/NLnetLabs/unbound/commit/93a56205cfa6b9a6d34db7245aa71e5ca67d1fd7 [3]https://github.com/NLnetLabs/ldns/issues/314 As they are not enabled now, will not provide a fix. Regards, Jaipaul On 2026-08-11 12:25, Richard Purdie wrote: > On Tue, 2026-08-11 at 08:12 +0200, Jaipaul Cheernam via lists.openembedded.org wrote: >> ChangeLog:https://www.swig.org/Release/CHANGES.current >> >> Release Notes:https://www.swig.org/Release/RELEASENOTES >> >> CompareLog:https://github.com/swig/swig/compare/v4.4.1...v4.5.0 >> >> - Refresh determinism.patch >> >> Signed-off-by: Jaipaul Cheernam<jaipaul.cheernam@est.tech> >> --- >> .../swig/swig/determinism.patch | 20 +++++++++---------- >> .../swig/{swig_4.4.1.bb => swig_4.5.0.bb} | 4 ++-- >> 2 files changed, 12 insertions(+), 12 deletions(-) >> rename meta/recipes-devtools/swig/{swig_4.4.1.bb => swig_4.5.0.bb} (92%) > I suspect this breaks u-boot-tools: > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/4370 > https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4214 > > and maybe python3-dtc: > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4188 > > Cheers, > > Richard
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch index d6af38248d..9b021091cd 100644 --- a/meta/recipes-devtools/swig/swig/determinism.patch +++ b/meta/recipes-devtools/swig/swig/determinism.patch @@ -1,26 +1,26 @@ -From 7df78bedb666e49131c48f1854c6be1597bd133c Mon Sep 17 00:00:00 2001 +From 218e2a20ff978cb28fefdf7b35af8a27768df4db Mon Sep 17 00:00:00 2001 From: Richard Purdie <richard.purdie@linuxfoundation.org> -Date: Mon, 1 Mar 2021 00:11:10 +0000 +Date: Mon, 10 Aug 2026 11:13:20 +0000 Subject: [PATCH] swig: Fix reproducibility issue Remove the compiler commandline/platform from the compiled binary as this breaks reproducibilty. -Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] +Upstream-Status: Inappropriate [OE reproducibility fix upstream unlikely to take] RP 2021/3/1 --- Source/Modules/main.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx -index f68b609..0c2aba3 100644 +index 83ab22a..79a513a 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx -@@ -633,7 +633,6 @@ static void getoptions(int argc, char *argv[]) { - } +@@ -642,7 +642,6 @@ static void getoptions(int argc, char *argv[]) { + } } else if (strcmp(argv[i], "-version") == 0 || strcmp(argv[1], "--version") == 0) { - fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); -- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM); - fprintf(stdout, "\nConfigured options: %cpcre\n", + fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); +- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM); + fprintf(stdout, + "\nConfigured options: %cpcre\n", #ifdef HAVE_PCRE - '+' diff --git a/meta/recipes-devtools/swig/swig_4.4.1.bb b/meta/recipes-devtools/swig/swig_4.5.0.bb similarity index 92% rename from meta/recipes-devtools/swig/swig_4.4.1.bb rename to meta/recipes-devtools/swig/swig_4.5.0.bb index 842a7b0945..161c23f0af 100644 --- a/meta/recipes-devtools/swig/swig_4.4.1.bb +++ b/meta/recipes-devtools/swig/swig_4.5.0.bb @@ -13,9 +13,9 @@ SECTION = "devel" DEPENDS = "libpcre2 bison-native" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ - file://determinism.patch \ + file://determinism.patch \ " -SRC_URI[sha256sum] = "40162a706c56f7592d08fd52ef5511cb7ac191f3593cf07306a0a554c6281fcf" +SRC_URI[sha256sum] = "22ae0e887f8cca8031a325c67d005207653200b40e71edb3f88780e28e47d0ff" UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/" UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
ChangeLog: https://www.swig.org/Release/CHANGES.current Release Notes: https://www.swig.org/Release/RELEASENOTES CompareLog: https://github.com/swig/swig/compare/v4.4.1...v4.5.0 - Refresh determinism.patch Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- .../swig/swig/determinism.patch | 20 +++++++++---------- .../swig/{swig_4.4.1.bb => swig_4.5.0.bb} | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) rename meta/recipes-devtools/swig/{swig_4.4.1.bb => swig_4.5.0.bb} (92%)