public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 1/2] Fix libubootenv build for debian-buster
Date: Wed, 18 Feb 2026 12:04:30 +0300	[thread overview]
Message-ID: <20260218090615.4034500-2-ubely@ilbers.de> (raw)
In-Reply-To: <20260218090615.4034500-1-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.

| 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 <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 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

-- 
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/20260218090615.4034500-2-ubely%40ilbers.de.

  reply	other threads:[~2026-02-18  9:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18  9:04 [PATCH 0/2] Fix build failures on de0-nano-soc-buster Uladzimir Bely
2026-02-18  9:04 ` Uladzimir Bely [this message]
2026-02-18  9:04 ` [PATCH 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster: Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260218090615.4034500-2-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox