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

Bug 810880

Summary: sys-apps/flashrom: incomplete driver masks
Product: Gentoo Linux Reporter: Yixun Lan <dlan>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: riscv
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log

Description Yixun Lan archtester gentoo-dev 2021-08-29 08:13:16 UTC
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
Comment 1 Yixun Lan archtester gentoo-dev 2021-08-29 08:16:11 UTC
Created attachment 736570 [details]
full build log
Comment 2 Marek Szuba archtester gentoo-dev 2021-11-15 20:07:30 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2021-11-15 20:13:29 UTC
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(-)