Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915864 - sys-apps/cpu-x-5.0.0 USE=-cpu - /.../main.c: fatal error: libcpuid/libcpuid.h: No such file or directory
Summary: sys-apps/cpu-x-5.0.0 USE=-cpu - /.../main.c: fatal error: libcpuid/libcpuid.h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-16 18:54 UTC by Toralf Förster
Modified: 2023-10-27 18:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.02 KB, text/plain)
2023-10-16 18:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,243.22 KB, text/plain)
2023-10-16 18:54 UTC, Toralf Förster
Details
environment (environment,109.23 KB, text/plain)
2023-10-16 18:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2023-10-16 18:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.36 KB, application/x-xz)
2023-10-16 18:54 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,62.50 KB, application/x-xz)
2023-10-16 18:54 UTC, Toralf Förster
Details
sys-apps:cpu-x-5.0.0:20231016-182857.log (sys-apps:cpu-x-5.0.0:20231016-182857.log,38.62 KB, text/plain)
2023-10-16 18:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.23 KB, application/x-xz)
2023-10-16 18:54 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 2023-10-16 18:54:50 UTC
too long lines were shrinked:

[57/67] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_LIBCPUID=0 -I/usr/include/ncursesw -I/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/dmidecode  -O2 -pipe -march=native -fno-diagnostics-color -Wno-deprecated-declarations -Wno-unused-result -fdiagnostics-color=always -MD -MT src/bandwidth/CM
[58/67] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_LIBCPUID=0 -I/usr/include/ncursesw -I/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/dmidecode  -O2 -pipe -march=native -fno-diagnostics-color -Wno-deprecated-declarations -Wno-unused-result -fdiagnostics-color=always -MD -MT src/bandwidth/CM
[59/67] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_LIBCPUID=0 -I/usr/include/ncursesw -I/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/dmidecode  -O2 -pipe -march=native -fno-diagnostics-color -Wno-deprecated-declarations -Wno-unused-result -fdiagnostics-color=always -MD -MT src/bandwidth/CM
[60/67] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_LIBCPUID=0 -I/usr/include/ncursesw -I/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/dmidecode  -O2 -pipe -march=native -fno-diagnostics-color -Wno-deprecated-declarations -Wno-unused-result -fdiagnostics-color=always -MD -MT src/bandwidth/CM
FAILED: src/bandwidth/CMakeFiles/bandwidth.dir/main.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_LIBCPUID=0 -I/usr/include/ncursesw -I/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/dmidecode  -O2 -pipe -march=native -fno-diagnostics-color -Wno-deprecated-declarations -Wno-unused-result -fdiagnostics-color=always -MD -MT src/bandwidth/CMakeFiles
/var/tmp/portage/sys-apps/cpu-x-5.0.0/work/CPU-X-5.0.0/src/bandwidth/main.c:71:11: fatal error: libcpuid/libcpuid.h: No such file or directory
   71 | # include <libcpuid/libcpuid.h>
      |           ^~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20231014-030005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.2
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 52bafe73b81ec5f1327bbfae83d33757953be1c2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 16 17:01:59 2023 +0000

    2023-10-16 17:01:58 UTC

emerge -qpvO sys-apps/cpu-x
[ebuild     U ] sys-apps/cpu-x-5.0.0 [4.5.3] USE="ncurses nls opencl vulkan -cpu -force-libstatgrab -gpu -gui -pci -test"
Comment 1 Toralf Förster gentoo-dev 2023-10-16 18:54:51 UTC
Created attachment 872999 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-16 18:54:53 UTC
Created attachment 873000 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-10-16 18:54:54 UTC
Created attachment 873001 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-10-16 18:54:55 UTC
Created attachment 873002 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-10-16 18:54:56 UTC
Created attachment 873003 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-16 18:54:57 UTC
Created attachment 873004 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-10-16 18:54:58 UTC
Created attachment 873005 [details]
sys-apps:cpu-x-5.0.0:20231016-182857.log
Comment 8 Toralf Förster gentoo-dev 2023-10-16 18:54:59 UTC
Created attachment 873006 [details]
temp.tar.xz
Comment 9 Ben Kohler gentoo-dev 2023-10-16 19:10:16 UTC
Filed upstream issue https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/issues/306

I believe this is a mistake there... I could just add unconditional dep to libcpuid but let's see if upstream can just fix it back like it was.
Comment 10 Larry the Git Cow gentoo-dev 2023-10-27 18:00:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0370e258d86e028e9addf4f47294d273c37d45ba

commit 0370e258d86e028e9addf4f47294d273c37d45ba
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2023-10-23 16:11:38 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2023-10-27 18:00:25 +0000

    sys-apps/cpu-x: add 5.0.1
    
    Closes: https://bugs.gentoo.org/915864
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-apps/cpu-x/Manifest           |  1 +
 sys-apps/cpu-x/cpu-x-5.0.1.ebuild | 82 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)