Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 809296

Summary: media-libs/dav1d - compilation error in ARM64
Product: Gentoo Linux Reporter: Vasile M. <vasile.m3>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED INVALID    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Vasile M. 2021-08-20 19:37:31 UTC
Unable to install Gentoo on arm64.
After sync and selecte the desktop profile, the
emerge --ask --verbose --update --deep --newuse @world
fails.

Reproducible: Always

Steps to Reproduce:
1. Extract stage3 tarball (arm64)
2. chroot (in my case from Android device)
3. Select tye profile, sync and try to update all packages of the @world
Actual Results:  
ERROR: media-libs/dav1d-0.8.2::gentoo failed (compile phase):                                                                                            *   ninja -v -j6 -l0 -C /var/tmp/portage/media-libs/dav1d-0.8.2/work/dav1d-0.8.2-.arm64 failed
...
Comment 1 Vasile M. 2021-08-20 19:38:18 UTC
Created attachment 734638 [details]
emerge --info
Comment 2 Vasile M. 2021-08-20 19:39:03 UTC
Created attachment 734641 [details]
build.log
Comment 3 Vasile M. 2021-08-28 22:42:18 UTC
Solved. The architecture in chroot (Android) is wrong.
To choose the appropriate architecture, you must execute the setarch command.

setarch --list
setarch aarch64

I will investigate how to make aarch64 as the default architecture when doing the chroot proces.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-28 23:14:40 UTC
(In reply to Vasile M. from comment #3)
> Solved. The architecture in chroot (Android) is wrong.
> To choose the appropriate architecture, you must execute the setarch command.
> 
> setarch --list
> setarch aarch64
> 
> I will investigate how to make aarch64 as the default architecture when
> doing the chroot proces.

\o/