Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911484 - sys-apps/systemd-254 rekeyword
Summary: sys-apps/systemd-254 rekeyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks:
 
Reported: 2023-07-29 20:13 UTC by Mike Gilbert
Modified: 2023-09-07 20:26 UTC (History)
3 users (show)

See Also:
Package list:
>=sys-apps/systemd-254 ~loong ~riscv dev-python/pefile ~loong ~riscv
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2023-07-29 20:13:00 UTC
sys-apps/systemd[boot] has a new dependency on dev-python/pefile.
Comment 1 Yixun Lan archtester gentoo-dev 2023-07-31 07:04:04 UTC
riscv done
Comment 2 WANG Xuerui gentoo-dev 2023-07-31 16:34:07 UTC
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.
Comment 3 Mike Gilbert gentoo-dev 2023-07-31 16:43:38 UTC
(In reply to WANG Xuerui from comment #2)

Thanks. Please send it upstream and give me a link so I can backport it.
Comment 4 Mike Gilbert gentoo-dev 2023-07-31 16:54:36 UTC
We probably need to backport this change for pyelftools.

https://github.com/eliben/pyelftools/commit/20594758fbdafaaa5fc789d79bd6697de738dc7e
Comment 5 Mike Gilbert gentoo-dev 2023-07-31 17:05:12 UTC
Let's see if upstream will do a release.

https://github.com/eliben/pyelftools/issues/476#issuecomment-1658783448
Comment 6 NATTkA bot gentoo-dev 2023-08-10 04:32:15 UTC Comment hidden (obsolete)
Comment 7 Larry the Git Cow gentoo-dev 2023-09-07 20:26:58 UTC
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(-)