Bug 1227137

Summary: evdi fails to build on aarch64
Product: [openSUSE] openSUSE Tumbleweed Reporter: Guillaume GARDET <guillaume.gardet>
Component: KernelAssignee: Joan Torres <joan.torres>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: joan.torres, sndirsch, tiwai, wardlawhunter
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Guillaume GARDET 2024-06-27 14:07:17 UTC
evdi fails to build on aarch64 because multiple kernel flavors exist (64kb and default) but the spec file does not take it into account.
Comment 1 Stefan Dirsch 2024-07-09 08:13:33 UTC
Indeed. This needs to be done a bit differently.

[...]
%build
[...]
for flavor in %{flavors_to_build}; do
        rm -rf obj/$flavor
        cp -r source obj/$flavor
        pushd obj/$flavor
        [build process]
        popd
done
[...]
%install
[...]
for flavor in %{flavors_to_build}; do
        pushd obj/$flavor
        [install process]
        popd
done
[...]

Joan is currently on vacation. He will take care of it once he's back.
Comment 2 Hunter Wardlaw 2024-07-12 19:38:35 UTC
Pardon my ignorance, but is this why aarch64 builds haven't been published since 06292024?
Comment 3 Stefan Dirsch 2024-07-12 21:07:49 UTC
(In reply to Hunter Wardlaw from comment #2)
> Pardon my ignorance, but is this why aarch64 builds haven't been published
> since 06292024?

Did it ever build against aarch64?
Comment 4 Joan Torres 2024-07-16 16:30:44 UTC
Here is the SR that fixes this: https://build.opensuse.org/request/show/1187960.

Closing as fixed.

Thanks.