Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713148 - sys-apps/x86info-1.30 : x86info.h: error: unknown type name cpu_set_t
Summary: sys-apps/x86info-1.30 : x86info.h: error: unknown type name cpu_set_t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-18 08:36 UTC by Toralf Förster
Modified: 2022-01-29 13:05 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-18 08:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.08 KB, text/plain)
2020-03-18 08:36 UTC, Toralf Förster
Details
environment (environment,148.88 KB, text/plain)
2020-03-18 08:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.53 KB, application/x-bzip)
2020-03-18 08:36 UTC, Toralf Förster
Details
sys-apps:x86info-1.30:20200317-231305.log (sys-apps:x86info-1.30:20200317-231305.log,13.14 KB, text/plain)
2020-03-18 08:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.38 KB, application/x-bzip)
2020-03-18 08:36 UTC, Toralf Förster
Details

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