Skip to contentSkip to conversation

fltk: upgrade 1.3.8 -> 1.3.9

PATCH In review Yi Zhao 2 participants 7 messages Sep 15, 2024 – Oct 12, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/6 fltk: upgrade 1.3.8 -> 1.3.9

Release Notes:
https://www.fltk.org/articles.php?L1898

---
 meta-oe/recipes-support/fltk/fltk.inc                         | 4 ++--
 ...Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-support/fltk/fltk.inc +2 -2
index b1bc83578..0b2921095 100644
@@ -11,8 +11,8 @@ SRC_URI = " \
     file://0002-always-build-fluid-and-export-pointers.patch \
 "
 
-PV = "1.3.8"
-SRC_URI[sha256sum] = "1d9832409fc08c908c64ab40ad9fd8b0e8af5d203651eb9690b810f41e2f412d"
+PV = "1.3.9"
+SRC_URI[sha256sum] = "103441134915402808fd45424d4061778609437e804334434e946cfd26b196c2"
 
 inherit cmake pkgconfig
 
meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch +2 -2
index d1cbb3547..0d47dac2d 100644
@@ -16,10 +16,10 @@ Content-Transfer-Encoding: 8bit
 |                                     ^
 | src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed
 
-Signed-off-by: Andreas Müller <[email protected]>
----
 Upstream-Status: Pending
 
+Signed-off-by: Andreas Müller <[email protected]>
+---
  src/Fl_Preferences.cxx | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/6 openjpeg: upgrade 2.5.0 -> 2.5.2

ChangeLog:
https://github.com/uclouvain/openjpeg/blob/v2.5.2/NEWS.md

* Refresh 0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch

---
 ...sk-cmake-to-export-binaries-they-don-t-make-.patch} | 10 +++++-----
 .../openjpeg/{openjpeg_2.5.0.bb => openjpeg_2.5.2.bb}  |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-graphics/openjpeg/openjpeg/{0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch => 0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch} (75%)
 rename meta-oe/recipes-graphics/openjpeg/{openjpeg_2.5.0.bb => openjpeg_2.5.2.bb} (82%)
meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch renamed from meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch +5 -5
similarity index 75%
rename from meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch
rename to meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch
index 0ba13cf88..2e25ecc7e 100644
@@ -1,4 +1,4 @@
-From 4681de07e21f17aa28710d3a51fabe7da60463f9 Mon Sep 17 00:00:00 2001
+From 805ce4d40c5aaae12aa73452ff07babe8eb43a62 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
 Date: Fri, 28 Sep 2018 00:38:50 +0200
 Subject: [PATCH] Do not ask cmake to export binaries - they don't make it
@@ -15,17 +15,17 @@ Signed-off-by: Andreas Müller <[email protected]>
  1 file changed, 1 deletion(-)
 
 diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
-index 4324c36d..2c11fe02 100644
+index 26156bcb..9eff04aa 100644
 --- a/src/bin/jp2/CMakeLists.txt
 +++ b/src/bin/jp2/CMakeLists.txt
-@@ -66,7 +66,6 @@ foreach(exe opj_decompress opj_compress opj_dump)
+@@ -64,7 +64,6 @@ foreach(exe opj_decompress opj_compress opj_dump)
    endif()
    # Install exe
    install(TARGETS ${exe}
 -    EXPORT OpenJPEGTargets
-     DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications
+     DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Applications
    )
    if(OPJ_USE_DSYMUTIL)
 -- 
-2.14.4
+2.25.1
 
meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.2.bb renamed from meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb
rename to meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.2.bb
index f2d74078e..45f1b5ef4 100644
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
 DEPENDS = "libpng tiff lcms zlib"
 
 SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \
-           file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \
+           file://0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \
            "
