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 2/2] Fix u-boot build for u-boot-de0-nano-soc for buster:
Date: Wed, 18 Feb 2026 12:04:31 +0300	[thread overview]
Message-ID: <20260218090615.4034500-3-ubely@ilbers.de> (raw)
In-Reply-To: <20260218090615.4034500-1-ubely@ilbers.de>

Bypass 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

Simply ignore missing debug symbols file.
---
 .../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..bc84bc8c 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:buster:append() {
+	echo =-=-=
+cat << _EOF_ >> ${S}/debian/rules
+override_dh_dwz:
+	dh_dwz || :
+_EOF_
+}
-- 
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-3-ubely%40ilbers.de.

      parent 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 ` [PATCH 1/2] Fix libubootenv build for debian-buster Uladzimir Bely
2026-02-18  9:04 ` Uladzimir Bely [this message]

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