Source: gnu-efi
Version: 3.0.15-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

gnu-efi cannot be cross built from source due to its binutils
dependency. For native builds, it is implied by build-essential. For
cross builds it is unsatisfiable. Please drop it. Doing so fixes cross
builds for arm*, but not for x86. I'm attaching a patch for your
convenience. If you ever need a veryioned dependency on binutils, please
use binutils-for-host or binutils-for-build depending on how you use it.

Helmut
diff --minimal -Nru gnu-efi-3.0.15/debian/changelog 
gnu-efi-3.0.15/debian/changelog
--- gnu-efi-3.0.15/debian/changelog     2023-01-27 21:24:25.000000000 +0100
+++ gnu-efi-3.0.15/debian/changelog     2023-03-08 09:12:15.000000000 +0100
@@ -1,3 +1,10 @@
+gnu-efi (3.0.15-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS for arm*: Drop unnecessary binutils dependency. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 08 Mar 2023 09:12:15 +0100
+
 gnu-efi (3.0.15-1) unstable; urgency=medium
 
   * New upstream version 3.0.15
diff --minimal -Nru gnu-efi-3.0.15/debian/control gnu-efi-3.0.15/debian/control
--- gnu-efi-3.0.15/debian/control       2023-01-27 21:24:25.000000000 +0100
+++ gnu-efi-3.0.15/debian/control       2023-03-08 09:12:13.000000000 +0100
@@ -5,7 +5,6 @@
 Uploaders: Julian Andres Klode <[email protected]>
 Build-Depends:
  debhelper-compat (= 12),
- binutils,
  gcc-multilib [any-amd64 i386],
 Standards-Version: 4.1.1
 Vcs-Git: https://salsa.debian.org/efi-team/gnu-efi.git

Reply via email to