-SRCREV = "a5891555eb49ed7cc26b2901ea680acda136d811"
+SRCREV = "39e8c50a2f9bdcf36810ee3d41bcbf1cc78968ae"
 S = "${WORKDIR}/git"
 
 inherit cmake
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH 3/6 netplan: upgrade 1.0.1 -> 1.1

In reply to Yi Zhao

ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.1

* Drop the following patches as the issues have been fixed upstream:
0001-meson.build-drop-unnecessary-build-dependencies.patch 0001-networkd.c-define-scope-specific-to-case-statement.patch

* Set build option -Dtesting=false to skip testing.

---
 ... 0001-meson.build-do-not-use-Werror.patch} |  0
 ...-drop-unnecessary-build-dependencies.patch | 58 -------------------
 ...ine-scope-specific-to-case-statement.patch | 47 ---------------
 .../{netplan_1.0.1.bb => netplan_1.1.bb}      | 10 ++--
 4 files changed, 4 insertions(+), 111 deletions(-)
 rename meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/{0002-meson.build-do-not-use-Werror.patch => 0001-meson.build-do-not-use-Werror.patch} (100%)
 delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch
 delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch
 rename meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/{netplan_1.0.1.bb => netplan_1.1.bb} (78%)
meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-do-not-use-Werror.patch renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0002-meson.build-do-not-use-Werror.patch +0 -0
similarity index 100%
rename from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0002-meson.build-do-not-use-Werror.patch
rename to meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-do-not-use-Werror.patch
meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch deleted +0 -58

58 lines not on this page · raw message

meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch deleted +0 -47

47 lines not on this page · raw message

meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.bb renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.0.1.bb +4 -6
similarity index 78%
rename from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.0.1.bb
rename to meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.bb
index 2b1a4ffda..40d72caa0 100644
@@ -14,15 +14,13 @@ inherit meson pkgconfig systemd python3targetconfig features_check
 
 REQUIRED_DISTRO_FEATURES = "systemd"
 
-SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=stable/1.0;protocol=https \
-           file://0001-meson.build-drop-unnecessary-build-dependencies.patch \
-           file://0002-meson.build-do-not-use-Werror.patch \
+SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \
+           file://0001-meson.build-do-not-use-Werror.patch \
           "
 
 SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch"
-SRC_URI:append:toolchain-clang = " file://0001-networkd.c-define-scope-specific-to-case-statement.patch"
 
-SRCREV = "3a7516aadaf864ee9d04727977d3d9fd1bccbbda"
+SRCREV = "d27f32305f7f06de449b32239a89969e6ff2be31"
 
 S = "${WORKDIR}/git"
 
@@ -30,7 +28,7 @@ DEPENDS = "glib-2.0 libyaml util-linux-libuuid \
            systemd python3-cffi-native \
           "
 
-EXTRA_OEMESON = "-Dunit_testing=false"
+EXTRA_OEMESON = "-Dtesting=false -Dunit_testing=false"
 
 RDEPENDS:${PN} = "python3-core python3-netifaces python3-pyyaml \
                   python3-dbus python3-rich python3-cffi \
Signature · 1 line
2.25.1
author
#3 lore raw

PATCH 4/6 libssh: upgrade 0.10.6 -> 0.11.1

In reply to Yi Zhao

* Drop 0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch as the issue has been fixed upstream.

* Add a patch to fix build with clang.

---
 ...cks.cmake-drop-Wunused-variable-flag.patch | 37 ++++++++++++++++
 ...prototype-of-des3_encrypt-des3_decry.patch | 44 -------------------
 ....txt-do-not-search-ssh-sshd-commands.patch | 16 ++++---
 .../{libssh_0.10.6.bb => libssh_0.11.1.bb}    |  8 ++--
 4 files changed, 51 insertions(+), 54 deletions(-)
 create mode 100644 meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch
 delete mode 100644 meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
 rename meta-oe/recipes-support/libssh/{libssh_0.10.6.bb => libssh_0.11.1.bb} (88%)
meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch new file +37 -0
new file mode 100644
index 000000000..21af9a5a1
@@ -0,0 +1,37 @@
+From 98a330971f4344619b698d4603a45bd31d6935d9 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Sun, 15 Sep 2024 20:31:55 +0800
+Subject: [PATCH] CompilerChecks.cmake: drop -Wunused-variable flag
+
+Drop -Wunused-variable flag to fix build with clang:
+
+libssh/0.11.1/git/src/threads/libgcrypt.c:29:1: error: unused variable 'gcry_threads_pthread' [-Werror,-Wunused-variable]
+   29 | GCRY_THREAD_OPTION_PTHREAD_IMPL;
+      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+libssh/0.11.1/recipe-sysroot/usr/include/gcrypt.h:217:33: note: expanded from macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
+  217 |   static struct gcry_thread_cbs gcry_threads_pthread = {                \
+      |                                 ^~~~~~~~~~~~~~~~~~~~
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ CompilerChecks.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CompilerChecks.cmake b/CompilerChecks.cmake
+index 9719e699..ec15fa2a 100644
+--- a/CompilerChecks.cmake
++++ b/CompilerChecks.cmake
+@@ -48,7 +48,7 @@ if (UNIX)
+     add_c_compiler_flag("-Werror=implicit-int" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Wint-conversion" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Werror=int-conversion" SUPPORTED_COMPILER_FLAGS)
+-    add_c_compiler_flag("-Werror=unused-variable" SUPPORTED_COMPILER_FLAGS)
++    #add_c_compiler_flag("-Werror=unused-variable" SUPPORTED_COMPILER_FLAGS)
+ 
+     check_c_compiler_flag("-Wformat" REQUIRED_FLAGS_WFORMAT)
+     if (REQUIRED_FLAGS_WFORMAT)
+-- 
+2.25.1
+
meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch deleted +0 -44

44 lines not on this page · raw message

meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch +9 -7
index d6bc75c3a..4803ff81d 100644
@@ -1,4 +1,4 @@
-From 69a89e8f015802f61637fed0d3791d20a594f298 Mon Sep 17 00:00:00 2001
+From 99fcb71903cca8458bcd6c0d5b676619a9710dab Mon Sep 17 00:00:00 2001
 From: Yi Zhao <[email protected]>
 Date: Wed, 15 Mar 2023 16:51:58 +0800
 Subject: [PATCH] tests/CMakeLists.txt: do not search ssh/sshd commands on host
@@ -9,16 +9,15 @@ not required by unittests, we can skip the search.
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Yi Zhao <[email protected]>
-
 ---
  tests/CMakeLists.txt | 2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index f5c30061..885c926a 100644
+index 89b95d08..e481534c 100644
 --- a/tests/CMakeLists.txt
 +++ b/tests/CMakeLists.txt
-@@ -86,6 +86,7 @@ set(TEST_TARGET_LIBRARIES
+@@ -96,6 +96,7 @@ set(TEST_TARGET_LIBRARIES
  
  add_subdirectory(unittests)
  
@@ -26,11 +25,14 @@ index f5c30061..885c926a 100644
  # OpenSSH Capabilities are required for all unit tests
  find_program(SSH_EXECUTABLE NAMES ssh)
  if (SSH_EXECUTABLE)
-@@ -302,6 +303,7 @@ if (CLIENT_TESTING OR SERVER_TESTING)
+@@ -345,6 +346,7 @@ endif (WITH_PKCS11_URI)
+ file(COPY gss/kdcsetup.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/gss FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE)
  
-     message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
- endif ()
+ message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
 +endif ()
  
  configure_file(tests_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/tests_config.h)
  
+-- 
+2.25.1
+
meta-oe/recipes-support/libssh/libssh_0.11.1.bb renamed from meta-oe/recipes-support/libssh/libssh_0.10.6.bb +5 -3
similarity index 88%
rename from meta-oe/recipes-support/libssh/libssh_0.10.6.bb
rename to meta-oe/recipes-support/libssh/libssh_0.11.1.bb
index 31f29c1b7..5f39c2d79 100644
@@ -6,12 +6,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
 
 DEPENDS = "zlib openssl"
 
-SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.10 \
+SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.11 \
            file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \
-           file://0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch \
            file://run-ptest \
           "
-SRCREV = "10e09e273f69e149389b3e0e5d44b8c221c2e7f6"
+
+SRC_URI:append:toolchain-clang = " file://0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch"
+
+SRCREV = "854795c654eda518ed6de6c1ebb4e2107fcb2e73"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1
author
#4 lore raw

PATCH 5/6 jsoncpp: upgrade 1.9.5 -> 1.9.6

In reply to Yi Zhao

ChangeLog:
https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.6

---
 .../jsoncpp/{jsoncpp_1.9.5.bb => jsoncpp_1.9.6.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.5.bb => jsoncpp_1.9.6.bb} (93%)
meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.6.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.5.bb +1 -1
similarity index 93%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.5.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.6.bb
index c54dc9466..ade9f35d1 100644
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926"
 
 PE = "1"
 
-SRCREV = "5defb4ed1a4293b8e2bf641e16b156fb9de498cc"
+SRCREV = "89e2973c754a9c02a49974d839779b151e95afd6"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
author
#5 lore raw

PATCH 6/6 debootstrap: upgrade 1.0.132 -> 1.0.137

In reply to Yi Zhao

ChangeLog:
https://salsa.debian.org/installer-team/debootstrap/-/blob/1.0.137/debian/changelog

---
 ...rt-to-override-usr-sbin-and-usr-share.patch | 18 ++++++++----------
 ...support-to-override-usr-bin-arch-test.patch | 12 ++++++------
 ...o-not-hardcode-the-full-path-of-dpkg.patch} |  8 ++++----
 ...strap_1.0.132.bb => debootstrap_1.0.137.bb} |  6 +++---
 4 files changed, 21 insertions(+), 23 deletions(-)
 rename meta-oe/recipes-devtools/debootstrap/debootstrap/{0001-do-not-hardcode-the-full-path-of-dpkg.patch => 0003-do-not-hardcode-the-full-path-of-dpkg.patch} (87%)
 rename meta-oe/recipes-devtools/debootstrap/{debootstrap_1.0.132.bb => debootstrap_1.0.137.bb} (71%)
meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch +8 -10
index 12dd23810..faa66e026 100644
@@ -1,20 +1,20 @@
-From 87d0174e8d56e7458dc94f05f82ab7a67a5cf7d0 Mon Sep 17 00:00:00 2001
+From 6c8b0a3f9c09a7a135d95ff18038bcba22e87b86 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Thu, 8 Apr 2021 14:06:05 +0800
-Subject: [PATCH 1/2] support to override /usr/sbin and /usr/share
+Subject: [PATCH] support to override /usr/sbin and /usr/share
 
 Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]
 
 Signed-off-by: Hongxu Jia <[email protected]>
 ---
