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.
| 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.
---
.../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 <
uladzim...@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 <
iwam...@debian.org>
+ Uploaders: SZ Lin (林上智) <
sz...@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 d2908536..71758ce8 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
@@ -19,6 +19,7 @@ SRCREV = "32dcabeea9ed5342a2d1bb254bb4839e2e68ee5e"
DEB_BUILD_OPTIONS += "nocheck"
+SRC_URI:buster:append = " file://0001-Use-debhelper-12-for-buster.patch"
CHANGELOG_V ?= "${PV}+isar-${SRCREV}"
--
2.52.0