Your message dated Wed, 4 Feb 2026 11:48:16 +0100
with message-id <[email protected]>
and subject line efitools FTCBFS: multiple issues
has caused the Debian Bug report #1023581,
regarding efitools FTCBFS: multiple issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1023581: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: efitools
Version: 1.9.2-3
Tags: patch
User: [email protected]
Usertags: ftcbfs

efitools cannot be cross built from source, because it uses build
architecture aspects. The ARCH variable is detected from uname and LD
and OBJCOPY are also for the build architecture. I'm attaching a patch
to fix these for your conveniecne.

Once fixing these, you can see this:

./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl
./cert-to-efi-sig-list: 1: Syntax error: word unexpected (expecting ")")

This looks a little more involved. It is running a tool that has just
been built. It is not clear to me whether this tool behaves in an
architecture-independent way and we can maybe use a self dependency. It
also is not clear to me whether we have to run it at all during build
given that yocto patched this out. Could you shed some light on this
invocation?

Helmut
diff --minimal -Nru efitools-1.9.2/debian/changelog 
efitools-1.9.2/debian/changelog
--- efitools-1.9.2/debian/changelog     2022-06-17 01:53:21.000000000 +0200
+++ efitools-1.9.2/debian/changelog     2022-11-06 20:33:39.000000000 +0100
@@ -1,3 +1,10 @@
+efitools (1.9.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Pass ARCH, LD, OBJCOPY. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 06 Nov 2022 20:33:39 +0100
+
 efitools (1.9.2-3) unstable; urgency=medium
 
   [ Bo YU ]
diff --minimal -Nru efitools-1.9.2/debian/rules efitools-1.9.2/debian/rules
--- efitools-1.9.2/debian/rules 2022-05-24 19:48:58.000000000 +0200
+++ efitools-1.9.2/debian/rules 2022-11-06 20:33:39.000000000 +0100
@@ -4,6 +4,18 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
+
+ifeq ($(DEB_HOST_ARCH_CPU),i386))
+ARCH=ia32
+else
+ARCH=$(DEB_HOST_GNU_CPU)
+endif
+
+override_dh_auto_build:
+       dh_auto_build -- ARCH=$(ARCH) LD=$(LD) OBJCOPY=$(OBJCOPY)
+
 override_dh_auto_install:
        dh_auto_install -- 
EFIDIR="debian/efitools/usr/lib/efitools/${DEB_TARGET_MULTIARCH}"
 

--- End Message ---
--- Begin Message ---
Version: efitools/1.9.2-4

--- End Message ---

Reply via email to