Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809296 - media-libs/dav1d - compilation error in ARM64
Summary: media-libs/dav1d - compilation error in ARM64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-20 19:37 UTC by Vasile M.
Modified: 2021-08-28 23:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,5.11 KB, text/plain)
2021-08-20 19:38 UTC, Vasile M.
Details
build.log (build.log.zst,28.33 KB, application/zstd)
2021-08-20 19:39 UTC, Vasile M.
Details

Note You need to log in before you can comment on or make changes to this bug.
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/