| Summary: | sys-apps/fwupd-1.5.9 fails configure on non-x86 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jannik Glückert <jannik.glueckert> |
| Component: | Current packages | Assignee: | Marek Szuba <marecki> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sam, slashbeast |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
fwupd ebuilds have had a fix for this for quite a while, closing. |
fwupd has the meson option "plugin_msr", which defaults to true and is not set by the ebuild. This causes a configure error on non-x86 This is the excerpt from meson.build: if cc.has_header('cpuid.h') and cc.has_header_symbol('cpuid.h', '__get_cpuid_count') and (host_cpu == 'x86' or host_cpu == 'x86_64') conf.set('HAVE_CPUID_H', '1') else if get_option('plugin_msr') error('cpuid.h is required for -Dplugin_msr=true') endif endif As such, -Dplugin_msr should be disabled on any non-x86 platform