* [PATCH v2 0/2] Fix build failures on de0-nano-soc-buster @ 2026-02-26 16:20 Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 1/2] Fix libubootenv build for debian-buster Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster Zhihang Wei 0 siblings, 2 replies; 3+ messages in thread From: Zhihang Wei @ 2026-02-26 16:20 UTC (permalink / raw) To: isar-users; +Cc: ubely These patches aim to reduce the number of currently unbuildable machine/distro combinations. The 1st patch allows libubootenv to use the buster version of debhelper. The 2nd patch is a workaround that ignores some debug symbols. Changes in v2: - Fix syntax. - Add missing SOB. Uladzimir Bely (2): Fix libubootenv build for debian-buster Fix u-boot build for u-boot-de0-nano-soc for buster .../u-boot/u-boot-de0-nano-soc_2020.10.bb | 8 ++++++ .../0001-Use-debhelper-12-for-buster.patch | 25 +++++++++++++++++++ .../libubootenv/libubootenv_0.3.5-0.1.bb | 1 + 3 files changed, 34 insertions(+) create mode 100644 meta/recipes-bsp/libubootenv/files/0001-Use-debhelper-12-for-buster.patch -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260226162019.1931890-1-wzh%40ilbers.de. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/2] Fix libubootenv build for debian-buster 2026-02-26 16:20 [PATCH v2 0/2] Fix build failures on de0-nano-soc-buster Zhihang Wei @ 2026-02-26 16:20 ` Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster Zhihang Wei 1 sibling, 0 replies; 3+ messages in thread From: Zhihang Wei @ 2026-02-26 16:20 UTC (permalink / raw) To: isar-users; +Cc: ubely From: Uladzimir Bely <ubely@ilbers.de> Targets like de0-nano-soc-buster fail when building libobootenv-0.3.5 since it stricty depends on debhelper-compat 13 that is missing in buster. Fixes the following error: | The following packages have unmet dependencies: | sbuild-build-depends-main-dummy:armhf : Depends: debhelper-compat:armhf (= 13) | | Execute external solver... | Some packages could not be installed. This may mean that you have | requested an impossible situation or if you are using the unstable | distribution that some required packages have not yet been created | or been moved out of Incoming. | The following information may help to resolve the situation: | | The following packages have unmet dependencies: | sbuild-build-depends-main-dummy:armhf : Depends: debhelper-compat:armhf (= 13) | Depends: cmake:armhf | Depends: zlib1g-dev:armhf but it is not going to be installed | Depends: libyaml-dev:armhf but it is not going to be installed | Depends: graphviz:armhf | Depends: doxygen:armhf | E: External solver failed with: The following packages have unmet dependencies: | apt-get failed. Apply a patch to depend on lower (12) version of debhelper for buster. Signed-off-by: Uladzimir Bely <ubely@ilbers.de> Signed-off-by: Zhihang Wei <wzh@ilbers.de> --- .../0001-Use-debhelper-12-for-buster.patch | 25 +++++++++++++++++++ .../libubootenv/libubootenv_0.3.5-0.1.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta/recipes-bsp/libubootenv/files/0001-Use-debhelper-12-for-buster.patch diff --git a/meta/recipes-bsp/libubootenv/files/0001-Use-debhelper-12-for-buster.patch b/meta/recipes-bsp/libubootenv/files/0001-Use-debhelper-12-for-buster.patch new file mode 100644 index 00000000..391cb7df --- /dev/null +++ b/meta/recipes-bsp/libubootenv/files/0001-Use-debhelper-12-for-buster.patch @@ -0,0 +1,25 @@ +From 4351a77d97468682a8839ca5007033908521c67d Mon Sep 17 00:00:00 2001 +From: Uladzimir Bely <uladzimir.bely@ilbers.de> +Date: Mon, 16 Feb 2026 11:30:16 +0300 +Subject: [PATCH] Use debhelper 12 for buster + +--- + debian/control | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/debian/control b/debian/control +index 1cb6b62..b1f227e 100644 +--- a/debian/control ++++ b/debian/control +@@ -2,7 +2,7 @@ Source: libubootenv + Priority: optional + Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org> + Uploaders: SZ Lin (林上智) <szlin@debian.org> +-Build-Depends: debhelper-compat (= 13), cmake, zlib1g-dev, libyaml-dev, graphviz, doxygen ++Build-Depends: debhelper-compat (= 12), cmake, zlib1g-dev, libyaml-dev, graphviz, doxygen + Standards-Version: 4.6.0.1 + Section: utils + Rules-Requires-Root: no +-- +2.52.0 + diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb index 1a4c3b1d..28425bae 100644 --- a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb +++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb @@ -20,6 +20,7 @@ SRCREV = "32dcabeea9ed5342a2d1bb254bb4839e2e68ee5e" DEB_BUILD_OPTIONS += "nocheck" +SRC_URI:append:buster = " file://0001-Use-debhelper-12-for-buster.patch" CHANGELOG_V ?= "${PV}+isar-${SRCREV}" -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260226162019.1931890-2-wzh%40ilbers.de. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster 2026-02-26 16:20 [PATCH v2 0/2] Fix build failures on de0-nano-soc-buster Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 1/2] Fix libubootenv build for debian-buster Zhihang Wei @ 2026-02-26 16:20 ` Zhihang Wei 1 sibling, 0 replies; 3+ messages in thread From: Zhihang Wei @ 2026-02-26 16:20 UTC (permalink / raw) To: isar-users; +Cc: ubely From: Uladzimir Bely <ubely@ilbers.de> Workaround the following build error: make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz dwz: Too few files for multifile optimization arm-linux-gnueabihf-objcopy: 'debian/u-boot-tools/usr/lib/debug/.dwz/arm-linux-gnueabihf/u-boot-tools.debug': No such file dh_dwz: arm-linux-gnueabihf-objcopy --compress-debug-sections debian/u-boot-tools/usr/lib/debug/.dwz/arm-linux-gnueabihf/u-boot-tools.debug returned exit code 1 make: *** [debian/rules:34: binary] Error 2 Buster uses an older debhelper version. Ignore the missing debug symbols file. Signed-off-by: Uladzimir Bely <ubely@ilbers.de> Signed-off-by: Zhihang Wei <wzh@ilbers.de> --- .../recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb index feecd96d..1e470518 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb +++ b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb @@ -9,3 +9,11 @@ require u-boot-${PV}.inc U_BOOT_TOOLS_PACKAGE = "1" COMPATIBLE_MACHINE = "^(de0-nano-soc)$" + +do_prepare_build:append:buster() { + echo =-=-= +cat << _EOF_ >> ${S}/debian/rules +override_dh_dwz: + dh_dwz || : +_EOF_ +} -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260226162019.1931890-3-wzh%40ilbers.de. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-26 16:20 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2026-02-26 16:20 [PATCH v2 0/2] Fix build failures on de0-nano-soc-buster Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 1/2] Fix libubootenv build for debian-buster Zhihang Wei 2026-02-26 16:20 ` [PATCH v2 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster Zhihang Wei
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox