GNU bug report logs -
#77579
[PATCH] gnu: efivar: Update to 39.
Previous Next
Reported by: Zheng Junjie <z572 <at> z572.online>
Date: Sun, 6 Apr 2025 15:11:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 16 Jun 2025 12:13:20 +0300
with message-id <aE_gMFweqH4Fl-iG <at> 3900XT>
and subject line Re: [bug#77579] efivar compilation issues
has caused the debbugs.gnu.org bug report #77579,
regarding [PATCH] gnu: efivar: Update to 39.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
77579: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77579
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/linux.scm (efivar): Update to 39.
Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c
---
gnu/packages/linux.scm | 82 ++++++++++++++++++++----------------------
1 file changed, 39 insertions(+), 43 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a6bffa2bb9d..4b1c7b398d2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8197,50 +8197,46 @@ (define-public radeontop
(license license:gpl3)))
(define-public efivar
- ;; XXX: 15622b7e5761f3dde3f0e42081380b2b41639a48 fixes compilation on i686.
- ;; ca48d3964d26f5e3b38d73655f19b1836b16bd2d fixes cross-compilation.
- (let ((commit "ca48d3964d26f5e3b38d73655f19b1836b16bd2d")
- (revision "0"))
- (package
- (name "efivar")
- (version (git-version "38" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/rhboot/efivar")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0zsab3hcv1v53cxwkvsk09ifnwhs48a6xa3kxlwvs87yxswspvi8"))))
- (build-system gnu-build-system)
- (arguments
- (list
- ;; Tests require a UEFI system and is not detected in the chroot.
- #:tests? #f
- #:make-flags #~(list (string-append "prefix="
- #$output)
- (string-append "libdir="
- #$output "/lib")
- (string-append "CC="
- #$(cc-for-target)) "HOSTCC=gcc"
- (string-append "LDFLAGS=-Wl,-rpath="
- #$output "/lib"))
- #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'build-deterministically
- (lambda _
- (substitute* "src/include/defaults.mk"
- ;; Don't use -march=native.
- (("-march=native")
- ""))))
- (delete 'configure))))
- (native-inputs (list mandoc pkg-config))
- (inputs (list popt))
- (home-page "https://github.com/rhboot/efivar")
- (synopsis "Tool and library to manipulate EFI variables")
- (description "This package provides a library and a command line
+ (package
+ (name "efivar")
+ (version "39")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rhboot/efivar")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zd9dghg1z2rrsazv3d9rj7nik6kdqz42jiak65pipz7mpjn9zdk"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; Tests require a UEFI system and is not detected in the chroot.
+ #:tests? #f
+ #:make-flags #~(list (string-append "prefix="
+ #$output)
+ (string-append "libdir="
+ #$output "/lib")
+ (string-append "CC="
+ #$(cc-for-target)) "HOSTCC=gcc"
+ (string-append "LDFLAGS=-Wl,-rpath="
+ #$output "/lib"))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'build-deterministically
+ (lambda _
+ (substitute* "src/include/defaults.mk"
+ ;; Don't use -march=native.
+ (("-march=native")
+ ""))))
+ (delete 'configure))))
+ (native-inputs (list mandoc pkg-config))
+ (inputs (list popt))
+ (home-page "https://github.com/rhboot/efivar")
+ (synopsis "Tool and library to manipulate EFI variables")
+ (description "This package provides a library and a command line
interface to the variable facility of UEFI boot firmware.")
- (license license:lgpl2.1+))))
+ (license license:lgpl2.1+)))
(define-public efibootmgr
(package
base-commit: 90279af10615cd74e4c52851f7fec797d4d0f682
prerequisite-patch-id: f6807c214a9924fb57a2a054dceba1802ba4536c
prerequisite-patch-id: b60437563c004733af4ad531ed0ca89b049e748f
prerequisite-patch-id: f923e612422f9021d997ea3824d4b97b1f022c65
--
2.49.0
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
On Wed, May 28, 2025 at 01:05:00AM -0500, Rowan Fraser wrote:
> The efivar has compilation issues for 32-bit architecture and RISC-V.
> For 32 bit architecture I'd assume that it has to do with the issue
> mentioned here: https://github.com/rhboot/efivar/issues/270
> For RISC-V architecture it errors out due to the `-Werror` flag
> and conflicting types as detailed in:
> https://github.com/rhboot/efivar/issues/280
>
> The repo for efivar hasn't been updated in over a year so it might need to
> be forked if you want a source code solution or we can alter the make flags
> to be more permissive.
I followed this patch up with a patch fixing compiling on 32-bit
systems.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.