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

Bug 808803

Summary: sys-apps/fwupd-1.6.3: cpuid.h is required for -Dplugin_msr=true
Product: Gentoo Linux Reporter: Yixun Lan <dlan>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: riscv, whissi
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: riscv   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/22023
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Yixun Lan archtester gentoo-dev 2021-08-18 00:03:25 UTC
Has header "cpuid.h" : NO 

meson.build:342:4: ERROR: Problem encountered: cpuid.h is required for -Dplugin_msr=true



Reproducible: Always
Comment 1 Yixun Lan archtester gentoo-dev 2021-08-18 00:05:30 UTC
Created attachment 733641 [details]
build.log
Comment 2 Yixun Lan archtester gentoo-dev 2021-08-18 00:07:00 UTC
we probably could do the same as PPC, which add following code to ebuild

        use riscv && plugins+=( -Dplugin_msr="false" )
Comment 3 Yixun Lan archtester gentoo-dev 2021-08-20 08:41:20 UTC
hi @polynomial-c @whissi, mind I push this for riscv?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-08-20 09:01:35 UTC
(In reply to Yixun Lan from comment #3)
> hi @polynomial-c @whissi, mind I push this for riscv?

Not at all. Please go ahead.
Comment 5 Larry the Git Cow gentoo-dev 2021-08-20 09:25:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e1319975bcd3ec0d4a062b97901ccd994c3bca8

commit 7e1319975bcd3ec0d4a062b97901ccd994c3bca8
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2021-08-19 03:04:26 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2021-08-20 09:20:50 +0000

    sys-apps/fwupd: disable msr plugin for riscv
    
    Closes: https://bugs.gentoo.org/808803
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 sys-apps/fwupd/fwupd-1.6.3.ebuild | 1 +
 1 file changed, 1 insertion(+)