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

Bug 881503

Summary: app-laptop/pbbuttonsd-0.8.1a - configure: error: SMBios library not available. Please install development files for libsmbios.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: CONFIRMED ---    
Severity: normal CC: fatzer2
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35160
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-laptop:pbbuttonsd-0.8.1a:20221116-141245.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-16 15:33:51 UTC
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for smbios/SystemInfo.h... no
configure: error: SMBios library not available. Please install development files for libsmbios.

!!! Please attach the following file when seeking support:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221116-060010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 2e5659031a1670ec8637884e7dee0516dc379875
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 16 13:31:54 2022 +0000

    2022-11-16 13:31:54 UTC

emerge -qpvO app-laptop/pbbuttonsd
[ebuild  N    ] app-laptop/pbbuttonsd-0.8.1a  USE="acpi alsa macbook -doc -ibam -oss"
Comment 1 Toralf Förster gentoo-dev 2022-11-16 15:33:52 UTC
Created attachment 833003 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-16 15:33:56 UTC
Created attachment 833005 [details]
app-laptop:pbbuttonsd-0.8.1a:20221116-141245.log
Comment 3 Toralf Förster gentoo-dev 2022-11-16 15:33:57 UTC
Created attachment 833007 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-16 15:33:58 UTC
Created attachment 833009 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-16 15:33:59 UTC
Created attachment 833011 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-16 15:34:01 UTC
Created attachment 833013 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-16 15:34:02 UTC
Created attachment 833015 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-16 15:34:03 UTC
Created attachment 833017 [details]
temp.tar.bz2
Comment 9 Fat-Zer 2024-02-03 04:44:09 UTC
The bug is triggered by USE=macbook, which requires sys-libs/libsmbios. But it requires the C++ version of the lib, which was dropped by upstream[1].

I'd suggest to drop the macbook USE unless anybody provides a patch to use the C version of libsmbios.

[1]: https://github.com/dell/libsmbios/issues/27