In file included from ../flashrom-v1.2/atavia.c:23: ../flashrom-v1.2/hwaccess.h:300:2: error: #error Unknown architecture, please check if it supports PCI port IO. 300 | #error Unknown architecture, please check if it supports PCI port IO. | ^~~~~ Reproducible: Always
Created attachment 736570 [details] full build log
This is not a riscv-specific problem, this driver should be masked on all arches except amd64 and x86. Will take care of updating the masks shortly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61abd9af973546c3e99da9ab52d0707ef609a40 commit b61abd9af973546c3e99da9ab52d0707ef609a40 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-11-15 20:10:56 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-11-15 20:13:01 +0000 profiles/arch: update sys-apps/flashrom USE masks Some of the drivers requiring raw PCI access (which currently only works on amd64 and x86) were missing from the base mask. Closes: https://bugs.gentoo.org/810880 Signed-off-by: Marek Szuba <marecki@gentoo.org> profiles/arch/amd64/package.use.mask | 2 +- profiles/arch/base/package.use.mask | 2 +- profiles/arch/x86/package.use.mask | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)