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

Bug 713148

Summary: sys-apps/x86info-1.30 : x86info.h: error: unknown type name cpu_set_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:x86info-1.30:20200317-231305.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-18 08:36:11 UTC
In file included from cpuid.c:30:
x86info.h: In function bind_cpu:
x86info.h:232:2: error: unknown type name cpu_set_t
  232 |  cpu_set_t set;
      |  ^~~~~~~~~
x86info.h:234:6: warning: implicit declaration of function sched_getaffinity [-Wimplicit-function-declaration]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 17 Mar 2020 22:38:34 +0000
emerge -qpvO sys-apps/x86info
[ebuild  N    ] sys-apps/x86info-1.30
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:36:13 UTC
Created attachment 621330 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:36:16 UTC
Created attachment 621332 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:36:19 UTC
Created attachment 621334 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:36:22 UTC
Created attachment 621336 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:36:25 UTC
Created attachment 621338 [details]
sys-apps:x86info-1.30:20200317-231305.log
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:36:27 UTC
Created attachment 621340 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2022-01-29 13:05:40 UTC
The bug has been closed via the following commit(s):

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

commit 7cffac797b9db0e309c4ee9d036681c8734a4944
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-29 13:05:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-29 13:05:32 +0000

    sys-apps/x86info: fix build on musl
    
    Closes: https://bugs.gentoo.org/713148
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-apps/x86info/files/x86info-1.30-makefile.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)