Bug 2217227 - Review Request: box64 - Linux userspace x86_64 emulator with a twist, targeted at ARM64
Summary: Review Request: box64 - Linux userspace x86_64 emulator with a twist, targete...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-25 08:18 UTC by Davide Cavalca
Modified: 2023-06-30 13:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)

Description Davide Cavalca 2023-06-25 08:18:24 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/box64/box64.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/box64/box64-0.2.2-1.fc39.src.rpm

Description:
Box64 lets you run x86_64 Linux programs (such as games) on non-x86_64 Linux
systems, like ARM (host system needs to be 64-bit little-endian).

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2023-06-25 08:21:00 UTC
This needs access to x86_64 libraries to actually be useful. The easiest way to get those is to

dnf --forcearch=x86_64 --installroot=/path/to/x64root install <packages...>

and then set BOX64_LD_LIBRARY_PATH=/path/to/x64root before running box64.

Comment 2 Neal Gompa 2023-06-25 09:06:25 UTC
Taking this review.

Comment 3 Neal Gompa 2023-06-25 09:08:37 UTC
Spec review:

> Requires(post): %{_sbindir}/update-alternatives
> Requires(postun): %{_sbindir}/update-alternatives

Why are we using alternatives instead of Provides+Conflicts and "RemovePathPostfixes" stanzas?

Example of this: https://code.opensuse.org/package/pagure/blob/master/f/pagure.spec#_218-238

Comment 4 Davide Cavalca 2023-06-25 09:33:14 UTC
Because I figured may want to have the generic aarch64 version and the platform specific one installed concurrently to compare and contrast (not on Apple Silicon, as you'll need the -asahi one for 16k, but on other platforms).


Note You need to log in before you can comment on or make changes to this bug.