FS#70046 - [systemd] [gnu-efi] Compiling systemd against gnu-efi 3.0.13 fails

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Wednesday, 17 March 2021, 16:14 GMT
Last edited by Christian Hesse (eworm) - Friday, 08 April 2022, 19:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

../systemd-stable/src/boot/efi/console.c:12: warning: "EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID" redefined
12 | #define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \
|
In file included from /usr/include/efi/efi.h:63,
from ../systemd-stable/src/boot/efi/console.c:3:
/usr/include/efi/eficonex.h:22: note: this is the location of the previous definition
22 | #define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \
|
../systemd-stable/src/boot/efi/console.c:27:3: error: conflicting types for ‘EFI_KEY_STATE’
...

Looks like it's already fixed here:

https://github.com/systemd/systemd-stable/pull/97

Additional info:
* package version(s):
- systemd: 247.4-2
- gnu-efi: 3.0.13-1

Steps to reproduce:
asp export systemd
cd systemd
testing-x86_64-build or staging-x86_64-build
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 08 April 2022, 19:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 248-1
Comment by Andreas Baumann (andreas_baumann) - Thursday, 18 March 2021, 10:27 GMT
Patched manually downstream https://git.archlinux32.org/packages/tree/core/systemd

(I saw _backports, but cherry picking 95ba433a5f34baf92921fb58051bc8241f908c0e resulted in a conflict).
Comment by Christian Hesse (eworm) - Thursday, 18 March 2021, 10:43 GMT
The current package has been built with gnu-efi 3.0.12...

There's a pull request for systemd-stable, but it has not been merged.
https://github.com/systemd/systemd-stable/pull/97

We will see systemd 248 soon anyway, so not bothering to fix this in trunk (unless something urgent comes up).
Comment by David Runge (dvzrv) - Friday, 08 April 2022, 18:46 GMT
@andreas_baumann, @eworm: Is this still relevant or can we close this ticket?

Loading...