- Makefile | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
+ Makefile | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index 8516803..a2d8c00 100644
+index 21a9a39..649f465 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -5,14 +5,16 @@ all:
+@@ -5,13 +5,15 @@ all:
  
  clean:
  
@@ -28,14 +28,12 @@ index 8516803..a2d8c00 100644
 +	mkdir -p $(DESTDIR)$(sbindir)
  
  	cp -a scripts/* $(DSDIR)/scripts/
- 	install -o root -g root -m 0644 functions $(DSDIR)/
+ 	install -m 0644 functions $(DSDIR)/
  
 -	sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
--	chown root:root $(DESTDIR)/usr/sbin/debootstrap
 -	chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
 +	sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(sbindir)/debootstrap
-+	chown root:root $(DESTDIR)$(sbindir)/debootstrap
 +	chmod 0755 $(DESTDIR)$(sbindir)/debootstrap
 -- 
-2.17.1
+2.25.1
 
meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch +6 -6
index 69329df4e..5de65779d 100644
@@ -1,7 +1,7 @@
-From f0420b201f2fb5286ccf5657faa6b38cd2680e10 Mon Sep 17 00:00:00 2001
+From 3fee46c7e50f432fbd5c97c60b918d71c91f1adc Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Thu, 8 Apr 2021 14:08:06 +0800
-Subject: [PATCH 2/2] support to override /usr/bin/arch-test
+Subject: [PATCH] support to override /usr/bin/arch-test
 
 Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]
 
@@ -11,12 +11,12 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 8 insertions(+), 4 deletions(-)
 
 diff --git a/debootstrap b/debootstrap
-index 9b9e58d..a3cf3af 100755
+index 552c8d6..11a9465 100755
 --- a/debootstrap
 +++ b/debootstrap
 @@ -51,6 +51,10 @@ INRELEASE_PATH=""
+ 
  DEF_MIRROR="http://deb.debian.org/debian"
- DEF_HTTPS_MIRROR="https://deb.debian.org/debian"
  
 +if [ -z "$ARCH_TEST" ]; then
 +	ARCH_TEST="/usr/bin/arch-test"
@@ -25,7 +25,7 @@ index 9b9e58d..a3cf3af 100755
  # set $CONTAINER
  detect_container
  
-@@ -645,12 +649,12 @@ fi
+@@ -661,12 +665,12 @@ fi
  
  ###########################################################################
  
@@ -43,5 +43,5 @@ index 9b9e58d..a3cf3af 100755
  		ret=3
  	fi
 -- 
-2.17.1
+2.25.1
 
meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch renamed from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch +4 -4
similarity index 87%
rename from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch
rename to meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch
index 2a5f23316..5cd1ce88a 100644
@@ -1,4 +1,4 @@
-From e735fb23f46f0c3c7a1144ba6b4050bfc0015a05 Mon Sep 17 00:00:00 2001
+From e92554e57b4aae242cb0416025883ccc2c539d2a Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Wed, 2 Jun 2021 13:34:35 +0800
 Subject: [PATCH] do not hardcode the full path of dpkg
@@ -16,10 +16,10 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/debootstrap b/debootstrap
-index a3cf3af..5e96c3e 100755
+index 11a9465..17ab05a 100755
 --- a/debootstrap
 +++ b/debootstrap
-@@ -538,7 +538,7 @@ fi
+@@ -551,7 +551,7 @@ fi
  
  if in_path dpkg && \
       dpkg --print-architecture >/dev/null 2>&1; then
@@ -29,5 +29,5 @@ index a3cf3af..5e96c3e 100755
       udpkg --print-architecture >/dev/null 2>&1; then
  	HOST_ARCH=$(/usr/bin/udpkg --print-architecture)
 -- 
-2.27.0
+2.25.1
 
meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.137.bb renamed from meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb +3 -3
similarity index 71%
rename from meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb
rename to meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.137.bb
index c28a51749..d4783b354 100644
@@ -2,16 +2,16 @@ SUMMARY = "Install a Debian system into a subdirectory"
 HOMEPAGE = "https://wiki.debian.org/Debootstrap"
 SECTION = "devel"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608"
+LIC_FILES_CHKSUM = "file://debian/copyright;md5=e7b45429ef05610abf91ac199fdb3a6e"
 
 SRC_URI  = "\
     ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \
     file://0001-support-to-override-usr-sbin-and-usr-share.patch \
     file://0002-support-to-override-usr-bin-arch-test.patch \
-    file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \
+    file://0003-do-not-hardcode-the-full-path-of-dpkg.patch \
 "
 
-SRC_URI[sha256sum] = "d963a465314ac0e8fd5392573def042e6663e8edf3d08ace4bbd0d27ee8431f7"
+SRC_URI[sha256sum] = "666927457ee4b0b3e68e55a0efbf3fb69189610b7abbd534017d7032cb3ae833"
 
 S = "${WORKDIR}/debootstrap"
 
Signature · 1 line
2.25.1
#6 lore raw

RE: [oe] [meta-oe][PATCH 6/6] debootstrap: upgrade 1.0.132 -> 1.0.137

Hi Khem,

Could you please upgrade the version of debootstrap on the Scarthgap branch from 1.0.132 to 1.0.137? The official download link for version 1.0.132 has been removed, which leads to the following error during the build process:

WARNING: debootstrap-1.0.132-r0.wr2401 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.132.tar.gz, attempting MIRRORS if available

Best regards,
Jiaying.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Yi Zhao via lists.openembedded.org
Sent: Sunday, September 15, 2024 8:52 PM
To: [email protected]
Subject: [oe] [meta-oe][PATCH 6/6] debootstrap: upgrade 1.0.132 -> 1.0.137

ChangeLog:
https://salsa.debian.org/installer-team/debootstrap/-/blob/1.0.137/debian/changelog

---
 ...rt-to-override-usr-sbin-and-usr-share.patch | 18 ++++++++----------  ...support-to-override-usr-bin-arch-test.patch | 12 ++++++------  ...o-not-hardcode-the-full-path-of-dpkg.patch} |  8 ++++----  ...strap_1.0.132.bb => debootstrap_1.0.137.bb} |  6 +++---
 4 files changed, 21 insertions(+), 23 deletions(-)  rename meta-oe/recipes-devtools/debootstrap/debootstrap/{0001-do-not-hardcode-the-full-path-of-dpkg.patch => 0003-do-not-hardcode-the-full-path-of-dpkg.patch} (87%)  rename meta-oe/recipes-devtools/debootstrap/{debootstrap_1.0.132.bb => debootstrap_1.0.137.bb} (71%)
meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-o renamed from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch +0 -0
index 12dd23810..faa66e026 100644

+++ verride-usr-sbin-and-usr-share.patch
@@ -1,20 +1,20 @@
-From 87d0174e8d56e7458dc94f05f82ab7a67a5cf7d0 Mon Sep 17 00:00:00 2001 +From 6c8b0a3f9c09a7a135d95ff18038bcba22e87b86 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <[email protected]>
Date: Thu, 8 Apr 2021 14:06:05 +0800
-Subject: [PATCH 1/2] support to override /usr/sbin and /usr/share +Subject: [PATCH] support to override /usr/sbin and /usr/share

Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]

---
- Makefile | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
+ Makefile | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
-index 8516803..a2d8c00 100644
+index 21a9a39..649f465 100644
--- a/Makefile
+++ b/Makefile
-@@ -5,14 +5,16 @@ all:
+@@ -5,13 +5,15 @@ all:

clean:

@@ -28,14 +28,12 @@ index 8516803..a2d8c00 100644
+ mkdir -p $(DESTDIR)$(sbindir)

cp -a scripts/* $(DSDIR)/scripts/
- install -o root -g root -m 0644 functions $(DSDIR)/
+ install -m 0644 functions $(DSDIR)/

- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
-- chown root:root $(DESTDIR)/usr/sbin/debootstrap
- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(sbindir)/debootstrap
-+ chown root:root $(DESTDIR)$(sbindir)/debootstrap
+ chmod 0755 $(DESTDIR)$(sbindir)/debootstrap
--
-2.17.1
+2.25.1

meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-o renamed from meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch +0 -0
index 69329df4e..5de65779d 100644

+++ verride-usr-bin-arch-test.patch
@@ -1,7 +1,7 @@
-From f0420b201f2fb5286ccf5657faa6b38cd2680e10 Mon Sep 17 00:00:00 2001 +From 3fee46c7e50f432fbd5c97c60b918d71c91f1adc Mon Sep 17 00:00:00 2001
From: Hongxu Jia <[email protected]>
Date: Thu, 8 Apr 2021 14:08:06 +0800
-Subject: [PATCH 2/2] support to override /usr/bin/arch-test +Subject: [PATCH] support to override /usr/bin/arch-test

Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]

@@ -11,12 +11,12 @@ Signed-off-by: Hongxu Jia <[email protected]>

  1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/debootstrap b/debootstrap
-index 9b9e58d..a3cf3af 100755
+index 552c8d6..11a9465 100755
--- a/debootstrap
+++ b/debootstrap
@@ -51,6 +51,10 @@ INRELEASE_PATH=""
+
DEF_MIRROR="http://deb.debian.org/debian"
- DEF_HTTPS_MIRROR="https://deb.debian.org/debian"

+if [ -z "$ARCH_TEST" ]; then
+ ARCH_TEST="/usr/bin/arch-test"
@@ -25,7 +25,7 @@ index 9b9e58d..a3cf3af 100755

  # set $CONTAINER
  detect_container

-@@ -645,12 +649,12 @@ fi
+@@ -661,12 +665,12 @@ fi

###########################################################################

@@ -43,5 +43,5 @@ index 9b9e58d..a3cf3af 100755
ret=3
fi
--
-2.17.1
+2.25.1

meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardc renamed from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch +0 -0
similarity index 87%
rename from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch
rename to meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch
index 2a5f23316..5cd1ce88a 100644

+++ ode-the-full-path-of-dpkg.patch
@@ -1,4 +1,4 @@
-From e735fb23f46f0c3c7a1144ba6b4050bfc0015a05 Mon Sep 17 00:00:00 2001
+From e92554e57b4aae242cb0416025883ccc2c539d2a Mon Sep 17 00:00:00 2001
From: Hongxu Jia <[email protected]>
Date: Wed, 2 Jun 2021 13:34:35 +0800
Subject: [PATCH] do not hardcode the full path of dpkg @@ -16,10 +16,10 @@ Signed-off-by: Hongxu Jia <[email protected]>

  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debootstrap b/debootstrap
-index a3cf3af..5e96c3e 100755
+index 11a9465..17ab05a 100755
--- a/debootstrap
+++ b/debootstrap
-@@ -538,7 +538,7 @@ fi
+@@ -551,7 +551,7 @@ fi

  if in_path dpkg && \
       dpkg --print-architecture >/dev/null 2>&1; then @@ -29,5 +29,5 @@ index a3cf3af..5e96c3e 100755
       udpkg --print-architecture >/dev/null 2>&1; then

HOST_ARCH=$(/usr/bin/udpkg --print-architecture)
--
-2.27.0
+2.25.1

meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.137.bb renamed from meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb +3 -3
similarity index 71%
rename from meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb
rename to meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.137.bb
index c28a51749..d4783b354 100644
@@ -2,16 +2,16 @@ SUMMARY = "Install a Debian system into a subdirectory"
 HOMEPAGE = "https://wiki.debian.org/Debootstrap"
 SECTION = "devel"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608"
+LIC_FILES_CHKSUM = "file://debian/copyright;md5=e7b45429ef05610abf91ac199fdb3a6e"
 
 SRC_URI  = "\
     ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \
     file://0001-support-to-override-usr-sbin-and-usr-share.patch \
     file://0002-support-to-override-usr-bin-arch-test.patch \
-    file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \
+    file://0003-do-not-hardcode-the-full-path-of-dpkg.patch \
 "
 
-SRC_URI[sha256sum] = "d963a465314ac0e8fd5392573def042e6663e8edf3d08ace4bbd0d27ee8431f7"
+SRC_URI[sha256sum] = "666927457ee4b0b3e68e55a0efbf3fb69189610b7abbd534017d7032cb3ae833"
 
 S = "${WORKDIR}/debootstrap"
 

--
2.25.1