| Summary: | sys-apps/systemd-254 rekeyword | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
| Component: | Keywording | Assignee: | Gentoo systemd Team <systemd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | loong, mario.haustein, sam |
| Priority: | Normal | Keywords: | CC-ARCHES |
| Version: | unspecified | Flags: | nattka:
sanity-check+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: |
>=sys-apps/systemd-254 ~loong ~riscv
dev-python/pefile ~loong ~riscv
|
Runtime testing required: | --- |
|
Description
Mike Gilbert
2023-07-29 20:13:00 UTC
riscv done Fails to build on loong, seems the port was incorrect:
FAILED: src/boot/efi/addonloongarch64.efi.stub
/tmp/portage/sys-apps/systemd-254/work/systemd-254/tools/elf2efi.py --version-major=254 --version-minor=0 --efi-major=1 --efi-minor=1 --subsystem=10 --minimum-sections=7 src/boot/efi/addonloongarch64.elf.stub src/boot/efi/addonloongarch64.efi.stub
Traceback (most recent call last):
File "/tmp/portage/sys-apps/systemd-254/work/systemd-254/tools/elf2efi.py", line 593, in <module>
main()
File "/tmp/portage/sys-apps/systemd-254/work/systemd-254/tools/elf2efi.py", line 589, in main
elf2efi(parser.parse_args())
File "/tmp/portage/sys-apps/systemd-254/work/systemd-254/tools/elf2efi.py", line 479, in elf2efi
raise RuntimeError(f"Unuspported ELF arch {elf['e_machine']}")
RuntimeError: Unuspported ELF arch 258
I'll write the patch.
(In reply to WANG Xuerui from comment #2) Thanks. Please send it upstream and give me a link so I can backport it. We probably need to backport this change for pyelftools. https://github.com/eliben/pyelftools/commit/20594758fbdafaaa5fc789d79bd6697de738dc7e Let's see if upstream will do a release. https://github.com/eliben/pyelftools/issues/476#issuecomment-1658783448 Unable to check for sanity:
> no match for package: sys-apps/systemd-254
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=628e3f98be846a5d5c3144eaafbd77094a687e95 commit 628e3f98be846a5d5c3144eaafbd77094a687e95 Author: WANG Xuerui <xen0n@gentoo.org> AuthorDate: 2023-09-07 08:11:02 +0000 Commit: WANG Xuerui <xen0n@gentoo.org> CommitDate: 2023-09-07 20:25:34 +0000 sys-apps/systemd: BDEPEND on >=dev-python/pyelftools-0.30 The loong support has been fixed since this version of pyelftools, in particular. Also, restore the USE=boot unmask while at it. Closes: https://github.com/gentoo/gentoo/pull/32669 Closes: https://bugs.gentoo.org/911484 Signed-off-by: WANG Xuerui <xen0n@gentoo.org> profiles/arch/loong/package.use.mask | 8 ++------ .../systemd/{systemd-254.1-r1.ebuild => systemd-254.1-r2.ebuild} | 2 +- sys-apps/systemd/systemd-9999.ebuild | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) |