Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808803 - sys-apps/fwupd-1.6.3: cpuid.h is required for -Dplugin_msr=true
Summary: sys-apps/fwupd-1.6.3: cpuid.h is required for -Dplugin_msr=true
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-18 00:03 UTC by Yixun Lan
Modified: 2021-08-20 09:25 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,9.40 KB, text/x-log)
2021-08-18 00:05 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-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(+)