summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.42.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch24
-rw-r--r--meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch17
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb (renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_6.7.1.bb)2
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb)2
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch62
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.19.2.bb (renamed from meta/recipes-devtools/dnf/dnf_4.19.0.bb)3
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc2
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch13
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch9
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch15
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch10
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch5
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch12
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch18
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch12
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch21
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/arch_pm.patch12
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/noman.patch11
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/pager.patch21
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch13
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.22.6.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.22.0.bb)3
-rw-r--r--meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-configure.in.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0002-tcl.m4.patch2
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch46
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch27
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-Use-64bit-time_t-on-linux-as-well.patch32
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch5
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/popt-1.19-follow-up.patch41
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb (renamed from meta/recipes-devtools/fdisk/gptfdisk_1.0.9.bb)6
-rw-r--r--meta/recipes-devtools/go/go-1.22.2.inc (renamed from meta/recipes-devtools/go/go-1.22.1.inc)4
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.22.2.bb (renamed from meta/recipes-devtools/go/go-binary-native_1.22.1.bb)6
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb (renamed from meta/recipes-devtools/go/go-cross-canadian_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/go/go-cross_1.22.2.bb (renamed from meta/recipes-devtools/go/go-cross_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/go/go-crosssdk_1.22.2.bb (renamed from meta/recipes-devtools/go/go-crosssdk_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/go/go-native_1.22.2.bb (renamed from meta/recipes-devtools/go/go-native_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc2
-rw-r--r--meta/recipes-devtools/go/go-runtime_1.22.2.bb (renamed from meta/recipes-devtools/go/go-runtime_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch43
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch (renamed from meta/recipes-devtools/go/go/0001-exec.go-filter-out-build-specific-paths-from-linker-.patch)0
-rw-r--r--meta/recipes-devtools/go/go_1.22.2.bb (renamed from meta/recipes-devtools/go/go_1.22.1.bb)0
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.21.bb (renamed from meta/recipes-devtools/libcomps/libcomps_0.1.20.bb)2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.73.1.bb (renamed from meta/recipes-devtools/libdnf/libdnf_0.73.0.bb)2
-rw-r--r--meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch6
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb4
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_git.bb4
-rw-r--r--meta/recipes-devtools/ninja/ninja_1.12.0.bb (renamed from meta/recipes-devtools/ninja/ninja_1.11.1.bb)2
-rw-r--r--meta/recipes-devtools/perl/liberror-perl_0.17029.bb48
-rw-r--r--meta/recipes-devtools/perl/liburi-perl_5.28.bb (renamed from meta/recipes-devtools/perl/liburi-perl_5.27.bb)2
-rw-r--r--meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb (renamed from meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb)2
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb2
-rw-r--r--meta/recipes-devtools/python/python-cython.inc2
-rw-r--r--meta/recipes-devtools/python/python-pyasn1.inc2
-rw-r--r--meta/recipes-devtools/python/python-testtools.inc27
-rw-r--r--meta/recipes-devtools/python/python3-beartype_0.18.5.bb (renamed from meta/recipes-devtools/python/python3-beartype_0.17.2.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-build_1.2.1.bb (renamed from meta/recipes-devtools/python/python3-build_1.1.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-cython_3.0.10.bb (renamed from meta/recipes-devtools/python/python3-cython_3.0.8.bb)0
-rw-r--r--meta/recipes-devtools/python/python3-dtschema_2024.4.bb (renamed from meta/recipes-devtools/python/python3-dtschema_2024.2.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.43.bb (renamed from meta/recipes-devtools/python/python3-git_3.1.42.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-hatchling_1.24.1.bb (renamed from meta/recipes-devtools/python/python3-hatchling_1.21.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb (renamed from meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.7.bb (renamed from meta/recipes-devtools/python/python3-idna_3.6.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb (renamed from meta/recipes-devtools/python/python3-importlib-metadata_7.0.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_5.1.bb (renamed from meta/recipes-devtools/python/python3-libarchive-c_5.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.3.0.bb (renamed from meta/recipes-devtools/python/python3-license-expression_30.2.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-lxml_5.2.1.bb (renamed from meta/recipes-devtools/python/python3-lxml_5.0.0.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.3.3.bb (renamed from meta/recipes-devtools/python/python3-mako_1.3.2.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.6.bb (renamed from meta/recipes-devtools/python/python3-markdown_3.5.2.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-packaging_24.0.bb (renamed from meta/recipes-devtools/python/python3-packaging_23.2.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pluggy_1.5.0.bb (renamed from meta/recipes-devtools/python/python3-pluggy_1.4.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb (renamed from meta/recipes-devtools/python/python3-pyasn1_0.5.1.bb)0
-rw-r--r--meta/recipes-devtools/python/python3-pycparser_2.22.bb (renamed from meta/recipes-devtools/python/python3-pycparser_2.21.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pyelftools_0.31.bb (renamed from meta/recipes-devtools/python/python3-pyelftools_0.30.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.48.2.bb (renamed from meta/recipes-devtools/python/python3-pygobject_3.46.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb (renamed from meta/recipes-devtools/python/python3-pyopenssl_24.0.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb (renamed from meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb (renamed from meta/recipes-devtools/python/python3-pytest-subtests_0.11.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-pytest_8.1.1.bb (renamed from meta/recipes-devtools/python/python3-pytest_8.0.2.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-referencing_0.34.0.bb (renamed from meta/recipes-devtools/python/python3-referencing_0.33.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.7.0.bb (renamed from meta/recipes-devtools/python/python3-scons_4.6.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch6
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_69.5.1.bb (renamed from meta/recipes-devtools/python/python3-setuptools_69.1.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-testtools_2.7.1.bb21
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb (renamed from meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb (renamed from meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-websockets_12.0.bb16
-rw-r--r--meta/recipes-devtools/python/python3-wheel_0.43.0.bb (renamed from meta/recipes-devtools/python/python3-wheel_0.42.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.18.1.bb (renamed from meta/recipes-devtools/python/python3-zipp_3.17.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch55
-rw-r--r--meta/recipes-devtools/python/python3_3.12.3.bb (renamed from meta/recipes-devtools/python/python3_3.12.2.bb)3
-rw-r--r--meta/recipes-devtools/repo/repo_2.45.bb (renamed from meta/recipes-devtools/repo/repo_2.42.bb)2
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch3
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch7
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch42
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch3
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch9
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch9
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch5
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch56
-rw-r--r--meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch5
-rw-r--r--meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch3
-rw-r--r--meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch3
-rw-r--r--meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch3
-rw-r--r--meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch13
-rw-r--r--meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch26
-rw-r--r--meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch2
-rw-r--r--meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch5
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.19.1.1.bb (renamed from meta/recipes-devtools/rpm/rpm_4.19.1.bb)7
-rw-r--r--meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch13
-rw-r--r--meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch7
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.3.0.bb (renamed from meta/recipes-devtools/rsync/rsync_3.2.7.bb)2
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch11
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch52
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch32
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch7
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch9
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch42
-rw-r--r--meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch16
-rw-r--r--meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch7
-rw-r--r--meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch28
-rw-r--r--meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch17
-rw-r--r--meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch35
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.3.0.bb (renamed from meta/recipes-devtools/ruby/ruby_3.2.2.bb)10
-rwxr-xr-xmeta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts11
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb2
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc2
-rw-r--r--meta/recipes-devtools/swig/swig.inc67
-rw-r--r--meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch65
-rw-r--r--meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch63
-rw-r--r--meta/recipes-devtools/swig/swig_4.2.1.bb44
-rw-r--r--meta/recipes-devtools/tcltk/tcl/alter-includedir.patch11
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch39
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch17
-rw-r--r--meta/recipes-devtools/tcltk/tcl/interp.patch10
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch11
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch17
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.6.14.bb (renamed from meta/recipes-devtools/tcltk/tcl_8.6.13.bb)7
-rw-r--r--meta/recipes-devtools/vala/vala/0001-gtk4-Preserve-compatibility-with-4.14.patch39
-rw-r--r--meta/recipes-devtools/vala/vala_0.56.17.bb (renamed from meta/recipes-devtools/vala/vala_0.56.15.bb)7
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch64
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch147
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch221
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch137
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.22.0.bb4
148 files changed, 1019 insertions, 1242 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc
index 5fcb4292b3..3b6f47d4ce 100644
--- a/meta/recipes-devtools/binutils/binutils-2.42.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.42.inc
@@ -35,5 +35,6 @@ SRC_URI = "\
35 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ 35 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
36 file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 36 file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
37 file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ 37 file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
38 file://0015-gprofng-change-use-of-bignum-to-bigint.patch \
38" 39"
39S = "${WORKDIR}/git" 40S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
index 8f74c639d5..05f1ed0dc5 100644
--- a/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
+++ b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
@@ -19543,18 +19543,6 @@ index 3701bd8e796..9e36ae7c51c 100755
19543 # FIXME: first we should search . and the directory the executable is in 19543 # FIXME: first we should search . and the directory the executable is in
19544 shlibpath_var=PATH 19544 shlibpath_var=PATH
19545 ;; 19545 ;;
19546@@ -13596,7 +14245,11 @@ else
19547 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19548 lt_status=$lt_dlunknown
19549 cat > conftest.$ac_ext <<_LT_EOF
19550+<<<<<<< HEAD
19551 #line 13599 "configure"
19552+=======
19553+#line $LINENO "configure"
19554+>>>>>>> b932158cf4c (Use libtool 2.4)
19555 #include "confdefs.h"
19556
19557 #if HAVE_DLFCN_H
19558@@ -13640,10 +14293,10 @@ else 19546@@ -13640,10 +14293,10 @@ else
19559 /* When -fvisbility=hidden is used, assume the code has been annotated 19547 /* When -fvisbility=hidden is used, assume the code has been annotated
19560 correspondingly for the symbols needed. */ 19548 correspondingly for the symbols needed. */
@@ -19568,18 +19556,6 @@ index 3701bd8e796..9e36ae7c51c 100755
19568 int main () 19556 int main ()
19569 { 19557 {
19570 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 19558 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19571@@ -13702,7 +14355,11 @@ else
19572 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19573 lt_status=$lt_dlunknown
19574 cat > conftest.$ac_ext <<_LT_EOF
19575+<<<<<<< HEAD
19576 #line 13705 "configure"
19577+=======
19578+#line $LINENO "configure"
19579+>>>>>>> b932158cf4c (Use libtool 2.4)
19580 #include "confdefs.h"
19581
19582 #if HAVE_DLFCN_H
19583@@ -13746,10 +14403,10 @@ else 19559@@ -13746,10 +14403,10 @@ else
19584 /* When -fvisbility=hidden is used, assume the code has been annotated 19560 /* When -fvisbility=hidden is used, assume the code has been annotated
19585 correspondingly for the symbols needed. */ 19561 correspondingly for the symbols needed. */
diff --git a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
new file mode 100644
index 0000000000..0d3d289eba
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87]
2
3Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
4
5diff --git a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in
6index 6f37ca282e7..306c99a0ec3 100644
7--- a/gprofng/gp-display-html/gp-display-html.in
8+++ b/gprofng/gp-display-html/gp-display-html.in
9@@ -25,7 +25,7 @@ use warnings;
10 # Disable before release
11 # use Perl::Critic;
12
13-use bignum;
14+use bigint;
15 use List::Util qw (max);
16 use Cwd qw (abs_path cwd);
17 use File::Basename;
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.7.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb
index 8132c2cc72..15cc7ac244 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.7.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb
@@ -18,7 +18,7 @@ DEPENDS = "util-linux zlib"
18SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \ 18SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \
19 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ 19 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
20 " 20 "
21SRCREV = "60abf7a90776c2405f616182ef6129474bbcb109" 21SRCREV = "3793e987d2b4e878410da16f33d963043d137d48"
22S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
23 23
24PACKAGECONFIG ??= " \ 24PACKAGECONFIG ??= " \
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb
index f498bcb655..1f97c99bde 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb
@@ -9,7 +9,7 @@ SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;p
9 file://0001-include-rpm-rpmstring.h.patch \ 9 file://0001-include-rpm-rpmstring.h.patch \
10 " 10 "
11 11
12SRCREV = "4ade5ea5c4c636f045f29a2d8d8a57241fc5d24e" 12SRCREV = "10a8a7af4f1de3f98a21a7d08fe3a46ef306d197"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
diff --git a/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch b/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch
new file mode 100644
index 0000000000..6bffe9af0a
--- /dev/null
+++ b/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch
@@ -0,0 +1,62 @@
1From 3881757eabfde2ff54400ab127b106ab085d83f0 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 13 Mar 2024 11:22:05 +0800
4Subject: [PATCH] lock.py: fix Exception handling
5
6Before, when logdir is not writable, _try_lock will raise an Exception
7like "Permission denied: '/var/log/log_lock.pid'", and in this case,
8_unlock_thread will not be called and the variable count will not be
9handled, it maybe cause log_lock.pid not be deleted in case like [1].
10
11For [1], it is an cross compile case, when dnf install some packages to
12rootfs, seems like some threads don't do chroot like work, some threads
13do chroot like work. so for the threads don't do chroot, "Permission denied"
14Exception happend, for the threads that do chroot, log_lock.pid will be
15created under installroot/var/log/log_lock.pid, since variable count not
16handled correct before, log_lock.pid may not be deleted correctly.
17
18So fixed like this, if _try_lock raise Exception, _unlock_thread first,
19then raise the Exception.
20
21[1] https://github.com/rpm-software-management/dnf/issues/1963
22
23Upstream-Status: Submitted [ https://github.com/rpm-software-management/dnf/pull/2065 ]
24
25Signed-off-by: Changqing Li <changqing.li@windriver.com>
26---
27 dnf/lock.py | 12 ++++++++++--
28 1 file changed, 10 insertions(+), 2 deletions(-)
29
30diff --git a/dnf/lock.py b/dnf/lock.py
31index 6817aac9..5718062a 100644
32--- a/dnf/lock.py
33+++ b/dnf/lock.py
34@@ -128,7 +128,11 @@ class ProcessLock(object):
35 self._lock_thread()
36 prev_pid = -1
37 my_pid = os.getpid()
38- pid = self._try_lock(my_pid)
39+ try:
40+ pid = self._try_lock(my_pid)
41+ except Exception:
42+ self._unlock_thread()
43+ raise
44 while pid != my_pid:
45 if pid != -1:
46 if not self.blocking:
47@@ -140,7 +144,11 @@ class ProcessLock(object):
48 logger.info(msg)
49 prev_pid = pid
50 time.sleep(1)
51- pid = self._try_lock(my_pid)
52+ try:
53+ pid = self._try_lock(my_pid)
54+ except Exception:
55+ self._unlock_thread()
56+ raise
57
58 def __exit__(self, *exc_args):
59 if self.count == 1:
60--
612.25.1
62
diff --git a/meta/recipes-devtools/dnf/dnf_4.19.0.bb b/meta/recipes-devtools/dnf/dnf_4.19.2.bb
index 784d7a94b3..cc91dbe400 100644
--- a/meta/recipes-devtools/dnf/dnf_4.19.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.19.2.bb
@@ -15,11 +15,12 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
15 file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ 15 file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
16 file://0030-Run-python-scripts-using-env.patch \ 16 file://0030-Run-python-scripts-using-env.patch \
17 file://0001-set-python-path-for-completion_helper.patch \ 17 file://0001-set-python-path-for-completion_helper.patch \
18 file://0001-lock.py-fix-Exception-handling.patch \
18 " 19 "
19 20
20SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch" 21SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch"
21 22
22SRCREV = "566a61f9d8a2830ac6dcc3a94c59224cef1c3d03" 23SRCREV = "9b2b2e8ddab99caba4bc8059cab4263163172e81"
23UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 24UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
24 25
25S = "${WORKDIR}/git" 26S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index b3e8c05d62..4c1d42e0af 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -11,7 +11,7 @@ RDEPENDS:${PN}:class-native = ""
11 11
12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
13 13
14inherit autotools gettext perlnative pkgconfig perl-version update-alternatives 14inherit autotools gettext perlnative pkgconfig perl-version update-alternatives bash-completion
15 15
16PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" 16PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
17 17
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
index 52e85705fa..b8a8697585 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
@@ -1,4 +1,4 @@
1From 279e4c274f5f295823cf9fa95d3ba131f6d711db Mon Sep 17 00:00:00 2001 1From 21459bb8d9a997e6a92885a4ef337ede9cc5aba7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 29 Apr 2020 22:02:23 -0700 3Date: Wed, 29 Apr 2020 22:02:23 -0700
4Subject: [PATCH] Add support for riscv32 CPU 4Subject: [PATCH] Add support for riscv32 CPU
@@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 2 files changed, 2 insertions(+) 11 2 files changed, 2 insertions(+)
12 12
13diff --git a/data/cputable b/data/cputable 13diff --git a/data/cputable b/data/cputable
14index 9f2a8e0..1d935b1 100644 14index 575c008e3..7a801a03a 100644
15--- a/data/cputable 15--- a/data/cputable
16+++ b/data/cputable 16+++ b/data/cputable
17@@ -41,6 +41,7 @@ powerpc powerpc (powerpc|ppc) 32 big 17@@ -43,6 +43,7 @@ powerpc powerpc (powerpc|ppc) 32 big
18 powerpcel powerpcle powerpcle 32 little 18 powerpcel powerpcle powerpcle 32 little
19 ppc64 powerpc64 (powerpc|ppc)64 64 big 19 ppc64 powerpc64 (powerpc|ppc)64 64 big
20 ppc64el powerpc64le powerpc64le 64 little 20 ppc64el powerpc64le powerpc64le 64 little
@@ -23,10 +23,10 @@ index 9f2a8e0..1d935b1 100644
23 s390 s390 s390 32 big 23 s390 s390 s390 32 big
24 s390x s390x s390x 64 big 24 s390x s390x s390x 64 big
25diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm 25diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
26index a352bbd..fa1d90b 100644 26index fcf5b1e2a..175c9f436 100644
27--- a/scripts/Dpkg/Vendor/Debian.pm 27--- a/scripts/Dpkg/Vendor/Debian.pm
28+++ b/scripts/Dpkg/Vendor/Debian.pm 28+++ b/scripts/Dpkg/Vendor/Debian.pm
29@@ -306,6 +306,7 @@ sub _add_build_flags { 29@@ -202,6 +202,7 @@ sub set_build_features {
30 powerpc 30 powerpc
31 ppc64 31 ppc64
32 ppc64el 32 ppc64el
@@ -34,6 +34,3 @@ index a352bbd..fa1d90b 100644
34 riscv64 34 riscv64
35 s390x 35 s390x
36 sparc 36 sparc
37--
382.26.2
39
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
index f2367c95e9..95a49053e8 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
@@ -1,4 +1,4 @@
1From e3ade3464b8a1129a55c2790cf114d9ae01e3cda Mon Sep 17 00:00:00 2001 1From 4c5e6c280a2ab4d2009d3264e94286f5fe244d0b Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.microsoft.com> 2From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
3Date: Tue, 16 Jun 2020 03:57:25 +0000 3Date: Tue, 16 Jun 2020 03:57:25 +0000
4Subject: [PATCH] build.c: ignore return of 1 from tar -cf 4Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -23,16 +23,15 @@ Upstream-Status: Inappropriate [OE specific]
23Original patch by RP 2015/3/27, rebased by Paul Eggleton 23Original patch by RP 2015/3/27, rebased by Paul Eggleton
24 24
25Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> 25Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
26
27--- 26---
28 src/deb/build.c | 5 ++++- 27 src/deb/build.c | 5 ++++-
29 1 file changed, 4 insertions(+), 1 deletion(-) 28 1 file changed, 4 insertions(+), 1 deletion(-)
30 29
31diff --git a/src/deb/build.c b/src/deb/build.c 30diff --git a/src/deb/build.c b/src/deb/build.c
32index 76613adec..7c216d1a9 100644 31index 92aba9553..6436b33da 100644
33--- a/src/deb/build.c 32--- a/src/deb/build.c
34+++ b/src/deb/build.c 33+++ b/src/deb/build.c
35@@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 34@@ -481,6 +481,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
36 { 35 {
37 int pipe_filenames[2], pipe_tarball[2]; 36 int pipe_filenames[2], pipe_tarball[2];
38 pid_t pid_tar, pid_comp; 37 pid_t pid_tar, pid_comp;
@@ -40,7 +39,7 @@ index 76613adec..7c216d1a9 100644
40 39
41 /* Fork off a tar. We will feed it a list of filenames on stdin later. */ 40 /* Fork off a tar. We will feed it a list of filenames on stdin later. */
42 m_pipe(pipe_filenames); 41 m_pipe(pipe_filenames);
43@@ -534,7 +535,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 42@@ -533,7 +534,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
44 /* All done, clean up wait for tar and <compress> to finish their job. */ 43 /* All done, clean up wait for tar and <compress> to finish their job. */
45 close(pipe_filenames[1]); 44 close(pipe_filenames[1]);
46 subproc_reap(pid_comp, _("<compress> from tar -cf"), 0); 45 subproc_reap(pid_comp, _("<compress> from tar -cf"), 0);
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
index d66ab4476a..e8d8576f85 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
@@ -1,4 +1,4 @@
1From a328c8bec0bf8071ae8f20fee4c7475205064ba1 Mon Sep 17 00:00:00 2001 1From 1d192b60fc43e24e1c2d6ff452dabeee7a227cc0 Mon Sep 17 00:00:00 2001
2From: sweeaun <swee.aun.khor@intel.com> 2From: sweeaun <swee.aun.khor@intel.com>
3Date: Sun, 10 Sep 2017 00:14:15 -0700 3Date: Sun, 10 Sep 2017 00:14:15 -0700
4Subject: [PATCH] dpkg: Support muslx32 build 4Subject: [PATCH] dpkg: Support muslx32 build
@@ -13,10 +13,10 @@ Signed-off-by: sweeaun <swee.aun.khor@intel.com>
13 2 files changed, 2 insertions(+) 13 2 files changed, 2 insertions(+)
14 14
15diff --git a/data/ostable b/data/ostable 15diff --git a/data/ostable b/data/ostable
16index be64342..87db273 100644 16index 860355774..28779beca 100644
17--- a/data/ostable 17--- a/data/ostable
18+++ b/data/ostable 18+++ b/data/ostable
19@@ -19,6 +19,7 @@ base-uclibc-linux linux-uclibc linux[^-]*-uclibc 19@@ -21,6 +21,7 @@ base-uclibc-linux linux-uclibc linux[^-]*-uclibc
20 eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf 20 eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
21 eabi-musl-linux linux-musleabi linux[^-]*-musleabi 21 eabi-musl-linux linux-musleabi linux[^-]*-musleabi
22 base-musl-linux linux-musl linux[^-]*-musl 22 base-musl-linux linux-musl linux[^-]*-musl
@@ -25,17 +25,14 @@ index be64342..87db273 100644
25 eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi 25 eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
26 abin32-gnu-linux linux-gnuabin32 linux[^-]*-gnuabin32 26 abin32-gnu-linux linux-gnuabin32 linux[^-]*-gnuabin32
27diff --git a/data/tupletable b/data/tupletable 27diff --git a/data/tupletable b/data/tupletable
28index 28f00bf..748ffab 100644 28index 82ae3604e..707d85bdb 100644
29--- a/data/tupletable 29--- a/data/tupletable
30+++ b/data/tupletable 30+++ b/data/tupletable
31@@ -10,6 +10,7 @@ base-uclibc-linux-<cpu> uclibc-linux-<cpu> 31@@ -26,6 +26,7 @@ base-uclibc-linux-<cpu> uclibc-linux-<cpu>
32 eabihf-musl-linux-arm musl-linux-armhf 32 eabihf-musl-linux-arm musl-linux-armhf
33 eabi-musl-linux-arm musl-linux-armel 33 eabi-musl-linux-arm musl-linux-armel
34 base-musl-linux-<cpu> musl-linux-<cpu> 34 base-musl-linux-<cpu> musl-linux-<cpu>
35+x32-musl-linux-amd64 x32 35+x32-musl-linux-amd64 x32
36 ilp32-gnu-linux-arm64 arm64ilp32
37 eabihf-gnu-linux-arm armhf 36 eabihf-gnu-linux-arm armhf
38 eabi-gnu-linux-arm armel 37 eabi-gnu-linux-arm armel
39-- 38 eabi-gnu-linux-armeb armeb
402.7.4
41
diff --git a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
index ef5f7c3ec3..fc097e5a66 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
@@ -1,8 +1,8 @@
1From b4ea54158c399874e12394ebc91afe98954695e2 Mon Sep 17 00:00:00 2001 1From 0cac67ce5920d6d0c9df4278bfa77da878a8a37a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:16:16 +0300 3Date: Wed, 26 Aug 2015 16:16:16 +0300
4Subject: [PATCH 2/5] Adapt to linux-wrs kernel version, which has character 4Subject: [PATCH] Adapt to linux-wrs kernel version, which has character '_'
5 '_' inside. Remove the first-char-digit-check (as the 1.15.8.5 version does). 5 inside. Remove the first-char-digit-check (as the 1.15.8.5 version does).
6 6
7Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> 7Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
8Signed-off-by: Constantin Musca <constantinx.musca@intel.com> 8Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
@@ -32,6 +32,4 @@ index 63a36f55c..81901bd5a 100644
32+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~_", *ptr) == NULL) 32+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~_", *ptr) == NULL)
33 return dpkg_put_warn(err, _("invalid character in revision number")); 33 return dpkg_put_warn(err, _("invalid character in revision number"));
34 } 34 }
35 35
36--
372.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
index bd4d5d5353..916c7dfb00 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
@@ -1,4 +1,4 @@
1From ff325b35639a797edd92b373fbebf7b8b9f3f0c3 Mon Sep 17 00:00:00 2001 1From b6c28222276704a1e1a544983e38dfa2f3fb481a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:25:45 +0300 3Date: Wed, 26 Aug 2015 16:25:45 +0300
4Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a 4Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a
@@ -11,13 +11,12 @@ RP 2011/12/07
11ALIMON 2016/05/26 11ALIMON 2016/05/26
12ALIMON 2017/02/21 12ALIMON 2017/02/21
13KKang 2019/02/20 13KKang 2019/02/20
14
15--- 14---
16 src/main/script.c | 53 +++-------------------------------------------- 15 src/main/script.c | 53 +++--------------------------------------------
17 1 file changed, 3 insertions(+), 50 deletions(-) 16 1 file changed, 3 insertions(+), 50 deletions(-)
18 17
19diff --git a/src/main/script.c b/src/main/script.c 18diff --git a/src/main/script.c b/src/main/script.c
20index ecce4d842..16f4e6ff5 100644 19index 017d92efe..181e7c710 100644
21--- a/src/main/script.c 20--- a/src/main/script.c
22+++ b/src/main/script.c 21+++ b/src/main/script.c
23@@ -97,58 +97,11 @@ static const char * 22@@ -97,58 +97,11 @@ static const char *
diff --git a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
index bbd5aba418..35c0c246f6 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
@@ -1,8 +1,7 @@
1From adb6bfd0feeceaf030df0debe3343d7f73e708a0 Mon Sep 17 00:00:00 2001 1From 80ad29d22f8ca4033a6a79a726580fee17bdade9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:27:45 +0300 3Date: Wed, 26 Aug 2015 16:27:45 +0300
4Subject: [PATCH 4/5] The lutimes function doesn't work properly for all 4Subject: [PATCH] The lutimes function doesn't work properly for all systems.
5 systems.
6 5
7Signed-off-by: Constantin Musca <constantinx.musca@intel.com> 6Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8 7
@@ -12,10 +11,10 @@ Upstream-Status: Inappropriate [embedded specific]
12 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
13 12
14diff --git a/src/main/archives.c b/src/main/archives.c 13diff --git a/src/main/archives.c b/src/main/archives.c
15index 92340b9..7a55c27 100644 14index 7e399f922..ec3b6878f 100644
16--- a/src/main/archives.c 15--- a/src/main/archives.c
17+++ b/src/main/archives.c 16+++ b/src/main/archives.c
18@@ -490,8 +490,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path) 17@@ -491,8 +491,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
19 18
20 if (te->type == TAR_FILETYPE_SYMLINK) { 19 if (te->type == TAR_FILETYPE_SYMLINK) {
21 #ifdef HAVE_LUTIMES 20 #ifdef HAVE_LUTIMES
@@ -26,6 +25,3 @@ index 92340b9..7a55c27 100644
26 #endif 25 #endif
27 } else { 26 } else {
28 if (utimes(path, tv)) 27 if (utimes(path, tv))
29--
302.25.1
31
diff --git a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
index 8797ea55c6..8ac646b1a1 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
@@ -1,7 +1,10 @@
1From f8910022dc3ec622272f168cd0022dbdf6dff93a Mon Sep 17 00:00:00 2001 1From 1c9e78dda91ba66fbd8fe02b66b6c603d08d3343 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 30 Dec 2015 23:05:41 +0000 3Date: Wed, 30 Dec 2015 23:05:41 +0000
4Subject: [PATCH] add musleabi to known target tripets 4Subject: [PATCH] add musleabi to known target tripets
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
5 8
6helps compiling dpkg for musl/arm-softfloat 9helps compiling dpkg for musl/arm-softfloat
7 10
@@ -14,10 +17,10 @@ Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
14 2 files changed, 2 insertions(+) 17 2 files changed, 2 insertions(+)
15 18
16diff --git a/data/ostable b/data/ostable 19diff --git a/data/ostable b/data/ostable
17index 99c1f889d..be6434271 100644 20index 64f424490..860355774 100644
18--- a/data/ostable 21--- a/data/ostable
19+++ b/data/ostable 22+++ b/data/ostable
20@@ -17,6 +17,7 @@ 23@@ -19,6 +19,7 @@
21 eabi-uclibc-linux linux-uclibceabi linux[^-]*-uclibceabi 24 eabi-uclibc-linux linux-uclibceabi linux[^-]*-uclibceabi
22 base-uclibc-linux linux-uclibc linux[^-]*-uclibc 25 base-uclibc-linux linux-uclibc linux[^-]*-uclibc
23 eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf 26 eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
@@ -26,17 +29,14 @@ index 99c1f889d..be6434271 100644
26 eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf 29 eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf
27 eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi 30 eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
28diff --git a/data/tupletable b/data/tupletable 31diff --git a/data/tupletable b/data/tupletable
29index 5f500f6ca..28f00bfe6 100644 32index 7436f8056..82ae3604e 100644
30--- a/data/tupletable 33--- a/data/tupletable
31+++ b/data/tupletable 34+++ b/data/tupletable
32@@ -8,6 +8,7 @@ 35@@ -24,6 +24,7 @@
33 eabi-uclibc-linux-arm uclibc-linux-armel 36 eabi-uclibc-linux-arm uclibc-linux-armel
34 base-uclibc-linux-<cpu> uclibc-linux-<cpu> 37 base-uclibc-linux-<cpu> uclibc-linux-<cpu>
35 eabihf-musl-linux-arm musl-linux-armhf 38 eabihf-musl-linux-arm musl-linux-armhf
36+eabi-musl-linux-arm musl-linux-armel 39+eabi-musl-linux-arm musl-linux-armel
37 base-musl-linux-<cpu> musl-linux-<cpu> 40 base-musl-linux-<cpu> musl-linux-<cpu>
38 ilp32-gnu-linux-arm64 arm64ilp32
39 eabihf-gnu-linux-arm armhf 41 eabihf-gnu-linux-arm armhf
40-- 42 eabi-gnu-linux-arm armel
412.11.0
42
diff --git a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
index 117f9234ad..3d3a4f0bb9 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
@@ -1,7 +1,10 @@
1From 8659eeeeda74d71e12080121f0b13a88cbdda433 Mon Sep 17 00:00:00 2001 1From 6dd80236a91a505b5753bb74e5f1b47330d8b16b Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> 2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
3Date: Tue, 21 Feb 2017 11:23:27 -0600 3Date: Tue, 21 Feb 2017 11:23:27 -0600
4Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar 4Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
5 8
6Recently dpkg added --clamp-mtime to tar to create reproducible 9Recently dpkg added --clamp-mtime to tar to create reproducible
7build tarballs [1]. 10build tarballs [1].
@@ -24,10 +27,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
24 1 file changed, 1 insertion(+), 1 deletion(-) 27 1 file changed, 1 insertion(+), 1 deletion(-)
25 28
26diff --git a/src/deb/build.c b/src/deb/build.c 29diff --git a/src/deb/build.c b/src/deb/build.c
27index 5c74ff3..76613ad 100644 30index 1f0c050ee..92aba9553 100644
28--- a/src/deb/build.c 31--- a/src/deb/build.c
29+++ b/src/deb/build.c 32+++ b/src/deb/build.c
30@@ -505,7 +505,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 33@@ -504,7 +504,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
31 34
32 command_init(&cmd, TAR, "tar -cf"); 35 command_init(&cmd, TAR, "tar -cf");
33 command_add_args(&cmd, "tar", "-cf", "-", "--format=gnu", 36 command_add_args(&cmd, "tar", "-cf", "-", "--format=gnu",
@@ -36,6 +39,3 @@ index 5c74ff3..76613ad 100644
36 /* Mode might become a positional argument, pass it before -T. */ 39 /* Mode might become a positional argument, pass it before -T. */
37 if (options->mode) 40 if (options->mode)
38 command_add_args(&cmd, "--mode", options->mode, NULL); 41 command_add_args(&cmd, "--mode", options->mode, NULL);
39--
402.25.1
41
diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
index d165616a19..cbdf01dbd9 100644
--- a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
@@ -1,5 +1,11 @@
1Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> 1From 1c3a109df54b6092fa85a1fe2b7771e3b959655f Mon Sep 17 00:00:00 2001
2Date: Wed Apr 8 18:08:14 2015 +0530 2From: "Krishnanjanappa, Jagadeesh"
3 <jagadeesh.krishnanjanappa@caviumnetworks.com>
4Date: Wed, 8 Apr 2015 18:08:14 +0530
5Subject: [PATCH] dpkg: add triplet entry to fix build error for armeb
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
3 9
4[PATCH] add armeb triplet entry into triplettable. 10[PATCH] add armeb triplet entry into triplettable.
5 11
@@ -25,24 +31,19 @@ Upstream-Status: Pending
25 31
26Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> 32Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
27Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> 33Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
28
29--- 34---
30 data/tupletable | 1 + 35 data/tupletable | 1 +
31 1 file changed, 1 insertion(+) 36 1 file changed, 1 insertion(+)
32 37
33diff --git a/data/tupletable b/data/tupletable 38diff --git a/data/tupletable b/data/tupletable
34index b7802bec3..5f500f6ca 100644 39index ae9f2ddb4..7436f8056 100644
35--- a/data/tupletable 40--- a/data/tupletable
36+++ b/data/tupletable 41+++ b/data/tupletable
37@@ -12,6 +12,7 @@ base-musl-linux-<cpu> musl-linux-<cpu> 42@@ -27,6 +27,7 @@ eabihf-musl-linux-arm musl-linux-armhf
38 ilp32-gnu-linux-arm64 arm64ilp32 43 base-musl-linux-<cpu> musl-linux-<cpu>
39 eabihf-gnu-linux-arm armhf 44 eabihf-gnu-linux-arm armhf
40 eabi-gnu-linux-arm armel 45 eabi-gnu-linux-arm armel
41+eabi-gnu-linux-armeb armeb 46+eabi-gnu-linux-armeb armeb
42 abin32-gnu-linux-mips64r6el mipsn32r6el 47 abin32-gnu-linux-mips64r6el mipsn32r6el
43 abin32-gnu-linux-mips64r6 mipsn32r6 48 abin32-gnu-linux-mips64r6 mipsn32r6
44 abin32-gnu-linux-mips64el mipsn32el 49 abin32-gnu-linux-mips64el mipsn32el
45--
462.11.0
47
48
diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
index 4e0d22acbb..df2cd88ca4 100644
--- a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
@@ -1,3 +1,8 @@
1From bdf60ebbeb433a80e6cfcbde9d83d89564e79e20 Mon Sep 17 00:00:00 2001
2From: Joe Slater <jslater@windriver.com>
3Date: Mon, 26 Aug 2013 23:38:45 +0000
4Subject: [PATCH] dpkg: fix configuration issue for mips64
5
1configure cannot determine the proper cpu, os, or 6configure cannot determine the proper cpu, os, or
2architecture for mips64, and possibly other arch's 7architecture for mips64, and possibly other arch's
3because of faulty code added to Arch.pm in the latest 8because of faulty code added to Arch.pm in the latest
@@ -6,16 +11,15 @@ release from upstream. We remove that code.
6Upstream-Status: Pending 11Upstream-Status: Pending
7 12
8Signed-off-by: Joe Slater <jslater@windriver.com> 13Signed-off-by: Joe Slater <jslater@windriver.com>
9
10--- 14---
11 scripts/Dpkg/Arch.pm | 3 --- 15 scripts/Dpkg/Arch.pm | 3 ---
12 1 file changed, 3 deletions(-) 16 1 file changed, 3 deletions(-)
13 17
14diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm 18diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
15index 1720847b8..6345ce3b9 100644 19index 0d352eeb9..4ef5fa307 100644
16--- a/scripts/Dpkg/Arch.pm 20--- a/scripts/Dpkg/Arch.pm
17+++ b/scripts/Dpkg/Arch.pm 21+++ b/scripts/Dpkg/Arch.pm
18@@ -323,9 +323,6 @@ sub _load_tupletable() 22@@ -326,9 +326,6 @@ sub _load_tupletable()
19 (my $dt = $debtuple) =~ s/<cpu>/$_cpu/; 23 (my $dt = $debtuple) =~ s/<cpu>/$_cpu/;
20 (my $da = $debarch) =~ s/<cpu>/$_cpu/; 24 (my $da = $debarch) =~ s/<cpu>/$_cpu/;
21 25
@@ -25,5 +29,3 @@ index 1720847b8..6345ce3b9 100644
25 $debarch_to_debtuple{$da} = $dt; 29 $debarch_to_debtuple{$da} = $dt;
26 $debtuple_to_debarch{$dt} = $da; 30 $debtuple_to_debarch{$dt} = $da;
27 } 31 }
28--
292.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/noman.patch b/meta/recipes-devtools/dpkg/dpkg/noman.patch
index 6900716b11..e80549d740 100644
--- a/meta/recipes-devtools/dpkg/dpkg/noman.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/noman.patch
@@ -1,11 +1,15 @@
1Upstream-Status: Inappropriate [disable feature] 1From 008ec5150dd086ffa3940cb520f1ca91939f138d Mon Sep 17 00:00:00 2001
2From: Chris Larson <kergoth@openedhand.com>
3Date: Tue, 5 Sep 2006 07:24:58 +0000
4Subject: [PATCH] Add dpkg, modified from upstream oe.
2 5
6Upstream-Status: Inappropriate [disable feature]
3--- 7---
4 Makefile.am | 1 - 8 Makefile.am | 1 -
5 1 file changed, 1 deletion(-) 9 1 file changed, 1 deletion(-)
6 10
7diff --git a/Makefile.am b/Makefile.am 11diff --git a/Makefile.am b/Makefile.am
8index d963a10..7cef7f5 100644 12index 7186045d4..daca9faf2 100644
9--- a/Makefile.am 13--- a/Makefile.am
10+++ b/Makefile.am 14+++ b/Makefile.am
11@@ -11,7 +11,6 @@ SUBDIRS = \ 15@@ -11,7 +11,6 @@ SUBDIRS = \
@@ -16,6 +20,3 @@ index d963a10..7cef7f5 100644
16 # EOL 20 # EOL
17 21
18 ACLOCAL_AMFLAGS = -I m4 22 ACLOCAL_AMFLAGS = -I m4
19--
202.25.1
21
diff --git a/meta/recipes-devtools/dpkg/dpkg/pager.patch b/meta/recipes-devtools/dpkg/dpkg/pager.patch
deleted file mode 100644
index e56b9d28af..0000000000
--- a/meta/recipes-devtools/dpkg/dpkg/pager.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1pager: Use less instead of pager
2
3pager is a Debianism. Istead use directly pager.
4
5Upstream-Status: Inappropriate [OE-Core integration specific]
6
7Suggested-by: Burton, Ross <ross.burton@intel.com>
8Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
9diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
10index 2bb067a..6cbce80 100644
11--- a/lib/dpkg/dpkg.h
12+++ b/lib/dpkg/dpkg.h
13@@ -95,7 +95,7 @@ DPKG_BEGIN_DECLS
14 #define MAXUPDATES 250
15
16 #define DEFAULTSHELL "sh"
17-#define DEFAULTPAGER "pager"
18+#define DEFAULTPAGER "less"
19
20 #define MD5HASHLEN 32
21 #define MAXTRIGDIRECTIVE 256
diff --git a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
index ebf838ffe9..9307725e8b 100644
--- a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
@@ -1,4 +1,8 @@
1busybox-1.19.4 tar utility doesn't support --warning=no-timestamp 1From add92699ca1397205e1d7b46c3ab43de06b9a6c7 Mon Sep 17 00:00:00 2001
2From: Constantin Musca <constantinx.musca@intel.com>
3Date: Tue, 28 Aug 2012 17:02:40 +0300
4Subject: [PATCH] busybox-1.19.4 tar utility doesn't support
5 --warning=no-timestamp
2 6
3Signed-off-by: Constantin Musca <constantinx.musca@intel.com> 7Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
4 8
@@ -8,10 +12,10 @@ Upstream-Status: Inappropriate [configuration]
8 1 file changed, 1 deletion(-) 12 1 file changed, 1 deletion(-)
9 13
10diff --git a/src/deb/extract.c b/src/deb/extract.c 14diff --git a/src/deb/extract.c b/src/deb/extract.c
11index a1b2dc0..95e2372 100644 15index 8b78a7eab..fd7595808 100644
12--- a/src/deb/extract.c 16--- a/src/deb/extract.c
13+++ b/src/deb/extract.c 17+++ b/src/deb/extract.c
14@@ -333,7 +333,6 @@ extracthalf(const char *debar, const char *dir, 18@@ -338,7 +338,6 @@ extracthalf(const char *debar, const char *dir,
15 19
16 command_add_arg(&cmd, "-f"); 20 command_add_arg(&cmd, "-f");
17 command_add_arg(&cmd, "-"); 21 command_add_arg(&cmd, "-");
@@ -19,6 +23,3 @@ index a1b2dc0..95e2372 100644
19 23
20 m_dup2(p2[0],0); 24 m_dup2(p2[0],0);
21 close(p2[0]); 25 close(p2[0]);
22--
232.25.1
24
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb b/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb
index 7eaae9f22e..3f5f7395e0 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb
@@ -12,12 +12,11 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
12 file://0006-add-musleabi-to-known-target-tripets.patch \ 12 file://0006-add-musleabi-to-known-target-tripets.patch \
13 file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \ 13 file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \
14 file://0001-dpkg-Support-muslx32-build.patch \ 14 file://0001-dpkg-Support-muslx32-build.patch \
15 file://pager.patch \
16 file://0001-Add-support-for-riscv32-CPU.patch \ 15 file://0001-Add-support-for-riscv32-CPU.patch \
17 " 16 "
18 17
19SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch" 18SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
20 19
21SRCREV = "744487c98a622b9b38c22c6ca330315af4a30a11" 20SRCREV = "b2f9600ead232a2dd3c27f8b52807a9ca5854d17"
22 21
23S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch b/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
index af1d8c626c..bfb6dcd89a 100644
--- a/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
+++ b/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 23 Mar 2017 13:44:41 +0200 3Date: Thu, 23 Mar 2017 13:44:41 +0200
4Subject: [PATCH] Resolve string formatting issues. 4Subject: [PATCH] Resolve string formatting issues.
5 5
6Upstream-Status: Inappropriate [upstream seems dead] 6Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8--- 8---
9 exp_clib.c | 4 ++-- 9 exp_clib.c | 4 ++--
diff --git a/meta/recipes-devtools/expect/expect/0001-configure.in.patch b/meta/recipes-devtools/expect/expect/0001-configure.in.patch
index 7595a254a8..618c4bee8e 100644
--- a/meta/recipes-devtools/expect/expect/0001-configure.in.patch
+++ b/meta/recipes-devtools/expect/expect/0001-configure.in.patch
@@ -1,7 +1,7 @@
1Allow cross compiling. 1Allow cross compiling.
2 2
3Signed-off-by: Anders Roxell <anders.roxell@enea.com> 3Signed-off-by: Anders Roxell <anders.roxell@enea.com>
4Upstream-Status: Pending 4Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
5--- 5---
6diff -uNr a/configure.in b/configure.in 6diff -uNr a/configure.in b/configure.in
7--- a/configure.in 2012-12-14 15:31:32.623180450 +0100 7--- a/configure.in 2012-12-14 15:31:32.623180450 +0100
diff --git a/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch b/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
index 37512fb9bc..d73f4c3421 100644
--- a/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
+++ b/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
@@ -10,7 +10,7 @@ Aborted (core dumped)
10 10
11Use PATH_MAX to fix the problem. 11Use PATH_MAX to fix the problem.
12 12
13Upstream-Status: Pending [Upstream seems dead] 13Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
14 14
15Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 15Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
16--- 16---
diff --git a/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch b/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
index b1d322d5c9..40f7f3bd85 100644
--- a/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
+++ b/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
@@ -42,7 +42,7 @@ Example:
42 } 42 }
43Author: Sergei Golovan <sgolovan@debian.org> 43Author: Sergei Golovan <sgolovan@debian.org>
44 44
45Upstream-Status: Pending 45Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
46This patch is backported from fedora changes for expect: 46This patch is backported from fedora changes for expect:
47http://pkgs.fedoraproject.org/cgit/rpms/expect.git/commit/ 47http://pkgs.fedoraproject.org/cgit/rpms/expect.git/commit/
48?h=master&id=b6737eed550be93182f2ed194e836a6cbbcf4fa3 48?h=master&id=b6737eed550be93182f2ed194e836a6cbbcf4fa3
diff --git a/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch b/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
index dc4c6ba406..eb178f462a 100644
--- a/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
+++ b/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
@@ -1,7 +1,7 @@
1Use proper -L path when cross compiling. 1Use proper -L path when cross compiling.
2 2
3Signed-off-by: Anders Roxell <anders.roxell@enea.com> 3Signed-off-by: Anders Roxell <anders.roxell@enea.com>
4Upstream-Status: Pending 4Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
5--- 5---
6diff -uNr a/tclconfig/tcl.m4 b/tclconfig/tcl.m4 6diff -uNr a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
7--- a/tclconfig/tcl.m4 2012-12-14 09:16:58.789861281 +0100 7--- a/tclconfig/tcl.m4 2012-12-14 09:16:58.789861281 +0100
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
deleted file mode 100644
index 095d00b1e2..0000000000
--- a/meta/recipes-devtools/fdisk/gptfdisk/0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From e7f9c9909c27d6ceed5aa4ca17023a1bc94b620a Mon Sep 17 00:00:00 2001
2From: Rod Smith <rodsmith@rodsbooks.com>
3Date: Fri, 15 Apr 2022 18:10:14 -0400
4Subject: [PATCH] Fix failure & crash of sgdisk when compiled with latest popt
5 (commit 740; presumably eventually release 1.19)
6
7Upstream-Status: Backport [https://sourceforge.net/p/gptfdisk/code/ci/5d5e76d369a412bfb3d2cebb5fc0a7509cef878d/]
8Signed-off-by: Alexander Kanavin <alex@linutronix.de>
9Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
10---
11 NEWS | 8 ++++++++
12 gptcl.cc | 2 +-
13 2 files changed, 9 insertions(+), 1 deletion(-)
14
15diff --git a/NEWS b/NEWS
16index c7add56..9e153fd 100644
17--- a/NEWS
18+++ b/NEWS
19@@ -1,3 +1,11 @@
20+1.0.10 (?/??/2022):
21+-------------------
22+
23+- Fixed problem that caused sgdisk to crash with errors about being unable
24+ to read the disk's partition table when compiled with the latest popt
25+ (commit 740, which is pre-release as I type; presumably version 1.19 and
26+ later once released).
27+
28 1.0.9 (4/14/2022):
29 ------------------
30
31diff --git a/gptcl.cc b/gptcl.cc
32index 34c9421..0d578eb 100644
33--- a/gptcl.cc
34+++ b/gptcl.cc
35@@ -155,7 +155,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
36 } // while
37
38 // Assume first non-option argument is the device filename....
39- device = (char*) poptGetArg(poptCon);
40+ device = strdup((char*) poptGetArg(poptCon));
41 poptResetContext(poptCon);
42
43 if (device != NULL) {
44--
452.35.5
46
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch
deleted file mode 100644
index f358081092..0000000000
--- a/meta/recipes-devtools/fdisk/gptfdisk/0001-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From c640d9011a8330ebaad501784fb0ee1ce5e7a5ef Mon Sep 17 00:00:00 2001
2From: Rod Smith <rodsmith@rodsbooks.com>
3Date: Sat, 16 Apr 2022 09:32:04 -0400
4Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid
5
6Upstream-Status: Backport [https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/]
7Signed-off-by: Peter Bergin <peter@berginkonsult.se>
8---
9 guid.cc | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/guid.cc b/guid.cc
13index 1e73ab7..d3e4fd5 100644
14--- a/guid.cc
15+++ b/guid.cc
16@@ -141,7 +141,7 @@ void GUIDData::Zero(void) {
17 void GUIDData::Randomize(void) {
18 int i, uuidGenerated = 0;
19
20-#ifdef _UUID_UUID_H
21+#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)
22 uuid_generate(uuidData);
23 ReverseBytes(&uuidData[0], 4);
24 ReverseBytes(&uuidData[4], 2);
25--
262.34.1
27
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-Use-64bit-time_t-on-linux-as-well.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-Use-64bit-time_t-on-linux-as-well.patch
deleted file mode 100644
index 80e6f1bc9c..0000000000
--- a/meta/recipes-devtools/fdisk/gptfdisk/0001-Use-64bit-time_t-on-linux-as-well.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From cbdbabcc14e4ae4debcc64e41c0bb97d47b4eeef Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 12 Dec 2022 12:50:07 -0800
4Subject: [PATCH] Use 64bit time_t on linux as well
5
6Alias 64bit version of stat functions to original functions
7we are already passing -D_FILE_OFFSET_BITS=64 in linux Makefile
8
9Upstream-Status: Submitted [https://sourceforge.net/p/gptfdisk/code/merge-requests/29/]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 diskio-unix.cc | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15diff --git a/diskio-unix.cc b/diskio-unix.cc
16index 7780aeb..0897c56 100644
17--- a/diskio-unix.cc
18+++ b/diskio-unix.cc
19@@ -37,8 +37,12 @@
20
21 using namespace std;
22
23-#ifdef __APPLE__
24+#if defined(__APPLE__) || defined(__linux__)
25 #define off64_t off_t
26+#define stat64 stat
27+#define fstat64 fstat
28+#define lstat64 lstat
29+#define lseek64 lseek
30 #endif
31
32 // Returns the official "real" name for a shortened version of same.
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
index 266afbfa11..011eec36f9 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
+++ b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
@@ -1,17 +1,16 @@
1From 6bc6e867c5b3a774c0d7819ee5a3d2885e97caa9 Mon Sep 17 00:00:00 2001 1From 510d0d27f90dfb1c4afd0722580bb8a828b52b7f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 30 Mar 2020 17:11:19 +0200 3Date: Mon, 30 Mar 2020 17:11:19 +0200
4Subject: [PATCH] gptcurses: correctly include curses.h 4Subject: [PATCH] gptcurses: correctly include curses.h
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9--- 8---
10 gptcurses.cc | 4 ---- 9 gptcurses.cc | 4 ----
11 1 file changed, 4 deletions(-) 10 1 file changed, 4 deletions(-)
12 11
13diff --git a/gptcurses.cc b/gptcurses.cc 12diff --git a/gptcurses.cc b/gptcurses.cc
14index 71aa734..4ebfde1 100644 13index b476700..476fc43 100644
15--- a/gptcurses.cc 14--- a/gptcurses.cc
16+++ b/gptcurses.cc 15+++ b/gptcurses.cc
17@@ -23,11 +23,7 @@ 16@@ -23,11 +23,7 @@
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/popt-1.19-follow-up.patch b/meta/recipes-devtools/fdisk/gptfdisk/popt-1.19-follow-up.patch
deleted file mode 100644
index c7fa965ec9..0000000000
--- a/meta/recipes-devtools/fdisk/gptfdisk/popt-1.19-follow-up.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From f5de3401b974ce103ffd93af8f9d43505a04aaf9 Mon Sep 17 00:00:00 2001
2From: Damian Kurek <starfire24680@gmail.com>
3Date: Thu, 7 Jul 2022 03:39:16 +0000
4Subject: [PATCH] Fix NULL dereference when duplicating string argument
5
6poptGetArg can return NULL if there are no additional arguments, which
7makes strdup dereference NULL on strlen
8
9Upstream-Status: Submitted [https://sourceforge.net/p/gptfdisk/code/merge-requests/28/]
10
11---
12 gptcl.cc | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15diff --git a/gptcl.cc b/gptcl.cc
16index 0d578eb..ab95239 100644
17--- a/gptcl.cc
18+++ b/gptcl.cc
19@@ -155,10 +155,11 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
20 } // while
21
22 // Assume first non-option argument is the device filename....
23- device = strdup((char*) poptGetArg(poptCon));
24- poptResetContext(poptCon);
25+ device = (char*) poptGetArg(poptCon);
26
27 if (device != NULL) {
28+ device = strdup(device);
29+ poptResetContext(poptCon);
30 JustLooking(); // reset as necessary
31 BeQuiet(); // Tell called functions to be less verbose & interactive
32 if (LoadPartitions((string) device)) {
33@@ -498,6 +499,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
34 cerr << "Error encountered; not saving changes.\n";
35 retval = 4;
36 } // if
37+ free(device);
38 } // if (device != NULL)
39 poptFreeContext(poptCon);
40 return retval;
41
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.9.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb
index cf0a60a1a9..ba891931ac 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.9.bb
+++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb
@@ -9,12 +9,8 @@ DEPENDS = "util-linux"
9 9
10SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \ 10SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
11 file://0001-gptcurses-correctly-include-curses.h.patch \ 11 file://0001-gptcurses-correctly-include-curses.h.patch \
12 file://0001-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch \
13 file://0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch \
14 file://0001-Use-64bit-time_t-on-linux-as-well.patch \
15 file://popt-1.19-follow-up.patch \
16 " 12 "
17SRC_URI[sha256sum] = "dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2" 13SRC_URI[sha256sum] = "2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282"
18 14
19UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/" 15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/"
20UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/" 16UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/go/go-1.22.1.inc b/meta/recipes-devtools/go/go-1.22.2.inc
index 4330853450..b399207311 100644
--- a/meta/recipes-devtools/go/go-1.22.1.inc
+++ b/meta/recipes-devtools/go/go-1.22.2.inc
@@ -11,8 +11,8 @@ SRC_URI += "\
11 file://0004-make.bash-override-CC-when-building-dist-and-go_boot.patch \ 11 file://0004-make.bash-override-CC-when-building-dist-and-go_boot.patch \
12 file://0005-cmd-dist-separate-host-and-target-builds.patch \ 12 file://0005-cmd-dist-separate-host-and-target-builds.patch \
13 file://0006-cmd-go-make-GOROOT-precious-by-default.patch \ 13 file://0006-cmd-go-make-GOROOT-precious-by-default.patch \
14 file://0007-exec.go-filter-out-build-specific-paths-from-linker-.patch \
14 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ 15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
15 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ 16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
16 file://0001-exec.go-filter-out-build-specific-paths-from-linker-.patch \
17" 17"
18SRC_URI[main.sha256sum] = "79c9b91d7f109515a25fc3ecdaad125d67e6bdb54f6d4d98580f46799caea321" 18SRC_URI[main.sha256sum] = "374ea82b289ec738e968267cac59c7d5ff180f9492250254784b2044e90df5a9"
diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.1.bb b/meta/recipes-devtools/go/go-binary-native_1.22.2.bb
index 8d8248df8a..0f00509f03 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.22.2.bb
@@ -9,9 +9,9 @@ PROVIDES = "go-native"
9 9
10# Checksums available at https://go.dev/dl/ 10# Checksums available at https://go.dev/dl/
11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" 11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
12SRC_URI[go_linux_amd64.sha256sum] = "aab8e15785c997ae20f9c88422ee35d962c4562212bb0f879d052a35c8307c7f" 12SRC_URI[go_linux_amd64.sha256sum] = "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17"
13SRC_URI[go_linux_arm64.sha256sum] = "e56685a245b6a0c592fc4a55f0b7803af5b3f827aaa29feab1f40e491acf35b8" 13SRC_URI[go_linux_arm64.sha256sum] = "36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1"
14SRC_URI[go_linux_ppc64le.sha256sum] = "ac775e19d93cc1668999b77cfe8c8964abfbc658718feccfe6e0eb87663cd668" 14SRC_URI[go_linux_ppc64le.sha256sum] = "251a8886c5113be6490bdbb955ddee98763b49c9b1bf4c8364c02d3b482dab00"
15 15
16UPSTREAM_CHECK_URI = "https://golang.org/dl/" 16UPSTREAM_CHECK_URI = "https://golang.org/dl/"
17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" 17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.1.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb
index 7ac9449e47..7ac9449e47 100644
--- a/meta/recipes-devtools/go/go-cross-canadian_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.22.1.bb b/meta/recipes-devtools/go/go-cross_1.22.2.bb
index 80b5a03f6c..80b5a03f6c 100644
--- a/meta/recipes-devtools/go/go-cross_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-cross_1.22.2.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.1.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.2.bb
index 1857c8a577..1857c8a577 100644
--- a/meta/recipes-devtools/go/go-crosssdk_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-crosssdk_1.22.2.bb
diff --git a/meta/recipes-devtools/go/go-native_1.22.1.bb b/meta/recipes-devtools/go/go-native_1.22.2.bb
index ddf25b2c9b..ddf25b2c9b 100644
--- a/meta/recipes-devtools/go/go-native_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-native_1.22.2.bb
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc
index 3f1e795dd9..413cf6d33f 100644
--- a/meta/recipes-devtools/go/go-runtime.inc
+++ b/meta/recipes-devtools/go/go-runtime.inc
@@ -15,7 +15,7 @@ export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-pr
15export GOCACHE = "${B}/.cache" 15export GOCACHE = "${B}/.cache"
16 16
17GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" 17GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}"
18GO_SHLIB_LDFLAGS ?= '-ldflags="--linkmode=external -extldflags '${GO_EXTLDFLAGS}'"' 18GO_SHLIB_LDFLAGS ?= '-ldflags="-extldflags '${GO_EXTLDFLAGS}'"'
19 19
20do_configure() { 20do_configure() {
21 : 21 :
diff --git a/meta/recipes-devtools/go/go-runtime_1.22.1.bb b/meta/recipes-devtools/go/go-runtime_1.22.2.bb
index 63464a1501..63464a1501 100644
--- a/meta/recipes-devtools/go/go-runtime_1.22.1.bb
+++ b/meta/recipes-devtools/go/go-runtime_1.22.2.bb
diff --git a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch b/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
deleted file mode 100644
index 35f3a98d80..0000000000
--- a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From 619991feab04f331d081a91243434ccd859f611d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 23 Nov 2020 19:22:04 +0000
4Subject: [PATCH 7/9] exec.go: do not write linker flags into buildids
5
6The flags can contain build-specific paths, breaking reproducibility.
7
8To make this acceptable to upstream, we probably need to trim the flags,
9removing those known to be buildhost-specific.
10
11Upstream-Status: Inappropriate [needs upstream discussion]
12
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
15---
16 src/cmd/go/internal/work/exec.go | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
20index 544df461a2..75df5a4aa8 100644
21--- a/src/cmd/go/internal/work/exec.go
22+++ b/src/cmd/go/internal/work/exec.go
23@@ -1374,7 +1374,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
24 }
25
26 // Toolchain-dependent configuration, shared with b.linkSharedActionID.
27- b.printLinkerConfig(h, p)
28+ //b.printLinkerConfig(h, p)
29
30 // Input files.
31 for _, a1 := range a.Deps {
32@@ -1720,7 +1720,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID {
33 fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch)
34
35 // Toolchain-dependent configuration, shared with b.linkActionID.
36- b.printLinkerConfig(h, nil)
37+ //b.printLinkerConfig(h, nil)
38
39 // Input files.
40 for _, a1 := range a.Deps {
41--
422.44.0
43
diff --git a/meta/recipes-devtools/go/go/0001-exec.go-filter-out-build-specific-paths-from-linker-.patch b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
index c5bf28f54a..c5bf28f54a 100644
--- a/meta/recipes-devtools/go/go/0001-exec.go-filter-out-build-specific-paths-from-linker-.patch
+++ b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
diff --git a/meta/recipes-devtools/go/go_1.22.1.bb b/meta/recipes-devtools/go/go_1.22.2.bb
index 46f5fbc6be..46f5fbc6be 100644
--- a/meta/recipes-devtools/go/go_1.22.1.bb
+++ b/meta/recipes-devtools/go/go_1.22.2.bb
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.20.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
index 1f59c5ea1e..91170dfbed 100644
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.20.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
@@ -8,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;p
8 file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ 8 file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
9 " 9 "
10 10
11SRCREV = "854fbb9fe733b774981e1ffcf825b2d2ce0f8072" 11SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14 14
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.73.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb
index dc2ddf9492..3ab840b1b0 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.73.0.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
13 file://armarch.patch \ 13 file://armarch.patch \
14 " 14 "
15 15
16SRCREV = "1f30b3479528e8b62754f9047195c8e5a31f07ed" 16SRCREV = "0120e70747dcf05e716792e2e846c62eccd44319"
17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" 17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch b/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
index 48af6fc283..a5c53b6657 100644
--- a/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
+++ b/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
@@ -1,4 +1,4 @@
1From 86940d87026432683fb6741cd8a34d3b9b18e40d Mon Sep 17 00:00:00 2001 1From 3b30a9bda88374e8f03bf96e972aee5bd214b98b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 27 Nov 2020 10:11:08 +0000 3Date: Fri, 27 Nov 2020 10:11:08 +0000
4Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well 4Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 1 file changed, 4 insertions(+), 1 deletion(-) 14 1 file changed, 4 insertions(+), 1 deletion(-)
15 15
16diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp 16diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
17index ccf0959389b..1f801e83b7d 100644 17index 73724e662f9e..1ca9c73415db 100644
18--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp 18--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
19+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp 19+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
20@@ -359,7 +359,10 @@ public: 20@@ -361,7 +361,10 @@ public:
21 // name of a class shouldn't be significant. However, some of the backends 21 // name of a class shouldn't be significant. However, some of the backends
22 // accidentally rely on this behaviour, so it will have to stay like this 22 // accidentally rely on this behaviour, so it will have to stay like this
23 // until they are fixed. 23 // until they are fixed.
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index e1d5fc47a1..e7fa88b30e 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -17,14 +17,14 @@ inherit cmake pkgconfig
17# could be 'rcX' or 'git' or empty ( for release ) 17# could be 'rcX' or 'git' or empty ( for release )
18VER_SUFFIX = "" 18VER_SUFFIX = ""
19 19
20PV = "18.1.2${VER_SUFFIX}" 20PV = "18.1.4${VER_SUFFIX}"
21 21
22MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" 22MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
23 23
24LLVM_RELEASE = "${PV}" 24LLVM_RELEASE = "${PV}"
25 25
26BRANCH = "release/${MAJOR_VERSION}.x" 26BRANCH = "release/${MAJOR_VERSION}.x"
27SRCREV = "26a1d6601d727a96f4301d0d8647b5a42760ae0c" 27SRCREV = "e6c3289804a67ea0bb6a86fadbe454dd93b8d855"
28SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \ 28SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
29 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ 29 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
30 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ 30 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index 4b27528f64..a40d79c864 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -11,9 +11,9 @@ inherit autotools pkgconfig update-alternatives
11DEPENDS = "zlib e2fsprogs util-linux" 11DEPENDS = "zlib e2fsprogs util-linux"
12RDEPENDS:mtd-utils-tests += "bash" 12RDEPENDS:mtd-utils-tests += "bash"
13 13
14PV = "2.1.6" 14PV = "2.2.0"
15 15
16SRCREV = "219e741f40f4801bae263e0b581b64888d887b4a" 16SRCREV = "31e990c56aba7584cde310685d663bb122f16003"
17SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master" 17SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/ninja/ninja_1.11.1.bb b/meta/recipes-devtools/ninja/ninja_1.12.0.bb
index 8e297ec4d4..ef7f80d0ae 100644
--- a/meta/recipes-devtools/ninja/ninja_1.11.1.bb
+++ b/meta/recipes-devtools/ninja/ninja_1.12.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
6 6
7DEPENDS = "re2c-native ninja-native" 7DEPENDS = "re2c-native ninja-native"
8 8
9SRCREV = "a524bf3f6bacd1b4ad85d719eed2737d8562f27a" 9SRCREV = "65d0dfcbbea6b8ca7d8a3a0f673ecb522379e43c"
10 10
11SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https" 11SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"
12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" 12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
diff --git a/meta/recipes-devtools/perl/liberror-perl_0.17029.bb b/meta/recipes-devtools/perl/liberror-perl_0.17029.bb
deleted file mode 100644
index e54bb11ccd..0000000000
--- a/meta/recipes-devtools/perl/liberror-perl_0.17029.bb
+++ /dev/null
@@ -1,48 +0,0 @@
1SUMMARY = "Error - Error/exception handling in an OO-ish way"
2DESCRIPTION = "The Error package provides two interfaces. Firstly \
3Error provides a procedural interface to exception handling. \
4Secondly Error is a base class for errors/exceptions that can \
5either be thrown, for subsequent catch, or can simply be recorded."
6HOMEPAGE = "https://github.com/shlomif/perl-error.pm"
7SECTION = "libs"
8LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9
10LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100"
11
12
13DEPENDS += "perl"
14
15RDEPENDS:${PN} += " \
16 perl-module-carp \
17 perl-module-exporter \
18 perl-module-scalar-util \
19 perl-module-overload \
20 perl-module-strict \
21 perl-module-vars \
22 perl-module-warnings \
23"
24
25RDEPENDS:${PN}-ptest += " \
26 perl-module-base \
27 perl-module-file-spec \
28 perl-module-io-handle \
29 perl-module-ipc-open3 \
30 perl-module-lib \
31 perl-module-test-more \
32"
33
34SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz"
35
36SRC_URI[md5sum] = "6732b1c6207e4a9a3e2987c88368039a"
37SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc"
38
39S = "${WORKDIR}/Error-${PV}"
40
41inherit cpan ptest-perl
42
43do_install:prepend() {
44 # test requires "-T" (taint) command line option
45 rm -rf ${B}/t/pod-coverage.t
46}
47
48BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/liburi-perl_5.27.bb b/meta/recipes-devtools/perl/liburi-perl_5.28.bb
index e5db7b3cfe..1fc0efd3e5 100644
--- a/meta/recipes-devtools/perl/liburi-perl_5.27.bb
+++ b/meta/recipes-devtools/perl/liburi-perl_5.28.bb
@@ -12,7 +12,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \
12 file://0001-Skip-TODO-test-cases-that-fail.patch \ 12 file://0001-Skip-TODO-test-cases-that-fail.patch \
13 " 13 "
14 14
15SRC_URI[sha256sum] = "11962d8a8a8496906e5d34774affc235a1c95c112d390c0b4171f3e91e9e2a97" 15SRC_URI[sha256sum] = "e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765"
16 16
17S = "${WORKDIR}/URI-${PV}" 17S = "${WORKDIR}/URI-${PV}"
18 18
diff --git a/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb b/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb
index 33d69451bb..e98458ea55 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb
@@ -20,7 +20,7 @@ SRC_URI = "\
20 file://pkg-config-native.in \ 20 file://pkg-config-native.in \
21 file://pkg-config-esdk.in \ 21 file://pkg-config-esdk.in \
22" 22"
23SRC_URI[sha256sum] = "3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5" 23SRC_URI[sha256sum] = "b06ff63a83536aa8c2f6422fa80ad45e4833f590266feb14eaddfe1d4c853c69"
24 24
25inherit autotools 25inherit autotools
26 26
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 025cf0fc9c..c70b509233 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \
14 file://older-glibc-symbols.patch" 14 file://older-glibc-symbols.patch"
15SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" 15SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
16 16
17SRCREV = "516a0a3c4b46f046895d27bfa019d685fe462dfa" 17SRCREV = "0d292df61aeb886ae8ca33d9edc3b6d0ff5c0f0f"
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19PV = "1.9.0+git" 19PV = "1.9.0+git"
20 20
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
index e54926ae6d..87a2e88a1a 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python-cython.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
9PYPI_PACKAGE = "Cython" 9PYPI_PACKAGE = "Cython"
10BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
11 11
12SRC_URI[sha256sum] = "8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6" 12SRC_URI[sha256sum] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99"
13UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" 13UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
14 14
15inherit pypi 15inherit pypi
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc
index 530ff1c7c3..7b269f2940 100644
--- a/meta/recipes-devtools/python/python-pyasn1.inc
+++ b/meta/recipes-devtools/python/python-pyasn1.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" 4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
5 5
6SRC_URI[sha256sum] = "6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c" 6SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
7 7
8RDEPENDS:${PN}:class-target += " \ 8RDEPENDS:${PN}:class-target += " \
9 python3-codecs \ 9 python3-codecs \
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc
deleted file mode 100644
index e9dd97ec1c..0000000000
--- a/meta/recipes-devtools/python/python-testtools.inc
+++ /dev/null
@@ -1,27 +0,0 @@
1SUMMARY = "Extensions to the Python standard library unit testing framework"
2HOMEPAGE = "https://pypi.org/project/testtools/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
6
7inherit pypi
8
9SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
10
11DEPENDS += " \
12 python3-pbr \
13 "
14
15# Satisfy setup.py 'setup_requires'
16DEPENDS += " \
17 python3-pbr-native \
18 "
19
20RDEPENDS:${PN} += "\
21 python3-doctest \
22 python3-extras \
23 python3-pbr \
24 python3-six \
25 "
26
27BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python3-beartype_0.17.2.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
index 05fd74543b..04fbd3139f 100644
--- a/meta/recipes-devtools/python/python3-beartype_0.17.2.bb
+++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://beartype.readthedocs.io"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
6 6
7SRC_URI[sha256sum] = "e911e1ae7de4bccd15745f7643609d8732f64de5c2fb844e89cbbed1c5a8d495" 7SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
8 8
9inherit setuptools3 pypi 9inherit setuptools3 pypi
10 10
diff --git a/meta/recipes-devtools/python/python3-build_1.1.1.bb b/meta/recipes-devtools/python/python3-build_1.2.1.bb
index 7fc3eef91b..0156861201 100644
--- a/meta/recipes-devtools/python/python3-build_1.1.1.bb
+++ b/meta/recipes-devtools/python/python3-build_1.2.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/build"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
5 5
6SRC_URI[sha256sum] = "8eea65bb45b1aac2e734ba2cc8dad3a6d97d97901a395bd0ed3e7b46953d2a31" 6SRC_URI[sha256sum] = "526263f4870c26f26c433545579475377b2b7588b6f1eac76a001e873ae3e19d"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core
9 9
diff --git a/meta/recipes-devtools/python/python3-cython_3.0.8.bb b/meta/recipes-devtools/python/python3-cython_3.0.10.bb
index 07638d7ad7..07638d7ad7 100644
--- a/meta/recipes-devtools/python/python3-cython_3.0.8.bb
+++ b/meta/recipes-devtools/python/python3-cython_3.0.10.bb
diff --git a/meta/recipes-devtools/python/python3-dtschema_2024.2.bb b/meta/recipes-devtools/python/python3-dtschema_2024.4.bb
index 0e911dfb3d..9583cd57b9 100644
--- a/meta/recipes-devtools/python/python3-dtschema_2024.2.bb
+++ b/meta/recipes-devtools/python/python3-dtschema_2024.4.bb
@@ -7,7 +7,7 @@ inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "dtschema" 8PYPI_PACKAGE = "dtschema"
9 9
10SRC_URI[sha256sum] = "df4e5afb35bda93894209d2465e87fb7103f1a95a05909ebcb594fc4cf4fdd1e" 10SRC_URI[sha256sum] = "18dd1d34b4a5e451291e5444e9ceb4a6febc605871cdaef22673b6f80aa4a131"
11 11
12DEPENDS += "python3-setuptools-scm-native" 12DEPENDS += "python3-setuptools-scm-native"
13RDEPENDS:${PN} += "\ 13RDEPENDS:${PN} += "\
diff --git a/meta/recipes-devtools/python/python3-git_3.1.42.bb b/meta/recipes-devtools/python/python3-git_3.1.43.bb
index 19885a58c7..45c988117b 100644
--- a/meta/recipes-devtools/python/python3-git_3.1.42.bb
+++ b/meta/recipes-devtools/python/python3-git_3.1.43.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "GitPython"
12 12
13inherit pypi python_setuptools_build_meta 13inherit pypi python_setuptools_build_meta
14 14
15SRC_URI[sha256sum] = "2d99869e0fef71a73cbd242528105af1d6c1b108c60dfabd994bf292f76c3ceb" 15SRC_URI[sha256sum] = "35f314a9f878467f5453cc1fee295c3e18e52f1b99f10f6cf5b1682e968a9e7c"
16 16
17DEPENDS += " python3-gitdb" 17DEPENDS += " python3-gitdb"
18 18
diff --git a/meta/recipes-devtools/python/python3-hatchling_1.21.1.bb b/meta/recipes-devtools/python/python3-hatchling_1.24.1.bb
index 09d936aa7d..fc8d953281 100644
--- a/meta/recipes-devtools/python/python3-hatchling_1.21.1.bb
+++ b/meta/recipes-devtools/python/python3-hatchling_1.24.1.bb
@@ -8,7 +8,7 @@ inherit pypi python_hatchling
8DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native" 8DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
9DEPENDS:remove:class-native = "python3-hatchling-native" 9DEPENDS:remove:class-native = "python3-hatchling-native"
10 10
11SRC_URI[sha256sum] = "bba440453a224e7d4478457fa2e8d8c3633765bafa02975a6b53b9bf917980bc" 11SRC_URI[sha256sum] = "51f861891e98c4044eb455163a737e5d2328d7aa74890b182db2d80fee22a497"
12 12
13do_compile:prepend() { 13do_compile:prepend() {
14 export PYTHONPATH=src 14 export PYTHONPATH=src
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb b/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb
index a17abe58c0..af7facfe7e 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
13 file://test_rle.py \ 13 file://test_rle.py \
14 " 14 "
15 15
16SRC_URI[sha256sum] = "1e31210951511b24ce8b3b6e04d791c466385a30ac3af571bf2223954b025d77" 16SRC_URI[sha256sum] = "ebff09d7fa4f1fb6a855a812baf17e578b4481b7b70ec6d96496210d1a4c6c35"
17 17
18RDEPENDS:${PN} += " \ 18RDEPENDS:${PN} += " \
19 python3-attrs \ 19 python3-attrs \
diff --git a/meta/recipes-devtools/python/python3-idna_3.6.bb b/meta/recipes-devtools/python/python3-idna_3.7.bb
index 47c080cdf8..729aff1c46 100644
--- a/meta/recipes-devtools/python/python3-idna_3.6.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.7.bb
@@ -1,9 +1,9 @@
1SUMMARY = "Internationalised Domain Names in Applications" 1SUMMARY = "Internationalised Domain Names in Applications"
2HOMEPAGE = "https://github.com/kjd/idna" 2HOMEPAGE = "https://github.com/kjd/idna"
3LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU" 3LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=dbec47b98e1469f6a104c82ff9698cee" 4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
5 5
6SRC_URI[sha256sum] = "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca" 6SRC_URI[sha256sum] = "028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core
9 9
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_7.0.1.bb b/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
index 0d3f0a5001..fdb37cecef 100644
--- a/meta/recipes-devtools/python/python3-importlib-metadata_7.0.1.bb
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
@@ -8,7 +8,7 @@ inherit pypi python_setuptools_build_meta
8PYPI_PACKAGE = "importlib_metadata" 8PYPI_PACKAGE = "importlib_metadata"
9UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/" 9UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
10 10
11SRC_URI[sha256sum] = "f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc" 11SRC_URI[sha256sum] = "b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2"
12 12
13S = "${WORKDIR}/importlib_metadata-${PV}" 13S = "${WORKDIR}/importlib_metadata-${PV}"
14 14
diff --git a/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb b/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
index eb63509fce..4ee0dd9b12 100644
--- a/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
@@ -11,6 +11,6 @@ inherit pypi python_hatchling
11 11
12PYPI_PACKAGE = "jsonschema_specifications" 12PYPI_PACKAGE = "jsonschema_specifications"
13 13
14DEPENDS += "${PYTHON_PN}-hatch-vcs-native" 14DEPENDS += "python3-hatch-vcs-native"
15 15
16BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-libarchive-c_5.0.bb b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
index 6ac86fc7a1..4e318e52f4 100644
--- a/meta/recipes-devtools/python/python3-libarchive-c_5.0.bb
+++ b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
@@ -9,7 +9,7 @@ PYPI_PACKAGE = "libarchive-c"
9 9
10inherit pypi setuptools3 10inherit pypi setuptools3
11 11
12SRC_URI[sha256sum] = "d673f56673d87ec740d1a328fa205cafad1d60f5daca4685594deb039d32b159" 12SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721"
13 13
14RDEPENDS:${PN} += "\ 14RDEPENDS:${PN} += "\
15 libarchive \ 15 libarchive \
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb b/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb
index 7059cf76ee..f36336b592 100644
--- a/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb
+++ b/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/nexB/license-expression"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6 6
7SRC_URI[sha256sum] = "599928edd995c43fc335e0af342076144dc71cb858afa1ed9c1c30c4e81794f5" 7SRC_URI[sha256sum] = "1295406f736b4f395ff069aec1cebfad53c0fcb3cf57df0f5ec58fc7b905aea5"
8 8
9inherit pypi ptest python_setuptools_build_meta 9inherit pypi ptest python_setuptools_build_meta
10 10
diff --git a/meta/recipes-devtools/python/python3-lxml_5.0.0.bb b/meta/recipes-devtools/python/python3-lxml_5.2.1.bb
index 66cb8b0938..44a10505f3 100644
--- a/meta/recipes-devtools/python/python3-lxml_5.0.0.bb
+++ b/meta/recipes-devtools/python/python3-lxml_5.2.1.bb
@@ -18,11 +18,10 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
18 18
19DEPENDS += "libxml2 libxslt" 19DEPENDS += "libxml2 libxslt"
20 20
21SRC_URI[sha256sum] = "2219cbf790e701acf9a21a31ead75f983e73daf0eceb9da6990212e4d20ebefe" 21SRC_URI[sha256sum] = "3f7765e69bbce0906a7c74d5fe46d2c7a7596147318dbc08e4a2431f3060e306"
22 22
23SRC_URI += "${PYPI_SRC_URI}" 23SRC_URI += "${PYPI_SRC_URI}"
24inherit pkgconfig pypi setuptools3 24inherit pkgconfig pypi setuptools3
25PYPI_PACKAGE_EXT = "zip"
26 25
27# {standard input}: Assembler messages: 26# {standard input}: Assembler messages:
28# {standard input}:1488805: Error: branch out of range 27# {standard input}:1488805: Error: branch out of range
diff --git a/meta/recipes-devtools/python/python3-mako_1.3.2.bb b/meta/recipes-devtools/python/python3-mako_1.3.3.bb
index 5b7df9192f..7545cbef99 100644
--- a/meta/recipes-devtools/python/python3-mako_1.3.2.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.3.3.bb
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "Mako"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
11SRC_URI[sha256sum] = "2a0c8ad7f6274271b3bb7467dd37cf9cc6dab4bc19cb69a4ef10669402de698e" 11SRC_URI[sha256sum] = "e16c01d9ab9c11f7290eef1cfefc093fb5a45ee4a3da09e2fec2e4d1bae54e73"
12 12
13RDEPENDS:${PN} = "python3-html \ 13RDEPENDS:${PN} = "python3-html \
14 python3-markupsafe \ 14 python3-markupsafe \
diff --git a/meta/recipes-devtools/python/python3-markdown_3.5.2.bb b/meta/recipes-devtools/python/python3-markdown_3.6.bb
index 1df7a98183..7c64837395 100644
--- a/meta/recipes-devtools/python/python3-markdown_3.5.2.bb
+++ b/meta/recipes-devtools/python/python3-markdown_3.6.bb
@@ -1,12 +1,12 @@
1SUMMARY = "A Python implementation of John Gruber's Markdown." 1SUMMARY = "A Python implementation of John Gruber's Markdown."
2HOMEPAGE = "https://python-markdown.github.io/" 2HOMEPAGE = "https://python-markdown.github.io/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed" 4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ec58cdf7cfed06a21f7a9362627a5480"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "Markdown" 8PYPI_PACKAGE = "Markdown"
9SRC_URI[sha256sum] = "e1ac7b3dc550ee80e602e71c1d168002f062e49f1b11e26a36264dafd4df2ef8" 9SRC_URI[sha256sum] = "ed4f41f6daecbeeb96e576ce414c41d2d876daa9a16cb35fa8ed8c2ddfad0224"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
diff --git a/meta/recipes-devtools/python/python3-packaging_23.2.bb b/meta/recipes-devtools/python/python3-packaging_24.0.bb
index 2d35936615..0942eeb15e 100644
--- a/meta/recipes-devtools/python/python3-packaging_23.2.bb
+++ b/meta/recipes-devtools/python/python3-packaging_24.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/packaging"
3LICENSE = "Apache-2.0 | BSD-2-Clause" 3LICENSE = "Apache-2.0 | BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
5 5
6SRC_URI[sha256sum] = "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5" 6SRC_URI[sha256sum] = "eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core
9 9
diff --git a/meta/recipes-devtools/python/python3-pluggy_1.4.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
index 76acc4ae27..9822cd59f3 100644
--- a/meta/recipes-devtools/python/python3-pluggy_1.4.0.bb
+++ b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5 5
6SRC_URI[sha256sum] = "8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be" 6SRC_URI[sha256sum] = "2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"
7 7
8DEPENDS += "python3-setuptools-scm-native" 8DEPENDS += "python3-setuptools-scm-native"
9RDEPENDS:${PN} += "python3-importlib-metadata \ 9RDEPENDS:${PN} += "python3-importlib-metadata \
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.5.1.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
index 0519ba5edb..0519ba5edb 100644
--- a/meta/recipes-devtools/python/python3-pyasn1_0.5.1.bb
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
diff --git a/meta/recipes-devtools/python/python3-pycparser_2.21.bb b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
index 00deceebf9..9a5abc42bd 100644
--- a/meta/recipes-devtools/python/python3-pycparser_2.21.bb
+++ b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
@@ -1,9 +1,9 @@
1SUMMARY = "Parser of the C language, written in pure Python" 1SUMMARY = "Parser of the C language, written in pure Python"
2HOMEPAGE = "https://github.com/eliben/pycparser" 2HOMEPAGE = "https://github.com/eliben/pycparser"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=2c28cdeabcb88f5843d934381b4b4fea" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=9761c3ffee7ba99c60dca0408fd3262b"
5 5
6SRC_URI[sha256sum] = "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206" 6SRC_URI[sha256sum] = "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.30.bb b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
index 837edb7165..551fed6876 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "PD" 4LICENSE = "PD"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
6 6
7SRC_URI[sha256sum] = "2fc92b0d534f8b081f58c7c370967379123d8e00984deb53c209364efd575b40" 7SRC_URI[sha256sum] = "c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99"
8 8
9PYPI_PACKAGE = "pyelftools" 9PYPI_PACKAGE = "pyelftools"
10 10
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.46.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb
index 73a393051a..3d83a8a1c2 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.46.0.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb
@@ -19,7 +19,7 @@ DEPENDS += "python3 glib-2.0"
19SRCNAME="pygobject" 19SRCNAME="pygobject"
20 20
21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz" 21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz"
22SRC_URI[sha256sum] = "426008b2dad548c9af1c7b03b59df0440fde5c33f38fb5406b103a43d653cafc" 22SRC_URI[sha256sum] = "0794aeb4a9be31a092ac20621b5f54ec280f9185943d328b105cdae6298ad1a7"
23 23
24S = "${WORKDIR}/${SRCNAME}-${PV}" 24S = "${WORKDIR}/${SRCNAME}-${PV}"
25 25
diff --git a/meta/recipes-devtools/python/python3-pyopenssl_24.0.0.bb b/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb
index 9ea3075482..e714ad838e 100644
--- a/meta/recipes-devtools/python/python3-pyopenssl_24.0.0.bb
+++ b/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6DEPENDS += "openssl python3-cryptography" 6DEPENDS += "openssl python3-cryptography"
7 7
8SRC_URI[sha256sum] = "6aa33039a93fffa4563e655b61d11364d01264be8ccb49906101e02a334530bf" 8SRC_URI[sha256sum] = "cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f"
9 9
10PYPI_PACKAGE = "pyOpenSSL" 10PYPI_PACKAGE = "pyOpenSSL"
11inherit pypi setuptools3 11inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
index 6f34091c86..64210ade53 100644
--- a/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb
+++ b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
@@ -10,7 +10,7 @@ BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
10LICENSE = "MIT" 10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" 11LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
12 12
13SRC_URI[sha256sum] = "ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db" 13SRC_URI[sha256sum] = "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"
14 14
15UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar" 15UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
16 16
diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.11.0.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb
index 44fa1e2b80..0590be705f 100644
--- a/meta/recipes-devtools/python/python3-pytest-subtests_0.11.0.bb
+++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb
@@ -7,7 +7,7 @@ BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
9 9
10SRC_URI[sha256sum] = "51865c88457545f51fb72011942f0a3c6901ee9e24cbfb6d1b9dc1348bafbe37" 10SRC_URI[sha256sum] = "d6605dcb88647e0b7c1889d027f8ef1c17d7a2c60927ebfdc09c7b0d8120476d"
11 11
12inherit pypi python_setuptools_build_meta 12inherit pypi python_setuptools_build_meta
13 13
diff --git a/meta/recipes-devtools/python/python3-pytest_8.0.2.bb b/meta/recipes-devtools/python/python3-pytest_8.1.1.bb
index 57e979e909..b1cf23fbc4 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.1.1.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
7 7
8SRC_URI[sha256sum] = "d4051d623a2e0b7e51960ba963193b09ce6daeb9759a451844a21e4ddedfc1bd" 8SRC_URI[sha256sum] = "ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044"
9 9
10DEPENDS += "python3-setuptools-scm-native" 10DEPENDS += "python3-setuptools-scm-native"
11 11
diff --git a/meta/recipes-devtools/python/python3-referencing_0.33.0.bb b/meta/recipes-devtools/python/python3-referencing_0.34.0.bb
index 5b50932264..6fbd10d9cf 100644
--- a/meta/recipes-devtools/python/python3-referencing_0.33.0.bb
+++ b/meta/recipes-devtools/python/python3-referencing_0.34.0.bb
@@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/python-jsonschema/referencing"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2" 4LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2"
5 5
6SRC_URI[sha256sum] = "c775fedf74bc0f9189c2a3be1c12fd03e8c23f4d371dce795df44e06c5b412f7" 6SRC_URI[sha256sum] = "5773bd84ef41799a5a8ca72dc34590c041eb01bf9aa02632b4a973fb0181a844"
7 7
8inherit pypi python_hatchling 8inherit pypi python_hatchling
9 9
10DEPENDS += "${PYTHON_PN}-hatch-vcs-native" 10DEPENDS += "python3-hatch-vcs-native"
11 11
12RDEPENDS:${PN} += "python3-rpds-py" 12RDEPENDS:${PN} += "python3-rpds-py"
13 13
diff --git a/meta/recipes-devtools/python/python3-scons_4.6.0.bb b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
index c3cc3f0373..bba6c799d4 100644
--- a/meta/recipes-devtools/python/python3-scons_4.6.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
6 6
7SRC_URI += " file://0001-Fix-man-page-installation.patch" 7SRC_URI += " file://0001-Fix-man-page-installation.patch"
8SRC_URI[sha256sum] = "7db28958b188b800f803c287d0680cc3ac7c422ed0b1cf9895042c52567803ec" 8SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918ec81f3"
9 9
10PYPI_PACKAGE = "SCons" 10PYPI_PACKAGE = "SCons"
11 11
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 2a3c71fb62..e227c2889c 100644
--- a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
1From 40648dfa770f9f7b9b9efa501c9ef7af96be9f2d Mon Sep 17 00:00:00 2001 1From 80fe63816eb3bfd1f5b6d354e1f2442805cff4e0 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 17 Jul 2018 10:13:38 +0800 3Date: Tue, 17 Jul 2018 10:13:38 +0800
4Subject: [PATCH] conditionally do not fetch code by easy_install 4Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -14,10 +14,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14 1 file changed, 5 insertions(+) 14 1 file changed, 5 insertions(+)
15 15
16diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py 16diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
17index 5d6fd5c..377e575 100644 17index 858fb20..62bd853 100644
18--- a/setuptools/command/easy_install.py 18--- a/setuptools/command/easy_install.py
19+++ b/setuptools/command/easy_install.py 19+++ b/setuptools/command/easy_install.py
20@@ -676,6 +676,11 @@ class easy_install(Command): 20@@ -672,6 +672,11 @@ class easy_install(Command):
21 os.path.exists(tmpdir) and _rmtree(tmpdir) 21 os.path.exists(tmpdir) and _rmtree(tmpdir)
22 22
23 def easy_install(self, spec, deps=False): 23 def easy_install(self, spec, deps=False):
diff --git a/meta/recipes-devtools/python/python3-setuptools_69.1.1.bb b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
index 77d4e0aa03..8261b09d16 100644
--- a/meta/recipes-devtools/python/python3-setuptools_69.1.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
11SRC_URI += " \ 11SRC_URI += " \
12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch" 12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
13 13
14SRC_URI[sha256sum] = "5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8" 14SRC_URI[sha256sum] = "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"
15 15
16DEPENDS += "python3" 16DEPENDS += "python3"
17 17
diff --git a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb b/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
index 79e46a02de..cc7e055632 100644
--- a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
+++ b/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
@@ -1,3 +1,20 @@
1inherit setuptools3 1SUMMARY = "Extensions to the Python standard library unit testing framework"
2require python-testtools.inc 2HOMEPAGE = "https://pypi.org/project/testtools/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
6
7DEPENDS += "python3-hatch-vcs-native"
8
9inherit pypi python_hatchling
10
11SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
12
13RDEPENDS:${PN} += "\
14 python3-doctest \
15 python3-extras \
16 python3-six \
17 "
18
19BBCLASSEXTEND = "nativesdk"
3 20
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb
index 8514a52616..357b428983 100644
--- a/meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb
+++ b/meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/trove-classifiers"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5 5
6SRC_URI[sha256sum] = "8385160a12aac69c93fff058fb613472ed773a24a27eb3cd4b144cfbdd79f38c" 6SRC_URI[sha256sum] = "49f40bb6a746b72a1cba4f8d55ee8252169cda0f70802e3fd24f04b7fb25a492"
7 7
8inherit pypi python_setuptools_build_meta ptest 8inherit pypi python_setuptools_build_meta ptest
9 9
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb
index 8698a80cc5..ad45b669ec 100644
--- a/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
15# The name on PyPi is slightly different. 15# The name on PyPi is slightly different.
16PYPI_PACKAGE = "typing_extensions" 16PYPI_PACKAGE = "typing_extensions"
17 17
18SRC_URI[sha256sum] = "b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb" 18SRC_URI[sha256sum] = "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"
19 19
20inherit pypi python_flit_core 20inherit pypi python_flit_core
21 21
diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb
new file mode 100644
index 0000000000..f89c3b629e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb
@@ -0,0 +1,16 @@
1SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)"
2HOMEPAGE = "https://github.com/aaugustin/websockets"
3
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4"
6
7inherit pypi setuptools3
8
9SRC_URI[sha256sum] = "81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"
10
11BBCLASSEXTEND = "native nativesdk"
12
13RDEPENDS:${PN} = " \
14 python3-asyncio \
15 python3-profile \
16"
diff --git a/meta/recipes-devtools/python/python3-wheel_0.42.0.bb b/meta/recipes-devtools/python/python3-wheel_0.43.0.bb
index 807888e6c0..ba309ae5fc 100644
--- a/meta/recipes-devtools/python/python3-wheel_0.42.0.bb
+++ b/meta/recipes-devtools/python/python3-wheel_0.43.0.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf"
6 6
7SRC_URI[sha256sum] = "c45be39f7882c9d34243236f2d63cbd58039e360f85d0913425fbd7ceea617a8" 7SRC_URI[sha256sum] = "465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85"
8 8
9inherit python_flit_core pypi 9inherit python_flit_core pypi
10 10
diff --git a/meta/recipes-devtools/python/python3-zipp_3.17.0.bb b/meta/recipes-devtools/python/python3-zipp_3.18.1.bb
index e9e220e315..e43432469d 100644
--- a/meta/recipes-devtools/python/python3-zipp_3.17.0.bb
+++ b/meta/recipes-devtools/python/python3-zipp_3.18.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jaraco/zipp"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
5 5
6SRC_URI[sha256sum] = "84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0" 6SRC_URI[sha256sum] = "2884ed22e7d8961de1c9a05142eb69a247f120291bc0206a00a7642f09b5b715"
7 7
8DEPENDS += "python3-setuptools-scm-native" 8DEPENDS += "python3-setuptools-scm-native"
9 9
diff --git a/meta/recipes-devtools/python/python3/0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch b/meta/recipes-devtools/python/python3/0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch
deleted file mode 100644
index 598ef08cc4..0000000000
--- a/meta/recipes-devtools/python/python3/0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From d07ca7fbd874e230dec4d4c6d650a66ea2a9008e Mon Sep 17 00:00:00 2001
2From: Sebastian Pipping <sebastian@pipping.org>
3Date: Wed, 7 Feb 2024 15:32:45 +0100
4Subject: [PATCH] test_xml_etree.py: Fix for Expat >=2.6.0 with reparse
5 deferral
6
7Upstream-Status: Submitted [https://github.com/python/cpython/pull/115138]
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Lib/test/test_xml_etree.py | 10 ++++++----
11 .../2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst | 1 +
12 2 files changed, 7 insertions(+), 4 deletions(-)
13 create mode 100644 Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst
14
15diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
16index b50898f..4578367 100644
17--- a/Lib/test/test_xml_etree.py
18+++ b/Lib/test/test_xml_etree.py
19@@ -1403,6 +1403,7 @@ class XMLPullParserTest(unittest.TestCase):
20 def test_simple_xml(self):
21 for chunk_size in (None, 1, 5):
22 with self.subTest(chunk_size=chunk_size):
23+ expected_events = []
24 parser = ET.XMLPullParser()
25 self.assert_event_tags(parser, [])
26 self._feed(parser, "<!-- comment -->\n", chunk_size)
27@@ -1412,16 +1413,17 @@ class XMLPullParserTest(unittest.TestCase):
28 chunk_size)
29 self.assert_event_tags(parser, [])
30 self._feed(parser, ">\n", chunk_size)
31- self.assert_event_tags(parser, [('end', 'element')])
32+ expected_events += [('end', 'element')]
33 self._feed(parser, "<element>text</element>tail\n", chunk_size)
34 self._feed(parser, "<empty-element/>\n", chunk_size)
35- self.assert_event_tags(parser, [
36+ expected_events += [
37 ('end', 'element'),
38 ('end', 'empty-element'),
39- ])
40+ ]
41 self._feed(parser, "</root>\n", chunk_size)
42- self.assert_event_tags(parser, [('end', 'root')])
43+ expected_events += [('end', 'root')]
44 self.assertIsNone(parser.close())
45+ self.assert_event_tags(parser, expected_events)
46
47 def test_feed_while_iterating(self):
48 parser = ET.XMLPullParser()
49diff --git a/Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst b/Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst
50new file mode 100644
51index 0000000..4dc9c13
52--- /dev/null
53+++ b/Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst
54@@ -0,0 +1 @@
55+Fix etree XMLPullParser tests for Expat >=2.6.0 with reparse deferral
diff --git a/meta/recipes-devtools/python/python3_3.12.2.bb b/meta/recipes-devtools/python/python3_3.12.3.bb
index f837f05af4..b49a58a101 100644
--- a/meta/recipes-devtools/python/python3_3.12.2.bb
+++ b/meta/recipes-devtools/python/python3_3.12.3.bb
@@ -30,14 +30,13 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
30 file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \ 30 file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
31 file://0001-test_storlines-skip-due-to-load-variability.patch \ 31 file://0001-test_storlines-skip-due-to-load-variability.patch \
32 file://0001-gh-114492-Initialize-struct-termios-before-calling-t.patch \ 32 file://0001-gh-114492-Initialize-struct-termios-before-calling-t.patch \
33 file://0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch \
34 " 33 "
35 34
36SRC_URI:append:class-native = " \ 35SRC_URI:append:class-native = " \
37 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ 36 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
38 " 37 "
39 38
40SRC_URI[sha256sum] = "be28112dac813d2053545c14bf13a16401a21877f1a69eb6ea5d84c4a0f3d870" 39SRC_URI[sha256sum] = "56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1"
41 40
42# exclude pre-releases for both python 2.x and 3.x 41# exclude pre-releases for both python 2.x and 3.x
43UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" 42UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
diff --git a/meta/recipes-devtools/repo/repo_2.42.bb b/meta/recipes-devtools/repo/repo_2.45.bb
index 9bb5000fab..81bf31754b 100644
--- a/meta/recipes-devtools/repo/repo_2.42.bb
+++ b/meta/recipes-devtools/repo/repo_2.45.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
11 11
12SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \ 12SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
13 " 13 "
14SRCREV = "5554572f02537b8646139d59ab520e59e1d5f7b3" 14SRCREV = "73356f1d5ccbebf5a33e5e9aa1ba06c5f5437fed"
15 15
16MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git" 16MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
17 17
diff --git a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
index 96fe57dfeb..25aa69d7da 100644
--- a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
@@ -1,11 +1,10 @@
1From ecc45e3ae837ab50603088dcc8fd2f8e67a7ece6 Mon Sep 17 00:00:00 2001 1From f4cf90b5a298d6a3199e8b4c07f520aaf593ce2b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 9 Mar 2017 18:54:02 +0200 3Date: Thu, 9 Mar 2017 18:54:02 +0200
4Subject: [PATCH] Add a color setting for mips64_n32 binaries 4Subject: [PATCH] Add a color setting for mips64_n32 binaries
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9--- 8---
10 build/rpmfc.c | 4 ++++ 9 build/rpmfc.c | 4 ++++
11 rpmrc.in | 2 ++ 10 rpmrc.in | 2 ++
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
index 5053caae33..e4edc884b1 100644
--- a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
@@ -1,4 +1,4 @@
1From ca4655f36c3c7883eb50381902890b23f0e8aaab Mon Sep 17 00:00:00 2001 1From c39a074ff3c4d21c100d387661c7d725b5eae7b0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 29 Nov 2023 14:06:15 +0100 3Date: Wed, 29 Nov 2023 14:06:15 +0100
4Subject: [PATCH] CMakeLists.txt: look for lua with pkg-config rather than 4Subject: [PATCH] CMakeLists.txt: look for lua with pkg-config rather than
@@ -8,16 +8,15 @@ Otherwise cmake will try to find libm, badly, and fail.
8 8
9Upstream-Status: Inappropriate [oe-core specific] 9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de> 10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12--- 11---
13 CMakeLists.txt | 2 +- 12 CMakeLists.txt | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/CMakeLists.txt b/CMakeLists.txt 15diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 7f0630453..d0ea565f3 100644 16index 4a383ceba..ed847c09a 100644
18--- a/CMakeLists.txt 17--- a/CMakeLists.txt
19+++ b/CMakeLists.txt 18+++ b/CMakeLists.txt
20@@ -187,7 +187,7 @@ set(REQFUNCS 19@@ -190,7 +190,7 @@ set(REQFUNCS
21 ) 20 )
22 21
23 find_package(PkgConfig REQUIRED) 22 find_package(PkgConfig REQUIRED)
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch
deleted file mode 100644
index db83b176b4..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 3c2e529c6cc1bae4bc94cbed7358c6e0cdd2de02 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 16 Jan 2024 13:43:36 +0100
4Subject: [PATCH] CMakeLists.txt: restore readline support as an explicit
5 option
6
7This was lost in autotools -> cmake transition. The particular
8reason to make it explicit is that readline is gpl version 3
9licensed, and in some builds components under that license
10need to be excluded.
11
12Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/2852]
13Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14---
15 CMakeLists.txt | 7 ++++++-
16 1 file changed, 6 insertions(+), 1 deletion(-)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 0a474106e..89e27417f 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -31,6 +31,7 @@ option(WITH_AUDIT "Build with audit support" ON)
23 option(WITH_FSVERITY "Build with fsverity support" OFF)
24 option(WITH_IMAEVM "Build with IMA support" OFF)
25 option(WITH_FAPOLICYD "Build with fapolicyd support" ON)
26+option(WITH_READLINE "Build with readline support" ON)
27
28 set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
29 set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
30@@ -193,7 +194,11 @@ find_package(BZip2)
31 find_package(Iconv)
32
33 pkg_check_modules(POPT REQUIRED IMPORTED_TARGET popt)
34-pkg_check_modules(READLINE IMPORTED_TARGET readline)
35+
36+if (WITH_READLINE)
37+ pkg_check_modules(READLINE REQUIRED IMPORTED_TARGET readline)
38+endif()
39+
40 pkg_check_modules(ZSTD IMPORTED_TARGET libzstd>=1.3.8)
41 pkg_check_modules(LIBELF IMPORTED_TARGET libelf)
42 pkg_check_modules(LIBDW IMPORTED_TARGET libdw)
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
index df5543873c..d0ed711086 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
@@ -1,4 +1,4 @@
1From d77429bf20d138ec8ce577c0080cae1f1bc2aa6f Mon Sep 17 00:00:00 2001 1From 86e585cc0dd06dfa20f584af8b59d52a59accb45 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 9 Jan 2017 18:52:11 +0200 3Date: Mon, 9 Jan 2017 18:52:11 +0200
4Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in 4Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in
@@ -9,7 +9,6 @@ hand produces rpms that way by design.
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12
13--- 12---
14 build/pack.c | 4 ---- 13 build/pack.c | 4 ----
15 1 file changed, 4 deletions(-) 14 1 file changed, 4 deletions(-)
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index b056d19741..b571a0ae8c 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -1,4 +1,4 @@
1From 7948f21e08bc7552b281ed0098a9c8099d2370cb Mon Sep 17 00:00:00 2001 1From 73d6841d9ef2a8ac7bd63f9645a3efe8038dfdd4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 27 Feb 2017 09:43:30 +0200 3Date: Mon, 27 Feb 2017 09:43:30 +0200
4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for 4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
@@ -6,19 +6,18 @@ Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
6 6
7Upstream-Status: Denied [https://github.com/rpm-software-management/rpm/pull/263] 7Upstream-Status: Denied [https://github.com/rpm-software-management/rpm/pull/263]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
10--- 9---
11 CMakeLists.txt | 2 +- 10 CMakeLists.txt | 2 +-
12 macros.in | 2 +- 11 macros.in | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
14 13
15diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
16index 2767915fb..7f0630453 100644 15index 7808115c1..4a383ceba 100644
17--- a/CMakeLists.txt 16--- a/CMakeLists.txt
18+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
19@@ -32,7 +32,7 @@ option(WITH_FSVERITY "Build with fsverity support" OFF) 18@@ -33,7 +33,7 @@ option(WITH_IMAEVM "Build with IMA support" OFF)
20 option(WITH_IMAEVM "Build with IMA support" OFF)
21 option(WITH_FAPOLICYD "Build with fapolicyd support" ON) 19 option(WITH_FAPOLICYD "Build with fapolicyd support" ON)
20 option(WITH_READLINE "Build with readline support" ON)
22 21
23-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home") 22-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
24+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home") 23+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
index 6a18679da2..796088df53 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
@@ -1,20 +1,19 @@
1From 4f34994d9ad38d96976578a9d1a006f72e5aca50 Mon Sep 17 00:00:00 2001 1From e210458d125793915abce30420d866a30305c37a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 10 Jan 2017 14:11:30 +0200 3Date: Tue, 10 Jan 2017 14:11:30 +0200
4Subject: [PATCH] Do not read config files from $HOME 4Subject: [PATCH] Do not read config files from $HOME
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9--- 8---
10 lib/rpmrc.c | 6 ++---- 9 lib/rpmrc.c | 6 ++----
11 1 file changed, 2 insertions(+), 4 deletions(-) 10 1 file changed, 2 insertions(+), 4 deletions(-)
12 11
13diff --git a/lib/rpmrc.c b/lib/rpmrc.c 12diff --git a/lib/rpmrc.c b/lib/rpmrc.c
14index 269d490ac..f39dcfc11 100644 13index 9437a0ff1..483585ae4 100644
15--- a/lib/rpmrc.c 14--- a/lib/rpmrc.c
16+++ b/lib/rpmrc.c 15+++ b/lib/rpmrc.c
17@@ -458,8 +458,7 @@ static void setDefaults(void) 16@@ -459,8 +459,7 @@ static void setDefaults(void)
18 if (!defrcfiles) { 17 if (!defrcfiles) {
19 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":", 18 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
20 confdir, "/" RPM_VENDOR "/rpmrc", ":", 19 confdir, "/" RPM_VENDOR "/rpmrc", ":",
@@ -24,7 +23,7 @@ index 269d490ac..f39dcfc11 100644
24 } 23 }
25 24
26 #ifndef MACROFILES 25 #ifndef MACROFILES
27@@ -471,8 +470,7 @@ static void setDefaults(void) 26@@ -472,8 +471,7 @@ static void setDefaults(void)
28 confdir, "/" RPM_VENDOR "/macros", ":", 27 confdir, "/" RPM_VENDOR "/macros", ":",
29 SYSCONFDIR "/rpm/macros.*", ":", 28 SYSCONFDIR "/rpm/macros.*", ":",
30 SYSCONFDIR "/rpm/macros", ":", 29 SYSCONFDIR "/rpm/macros", ":",
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
index 318f65ed37..328fbf86ac 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
@@ -1,4 +1,4 @@
1From 25beba1efc31901a3bb0b1b6f0604d6583dc0513 Mon Sep 17 00:00:00 2001 1From a8fe7a7a2e41c9f127ed26407d57076babcb89e8 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Jan 2017 13:32:06 +0200 3Date: Fri, 20 Jan 2017 13:32:06 +0200
4Subject: [PATCH] Do not reset the PATH environment variable before running 4Subject: [PATCH] Do not reset the PATH environment variable before running
@@ -8,13 +8,12 @@ We add lots of native stuff into it and scriptlets rely on that.
8 8
9Upstream-Status: Inappropriate [oe-core specific] 9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11
12--- 11---
13 lib/rpmscript.c | 2 +- 12 lib/rpmscript.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/lib/rpmscript.c b/lib/rpmscript.c 15diff --git a/lib/rpmscript.c b/lib/rpmscript.c
17index 36e37cf77..37ada014c 100644 16index 57689bb68..7b7e26606 100644
18--- a/lib/rpmscript.c 17--- a/lib/rpmscript.c
19+++ b/lib/rpmscript.c 18+++ b/lib/rpmscript.c
20@@ -252,7 +252,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes, 19@@ -252,7 +252,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes,
diff --git a/meta/recipes-devtools/rpm/files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch b/meta/recipes-devtools/rpm/files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch
deleted file mode 100644
index 8e73e07704..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1From 1b3a182f38895de5ea8dda5a77867345845fb967 Mon Sep 17 00:00:00 2001
2From: Panu Matilainen <pmatilai@redhat.com>
3Date: Mon, 18 Dec 2023 12:25:04 +0200
4Subject: [PATCH] Fix unconditional dependency on non-POSIX GLOB_ONLYDIR flag
5
6This regressed when we axed our internal glob copy in commit
766fa46c006bae0f28d93238b8f7f1c923645eee5. Luckily GLOB_ONLYDIR is only
8an optimization so we can just skip it if not available.
9
10Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/57f3711846f44da0f37cbc5dd66e8fba80a3bee1]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12---
13 CMakeLists.txt | 1 +
14 config.h.in | 1 +
15 rpmio/rpmglob.c | 2 ++
16 3 files changed, 4 insertions(+)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index d0ea565f3..0a474106e 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -351,6 +351,7 @@ if (LIBDW_FOUND)
23 set(HAVE_LIBDW 1)
24 endif()
25
26+check_symbol_exists(GLOB_ONLYDIR "glob.h" HAVE_GLOB_ONLYDIR)
27 check_symbol_exists(major "sys/sysmacros.h" MAJOR_IN_SYSMACROS)
28 if (NOT MAJOR_IN_SYSMACROS)
29 check_symbol_exists(major "sys/mkdev.h" MAJOR_IN_MKDEV)
30diff --git a/config.h.in b/config.h.in
31index cb97827d0..ab1757a9a 100644
32--- a/config.h.in
33+++ b/config.h.in
34@@ -100,6 +100,7 @@
35 #cmakedefine HAVE_ZSTD @HAVE_ZSTD@
36 #cmakedefine HAVE___PROGNAME @HAVE___PROGNAME@
37 #cmakedefine HAVE___SECURE_GETENV @HAVE___SECURE_GETENV@
38+#cmakedefine HAVE_GLOB_ONLYDIR @HAVE_GLOB_ONLYDIR@
39 #cmakedefine MAJOR_IN_MKDEV @MAJOR_IN_MKDEV@
40 #cmakedefine MAJOR_IN_SYSMACROS @MAJOR_IN_SYSMACROS@
41 #cmakedefine RUNDIR @rundir@
42diff --git a/rpmio/rpmglob.c b/rpmio/rpmglob.c
43index 8276eddb4..243568766 100644
44--- a/rpmio/rpmglob.c
45+++ b/rpmio/rpmglob.c
46@@ -84,8 +84,10 @@ int rpmGlobPath(const char * pattern, rpmglobFlags flags,
47 gflags |= GLOB_BRACE;
48 if (home != NULL && strlen(home) > 0)
49 gflags |= GLOB_TILDE;
50+#if HAVE_GLOB_ONLYDIR
51 if (dir_only)
52 gflags |= GLOB_ONLYDIR;
53+#endif
54 if (flags & RPMGLOB_NOCHECK)
55 gflags |= GLOB_NOCHECK;
56
diff --git a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
index fc89b44132..e4251a1a73 100644
--- a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
+++ b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
@@ -1,4 +1,4 @@
1From 82e6d1ad126df88c58120a31fc025691039db7f3 Mon Sep 17 00:00:00 2001 1From 34c0d3263f3e0b366a2320e0823f46673f7ba928 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 Jan 2017 14:07:17 +0200 3Date: Tue, 17 Jan 2017 14:07:17 +0200
4Subject: [PATCH] When cross-installing, execute package scriptlets without 4Subject: [PATCH] When cross-installing, execute package scriptlets without
@@ -24,13 +24,12 @@ Amended 2018-07-03 by Olof Johansson <olofjn@axis.com>:
24 24
25Upstream-Status: Inappropriate [oe-core specific] 25Upstream-Status: Inappropriate [oe-core specific]
26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
27
28--- 27---
29 lib/rpmscript.c | 11 ++++++++--- 28 lib/rpmscript.c | 11 ++++++++---
30 1 file changed, 8 insertions(+), 3 deletions(-) 29 1 file changed, 8 insertions(+), 3 deletions(-)
31 30
32diff --git a/lib/rpmscript.c b/lib/rpmscript.c 31diff --git a/lib/rpmscript.c b/lib/rpmscript.c
33index b18f851a3..36e37cf77 100644 32index 3f6313278..57689bb68 100644
34--- a/lib/rpmscript.c 33--- a/lib/rpmscript.c
35+++ b/lib/rpmscript.c 34+++ b/lib/rpmscript.c
36@@ -448,8 +448,7 @@ exit: 35@@ -448,8 +448,7 @@ exit:
diff --git a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
index 5820b2e7e5..2f6397aa8a 100644
--- a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
+++ b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
@@ -1,4 +1,4 @@
1From ebe65b0e8622c37463697dcec779a42290c33810 Mon Sep 17 00:00:00 2001 1From ae4fdd8e8d052835973e6ff4b7550f93bde30a98 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 31 Aug 2021 10:37:05 +0200 3Date: Tue, 31 Aug 2021 10:37:05 +0200
4Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata 4Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata
@@ -9,7 +9,6 @@ host to the next and breaks reproducibility for .rpm).
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de> 11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12
13--- 12---
14 build/pack.c | 2 +- 13 build/pack.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
index 8b9f1f7294..98e52da3a8 100644
--- a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
+++ b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
@@ -1,4 +1,4 @@
1From bfceae7386b5fec108f98ad59ad96e57aecb08d3 Mon Sep 17 00:00:00 2001 1From b04ecb793a3c859985eead5e261785b27a4c4a20 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 7 May 2020 17:40:58 +0800 3Date: Thu, 7 May 2020 17:40:58 +0800
4Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32 4Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32
@@ -27,7 +27,6 @@ Fixed by performing a 'last-in-wins' resolution when "neither is preferred".
27Upstream-Status: Submitted <https://github.com/rpm-software-management/rpm/issues/193> 27Upstream-Status: Submitted <https://github.com/rpm-software-management/rpm/issues/193>
28 28
29Signed-off-by: Changqing Li <changqing.li@windriver.com> 29Signed-off-by: Changqing Li <changqing.li@windriver.com>
30
31--- 30---
32 lib/transaction.c | 13 ++++++++++++- 31 lib/transaction.c | 13 ++++++++++++-
33 1 file changed, 12 insertions(+), 1 deletion(-) 32 1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch b/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
index 388694d234..55108e7f1c 100644
--- a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
+++ b/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
@@ -1,4 +1,4 @@
1From 7894b508a61bb87f05f7eb0a1e912a2422f4fcd2 Mon Sep 17 00:00:00 2001 1From 58bf006646a063837c46b695f7e7ebb69bee7238 Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@windriver.com> 2From: Mark Hatle <mark.hatle@windriver.com>
3Date: Tue, 15 Aug 2017 16:41:57 -0500 3Date: Tue, 15 Aug 2017 16:41:57 -0500
4Subject: [PATCH] perl: disable auto requires 4Subject: [PATCH] perl: disable auto requires
@@ -12,7 +12,6 @@ generation. This matches the behavior from the previous RPM5 implementation.
12Upstream-Status: Inappropriate [OE specific configuration] 12Upstream-Status: Inappropriate [OE specific configuration]
13 13
14Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 14Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
15
16--- 15---
17 fileattrs/perl.attr | 2 +- 16 fileattrs/perl.attr | 2 +-
18 fileattrs/perllib.attr | 2 +- 17 fileattrs/perllib.attr | 2 +-
diff --git a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
index 89c23f8197..c5caa7dc5e 100644
--- a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
+++ b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
@@ -1,4 +1,4 @@
1From e53c0e2586bc6f4677db3c6898a6428283a6b785 Mon Sep 17 00:00:00 2001 1From d7143dc4e75c8bcc5cc4c852a4b972942b7e4d07 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Jan 2017 13:33:05 +0200 3Date: Fri, 20 Jan 2017 13:33:05 +0200
4Subject: [PATCH] Add support for prefixing /etc from RPM_ETCCONFIGDIR 4Subject: [PATCH] Add support for prefixing /etc from RPM_ETCCONFIGDIR
@@ -9,16 +9,15 @@ from target rootfs instead of its own native sysroot.
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12
13--- 12---
14 lib/rpmrc.c | 19 ++++++++++++++----- 13 lib/rpmrc.c | 19 ++++++++++++++-----
15 1 file changed, 14 insertions(+), 5 deletions(-) 14 1 file changed, 14 insertions(+), 5 deletions(-)
16 15
17diff --git a/lib/rpmrc.c b/lib/rpmrc.c 16diff --git a/lib/rpmrc.c b/lib/rpmrc.c
18index f39dcfc11..f27f88753 100644 17index 483585ae4..ea858c290 100644
19--- a/lib/rpmrc.c 18--- a/lib/rpmrc.c
20+++ b/lib/rpmrc.c 19+++ b/lib/rpmrc.c
21@@ -455,10 +455,14 @@ const char * lookupInDefaultTable(const char * name, 20@@ -456,10 +456,14 @@ const char * lookupInDefaultTable(const char * name,
22 static void setDefaults(void) 21 static void setDefaults(void)
23 { 22 {
24 const char *confdir = rpmConfigDir(); 23 const char *confdir = rpmConfigDir();
@@ -34,7 +33,7 @@ index f39dcfc11..f27f88753 100644
34 } 33 }
35 34
36 #ifndef MACROFILES 35 #ifndef MACROFILES
37@@ -468,9 +472,9 @@ static void setDefaults(void) 36@@ -469,9 +473,9 @@ static void setDefaults(void)
38 confdir, "/platform/%{_target}/macros", ":", 37 confdir, "/platform/%{_target}/macros", ":",
39 confdir, "/fileattrs/*.attr", ":", 38 confdir, "/fileattrs/*.attr", ":",
40 confdir, "/" RPM_VENDOR "/macros", ":", 39 confdir, "/" RPM_VENDOR "/macros", ":",
@@ -47,7 +46,7 @@ index f39dcfc11..f27f88753 100644
47 } 46 }
48 #else 47 #else
49 macrofiles = MACROFILES; 48 macrofiles = MACROFILES;
50@@ -1114,7 +1118,11 @@ static void read_auxv(void) 49@@ -1115,7 +1119,11 @@ static void read_auxv(void)
51 */ 50 */
52 static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os) 51 static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
53 { 52 {
@@ -60,7 +59,7 @@ index f39dcfc11..f27f88753 100644
60 static struct utsname un; 59 static struct utsname un;
61 char * chptr; 60 char * chptr;
62 canonEntry canon; 61 canonEntry canon;
63@@ -1434,6 +1442,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os) 62@@ -1435,6 +1443,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
64 63
65 if (arch) *arch = un.machine; 64 if (arch) *arch = un.machine;
66 if (os) *os = un.sysname; 65 if (os) *os = un.sysname;
diff --git a/meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch b/meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
deleted file mode 100644
index e7f0adc70c..0000000000
--- a/meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 4e388caabf0906f09d697b8d08623a022f7270b2 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 29 Nov 2023 14:09:06 +0100
4Subject: [PATCH] docs/CMakeLists.txt: do not install non-existent docs/html
5
6Building html would require doxygen-native.
7
8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10
11---
12 docs/CMakeLists.txt | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
16index 52dce7b4e..c01ff7757 100644
17--- a/docs/CMakeLists.txt
18+++ b/docs/CMakeLists.txt
19@@ -18,7 +18,6 @@ if (DOXYGEN_FOUND)
20 elseif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/html/index.html)
21 set(doxsrc ${CMAKE_CURRENT_SOURCE_DIR})
22 endif()
23-install(DIRECTORY ${doxsrc}/html/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/API)
24
25 install(FILES
26 README.md
diff --git a/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
index 3d4b09bedb..23dce30086 100644
--- a/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
+++ b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
@@ -1,4 +1,4 @@
1From f78e05544fb5ae9ef688963f19666f1af34c3d5c Mon Sep 17 00:00:00 2001 1From 29c2a0c18b0c773128bf62c611b4c53fe4471105 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 16 Jan 2024 09:59:26 +0100 3Date: Tue, 16 Jan 2024 09:59:26 +0100
4Subject: [PATCH] rpmio/rpmglob.c: avoid using GLOB_BRACE if undefined by C 4Subject: [PATCH] rpmio/rpmglob.c: avoid using GLOB_BRACE if undefined by C
diff --git a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
index b3d57cc870..732202c46f 100644
--- a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
+++ b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
@@ -1,4 +1,4 @@
1From 0005ab544230020e854e9709b2bc0501702c2968 Mon Sep 17 00:00:00 2001 1From f01d9c24bb86bc47ad2453483518dbb25953cac7 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 10 Jan 2019 18:14:18 +0100 3Date: Thu, 10 Jan 2019 18:14:18 +0100
4Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO 4Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO
@@ -9,13 +9,12 @@ irrelevant noise to rootfs logs.
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12
13--- 12---
14 lib/rpmscript.c | 8 ++++---- 13 lib/rpmscript.c | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-) 14 1 file changed, 4 insertions(+), 4 deletions(-)
16 15
17diff --git a/lib/rpmscript.c b/lib/rpmscript.c 16diff --git a/lib/rpmscript.c b/lib/rpmscript.c
18index 37ada014c..bab0c97a6 100644 17index 7b7e26606..1dcd23be5 100644
19--- a/lib/rpmscript.c 18--- a/lib/rpmscript.c
20+++ b/lib/rpmscript.c 19+++ b/lib/rpmscript.c
21@@ -291,7 +291,7 @@ static char * writeScript(const char *cmd, const char *script) 20@@ -291,7 +291,7 @@ static char * writeScript(const char *cmd, const char *script)
diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.bb b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
index a495f7ced2..0802f26295 100644
--- a/meta/recipes-devtools/rpm/rpm_4.19.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
@@ -37,14 +37,11 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.19.x;protoc
37 file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \ 37 file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \
38 file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \ 38 file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \
39 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \ 39 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \
40 file://0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch \
41 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \ 40 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \
42 file://0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch \
43 file://0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch \
44 " 41 "
45 42
46PE = "1" 43PE = "1"
47SRCREV = "98b301ebb44fb5cabb56fc24bc3aaa437c47c038" 44SRCREV = "13b4521341781293c41ac898aa9c2d2f6bc1f21d"
48 45
49S = "${WORKDIR}/git" 46S = "${WORKDIR}/git"
50 47
@@ -135,6 +132,8 @@ do_install:append () {
135 sed -i -e 's:${HOSTTOOLS_DIR}/::g' \ 132 sed -i -e 's:${HOSTTOOLS_DIR}/::g' \
136 -e 's:${STAGING_DIR_NATIVE}/::g' \ 133 -e 's:${STAGING_DIR_NATIVE}/::g' \
137 ${D}/${libdir}/rpm/macros 134 ${D}/${libdir}/rpm/macros
135 sed -i -e 's:${RECIPE_SYSROOT}/::g' \
136 ${D}/${libdir}/cmake/rpm/rpm-targets.cmake
138 137
139} 138}
140 139
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index 8895adad74..2379de84f2 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
1From 651425fced0691d9063fe417388ba6ca1c38c40b Mon Sep 17 00:00:00 2001 1From 2beb35c34c45320144f37b12ef4d72fb8734280e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 19:53:28 -0700 3Date: Mon, 29 Aug 2022 19:53:28 -0700
4Subject: [PATCH] Add missing prototypes to function declarations 4Subject: [PATCH] Add missing prototypes to function declarations
@@ -15,7 +15,6 @@ Fixes errors like
15 15
16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html] 16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html]
17Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18
19--- 18---
20 checksum.c | 2 +- 19 checksum.c | 2 +-
21 exclude.c | 2 +- 20 exclude.c | 2 +-
@@ -30,10 +29,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 10 files changed, 12 insertions(+), 13 deletions(-) 29 10 files changed, 12 insertions(+), 13 deletions(-)
31 30
32diff --git a/checksum.c b/checksum.c 31diff --git a/checksum.c b/checksum.c
33index 60de365..67a9e16 100644 32index cb21882..736818b 100644
34--- a/checksum.c 33--- a/checksum.c
35+++ b/checksum.c 34+++ b/checksum.c
36@@ -778,7 +778,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list) 35@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
37 } 36 }
38 #endif 37 #endif
39 38
@@ -43,7 +42,7 @@ index 60de365..67a9e16 100644
43 #if defined SUPPORT_XXH3 || defined USE_OPENSSL 42 #if defined SUPPORT_XXH3 || defined USE_OPENSSL
44 struct name_num_item *nni; 43 struct name_num_item *nni;
45diff --git a/exclude.c b/exclude.c 44diff --git a/exclude.c b/exclude.c
46index ffe55b1..a85ea76 100644 45index 87edbcf..ae0de2f 100644
47--- a/exclude.c 46--- a/exclude.c
48+++ b/exclude.c 47+++ b/exclude.c
49@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end) 48@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
@@ -96,10 +95,10 @@ index e4ba1cc..8482b71 100644
96 int options = LOG_PID; 95 int options = LOG_PID;
97 96
98diff --git a/main.c b/main.c 97diff --git a/main.c b/main.c
99index d2a7b9b..c50af45 100644 98index 0c60b86..4bc664a 100644
100--- a/main.c 99--- a/main.c
101+++ b/main.c 100+++ b/main.c
102@@ -244,7 +244,7 @@ void read_del_stats(int f) 101@@ -246,7 +246,7 @@ void read_del_stats(int f)
103 stats.deleted_files += stats.deleted_specials = read_varint(f); 102 stats.deleted_files += stats.deleted_specials = read_varint(f);
104 } 103 }
105 104
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 92ed1f4419..0c9ce8b8e3 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
1From 81700d1a0e51391028c761cc8ef1cd660084d114 Mon Sep 17 00:00:00 2001 1From f446686c26c499e15ef17d495a93cfbc20e16090 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 12 Apr 2016 15:51:54 +0100 3Date: Tue, 12 Apr 2016 15:51:54 +0100
4Subject: [PATCH] rsync: remove upstream's rebuild logic 4Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -8,16 +8,15 @@ generally overcomplicated, and we ensure that autoreconf is invoked if required.
8 8
9Upstream-Status: Inappropriate 9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com> 10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12--- 11---
13 Makefile.in | 54 ----------------------------------------------------- 12 Makefile.in | 54 -----------------------------------------------------
14 1 file changed, 54 deletions(-) 13 1 file changed, 54 deletions(-)
15 14
16diff --git a/Makefile.in b/Makefile.in 15diff --git a/Makefile.in b/Makefile.in
17index 3cde955..d963a70 100644 16index a1253e5..a084935 100644
18--- a/Makefile.in 17--- a/Makefile.in
19+++ b/Makefile.in 18+++ b/Makefile.in
20@@ -190,60 +190,6 @@ gensend: gen 19@@ -192,60 +192,6 @@ gensend: gen
21 fi 20 fi
22 rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true 21 rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true
23 22
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.7.bb b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
index 130581a785..b42026331d 100644
--- a/meta/recipes-devtools/rsync/rsync_3.2.7.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
@@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
16 file://determism.patch \ 16 file://determism.patch \
17 file://0001-Add-missing-prototypes-to-function-declarations.patch \ 17 file://0001-Add-missing-prototypes-to-function-declarations.patch \
18 " 18 "
19SRC_URI[sha256sum] = "4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb" 19SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90"
20 20
21inherit autotools-brokensep 21inherit autotools-brokensep
22 22
diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
index 2e3156880e..7402e76333 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
@@ -1,7 +1,7 @@
1From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001 1From caa03f46a3204a7e0f0e5d9d9cc9113304dc0382 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Mon, 30 Sep 2019 16:57:01 +0100 3Date: Mon, 30 Sep 2019 16:57:01 +0100
4Subject: [PATCH 1/3] extmk: fix cross-compilation of external gems 4Subject: [PATCH] extmk: fix cross-compilation of external gems
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -16,10 +16,10 @@ Signed-off-by: André Draszik <andre.draszik@jci.com>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/ext/extmk.rb b/ext/extmk.rb 18diff --git a/ext/extmk.rb b/ext/extmk.rb
19index 1389dc4117..e4d923d7a7 100755 19index 428ffc9..87eff71 100755
20--- a/ext/extmk.rb 20--- a/ext/extmk.rb
21+++ b/ext/extmk.rb 21+++ b/ext/extmk.rb
22@@ -413,8 +413,8 @@ def $mflags.defined?(var) 22@@ -420,8 +420,8 @@ else
23 end 23 end
24 $ruby = [$ruby] 24 $ruby = [$ruby]
25 $ruby << "-I'$(topdir)'" 25 $ruby << "-I'$(topdir)'"
@@ -29,6 +29,3 @@ index 1389dc4117..e4d923d7a7 100755
29 $ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout 29 $ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout
30 ENV["RUBYLIB"] = "-" 30 ENV["RUBYLIB"] = "-"
31 end 31 end
32--
332.23.0.rc1
34
diff --git a/meta/recipes-devtools/ruby/ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch b/meta/recipes-devtools/ruby/ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch
deleted file mode 100644
index 1dff9c0f8c..0000000000
--- a/meta/recipes-devtools/ruby/ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 6b3c202b46b9312c5bb0789145f13d8086e70948 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Jan 2023 02:34:17 -0800
4Subject: [PATCH] fiddle: Use C11 _Alignof to define ALIGN_OF when possible
5
6WG14 N2350 made very clear that it is an UB having type definitions
7within "offsetof" [1]. This patch enhances the implementation of macro
8ALIGN_OF to use builtin "_Alignof" to avoid undefined behavior
9when using std=c11 or newer
10
11clang 16+ has started to flag this [2]
12
13Fixes build when using -std >= gnu11 and using clang16+
14
15Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it
16may support C11, exclude those compiler versions
17
18[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
19[2] https://reviews.llvm.org/D133574
20
21Upstream-Status: Submitted [https://github.com/ruby/fiddle/pull/120]
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23---
24 ext/fiddle/fiddle.h | 12 +++++++++++-
25 1 file changed, 11 insertions(+), 1 deletion(-)
26
27diff --git a/ext/fiddle/fiddle.h b/ext/fiddle/fiddle.h
28index 10eb9ce..ffb395e 100644
29--- a/ext/fiddle/fiddle.h
30+++ b/ext/fiddle/fiddle.h
31@@ -196,7 +196,17 @@
32 #endif
33 #define TYPE_UINTPTR_T (-TYPE_INTPTR_T)
34
35-#define ALIGN_OF(type) offsetof(struct {char align_c; type align_x;}, align_x)
36+/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
37+ <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.
38+ clang versions < 8.0.0 have the same bug. */
39+#if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
40+ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \
41+ && !defined __clang__) \
42+ || (defined __clang__ && __clang_major__ < 8))
43+# define ALIGN_OF(type) offsetof(struct {char align_c; type align_x;}, align_x)
44+#else
45+# define ALIGN_OF(type) _Alignof(type)
46+#endif
47
48 #define ALIGN_VOIDP ALIGN_OF(void*)
49 #define ALIGN_CHAR ALIGN_OF(char)
50--
512.39.0
52
diff --git a/meta/recipes-devtools/ruby/ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch b/meta/recipes-devtools/ruby/ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch
deleted file mode 100644
index 226ef3af75..0000000000
--- a/meta/recipes-devtools/ruby/ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 2368d07660a93a2c41d63f3ab6054ca4daeef820 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 Nov 2020 18:31:40 +0000
4Subject: [PATCH] template/Makefile.in: do not write host cross-cc items into
5 target config
6
7This helps reproducibility.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 template/Makefile.in | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/template/Makefile.in b/template/Makefile.in
16index 10dc826..940ee07 100644
17--- a/template/Makefile.in
18+++ b/template/Makefile.in
19@@ -657,11 +657,11 @@ mjit_config.h:
20 echo '#endif'; \
21 quote MJIT_MIN_HEADER_NAME "$(MJIT_MIN_HEADER_NAME)"; \
22 sep=,; \
23- quote "MJIT_CC_COMMON " $(MJIT_CC); \
24+ quote "MJIT_CC_COMMON " ; \
25 quote "MJIT_CFLAGS MJIT_ARCHFLAG" $(MJIT_CFLAGS); \
26 quote "MJIT_OPTFLAGS " $(MJIT_OPTFLAGS); \
27 quote "MJIT_DEBUGFLAGS " $(MJIT_DEBUGFLAGS); \
28- quote "MJIT_LDSHARED " $(MJIT_LDSHARED); \
29+ quote "MJIT_LDSHARED " ; \
30 quote "MJIT_DLDFLAGS MJIT_ARCHFLAG" $(MJIT_DLDFLAGS); \
31 quote "MJIT_LIBS " $(LIBRUBYARG_SHARED); \
32 quote 'PRELOADENV "@PRELOADENV@"'; \
diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
index f7b7adb3fd..67054d6553 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
@@ -1,4 +1,4 @@
1From dfb22e4d6662bf72879eda806eaa78c7b52b519e Mon Sep 17 00:00:00 2001 1From 980dcc5380db6f03451357140ae1487117300156 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jan 2022 20:29:14 -0800 3Date: Tue, 25 Jan 2022 20:29:14 -0800
4Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv 4Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 5 insertions(+) 14 1 file changed, 5 insertions(+)
15 15
16diff --git a/vm_dump.c b/vm_dump.c 16diff --git a/vm_dump.c b/vm_dump.c
17index a98f5aa..957b785 100644 17index 444be4a..8a081a7 100644
18--- a/vm_dump.c 18--- a/vm_dump.c
19+++ b/vm_dump.c 19+++ b/vm_dump.c
20@@ -39,6 +39,11 @@ 20@@ -39,6 +39,11 @@
@@ -29,6 +29,3 @@ index a98f5aa..957b785 100644
29 #define VM_CFP_CNT(ec, cfp) \ 29 #define VM_CFP_CNT(ec, cfp) \
30 ((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \ 30 ((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \
31 (rb_control_frame_t *)(cfp)) 31 (rb_control_frame_t *)(cfp))
32--
332.35.0
34
diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
index 96ae86263b..f3a65e785d 100644
--- a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
+++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
@@ -1,20 +1,19 @@
1From 21d8e7700fa0a9c4bf569dd366134060ae858832 Mon Sep 17 00:00:00 2001 1From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com> 2From: Christopher Larson <chris_larson@mentor.com>
3Date: Thu, 5 May 2016 10:59:07 -0700 3Date: Thu, 5 May 2016 10:59:07 -0700
4Subject: [PATCH] Obey LDFLAGS for the link of libruby 4Subject: [PATCH] Obey LDFLAGS for the link of libruby
5 5
6Signed-off-by: Christopher Larson <chris_larson@mentor.com> 6Signed-off-by: Christopher Larson <chris_larson@mentor.com>
7Upstream-Status: Pending 7Upstream-Status: Pending
8
9--- 8---
10 template/Makefile.in | 2 +- 9 template/Makefile.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
12 11
13diff --git a/template/Makefile.in b/template/Makefile.in 12diff --git a/template/Makefile.in b/template/Makefile.in
14index 1456313..15b98a4 100644 13index 8c462f2..2200c8c 100644
15--- a/template/Makefile.in 14--- a/template/Makefile.in
16+++ b/template/Makefile.in 15+++ b/template/Makefile.in
17@@ -127,7 +127,7 @@ ENABLE_SHARED = @ENABLE_SHARED@ 16@@ -115,7 +115,7 @@ ENABLE_SHARED = @ENABLE_SHARED@
18 LDSHARED = @LIBRUBY_LDSHARED@ 17 LDSHARED = @LIBRUBY_LDSHARED@
19 DLDSHARED = @DLDSHARED@ 18 DLDSHARED = @DLDSHARED@
20 XDLDFLAGS = @DLDFLAGS@ 19 XDLDFLAGS = @DLDFLAGS@
@@ -22,4 +21,4 @@ index 1456313..15b98a4 100644
22+DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG) 21+DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
23 SOLIBS = @SOLIBS@ 22 SOLIBS = @SOLIBS@
24 ENABLE_DEBUG_ENV = @ENABLE_DEBUG_ENV@ 23 ENABLE_DEBUG_ENV = @ENABLE_DEBUG_ENV@
25 MAINLIBS = $(YJIT_LIBS) @MAINLIBS@ 24 MAINLIBS = @MAINLIBS@
diff --git a/meta/recipes-devtools/ruby/ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch b/meta/recipes-devtools/ruby/ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch
deleted file mode 100644
index 2efbad7513..0000000000
--- a/meta/recipes-devtools/ruby/ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1Subject: [PATCH] template/Makefile.in: filter out -f*prefix-map
2
3If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no longer
4reproducible. Fix this.
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
8---
9--- a/tool/mjit_archflag.sh
10+++ b/tool/mjit_archflag.sh
11@@ -7,6 +7,20 @@ quote() {
12 echo
13 }
14
15+quote_filtered() {
16+ printf "#${indent}define $1"
17+ while shift && [ "$#" -gt 0 ]; do
18+ case "$1" in
19+ -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*)
20+ ;;
21+ *)
22+ printf ' "%s"'$sep "$1"
23+ ;;
24+ esac
25+ done
26+ echo
27+}
28+
29 archs=""
30 arch_flag=""
31
32--- a/template/Makefile.in
33+++ b/template/Makefile.in
34@@ -666,7 +666,7 @@ mjit_config.h:
35 quote "MJIT_OPTFLAGS " $(MJIT_OPTFLAGS); \
36 quote "MJIT_DEBUGFLAGS " $(MJIT_DEBUGFLAGS); \
37 quote "MJIT_LDSHARED " ; \
38- quote "MJIT_DLDFLAGS MJIT_ARCHFLAG" $(MJIT_DLDFLAGS); \
39+ quote_filtered "MJIT_DLDFLAGS MJIT_ARCHFLAG" $(MJIT_DLDFLAGS); \
40 quote "MJIT_LIBS " $(LIBRUBYARG_SHARED); \
41 quote 'PRELOADENV "@PRELOADENV@"'; \
42 indent=$${archs:+' '}; \
diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
index f92f0e1ba6..e2d5b57c25 100644
--- a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
+++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
@@ -1,6 +1,7 @@
1From 5079e678ce2a81416088c04f9123cd8207d5def2 Mon Sep 17 00:00:00 2001
1From: Christian Hofstaedtler <zeha@debian.org> 2From: Christian Hofstaedtler <zeha@debian.org>
2Date: Tue, 10 Oct 2017 15:04:34 -0300 3Date: Tue, 10 Oct 2017 15:04:34 -0300
3Subject: rdoc: build reproducible documentation 4Subject: [PATCH] rdoc: build reproducible documentation
4 5
5- provide a fixed timestamp to the gzip compression 6- provide a fixed timestamp to the gzip compression
6 7
@@ -10,23 +11,24 @@ Signed-off-by: Antonio Terceiro <terceiro@debian.org>
10Signed-off-by: Christian Hofstaedtler <zeha@debian.org> 11Signed-off-by: Christian Hofstaedtler <zeha@debian.org>
11--- 12---
12 lib/rdoc/generator/json_index.rb | 4 ++-- 13 lib/rdoc/generator/json_index.rb | 4 ++--
13 lib/rdoc/rdoc.rb | 2 +- 14 1 file changed, 2 insertions(+), 2 deletions(-)
14 2 files changed, 3 insertions(+), 3 deletions(-)
15 15
16diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb
17index c454910..24feab0 100644
16--- a/lib/rdoc/generator/json_index.rb 18--- a/lib/rdoc/generator/json_index.rb
17+++ b/lib/rdoc/generator/json_index.rb 19+++ b/lib/rdoc/generator/json_index.rb
18@@ -178,7 +178,7 @@ 20@@ -178,7 +178,7 @@ class RDoc::Generator::JsonIndex
19 debug_msg "Writing gzipped search index to %s" % outfile 21 debug_msg "Writing gzipped search index to %s" % outfile
20 22
21 Zlib::GzipWriter.open(outfile) do |gz| 23 Zlib::GzipWriter.open(outfile) do |gz|
22- gz.mtime = File.mtime(search_index_file) 24- gz.mtime = File.mtime(search_index_file)
23+ gz.mtime = -1 25+ gz.mtime = -1
24 gz.orig_name = search_index_file.basename.to_s 26 gz.orig_name = search_index_file.basename.to_s
25 gz.write search_index 27 gz.write search_index
26 gz.close 28 gz.close
27@@ -196,7 +196,7 @@ 29@@ -196,7 +196,7 @@ class RDoc::Generator::JsonIndex
28 debug_msg "Writing gzipped file to %s" % outfile 30 debug_msg "Writing gzipped file to %s" % outfile
29 31
30 Zlib::GzipWriter.open(outfile) do |gz| 32 Zlib::GzipWriter.open(outfile) do |gz|
31- gz.mtime = File.mtime(dest) 33- gz.mtime = File.mtime(dest)
32+ gz.mtime = -1 34+ gz.mtime = -1
diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
index e0aca0dcfc..b14a731cfb 100644
--- a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
+++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
@@ -1,6 +1,7 @@
1From 99734381652602f76075017576a819c427ebb5f2 Mon Sep 17 00:00:00 2001
1From: Reiner Herrmann <reiner@reiner-h.de> 2From: Reiner Herrmann <reiner@reiner-h.de>
2Date: Tue, 10 Oct 2017 15:06:13 -0300 3Date: Tue, 10 Oct 2017 15:06:13 -0300
3Subject: lib/mkmf.rb: sort list of object files in generated Makefile 4Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
4 5
5Without sorting the list explicitly, its order is indeterministic, 6Without sorting the list explicitly, its order is indeterministic,
6because readdir() is also not deterministic. 7because readdir() is also not deterministic.
@@ -15,9 +16,11 @@ Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
15 lib/mkmf.rb | 2 +- 16 lib/mkmf.rb | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
17 18
19diff --git a/lib/mkmf.rb b/lib/mkmf.rb
20index 6da7dde..3af30a9 100644
18--- a/lib/mkmf.rb 21--- a/lib/mkmf.rb
19+++ b/lib/mkmf.rb 22+++ b/lib/mkmf.rb
20@@ -2315,7 +2315,7 @@ 23@@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
21 LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS} 24 LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
22 ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')} 25 ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
23 SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')} 26 SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}
diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
index 41f206523e..24268625a2 100644
--- a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
+++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
@@ -1,4 +1,4 @@
1From 6e1dc610724a7aa8368cbcddf4bbe21cccc0f731 Mon Sep 17 00:00:00 2001 1From 3bc324379aa3e322bad9353da8c0064cd671cc74 Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [PATCH] Make gemspecs reproducible
@@ -12,20 +12,20 @@ Upstream-Status: Backport [debian]
12 1 file changed, 3 insertions(+), 1 deletion(-) 12 1 file changed, 3 insertions(+), 1 deletion(-)
13 13
14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb 14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15index 0d72cee..eb7bc25 100644 15index a0c7faa..f0722d9 100644
16--- a/lib/rubygems/specification.rb 16--- a/lib/rubygems/specification.rb
17+++ b/lib/rubygems/specification.rb 17+++ b/lib/rubygems/specification.rb
18@@ -1691,7 +1691,9 @@ class Gem::Specification < Gem::BasicSpecification 18@@ -1774,7 +1774,9 @@ class Gem::Specification < Gem::BasicSpecification
19 raise(Gem::InvalidSpecificationException, 19 raise(Gem::InvalidSpecificationException,
20 "invalid date format in specification: #{date.inspect}") 20 "invalid date format in specification: #{date.inspect}")
21 end 21 end
22- when Time, DateLike then 22- when Time, DateLike then
23+ when Time then 23+ when Time then
24+ Time.utc(date.utc.year, date.utc.month, date.utc.day) 24+ Time.utc(date.utc.year, date.utc.month, date.utc.day)
25+ when DateLike then 25+ when DateLike then
26 Time.utc(date.year, date.month, date.day) 26 Time.utc(date.year, date.month, date.day)
27 else 27 else
28 TODAY 28 TODAY
29-- 29--
302.25.1 302.39.2
31 31
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
index 0a87cae17f..21604dfc34 100644
--- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
+++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
@@ -1,4 +1,4 @@
1From 3f60710bc29c1b08e128314d40101e87b7d2c9a1 Mon Sep 17 00:00:00 2001 1From 1dc7ef09c3c567c4adb09ccfd97e0e59c58edb9f Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [PATCH] Make gemspecs reproducible
@@ -7,7 +7,6 @@ Without an explicit date, they will get the current date and make the
7build unreproducible 7build unreproducible
8 8
9Upstream-Status: Backport [debian] 9Upstream-Status: Backport [debian]
10
11--- 10---
12 ext/bigdecimal/bigdecimal.gemspec | 1 + 11 ext/bigdecimal/bigdecimal.gemspec | 1 +
13 ext/fiddle/fiddle.gemspec | 1 + 12 ext/fiddle/fiddle.gemspec | 1 +
@@ -17,12 +16,12 @@ Upstream-Status: Backport [debian]
17 5 files changed, 5 insertions(+) 16 5 files changed, 5 insertions(+)
18 17
19diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec 18diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
20index d215757..5148d56 100644 19index f9f3b45..b9a469d 100644
21--- a/ext/bigdecimal/bigdecimal.gemspec 20--- a/ext/bigdecimal/bigdecimal.gemspec
22+++ b/ext/bigdecimal/bigdecimal.gemspec 21+++ b/ext/bigdecimal/bigdecimal.gemspec
23@@ -4,6 +4,7 @@ Gem::Specification.new do |s| 22@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
24 s.name = "bigdecimal" 23 s.name = name
25 s.version = "3.1.3" 24 s.version = source_version
26 s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"] 25 s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
27+ s.date = RUBY_RELEASE_DATE 26+ s.date = RUBY_RELEASE_DATE
28 s.email = ["mrkn@mrkn.jp"] 27 s.email = ["mrkn@mrkn.jp"]
@@ -41,10 +40,10 @@ index 8781093..efdca32 100644
41 spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] 40 spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
42 41
43diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec 42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
44index d26a757..cc88c55 100644 43index d4f5276..8f89611 100644
45--- a/ext/io/console/io-console.gemspec 44--- a/ext/io/console/io-console.gemspec
46+++ b/ext/io/console/io-console.gemspec 45+++ b/ext/io/console/io-console.gemspec
47@@ -4,6 +4,7 @@ _VERSION = "0.6.0" 46@@ -4,6 +4,7 @@ _VERSION = "0.7.1"
48 Gem::Specification.new do |s| 47 Gem::Specification.new do |s|
49 s.name = "io-console" 48 s.name = "io-console"
50 s.version = _VERSION 49 s.version = _VERSION
@@ -65,7 +64,7 @@ index 1f4798e..48743cf 100644
65 spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] 64 spec.email = ["knu@idaemons.org", "ume@mahoroba.org"]
66 65
67diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec 66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
68index 3c96f7d..fec0872 100644 67index 93a281c..cc5c155 100644
69--- a/lib/rdoc/rdoc.gemspec 68--- a/lib/rdoc/rdoc.gemspec
70+++ b/lib/rdoc/rdoc.gemspec 69+++ b/lib/rdoc/rdoc.gemspec
71@@ -7,6 +7,7 @@ end 70@@ -7,6 +7,7 @@ end
diff --git a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch b/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch
deleted file mode 100644
index b78e3db892..0000000000
--- a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From e74b57febec9bd806e29025e6eeb8091e7021d75 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 26 Jan 2020 11:27:40 -0800
4Subject: [PATCH] Filter out __has_include* compiler defines
5
6They are internal to compiler and this header is later on includes in C
7files, but newer gcc >= 10 complains about it.
8
9error in initial header file:
10| In file included from /tmp/20200124-86625-14hiju4.c:1:
11| /tmp/20200124-86625-11y6l6i.h:13849:9: error: "__has_include" cannot be used as a macro name
12| 13849 | #define __has_include __has_include
13| | ^~~~~~~~~~~~~
14| compilation terminated due to -Wfatal-errors.
15
16Upstream-Status: Pending
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18
19---
20 common.mk | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/common.mk b/common.mk
24index 664f750..3b8fbe6 100644
25--- a/common.mk
26+++ b/common.mk
27@@ -238,6 +238,8 @@ $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time: probes.h vm.$(OBJE
28 $(ECHO) building $(@F:.time=.h)
29 $(Q)$(MINIRUBY) $(tooldir)/mjit_tabs.rb "$(MJIT_TABS)" \
30 $(CPP) -DMJIT_HEADER $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/vm.c $(CPPOUTFLAG)$(@F:.time=.h).new
31+ $(Q)sed -i -e "/#define __has_include __has_include/d" $(@F:.time=.h).new
32+ $(Q)sed -i -e "/#define __has_include_next __has_include_next/d" $(@F:.time=.h).new
33 $(Q) $(IFCHANGE) "--timestamp=$@" $(@F:.time=.h) $(@F:.time=.h).new
34
35 $(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h: $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time
diff --git a/meta/recipes-devtools/ruby/ruby_3.2.2.bb b/meta/recipes-devtools/ruby/ruby_3.3.0.bb
index 481fe7c23d..657fc31b4d 100644
--- a/meta/recipes-devtools/ruby/ruby_3.2.2.bb
+++ b/meta/recipes-devtools/ruby/ruby_3.3.0.bb
@@ -10,10 +10,10 @@ LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPL-2.0-only | ISC | MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \ 11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \
12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
13 file://LEGAL;md5=bcd74b47bbaf2051c5e49811a5faa97a \ 13 file://LEGAL;md5=81e6a4d81533b9263da4c3485a0ad883 \
14 " 14 "
15 15
16DEPENDS = "zlib openssl libyaml gdbm readline libffi" 16DEPENDS = "zlib openssl libyaml libffi"
17DEPENDS:append:class-target = " ruby-native" 17DEPENDS:append:class-target = " ruby-native"
18DEPENDS:append:class-nativesdk = " ruby-native" 18DEPENDS:append:class-nativesdk = " ruby-native"
19 19
@@ -21,16 +21,12 @@ SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
21SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ 21SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
22 file://0001-extmk-fix-cross-compilation-of-external-gems.patch \ 22 file://0001-extmk-fix-cross-compilation-of-external-gems.patch \
23 file://0002-Obey-LDFLAGS-for-the-link-of-libruby.patch \ 23 file://0002-Obey-LDFLAGS-for-the-link-of-libruby.patch \
24 file://remove_has_include_macros.patch \
25 file://run-ptest \ 24 file://run-ptest \
26 file://0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch \
27 file://0002-template-Makefile.in-filter-out-f-prefix-map.patch \
28 file://0003-rdoc-build-reproducible-documentation.patch \ 25 file://0003-rdoc-build-reproducible-documentation.patch \
29 file://0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch \ 26 file://0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch \
30 file://0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch \ 27 file://0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch \
31 file://0006-Make-gemspecs-reproducible.patch \ 28 file://0006-Make-gemspecs-reproducible.patch \
32 file://0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch \ 29 file://0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch \
33 file://0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch \
34 " 30 "
35UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" 31UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
36 32
@@ -51,7 +47,7 @@ do_configure:prepend() {
51 47
52DEPENDS:append:libc-musl = " libucontext" 48DEPENDS:append:libc-musl = " libucontext"
53 49
54SRC_URI[sha256sum] = "96c57558871a6748de5bc9f274e93f4b5aad06cd8f37befa0e8d94e7b8a423bc" 50SRC_URI[sha256sum] = "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d"
55 51
56PACKAGECONFIG ??= "" 52PACKAGECONFIG ??= ""
57PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 53PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index 95dccb9cae..1f3e692029 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -81,11 +81,18 @@ remove_rcsd_link=1
81if $pm_installed; then 81if $pm_installed; then
82 case $pm in 82 case $pm in
83 "ipk") 83 "ipk")
84 eval opkg configure $append_log 84 if ! `fcntl-lock --wait 30 /run/opkg.lock true`; then
85 eval echo "Unable to obtain the opkg lock, deadlock?" $append_log
86 fi
87 if ! eval "opkg configure $append_log"; then
88 exit 1
89 fi
85 ;; 90 ;;
86 91
87 "deb") 92 "deb")
88 eval dpkg --configure -a $append_log 93 if ! eval "eval dpkg --configure -a $append_log"; then
94 exit 1
95 fi
89 ;; 96 ;;
90 esac 97 esac
91else 98else
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
index 72ba8c0227..e977942de8 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -12,6 +12,8 @@ S = "${WORKDIR}"
12 12
13inherit allarch systemd update-rc.d 13inherit allarch systemd update-rc.d
14 14
15RDEPENDS:${PN} = "util-linux-fcntl-lock"
16
15INITSCRIPT_NAME = "run-postinsts" 17INITSCRIPT_NAME = "run-postinsts"
16INITSCRIPT_PARAMS = "start 99 S ." 18INITSCRIPT_PARAMS = "start 99 S ."
17 19
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
index 6bef99039d..b14221b6cb 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -20,3 +20,5 @@ RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
20 20
21UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" 21UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
22UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" 22UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
23
24CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows"
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
deleted file mode 100644
index 7a6c4d7359..0000000000
--- a/meta/recipes-devtools/swig/swig.inc
+++ /dev/null
@@ -1,67 +0,0 @@
1SUMMARY = "SWIG - Simplified Wrapper and Interface Generator"
2DESCRIPTION = "SWIG is a compiler that makes it easy to integrate C and C++ \
3code with other languages including Perl, Tcl, Ruby, Python, Java, Guile, \
4Mzscheme, Chicken, OCaml, Pike, and C#."
5HOMEPAGE = "http://swig.sourceforge.net/"
6LICENSE = "BSD-3-Clause & GPL-3.0-only"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
8 file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
9 file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
10
11SECTION = "devel"
12
13DEPENDS = "libpcre2 bison-native"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/"
17UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
18
19inherit autotools python3native pkgconfig
20
21EXTRA_OECONF = " \
22 --with-python3=${PYTHON} \
23 --without-allegrocl \
24 --without-android \
25 --without-boost \
26 --without-chicken \
27 --without-clisp \
28 --without-csharp \
29 --without-d \
30 --without-gcj \
31 --without-go \
32 --without-guile \
33 --without-java \
34 --without-lua \
35 --without-mzscheme \
36 --without-ocaml \
37 --without-octave \
38 --without-perl5 \
39 --without-pike \
40 --without-php \
41 --without-r \
42 --without-ruby \
43 --without-tcl \
44"
45
46EXTRA_AUTORECONF += "-I Tools/config"
47
48BBCLASSEXTEND = "native nativesdk"
49
50# necessary together with bison dependency until a new upstream version after
51# 3.0.12 includes 0001-Fix-generated-code-for-constant-expressions-containi.patch
52do_configure:append() {
53 mkdir -p ${B}/Source/CParse
54}
55
56do_install:append:class-nativesdk() {
57 cd ${D}${bindir}
58 ln -s swig swig2.0
59}
60
61def swiglib_relpath(d):
62 swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV')
63 return os.path.relpath(swiglib, d.getVar('bindir'))
64
65do_install:append:class-native() {
66 create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)}
67}
diff --git a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
deleted file mode 100644
index 5e83e92725..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From b88a98348b3841f0b702e314631883d46f9f362d Mon Sep 17 00:00:00 2001
2From: "NODA, Kai" <nodakai@gmail.com>
3Date: Sun, 22 Apr 2012 17:01:02 +0900
4Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32
5 platforms.
6
7If it wasn't found, then fall back to a fixed string just as before.
8
9Upstream-Status: Submitted
10http://sourceforge.net/mailarchive/message.php?msg_id=29179733
11---
12 Source/Modules/main.cxx | 24 ++++++++++++++++++++++--
13 1 file changed, 22 insertions(+), 2 deletions(-)
14
15diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
16index 76b4f9d..de0a512 100644
17--- a/Source/Modules/main.cxx
18+++ b/Source/Modules/main.cxx
19@@ -25,6 +25,11 @@
20 #include <ctype.h>
21 #include <errno.h>
22 #include <limits.h> // for INT_MAX
23+#ifndef _WIN32
24+#include <cstddef>
25+#include <unistd.h> // for readlink
26+#include <sys/stat.h> // for stat
27+#endif
28
29 // Global variables
30
31@@ -895,9 +900,9 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
32
33 // Check for SWIG_LIB environment variable
34 if ((c = getenv("SWIG_LIB")) == (char *) 0) {
35+ char *p;
36 #if defined(_WIN32)
37 char buf[MAX_PATH];
38- char *p;
39 if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, '\\')) == 0)) {
40 *(p + 1) = '\0';
41 SwigLib = NewStringf("%sLib", buf); // Native windows installation path
42@@ -907,7 +912,22 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
43 if (Len(SWIG_LIB_WIN_UNIX) > 0)
44 SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation path using a drive letter (for msys/mingw)
45 #else
46- SwigLib = NewString(SWIG_LIB);
47+ char buf[PATH_MAX];
48+ if (0 < ::readlink("/proc/self/exe", buf, sizeof(buf)) &&
49+ (p = ::strstr(buf, "/bin/swig"))) {
50+ int major, minor, patch;
51+ const int ret = ::sscanf(VERSION, "%d.%d.%d", &major, &minor, &patch);
52+ if (3 == ret) {
53+ const ::ptrdiff_t dir_part_len = p - buf;
54+ ::snprintf(p, PATH_MAX - dir_part_len, "/share/swig/%d.%d.%d", major, minor, patch);
55+ struct ::stat stat_res;
56+ if (0 == ::stat(buf, &stat_res) && S_ISDIR(stat_res.st_mode)) {
57+ SwigLib = NewString(buf);
58+ }
59+ }
60+ }
61+ if (NULL == SwigLib)
62+ SwigLib = NewString(SWIG_LIB);
63 #endif
64 } else {
65 SwigLib = NewString(c);
diff --git a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch b/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
deleted file mode 100644
index 9e16caecca..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 57a15651b46a0f1f84a4dd15d67d104fbfbe3f6e Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen.kooi@linaro.org>
3Date: Tue, 17 Jun 2014 08:18:17 +0200
4Subject: [PATCH] configure: use pkg-config for pcre detection
5
6Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
7Upstream-Status: Pending
8
9---
10 configure.ac | 39 +++++++--------------------------------
11 1 file changed, 7 insertions(+), 32 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index c060028..a330266 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -49,39 +49,14 @@ AC_MSG_RESULT([$with_pcre])
18
19 dnl To make configuring easier, check for a locally built PCRE using the Tools/pcre-build.sh script
20 if test x"${with_pcre}" = xyes ; then
21- AC_MSG_CHECKING([whether to use local PCRE2])
22- local_pcre_config=no
23- if test -z "$PCRE2_CONFIG"; then
24- if test -f `pwd`/pcre/pcre-swig-install/bin/pcre2-config; then
25- PCRE2_CONFIG=`pwd`/pcre/pcre-swig-install/bin/pcre2-config
26- local_pcre_config=$PCRE2_CONFIG
27- fi
28- fi
29- AC_MSG_RESULT([$local_pcre_config])
30-fi
31-AS_IF([test "x$with_pcre" != xno],
32- [AX_PATH_GENERIC([pcre2],
33- [], dnl Minimal version of PCRE we need -- accept any
34- [], dnl custom sed script for version parsing is not needed
35- [AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE2 library])
36- LIBS="$LIBS $PCRE2_LIBS"
37- CPPFLAGS="$CPPFLAGS $PCRE2_CFLAGS"
38- ],
39- [AC_MSG_FAILURE([
40- Cannot find pcre2-config script from PCRE2 (Perl Compatible Regular Expressions)
41- library package. This dependency is needed for configure to complete,
42- Either:
43- - Install the PCRE2 developer package on your system (preferred approach).
44- - Download the PCRE2 source tarball, build and install on your system
45- as you would for any package built from source distribution.
46- - Use the Tools/pcre-build.sh script to build PCRE2 just for SWIG to statically
47- link against. Run 'Tools/pcre-build.sh --help' for instructions.
48- (quite easy and does not require privileges to install PCRE2 on your system)
49- - Use configure --without-pcre to disable regular expressions support in SWIG
50- (not recommended).])
51- ],
52- [],[],[--libs8])
53+ PKG_CHECK_MODULES([PCRE], [libpcre2], [
54+ AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library])
55+ LIBS="$LIBS $PCRE_LIBS"
56+ CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS"
57+ ], [
58+ AC_MSG_WARN([$PCRE_PKG_ERRORS])
59 ])
60+fi
61
62
63 dnl CCache
diff --git a/meta/recipes-devtools/swig/swig_4.2.1.bb b/meta/recipes-devtools/swig/swig_4.2.1.bb
index 4b438a7298..b564be9b36 100644
--- a/meta/recipes-devtools/swig/swig_4.2.1.bb
+++ b/meta/recipes-devtools/swig/swig_4.2.1.bb
@@ -1,7 +1,45 @@
1require ${BPN}.inc 1SUMMARY = "SWIG - Simplified Wrapper and Interface Generator"
2DESCRIPTION = "SWIG is a compiler that makes it easy to integrate C and C++ \
3code with other languages including Perl, Tcl, Ruby, Python, Java, Guile, \
4Mzscheme, Chicken, OCaml, Pike, and C#."
5HOMEPAGE = "http://swig.sourceforge.net/"
6LICENSE = "BSD-3-Clause & GPL-3.0-only"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
8 file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
9 file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
2 10
3SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ 11SECTION = "devel"
4 file://0001-configure-use-pkg-config-for-pcre-detection.patch \ 12
13DEPENDS = "libpcre2 bison-native"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
5 file://determinism.patch \ 16 file://determinism.patch \
6 " 17 "
7SRC_URI[sha256sum] = "fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8" 18SRC_URI[sha256sum] = "fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8"
19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/"
20UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
21
22inherit cmake pkgconfig
23
24BBCLASSEXTEND = "native nativesdk"
25
26do_install:append:class-nativesdk() {
27 cd ${D}${bindir}
28 ln -s swig swig2.0
29}
30
31def swiglib_relpath(d):
32 swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV')
33 return os.path.relpath(swiglib, d.getVar('bindir'))
34
35do_install:append:class-native() {
36 create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)}
37}
38
39PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
40src_package_preprocess () {
41 # Trim build paths from comments and defines in generated sources to ensure reproducibility
42 sed -i -e "s,${WORKDIR},,g" \
43 -e "s,YY_YY_.*_CPARSE_PARSER_H_INCLUDED,YY_YY_CPARSE_PARSER_H_INCLUDED,g" \
44 ${B}/Source/CParse/parser.*
45}
diff --git a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
index 96d0ab2ad4..bfc718cfd3 100644
--- a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
+++ b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
@@ -1,4 +1,4 @@
1From 27e5595c065ce3af687818555a882ab5e1dfbc2b Mon Sep 17 00:00:00 2001 1From 3130dca60636dc12d0d12df75b002fd123349e21 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 22 Nov 2022 18:48:27 +0800 3Date: Tue, 22 Nov 2022 18:48:27 +0800
4Subject: [PATCH] tcl: update the header location 4Subject: [PATCH] tcl: update the header location
@@ -19,7 +19,6 @@ to detect tcl doesn't find the header.
19Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 19Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
20Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 20Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
21Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 21Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
22
23--- 22---
24 unix/Makefile.in | 2 +- 23 unix/Makefile.in | 2 +-
25 unix/configure.in | 4 ++-- 24 unix/configure.in | 4 ++--
@@ -27,7 +26,7 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
27 3 files changed, 4 insertions(+), 4 deletions(-) 26 3 files changed, 4 insertions(+), 4 deletions(-)
28 27
29diff --git a/unix/Makefile.in b/unix/Makefile.in 28diff --git a/unix/Makefile.in b/unix/Makefile.in
30index 0b8179f..4824b28 100644 29index a3b7d69..969ddb8 100644
31--- a/unix/Makefile.in 30--- a/unix/Makefile.in
32+++ b/unix/Makefile.in 31+++ b/unix/Makefile.in
33@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) 32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
@@ -40,10 +39,10 @@ index 0b8179f..4824b28 100644
40 # Path to the private tcl header dir: 39 # Path to the private tcl header dir:
41 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ 40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
42diff --git a/unix/configure.in b/unix/configure.in 41diff --git a/unix/configure.in b/unix/configure.in
43index 0354a0b..2d0c00f 100644 42index 4974fb6..a72934f 100644
44--- a/unix/configure.in 43--- a/unix/configure.in
45+++ b/unix/configure.in 44+++ b/unix/configure.in
46@@ -774,7 +774,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" 45@@ -776,7 +776,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
47 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
48 47
49 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' 48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
@@ -52,7 +51,7 @@ index 0354a0b..2d0c00f 100644
52 HTML_DIR='$(DISTDIR)/html' 51 HTML_DIR='$(DISTDIR)/html'
53 52
54 # Note: in the following variable, it's important to use the absolute 53 # Note: in the following variable, it's important to use the absolute
55@@ -895,7 +895,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" 54@@ -897,7 +897,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
56 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" 55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
57 56
58 # Install time header dir can be set via --includedir 57 # Install time header dir can be set via --includedir
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch b/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
deleted file mode 100644
index 2c31cec8e3..0000000000
--- a/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Fixes tcl target recipe build on old distros which have glibc older than 2.14
4
5| + echo 'NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install'
6| NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
7| + make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
8| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/lib
9| Installing message catalogs
10| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/share/man
11| tclsh: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/tcl8.5.11/unix/libtcl8.5.so)
12| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/bin
13| make: *** [install-msgs] Error 1
14
15Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
162012/04/26
17
18Index: unix/Makefile.in
19===================================================================
20--- a/unix.orig/Makefile.in 2013-11-10 23:38:01.787425628 -0800
21+++ b/unix/Makefile.in 2013-11-10 23:37:59.807425578 -0800
22@@ -686,7 +686,7 @@
23 # tcltest executable gets the build directory burned into its ld search path.
24 # This keeps tcltest from picking up an already installed version of the Tcl
25 # library.
26-SHELL_ENV = @LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@} \
27+SHELL_ENV = @LD_LIBRARY_PATH_VAR@=${@LD_LIBRARY_PATH_VAR@} \
28 TCLLIBPATH="@abs_builddir@/pkgs" \
29 TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"
30
31@@ -712,7 +712,7 @@
32 $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
33
34 gdb-test: ${TCLTEST_EXE}
35- @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
36+ @echo "set env @LD_LIBRARY_PATH_VAR@=$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
37 @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run
38 @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run
39 $(GDB) ${TCLTEST_EXE} --command=gdb.run
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
index 6dbef7077f..09c49daa2c 100644
--- a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
+++ b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
@@ -1,19 +1,18 @@
1From 8a6c77cdd265fe7ce35929f58f1ade0c6bc4025b Mon Sep 17 00:00:00 2001 1From 371aa300369e9ea3234cba22d5c0babc7d40dfdf Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com> 2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Fri, 13 Aug 2010 12:24:00 -0700 3Date: Fri, 13 Aug 2010 12:24:00 -0700
4Subject: [PATCH] tcl: fix a build issue 4Subject: [PATCH] tcl: fix a build issue
5 5
6Upstream-Status: Inappropriate [upstream does not support installed tests] 6Upstream-Status: Inappropriate [upstream does not support installed tests]
7
8--- 7---
9 unix/Makefile.in | 20 ++++++++++---------- 8 unix/Makefile.in | 20 ++++++++++----------
10 1 file changed, 10 insertions(+), 10 deletions(-) 9 1 file changed, 10 insertions(+), 10 deletions(-)
11 10
12diff --git a/unix/Makefile.in b/unix/Makefile.in 11diff --git a/unix/Makefile.in b/unix/Makefile.in
13index b110fe9..d7b35a8 100644 12index 9dd053d..a3b7d69 100644
14--- a/unix/Makefile.in 13--- a/unix/Makefile.in
15+++ b/unix/Makefile.in 14+++ b/unix/Makefile.in
16@@ -814,23 +814,23 @@ tcltest-real: 15@@ -815,7 +815,7 @@ tcltest-real:
17 test: test-tcl test-packages 16 test: test-tcl test-packages
18 17
19 test-tcl: ${TCLTEST_EXE} 18 test-tcl: ${TCLTEST_EXE}
@@ -21,9 +20,11 @@ index b110fe9..d7b35a8 100644
21+ $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) 20+ $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
22 21
23 gdb-test: ${TCLTEST_EXE} 22 gdb-test: ${TCLTEST_EXE}
24 @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run 23 @printf '%s ' set env @LD_LIBRARY_PATH_VAR@=\"`pwd`$${@LD_LIBRARY_PATH_VAR@:+:$${@LD_LIBRARY_PATH_VAR}}\" > gdb.run
25 @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run 24@@ -824,17 +824,17 @@ gdb-test: ${TCLTEST_EXE}
26 @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run 25 @printf '\n' >>gdb.run
26 @printf '%s ' set args $(call shquotequote,$(TOP_DIR))/tests/all.tcl\
27 $(call shquotequote,$(TESTFLAGS)) -singleproc 1 >> gdb.run
27- $(GDB) ./${TCLTEST_EXE} --command=gdb.run 28- $(GDB) ./${TCLTEST_EXE} --command=gdb.run
28+ $(GDB) ${TCLTEST_EXE} --command=gdb.run 29+ $(GDB) ${TCLTEST_EXE} --command=gdb.run
29 rm gdb.run 30 rm gdb.run
@@ -41,7 +42,7 @@ index b110fe9..d7b35a8 100644
41 42
42 # The following target generates the shared libraries in dltest/ that are used 43 # The following target generates the shared libraries in dltest/ that are used
43 # for testing; they are included as part of the "tcltest" target (via the 44 # for testing; they are included as part of the "tcltest" target (via the
44@@ -848,28 +848,28 @@ dltest.marker: ${STUB_LIB_FILE} 45@@ -852,28 +852,28 @@ dltest.marker: ${STUB_LIB_FILE}
45 # This target can be used to run tclsh from the build directory 46 # This target can be used to run tclsh from the build directory
46 # via `make shell SCRIPT=/tmp/foo.tcl` 47 # via `make shell SCRIPT=/tmp/foo.tcl`
47 shell: ${TCL_EXE} 48 shell: ${TCL_EXE}
diff --git a/meta/recipes-devtools/tcltk/tcl/interp.patch b/meta/recipes-devtools/tcltk/tcl/interp.patch
index 95d6318f64..2e0dc94cff 100644
--- a/meta/recipes-devtools/tcltk/tcl/interp.patch
+++ b/meta/recipes-devtools/tcltk/tcl/interp.patch
@@ -1,11 +1,19 @@
1From 426aa2ff62dda77fd011e8f630b9d4ea17984817 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 12 Jul 2021 14:50:13 +0100
4Subject: [PATCH] tcl: fix race in interp.test
5
1The interp-36.7 patch has race conditions and is missing cleanup. This patch by 6The interp-36.7 patch has race conditions and is missing cleanup. This patch by
2a Tcl maintainer should improve matters. 7a Tcl maintainer should improve matters.
3 8
4Upstream-Status: Pending 9Upstream-Status: Pending
5Signed-off-by: Ross Burton <ross.burton@arm.com> 10Signed-off-by: Ross Burton <ross.burton@arm.com>
11---
12 tests/interp.test | 7 ++++---
13 1 file changed, 4 insertions(+), 3 deletions(-)
6 14
7diff --git a/tests/interp.test b/tests/interp.test 15diff --git a/tests/interp.test b/tests/interp.test
8index d7424847f..fc90990f3 100644 16index d742484..fc90990 100644
9--- a/tests/interp.test 17--- a/tests/interp.test
10+++ b/tests/interp.test 18+++ b/tests/interp.test
11@@ -3595,17 +3595,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup { 19@@ -3595,17 +3595,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup {
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
index 3123d289a1..a0195e263c 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
@@ -1,20 +1,19 @@
1From d6155ec08b355d64f1a7db407254d159037bb72a Mon Sep 17 00:00:00 2001 1From b89fd73daf9b3eb2f889f65baba5f90d8a930c82 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <rpurdie@linux.intel.com> 2From: Richard Purdie <rpurdie@linux.intel.com>
3Date: Wed, 9 Dec 2009 23:59:44 +0000 3Date: Wed, 9 Dec 2009 23:59:44 +0000
4Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function 4Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7
8--- 7---
9 unix/Makefile.in | 5 ++++- 8 unix/Makefile.in | 5 ++++-
10 unix/tcl.m4 | 3 +++ 9 unix/tcl.m4 | 3 +++
11 2 files changed, 7 insertions(+), 1 deletion(-) 10 2 files changed, 7 insertions(+), 1 deletion(-)
12 11
13diff --git a/unix/Makefile.in b/unix/Makefile.in 12diff --git a/unix/Makefile.in b/unix/Makefile.in
14index 398afd0..804532e 100644 13index 7619afc..9dd053d 100644
15--- a/unix/Makefile.in 14--- a/unix/Makefile.in
16+++ b/unix/Makefile.in 15+++ b/unix/Makefile.in
17@@ -893,7 +893,10 @@ install-binaries: binaries 16@@ -904,7 +904,10 @@ install-binaries: binaries
18 done 17 done
19 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" 18 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
20 @@INSTALL_LIB@ 19 @@INSTALL_LIB@
@@ -27,10 +26,10 @@ index 398afd0..804532e 100644
27 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" 26 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
28 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" 27 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
29diff --git a/unix/tcl.m4 b/unix/tcl.m4 28diff --git a/unix/tcl.m4 b/unix/tcl.m4
30index f3d08ec..797c93f 100644 29index 0307a06..37c4d67 100644
31--- a/unix/tcl.m4 30--- a/unix/tcl.m4
32+++ b/unix/tcl.m4 31+++ b/unix/tcl.m4
33@@ -1382,6 +1382,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ 32@@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
34 # get rid of the warnings. 33 # get rid of the warnings.
35 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" 34 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
36 35
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
index 99c5faf02c..93e7877256 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
@@ -1,4 +1,4 @@
1From 6efc98774681795712073c2b91e5e9d1763239b8 Mon Sep 17 00:00:00 2001 1From 050fc597fbfa4da2c31bd0df58c871892a490470 Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com> 2From: "Song.Li" <Song.Li@windriver.com>
3Date: Wed, 1 Aug 2012 19:05:51 +0800 3Date: Wed, 1 Aug 2012 19:05:51 +0800
4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target 4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
@@ -13,15 +13,14 @@ Signed-off-by: Song.Li <Song.Li@windriver.com>
13Signed-off-by: Kai Kang <kai.kang@windriver.com> 13Signed-off-by: Kai Kang <kai.kang@windriver.com>
14Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 14Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
15--- 15---
16 configure | 2 +- 16 unix/configure.in | 2 +-
17 configure.in | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 2 files changed, 2 insertions(+), 2 deletions(-)
19 18
20Index: unix/configure.in 19diff --git a/unix/configure.in b/unix/configure.in
21=================================================================== 20index 4f62510..4974fb6 100644
22--- a/unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800 21--- a/unix/configure.in
23+++ b/unix/configure.in 2013-11-10 23:39:41.199428131 -0800 22+++ b/unix/configure.in
24@@ -790,7 +790,7 @@ 23@@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
25 24
26 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
27 26
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb b/meta/recipes-devtools/tcltk/tcl_8.6.14.bb
index bb75353a5a..de4f5b878f 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.14.bb
@@ -19,13 +19,12 @@ BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \
19 file://tcl-add-soname.patch" 19 file://tcl-add-soname.patch"
20SRC_URI = "${BASE_SRC_URI} \ 20SRC_URI = "${BASE_SRC_URI} \
21 file://fix_non_native_build_issue.patch \ 21 file://fix_non_native_build_issue.patch \
22 file://fix_issue_with_old_distro_glibc.patch \
23 file://tcl-remove-hardcoded-install-path.patch \ 22 file://tcl-remove-hardcoded-install-path.patch \
24 file://alter-includedir.patch \ 23 file://alter-includedir.patch \
25 file://interp.patch \ 24 file://interp.patch \
26 file://run-ptest \ 25 file://run-ptest \
27" 26 "
28SRC_URI[sha256sum] = "c61f0d6699e2bc7691f119b41963aaa8dc980f23532c4e937739832a5f4a6642" 27SRC_URI[sha256sum] = "ff604f43862a778827d7ecd1ad7686950ac2ef48d9cf69d3424cea9de08d9a72"
29 28
30SRC_URI:class-native = "${BASE_SRC_URI}" 29SRC_URI:class-native = "${BASE_SRC_URI}"
31 30
@@ -88,7 +87,7 @@ do_install_ptest() {
88 87
89do_install_ptest:append:libc-musl () { 88do_install_ptest:append:libc-musl () {
90 # Assumes locales other than provided by musl-locales 89 # Assumes locales other than provided by musl-locales
91 sed -i -e "s|SKIPPED_TESTS='|SKIPPED_TESTS='unixInit-3* |" ${D}${PTEST_PATH}/run-ptest 90 sed -i '/SKIP="$SKIP socket.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
92} 91}
93 92
94# Fix some paths that might be used by Tcl extensions 93# Fix some paths that might be used by Tcl extensions
diff --git a/meta/recipes-devtools/vala/vala/0001-gtk4-Preserve-compatibility-with-4.14.patch b/meta/recipes-devtools/vala/vala/0001-gtk4-Preserve-compatibility-with-4.14.patch
deleted file mode 100644
index 161474086e..0000000000
--- a/meta/recipes-devtools/vala/vala/0001-gtk4-Preserve-compatibility-with-4.14.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 17349020fb95454d06f827fd555b05248f10a370 Mon Sep 17 00:00:00 2001
2From: Rico Tzschichholz <ricotz@ubuntu.com>
3Date: Thu, 7 Mar 2024 17:56:05 +0100
4Subject: [PATCH] gtk4: Preserve compatibility with < 4.14
5
6Don't prefer new accessor methods for Calendar.day/month/year
7
8Fixes https://gitlab.gnome.org/GNOME/vala/issues/1531
9
10Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/vala/-/commit/e0c4ea8c4a0bbf859b5341a7465b395892789d9e]
11
12Signed-off-by: Markus Volk <f_l_k@t-online.de>
13---
14 vapi/gtk4.vapi | 3 +++
15 vapi/metadata/Gtk-4.0.metadata | 5 +++++
16 2 files changed, 8 insertions(+)
17
18diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
19index 49f8b2078..51ecea27d 100644
20--- a/vapi/gtk4.vapi
21+++ b/vapi/gtk4.vapi
22@@ -7350,11 +7350,14 @@ namespace Gtk {
23 [Version (since = "4.14")]
24 public void set_year (int year);
25 public void unmark_day (uint day);
26+ [NoAccessorMethod]
27 public int day { get; set; }
28+ [NoAccessorMethod]
29 public int month { get; set; }
30 public bool show_day_names { get; set; }
31 public bool show_heading { get; set; }
32 public bool show_week_numbers { get; set; }
33+ [NoAccessorMethod]
34 public int year { get; set; }
35 public signal void day_selected ();
36 public signal void next_month ();
37--
382.44.0
39
diff --git a/meta/recipes-devtools/vala/vala_0.56.15.bb b/meta/recipes-devtools/vala/vala_0.56.17.bb
index 915ddd8e4d..acd6c43096 100644
--- a/meta/recipes-devtools/vala/vala_0.56.15.bb
+++ b/meta/recipes-devtools/vala/vala_0.56.17.bb
@@ -18,11 +18,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
18 18
19SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" 19SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
20 20
21SRC_URI = " \ 21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
22 http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz \ 22SRC_URI[sha256sum] = "26100c4e4ef0049c619275f140d97cf565883d00c7543c82bcce5a426934ed6a"
23 file://0001-gtk4-Preserve-compatibility-with-4.14.patch \
24"
25SRC_URI[sha256sum] = "535b6452ed310fd5fb5c7dd6794b6213dac3b48e645e5bff3173741ec2cb3f2b"
26 23
27inherit autotools pkgconfig upstream-version-is-even 24inherit autotools pkgconfig upstream-version-is-even
28 25
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch
new file mode 100644
index 0000000000..80a8e3a10b
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch
@@ -0,0 +1,64 @@
1From 027b649fdb831868e71be01cafdacc49a5f419ab Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Fri, 17 Nov 2023 14:01:21 +0100
4Subject: [PATCH 1/4] valgrind-monitor.py regular expressions should use raw
5 strings
6
7With python 3.12 gdb will produce the following SyntaxWarning when
8loading valgrind-monitor-def.py:
9
10 /usr/share/gdb/auto-load/valgrind-monitor-def.py:214:
11 SyntaxWarning: invalid escape sequence '\['
12 if re.fullmatch("^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
13
14In a future python version this will become an SyntaxError.
15
16Use a raw strings for the regular expression.
17
18https://bugs.kde.org/show_bug.cgi?id=476708
19(cherry picked from commit 0fbfbe05028ad18efda786a256a2738d2c231ed4)
20
21Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=027b649fdb831868e71be01cafdacc49a5f419ab]
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23---
24 NEWS | 13 +++++++++++++
25 coregrind/m_gdbserver/valgrind-monitor-def.py | 2 +-
26 2 files changed, 14 insertions(+), 1 deletion(-)
27
28diff --git a/NEWS b/NEWS
29index f11da4be8..ee5b4ff11 100644
30--- a/NEWS
31+++ b/NEWS
32@@ -1,3 +1,16 @@
33+Branch 3.22
34+~~~~~~~~~~~
35+
36+* ==================== FIXED BUGS ====================
37+
38+The following bugs have been fixed or resolved on this branch.
39+
40+476708 valgrind-monitor.py regular expressions should use raw strings
41+
42+To see details of a given bug, visit
43+ https://bugs.kde.org/show_bug.cgi?id=XXXXXX
44+where XXXXXX is the bug number as listed above.
45+
46 Release 3.22.0 (31 Oct 2023)
47 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48
49diff --git a/coregrind/m_gdbserver/valgrind-monitor-def.py b/coregrind/m_gdbserver/valgrind-monitor-def.py
50index b4e7b992d..d74b1590c 100644
51--- a/coregrind/m_gdbserver/valgrind-monitor-def.py
52+++ b/coregrind/m_gdbserver/valgrind-monitor-def.py
53@@ -211,7 +211,7 @@ class Valgrind_ADDR_LEN_opt(Valgrind_Command):
54 For compatibility reason with the Valgrind gdbserver monitor command,
55 we detect and accept usages such as 0x1234ABCD[10]."""
56 def invoke(self, arg_str : str, from_tty : bool) -> None:
57- if re.fullmatch("^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
58+ if re.fullmatch(r"^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
59 arg_str = arg_str.replace("[", " ")
60 arg_str = arg_str.replace("]", " ")
61 eval_execute_2(self, arg_str,
62--
632.44.0
64
diff --git a/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch b/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch
new file mode 100644
index 0000000000..5759fa039a
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch
@@ -0,0 +1,147 @@
1From 1d00e5ce0fb069911c4b525ec38289fb5d9021b0 Mon Sep 17 00:00:00 2001
2From: Paul Floyd <pjfloyd@wanadoo.fr>
3Date: Sat, 18 Nov 2023 08:49:34 +0100
4Subject: [PATCH 2/4] Bug 476548 - valgrind 3.22.0 fails on assertion when
5 loading debuginfo file produced by mold
6
7(cherry picked from commit 9ea4ae66707a4dcc6f4328e11911652e4418c585)
8
9Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=1d00e5ce0fb069911c4b525ec38289fb5d9021b0]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 NEWS | 2 ++
13 coregrind/m_debuginfo/image.c | 14 +++++++++
14 coregrind/m_debuginfo/priv_image.h | 4 +++
15 coregrind/m_debuginfo/readelf.c | 49 ++++++++++++++++++++++++++++--
16 4 files changed, 66 insertions(+), 3 deletions(-)
17
18diff --git a/NEWS b/NEWS
19index ee5b4ff11..6cd13429a 100644
20--- a/NEWS
21+++ b/NEWS
22@@ -5,6 +5,8 @@ Branch 3.22
23
24 The following bugs have been fixed or resolved on this branch.
25
26+476548 valgrind 3.22.0 fails on assertion when loading debuginfo
27+ file produced by mold
28 476708 valgrind-monitor.py regular expressions should use raw strings
29
30 To see details of a given bug, visit
31diff --git a/coregrind/m_debuginfo/image.c b/coregrind/m_debuginfo/image.c
32index 02e509071..445f95555 100644
33--- a/coregrind/m_debuginfo/image.c
34+++ b/coregrind/m_debuginfo/image.c
35@@ -1221,6 +1221,20 @@ Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2)
36 }
37 }
38
39+Int ML_(img_strcmp_n)(DiImage* img, DiOffT off1, const HChar* str2, Word n)
40+{
41+ ensure_valid(img, off1, 1, "ML_(img_strcmp_c)");
42+ while (n) {
43+ UChar c1 = get(img, off1);
44+ UChar c2 = *(const UChar*)str2;
45+ if (c1 < c2) return -1;
46+ if (c1 > c2) return 1;
47+ if (c1 == 0) return 0;
48+ off1++; str2++; --n;
49+ }
50+ return 0;
51+}
52+
53 UChar ML_(img_get_UChar)(DiImage* img, DiOffT offset)
54 {
55 ensure_valid(img, offset, 1, "ML_(img_get_UChar)");
56diff --git a/coregrind/m_debuginfo/priv_image.h b/coregrind/m_debuginfo/priv_image.h
57index a49846f14..c91e49f01 100644
58--- a/coregrind/m_debuginfo/priv_image.h
59+++ b/coregrind/m_debuginfo/priv_image.h
60@@ -115,6 +115,10 @@ Int ML_(img_strcmp)(DiImage* img, DiOffT off1, DiOffT off2);
61 cast to HChar before comparison. */
62 Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2);
63
64+/* Do strncmp of a C string in the image vs a normal one. Chars are
65+ cast to HChar before comparison. */
66+Int ML_(img_strcmp_n)(DiImage* img, DiOffT off1, const HChar* str2, Word n);
67+
68 /* Do strlen of a C string in the image. */
69 SizeT ML_(img_strlen)(DiImage* img, DiOffT off);
70
71diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c
72index fb64ed976..46f8c8343 100644
73--- a/coregrind/m_debuginfo/readelf.c
74+++ b/coregrind/m_debuginfo/readelf.c
75@@ -2501,8 +2501,7 @@ Bool ML_(read_elf_object) ( struct _DebugInfo* di )
76 di->rodata_avma += inrw1->bias;
77 di->rodata_bias = inrw1->bias;
78 di->rodata_debug_bias = inrw1->bias;
79- }
80- else {
81+ } else {
82 BAD(".rodata"); /* should not happen? */
83 }
84 di->rodata_present = True;
85@@ -2977,6 +2976,46 @@ Bool ML_(read_elf_object) ( struct _DebugInfo* di )
86 return retval;
87 }
88
89+static void find_rodata(Word i, Word shnum, DiImage* dimg, struct _DebugInfo* di, DiOffT shdr_dioff,
90+ UWord shdr_dent_szB, DiOffT shdr_strtab_dioff, PtrdiffT rw_dbias)
91+{
92+ ElfXX_Shdr a_shdr;
93+ ElfXX_Shdr a_extra_shdr;
94+ ML_(img_get)(&a_shdr, dimg,
95+ INDEX_BIS(shdr_dioff, i, shdr_dent_szB),
96+ sizeof(a_shdr));
97+ if (di->rodata_present &&
98+ 0 == ML_(img_strcmp_c)(dimg, shdr_strtab_dioff
99+ + a_shdr.sh_name, ".rodata")) {
100+ Word sh_size = a_shdr.sh_size;
101+ Word j;
102+ Word next_addr = a_shdr.sh_addr + a_shdr.sh_size;
103+ for (j = i + 1; j < shnum; ++j) {
104+ ML_(img_get)(&a_extra_shdr, dimg,
105+ INDEX_BIS(shdr_dioff, j, shdr_dent_szB),
106+ sizeof(a_shdr));
107+ if (0 == ML_(img_strcmp_n)(dimg, shdr_strtab_dioff
108+ + a_extra_shdr.sh_name, ".rodata", 7)) {
109+ if (a_extra_shdr.sh_addr ==
110+ VG_ROUNDUP(next_addr, a_extra_shdr.sh_addralign)) {
111+ sh_size = VG_ROUNDUP(sh_size, a_extra_shdr.sh_addralign) + a_extra_shdr.sh_size;
112+ }
113+ next_addr = a_extra_shdr.sh_addr + a_extra_shdr.sh_size;
114+ } else {
115+ break;
116+ }
117+ }
118+ vg_assert(di->rodata_size == sh_size);
119+ vg_assert(di->rodata_avma + a_shdr.sh_addr + rw_dbias);
120+ di->rodata_debug_svma = a_shdr.sh_addr;
121+ di->rodata_debug_bias = di->rodata_bias +
122+ di->rodata_svma - di->rodata_debug_svma;
123+ TRACE_SYMTAB("acquiring .rodata debug svma = %#lx .. %#lx\n",
124+ di->rodata_debug_svma,
125+ di->rodata_debug_svma + di->rodata_size - 1);
126+ TRACE_SYMTAB("acquiring .rodata debug bias = %#lx\n", (UWord)di->rodata_debug_bias);
127+ }
128+}
129 Bool ML_(read_elf_debug) ( struct _DebugInfo* di )
130 {
131 Word i, j;
132@@ -3391,7 +3430,11 @@ Bool ML_(read_elf_debug) ( struct _DebugInfo* di )
133 FIND(text, rx)
134 FIND(data, rw)
135 FIND(sdata, rw)
136- FIND(rodata, rw)
137+ // https://bugs.kde.org/show_bug.cgi?id=476548
138+ // special handling for rodata as adjacent
139+ // rodata sections may have been merged in ML_(read_elf_object)
140+ //FIND(rodata, rw)
141+ find_rodata(i, ehdr_dimg.e_shnum, dimg, di, shdr_dioff, shdr_dent_szB, shdr_strtab_dioff, rw_dbias);
142 FIND(bss, rw)
143 FIND(sbss, rw)
144
145--
1462.44.0
147
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch b/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch
new file mode 100644
index 0000000000..2a09ca52b7
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch
@@ -0,0 +1,221 @@
1From a43e62dddcf51ec6578a90c5988a41e856b44b05 Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Sat, 18 Nov 2023 21:17:02 +0100
4Subject: [PATCH 3/4] Add fchmodat2 syscall on linux
5
6fchmodat2 is a new syscall on linux 6.6. It is a variant of fchmodat
7that takes an extra flags argument.
8
9https://bugs.kde.org/show_bug.cgi?id=477198
10
11(cherry picked from commit 372d09fd9a8d76847c81092ebff71c80fd6c145d)
12
13Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=a43e62dddcf51ec6578a90c5988a41e856b44b05]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 NEWS | 1 +
17 coregrind/m_syswrap/priv_syswrap-linux.h | 3 +++
18 coregrind/m_syswrap/syswrap-amd64-linux.c | 2 ++
19 coregrind/m_syswrap/syswrap-arm-linux.c | 2 ++
20 coregrind/m_syswrap/syswrap-arm64-linux.c | 2 ++
21 coregrind/m_syswrap/syswrap-linux.c | 11 +++++++++++
22 coregrind/m_syswrap/syswrap-mips32-linux.c | 2 ++
23 coregrind/m_syswrap/syswrap-mips64-linux.c | 1 +
24 coregrind/m_syswrap/syswrap-nanomips-linux.c | 1 +
25 coregrind/m_syswrap/syswrap-ppc32-linux.c | 2 ++
26 coregrind/m_syswrap/syswrap-ppc64-linux.c | 2 ++
27 coregrind/m_syswrap/syswrap-s390x-linux.c | 2 ++
28 coregrind/m_syswrap/syswrap-x86-linux.c | 2 ++
29 include/vki/vki-scnums-shared-linux.h | 2 ++
30 14 files changed, 35 insertions(+)
31
32diff --git a/NEWS b/NEWS
33index 6cd13429a..da0f8c1aa 100644
34--- a/NEWS
35+++ b/NEWS
36@@ -8,6 +8,7 @@ The following bugs have been fixed or resolved on this branch.
37 476548 valgrind 3.22.0 fails on assertion when loading debuginfo
38 file produced by mold
39 476708 valgrind-monitor.py regular expressions should use raw strings
40+477198 Add fchmodat2 syscall on linux
41
42 To see details of a given bug, visit
43 https://bugs.kde.org/show_bug.cgi?id=XXXXXX
44diff --git a/coregrind/m_syswrap/priv_syswrap-linux.h b/coregrind/m_syswrap/priv_syswrap-linux.h
45index 7c9decf5a..798c456c9 100644
46--- a/coregrind/m_syswrap/priv_syswrap-linux.h
47+++ b/coregrind/m_syswrap/priv_syswrap-linux.h
48@@ -331,6 +331,9 @@ DECL_TEMPLATE(linux, sys_openat2);
49 // Linux-specific (new in Linux 5.14)
50 DECL_TEMPLATE(linux, sys_memfd_secret);
51
52+// Since Linux 6.6
53+DECL_TEMPLATE(linux, sys_fchmodat2);
54+
55 /* ---------------------------------------------------------------------
56 Wrappers for sockets and ipc-ery. These are split into standalone
57 procedures because x86-linux hides them inside multiplexors
58diff --git a/coregrind/m_syswrap/syswrap-amd64-linux.c b/coregrind/m_syswrap/syswrap-amd64-linux.c
59index 008600798..fe17d118b 100644
60--- a/coregrind/m_syswrap/syswrap-amd64-linux.c
61+++ b/coregrind/m_syswrap/syswrap-amd64-linux.c
62@@ -886,6 +886,8 @@ static SyscallTableEntry syscall_table[] = {
63 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
64
65 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
66+
67+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
68 };
69
70 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
71diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c
72index 9a7a1e0d2..811931d3b 100644
73--- a/coregrind/m_syswrap/syswrap-arm-linux.c
74+++ b/coregrind/m_syswrap/syswrap-arm-linux.c
75@@ -1059,6 +1059,8 @@ static SyscallTableEntry syscall_main_table[] = {
76 LINX_(__NR_faccessat2, sys_faccessat2), // 439
77
78 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
79+
80+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
81 };
82
83
84diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
85index 6af7bab83..3307bc2ca 100644
86--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
87+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
88@@ -840,6 +840,8 @@ static SyscallTableEntry syscall_main_table[] = {
89 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
90
91 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
92+
93+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
94 };
95
96
97diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c
98index d571fc327..efa47f2e6 100644
99--- a/coregrind/m_syswrap/syswrap-linux.c
100+++ b/coregrind/m_syswrap/syswrap-linux.c
101@@ -6059,6 +6059,17 @@ PRE(sys_fchmodat)
102 PRE_MEM_RASCIIZ( "fchmodat(path)", ARG2 );
103 }
104
105+PRE(sys_fchmodat2)
106+{
107+ PRINT("sys_fchmodat2 ( %ld, %#" FMT_REGWORD "x(%s), %" FMT_REGWORD "u, %"
108+ FMT_REGWORD "u )",
109+ SARG1, ARG2, (HChar*)(Addr)ARG2, ARG3, ARG4);
110+ PRE_REG_READ4(long, "fchmodat2",
111+ int, dfd, const char *, path, vki_mode_t, mode,
112+ unsigned int, flags);
113+ PRE_MEM_RASCIIZ( "fchmodat2(pathname)", ARG2 );
114+}
115+
116 PRE(sys_faccessat)
117 {
118 PRINT("sys_faccessat ( %ld, %#" FMT_REGWORD "x(%s), %ld )",
119diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c
120index 6268a00dd..74a1f6eac 100644
121--- a/coregrind/m_syswrap/syswrap-mips32-linux.c
122+++ b/coregrind/m_syswrap/syswrap-mips32-linux.c
123@@ -1143,6 +1143,8 @@ static SyscallTableEntry syscall_main_table[] = {
124 LINX_ (__NR_faccessat2, sys_faccessat2), // 439
125
126 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
127+
128+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
129 };
130
131 SyscallTableEntry* ML_(get_linux_syscall_entry) (UInt sysno)
132diff --git a/coregrind/m_syswrap/syswrap-mips64-linux.c b/coregrind/m_syswrap/syswrap-mips64-linux.c
133index 6cdf25893..4e8508b7a 100644
134--- a/coregrind/m_syswrap/syswrap-mips64-linux.c
135+++ b/coregrind/m_syswrap/syswrap-mips64-linux.c
136@@ -820,6 +820,7 @@ static SyscallTableEntry syscall_main_table[] = {
137 LINXY (__NR_close_range, sys_close_range),
138 LINX_ (__NR_faccessat2, sys_faccessat2),
139 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2),
140+ LINX_ (__NR_fchmodat2, sys_fchmodat2),
141 };
142
143 SyscallTableEntry * ML_(get_linux_syscall_entry) ( UInt sysno )
144diff --git a/coregrind/m_syswrap/syswrap-nanomips-linux.c b/coregrind/m_syswrap/syswrap-nanomips-linux.c
145index d724cde74..7859900c1 100644
146--- a/coregrind/m_syswrap/syswrap-nanomips-linux.c
147+++ b/coregrind/m_syswrap/syswrap-nanomips-linux.c
148@@ -829,6 +829,7 @@ static SyscallTableEntry syscall_main_table[] = {
149 LINXY (__NR_close_range, sys_close_range),
150 LINX_ (__NR_faccessat2, sys_faccessat2),
151 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2),
152+ LINX_ (__NR_fchmodat2, sys_fchmodat2),
153 };
154
155 SyscallTableEntry* ML_(get_linux_syscall_entry) (UInt sysno)
156diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c
157index c0cfef235..1e19116ee 100644
158--- a/coregrind/m_syswrap/syswrap-ppc32-linux.c
159+++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c
160@@ -1063,6 +1063,8 @@ static SyscallTableEntry syscall_table[] = {
161 LINX_(__NR_faccessat2, sys_faccessat2), // 439
162
163 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2), // 441
164+
165+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
166 };
167
168 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
169diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
170index f5976f30c..1097212a4 100644
171--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
172+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
173@@ -1032,6 +1032,8 @@ static SyscallTableEntry syscall_table[] = {
174 LINX_(__NR_faccessat2, sys_faccessat2), // 439
175
176 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2), // 441
177+
178+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
179 };
180
181 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
182diff --git a/coregrind/m_syswrap/syswrap-s390x-linux.c b/coregrind/m_syswrap/syswrap-s390x-linux.c
183index afba154e7..3588672c7 100644
184--- a/coregrind/m_syswrap/syswrap-s390x-linux.c
185+++ b/coregrind/m_syswrap/syswrap-s390x-linux.c
186@@ -873,6 +873,8 @@ static SyscallTableEntry syscall_table[] = {
187 LINX_(__NR_faccessat2, sys_faccessat2), // 439
188
189 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
190+
191+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
192 };
193
194 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
195diff --git a/coregrind/m_syswrap/syswrap-x86-linux.c b/coregrind/m_syswrap/syswrap-x86-linux.c
196index da4fd8fa2..58badc6b0 100644
197--- a/coregrind/m_syswrap/syswrap-x86-linux.c
198+++ b/coregrind/m_syswrap/syswrap-x86-linux.c
199@@ -1658,6 +1658,8 @@ static SyscallTableEntry syscall_table[] = {
200 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
201
202 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
203+
204+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
205 };
206
207 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
208diff --git a/include/vki/vki-scnums-shared-linux.h b/include/vki/vki-scnums-shared-linux.h
209index 542382b53..a4cd87149 100644
210--- a/include/vki/vki-scnums-shared-linux.h
211+++ b/include/vki/vki-scnums-shared-linux.h
212@@ -50,4 +50,6 @@
213
214 #define __NR_memfd_secret 447
215
216+#define __NR_fchmodat2 452
217+
218 #endif
219--
2202.44.0
221
diff --git a/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch b/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch
new file mode 100644
index 0000000000..4e9185508a
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch
@@ -0,0 +1,137 @@
1From 41ff9aa49f6c54c66d0e6b37f265fd9cb0176057 Mon Sep 17 00:00:00 2001
2From: Paul Floyd <pjfloyd@wanadoo.fr>
3Date: Sun, 17 Dec 2023 14:18:51 +0100
4Subject: [PATCH 4/4] Bug 478624 - Valgrind incompatibility with binutils-2.42
5 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4
6 0x26)
7
8It was a bit of a struggle to get the testcase to build
9with both clang and gcc (oddly enough gcc was more difficult) so
10I just resorted to using .byte arrays.
11
12(cherry picked from commit d35005cef8ad8207542738812705ceabf137d7e0)
13
14Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=41ff9aa49f6c54c66d0e6b37f265fd9cb0176057]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 .gitignore | 1 +
18 NEWS | 2 ++
19 VEX/priv/guest_x86_toIR.c | 22 +++++++++++++-
20 none/tests/x86/Makefile.am | 2 ++
21 none/tests/x86/gnu_binutils_nop.c | 34 ++++++++++++++++++++++
22 none/tests/x86/gnu_binutils_nop.stderr.exp | 0
23 none/tests/x86/gnu_binutils_nop.vgtest | 2 ++
24 7 files changed, 62 insertions(+), 1 deletion(-)
25 create mode 100644 none/tests/x86/gnu_binutils_nop.c
26 create mode 100644 none/tests/x86/gnu_binutils_nop.stderr.exp
27 create mode 100644 none/tests/x86/gnu_binutils_nop.vgtest
28
29--- a/NEWS
30+++ b/NEWS
31@@ -9,6 +9,8 @@ The following bugs have been fixed or re
32 file produced by mold
33 476708 valgrind-monitor.py regular expressions should use raw strings
34 477198 Add fchmodat2 syscall on linux
35+478624 Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns
36+ (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26)
37
38 To see details of a given bug, visit
39 https://bugs.kde.org/show_bug.cgi?id=XXXXXX
40--- a/VEX/priv/guest_x86_toIR.c
41+++ b/VEX/priv/guest_x86_toIR.c
42@@ -8198,7 +8198,7 @@ DisResult disInstr_X86_WRK (
43 delta += 5;
44 goto decode_success;
45 }
46- /* Don't barf on recent binutils padding,
47+ /* Don't barf on recent (2010) binutils padding,
48 all variants of which are: nopw %cs:0x0(%eax,%eax,1)
49 66 2e 0f 1f 84 00 00 00 00 00
50 66 66 2e 0f 1f 84 00 00 00 00 00
51@@ -8222,6 +8222,26 @@ DisResult disInstr_X86_WRK (
52 goto decode_success;
53 }
54 }
55+
56+ /* bug478624 GNU binutils uses a leal of esi into itself with
57+ a zero offset and CS prefix as an 8 byte no-op (Dec 2023).
58+ Since the CS prefix is hardly ever used we don't do much
59+ to decode it, just a few cases for conditional branches.
60+ So add handling here with other pseudo-no-ops.
61+ */
62+ if (code[0] == 0x2E && code[1] == 0x8D) {
63+ if (code[2] == 0x74 && code[3] == 0x26 && code[4] == 0x00) {
64+ DIP("leal %%cs:0(%%esi,%%eiz,1),%%esi\n");
65+ delta += 5;
66+ goto decode_success;
67+ }
68+ if (code[2] == 0xB4 && code[3] == 0x26 && code[4] == 0x00
69+ && code[5] == 0x00 && code[6] == 0x00 && code[7] == 0x00) {
70+ DIP("leal %%cs:0(%%esi,%%eiz,1),%%esi\n");
71+ delta += 8;
72+ goto decode_success;
73+ }
74+ }
75
76 // Intel CET requires the following opcodes to be treated as NOPs
77 // with any prefix and ModRM, SIB and disp combination:
78--- a/none/tests/x86/Makefile.am
79+++ b/none/tests/x86/Makefile.am
80@@ -52,6 +52,7 @@ EXTRA_DIST = \
81 fxtract.stdout.exp fxtract.stderr.exp fxtract.vgtest \
82 fxtract.stdout.exp-older-glibc \
83 getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
84+ gnu_binutils_nop.stderr.exp gnu_binutils_nop.vgtest \
85 incdec_alt.stdout.exp incdec_alt.stderr.exp incdec_alt.vgtest \
86 int.stderr.exp int.stdout.exp int.disabled \
87 $(addsuffix .stderr.exp,$(INSN_TESTS)) \
88@@ -100,6 +101,7 @@ check_PROGRAMS = \
89 fpu_lazy_eflags \
90 fxtract \
91 getseg \
92+ gnu_binutils_nop \
93 incdec_alt \
94 $(INSN_TESTS) \
95 int \
96--- /dev/null
97+++ b/none/tests/x86/gnu_binutils_nop.c
98@@ -0,0 +1,34 @@
99+int main(void)
100+{
101+ // GNU binutils uses various opcodes as alternatives for nop
102+ // the idea is that it is faster to execute one large opcode
103+ // with no side-effects than multiple repetitions of the
104+ // single byte 'nop'. This gives more choice when code
105+ // needs to be padded.
106+
107+ // the following is based on
108+ // https://sourceware.org/cgit/binutils-gdb/tree/gas/config/tc-i386.c#n1256
109+
110+ // one byte
111+ __asm__ __volatile__("nop");
112+ // two bytes
113+ __asm__ __volatile__("xchg %ax,%ax");
114+ // three bytes
115+ //__asm__ __volatile__("leal 0(%esi),%esi");
116+ __asm__ __volatile__(".byte 0x8d,0x76,0x00");
117+ // four bytes
118+ //__asm__ __volatile__("leal 0(%esi,%eiz),%esi");
119+ __asm__ __volatile__(".byte 0x8d,0x74,0x26,0x00");
120+ // five bytes
121+ //__asm__ __volatile__("leal %cs:0(%esi,%eiz),%esi");
122+ __asm__ __volatile__(".byte 0x2e,0x8d,0x74,0x26,0x00");
123+ // six bytes
124+ //__asm__ __volatile__("leal 0L(%esi),%esi");
125+ __asm__ __volatile__(".byte 0x8d,0xb6,0x00,0x00,0x00,0x00");
126+ // seven bytes
127+ //__asm__ __volatile__("leal 0L(%esi,%eiz),%esi");
128+ __asm__ __volatile__(".byte 0x8d,0xb4,0x26,0x00,0x00,0x00,0x00");
129+ // eight bytes
130+ //__asm__ __volatile__("leal %cs:0L(%esi,%eiz),%esi");
131+ __asm__ __volatile__(".byte 0x2e,0x8d,0xb4,0x26,0x00,0x00,0x00,0x00");
132+}
133--- /dev/null
134+++ b/none/tests/x86/gnu_binutils_nop.vgtest
135@@ -0,0 +1,2 @@
136+prog: gnu_binutils_nop
137+vgopts: -q
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
index 74ac7ec9d5..563d99f0e2 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
@@ -33,6 +33,10 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
33 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \ 33 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
34 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \ 34 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
35 file://0001-docs-Disable-manual-validation.patch \ 35 file://0001-docs-Disable-manual-validation.patch \
36 file://0001-valgrind-monitor.py-regular-expressions-should-use-r.patch \
37 file://0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch \
38 file://0003-Add-fchmodat2-syscall-on-linux.patch \
39 file://0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch \
36 " 40 "
37SRC_URI[sha256sum] = "c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c" 41SRC_URI[sha256sum] = "c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c"
38UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" 42UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"