Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810880 - sys-apps/flashrom: incomplete driver masks
Summary: sys-apps/flashrom: incomplete driver masks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-29 08:13 UTC by Yixun Lan
Modified: 2021-11-15 20:13 UTC (History)
1 user (show)

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


Attachments
full build log (build.log.xz,2.56 KB, application/x-xz)
2021-08-29 08:16 UTC, Yixun Lan
Details

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