From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 11:10:18 2025 Received: (at submit) by debbugs.gnu.org; 6 Apr 2025 15:10:19 +0000 Received: from localhost ([127.0.0.1]:49146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1Rda-0001Gi-Fc for submit@debbugs.gnu.org; Sun, 06 Apr 2025 11:10:18 -0400 Received: from lists.gnu.org ([2001:470:142::17]:32988) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1RdX-0001Ex-71 for submit@debbugs.gnu.org; Sun, 06 Apr 2025 11:10:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1RdO-0006WG-LY for guix-patches@gnu.org; Sun, 06 Apr 2025 11:10:06 -0400 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1RdM-0006b9-NJ for guix-patches@gnu.org; Sun, 06 Apr 2025 11:10:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1743952581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=W+YdyvVUPAPLePsVZJqGcVE6KnUluMGXjMRIfCLABxI=; b=KNoPu9FSXB5NAlT0jFq3SmrwCcjPFQ9CSjIFCs3hLuAU6k8O3Jabv7+OKeZnKk6xPSMqXX DFMXtPWeINzSEUheceeIwCf/thmyZKRvr2dtwspYCVMyMrXUTLRrmUroEc68juhvteKASL Tsv3xfYAKQ6DXyP+2Rqo7p1wYfX3Yw8= Received: from m.tailaa68d.ts.net (mail1.85362086.com [107.174.64.25]) by mail.z572.online (OpenSMTPD) with ESMTPSA id 53183b18 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 6 Apr 2025 15:16:20 +0000 (UTC) From: Zheng Junjie To: guix-patches@gnu.org Subject: [PATCH] gnu: efivar: Update to 39. Date: Sun, 6 Apr 2025 23:09:54 +0800 Message-ID: <593f7479c435b30f9c3c17f58924fba035e3ed51.1743952194.git.z572@z572.online> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Leo Famulari , Wilko Meyer Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/linux.scm (efivar): Update to 39. Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c --- gnu/packages/linux.scm | 82 ++++++++++++++++++++ 1 file changed, 39 insertions(+), 43 deletions(-) Content analysis details: (3.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 11:29:35 2025 Received: (at 77579) by debbugs.gnu.org; 8 Apr 2025 15:29:35 +0000 Received: from localhost ([127.0.0.1]:34752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2AtK-0008EW-P8 for submit@debbugs.gnu.org; Tue, 08 Apr 2025 11:29:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42298) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2AtJ-0008Df-19 for 77579@debbugs.gnu.org; Tue, 08 Apr 2025 11:29:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u2AtC-0001ru-B5; Tue, 08 Apr 2025 11:29:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=w7Hz8fo6O9UzONXgm44UmPK1wzLyxiBny16/Ymfsof0=; b=DOdwyEs8ps0Ik8L314hQ MNERDDdeTD0xqYZdRIuUqi6hQOnnLOziev2l1IoGi6ZCqhdbQx1uSJmY8ESTFgZEc8ee4DD3+SYMD FKEBxIcEsu5XDlYKoLro26CrU7gs3ufyiFs6f3DrQIdpCjSK8m21v+0vJUM+ovKNhR3Ej6soY1s9K YpgSk4XkumHYtAp1nbNFQLGdsUxkQ2jM75tXA/axvlYSyUxl5i+yQl2k8TzYmBS5g90m+OhbqJesp 0eg95YmdqhLk6rxgp6GK0IhpxWV55IbV4O8pcV2NfMaN9VVQ1HfFnMei3qtd9fqXMWrL8Zd6bCvzM 53sfLmlYnXjzcw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Zheng Junjie Subject: Re: [bug#77579] [PATCH] gnu: efivar: Update to 39. In-Reply-To: <593f7479c435b30f9c3c17f58924fba035e3ed51.1743952194.git.z572@z572.online> (Zheng Junjie's message of "Sun, 6 Apr 2025 23:09:54 +0800") References: <593f7479c435b30f9c3c17f58924fba035e3ed51.1743952194.git.z572@z572.online> Date: Tue, 08 Apr 2025 17:08:14 +0200 Message-ID: <87v7re4roh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77579 Cc: Wilko Meyer , 77579@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Zheng Junjie skribis: > * gnu/packages/linux.scm (efivar): Update to 39. > > Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c LGTM! From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 16:53:53 2025 Received: (at 77579) by debbugs.gnu.org; 17 Apr 2025 20:53:53 +0000 Received: from localhost ([127.0.0.1]:48666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5WF5-0003xS-LG for submit@debbugs.gnu.org; Thu, 17 Apr 2025 16:53:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52638) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5WEa-0003r2-PA for 77579@debbugs.gnu.org; Thu, 17 Apr 2025 16:53:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5WET-0007Ss-G7; Thu, 17 Apr 2025 16:53:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=XVBglbLVdG2qRwSfSZKyt1wUn7+BBLcOlXLQQGmedJY=; b=NDQK0pU7JjhuwMPMfJ/9 lLBJrW4vXIc7JCX3OriYaXS+Im6ZuNiqS88W8bLZdGLvxEA3DtFmfZhycTZqnw44aULGkSga4quZ4 9ku72n3ZKGxOwtoM7pfd7z9EGTqScljMkdVHx1ufpHX9+SWsJMJK5v7vJxL06SUozEbVxPmhLEXZr Qoo2OQdKwfFnz1FUqmW9W8KA7iQLO7+xz6Kx6n8DrMwtLVd31MRuI01gz68kpB0DGGsWVaUsFt8ui AVy7I6ptgIA5SVqezvZ4NhXNQm+xRGpY/zdyAhrNhCJq/EmUUhnP01ohej9xXCfnu6bY23T5g0j/B 6BRznsAkD5mFhQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Zheng Junjie Subject: Re: [bug#77579] [PATCH] gnu: efivar: Update to 39. In-Reply-To: <87v7re4roh.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 08 Apr 2025 17:08:14 +0200") References: <593f7479c435b30f9c3c17f58924fba035e3ed51.1743952194.git.z572@z572.online> <87v7re4roh.fsf@gnu.org> Date: Thu, 17 Apr 2025 22:44:10 +0200 Message-ID: <87o6wuzffp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 77579 Cc: Wilko Meyer , 77579@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Ludovic Court=C3=A8s writes: > Zheng Junjie skribis: > >> * gnu/packages/linux.scm (efivar): Update to 39. >> >> Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c > > LGTM! But apparently this fails on 32-bit platforms: https://qa.guix.gnu.org/issue/77579 Could you take a look? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 02:47:40 2025 Received: (at 77579) by debbugs.gnu.org; 28 May 2025 06:47:40 +0000 Received: from localhost ([127.0.0.1]:49418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uKAZg-00011K-46 for submit@debbugs.gnu.org; Wed, 28 May 2025 02:47:40 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:50648) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uK9ug-0006I1-On for 77579@debbugs.gnu.org; Wed, 28 May 2025 02:05:19 -0400 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-4a3db0666f2so5209841cf.1 for <77579@debbugs.gnu.org>; Tue, 27 May 2025 23:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748412313; x=1749017113; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Leg8GbL7Wc6bKeJgK7f+2HWgX3byao87iDvGE0ZgKZI=; b=OBzy7ICSMGkqB+XsDoKfliUvqZOYrjk4MnTfKPIm5PItIJwy3C/yorGp18MTXpCc+/ Z+AOZn3yYdzg3X/JBOMY/bRAMdRr9xWWrC+tAjY8s6GvcPInBBefIYQygSXYRJ1I+gS/ npBZ+XWvqiQZI35XRTHRPnakaoJtIbotn+XLQepIGJXI120FVI9edz3yaiuwiFhOGtVD 1vrWPX8J0mstSDh8XKXlmwiWYfmghu1ivqvTaU0Ev4+UoNkw7Cd14bYG1WbvdH5rOLHr 2ZP62DuNyivySHY80p180r6Pxco4O+HKwFTLFrpDVgT3FAulPh3G6w48uCT1UsR2f6PU b6mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748412313; x=1749017113; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Leg8GbL7Wc6bKeJgK7f+2HWgX3byao87iDvGE0ZgKZI=; b=UaEwskQA5xkepR+qFmxcFlOCfBFnJrYFLoyZUzGiW0skPMWTwABRYX7LfqU8cynydp ujq1fJ9rkAXCtCHSuSUYU0TirajFYNyxD0I2iLGI/ko63Tqbe3OTYjayehldrlfawPSh oX6VU77ACxHk9gTwFKhclU8MaThqV3XydhHFt1R+dorXGvaWqDej5hXQf5jfHgjFdkxG pMaz9cItvvombGkHyHxu8W5kMzg/5Ge3Ye8CrNH32dGk1cWyXEx7CAWM51hRo9yq+5q0 kZjnflz5586gzVWzBtr1hwNqMzJHe5H834oKxDlck/q0Q28RVIAaQkAdG7Yt2hBqufzR d9Uw== X-Gm-Message-State: AOJu0YzxynGSseRcKZ31RWFtKPmuSGYeG8nOYgQ7jigaCbqTXZ2BE6mi nF21wwdLteqOGvsbXyrR+EGpltVtN5+inhEeu4OBjlsFKZPGeMUoikzVhzQ2E0wvNdq/Ft29D6n x5uMqozP6e3cL2cb/DpMZOAtqLd7oIDgI7rdp X-Gm-Gg: ASbGncuD8+mOWNZN5Z5ghFHvFU+E+1QyNQXwBPjg53SOa7DTnDq0lQAQPoZXBaDkmlD g0reHV2xqCEUoN2THgctCE7ZJfgpSUYtJVkLCqYSrXvkbL/WF0Y9t9aGd6O4DmV7zVPeF3xoSb3 rKOkZukwprCfdkxijxL+ABxRHk83hV1njgRw== X-Google-Smtp-Source: AGHT+IHqyvbJY8c2nwgSeKjVmcPRKSuH/tZhCYrhAtSLi3NgDaWHyhzXoAGvQoFpfJgxCR9iUHbZ7rMXgY9OMZD77cI= X-Received: by 2002:a05:622a:5a92:b0:476:a713:f792 with SMTP id d75a77b69052e-49f47fd201emr263382141cf.49.1748412312613; Tue, 27 May 2025 23:05:12 -0700 (PDT) MIME-Version: 1.0 From: Rowan Fraser Date: Wed, 28 May 2025 01:05:00 -0500 X-Gm-Features: AX0GCFtB0wnyCnf59BQM-8bQrUioSIVu5YQtw0GCjOcX4inGm-TSFj51HeXpF7U Message-ID: Subject: efivar compilation issues To: 77579@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000d07b8e06362bf651" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77579 X-Mailman-Approved-At: Wed, 28 May 2025 02:47:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d07b8e06362bf651 Content-Type: text/plain; charset="UTF-8" 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. --000000000000d07b8e06362bf651 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The efivar has compilation issues for 32-bit architecture= =C2=A0and RISC-V.=C2=A0
For 32 bit architecture=C2=A0I'd assume tha= t it has to do with the issue mentioned here:=C2=A0https://github.com/rhboot/efivar/issues/270=
For RISC-V architecture it errors out due to the `-Werror` flag an= d=C2=A0conflicting types as detailed in:=C2=A0https://github.com/rhboot/efivar/issues/280<= /div>

The repo for=C2=A0efivar hasn't been upd= ated 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.
--000000000000d07b8e06362bf651--