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

Bug 702568

Summary: dev-libs/libgpiod-1.4.1 : configure: error: Package requirements (libkmod >= 18) were not met:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: dan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:libgpiod-1.4.1:20191211-141656.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-12-11 18:01:43 UTC
checking pkg-config is at least version 0.9.0... yes
checking for KMOD... no
configure: error: Package requirements (libkmod >= 18) were not met:

Package 'libkmod', required by 'virtual:world', not found


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-libressl_abi32+64_test-20191208-121635

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)


java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 11 Dec 2019 13:46:14 +0000

emerge -qpvO dev-libs/libgpiod
[ebuild  N    ] dev-libs/libgpiod-1.4.1  USE="cxx test tools -python -static-libs" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-12-11 18:01:46 UTC
Created attachment 599208 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-11 18:01:49 UTC
Created attachment 599210 [details]
dev-libs:libgpiod-1.4.1:20191211-141656.log
Comment 3 Toralf Förster gentoo-dev 2019-12-11 18:01:52 UTC
Created attachment 599212 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-11 18:01:55 UTC
Created attachment 599214 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-11 18:01:58 UTC
Created attachment 599216 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-11 18:02:01 UTC
Created attachment 599218 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-12-11 18:02:04 UTC
Created attachment 599220 [details]
temp.tbz2
Comment 8 Anthony Basile gentoo-dev 2022-07-21 14:36:44 UTC
All versions of kmod in ::gentoo are above 18.  I'm not sure how this was triggered.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-22 17:17:38 UTC
Yeah, emerge-history.txt contains:
>2019-12-09T08:06:15 >>> sys-apps/kmod-26-r3
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-22 17:19:37 UTC
(In reply to Sam James from comment #9)
> Yeah, emerge-history.txt contains:
> >2019-12-09T08:06:15 >>> sys-apps/kmod-26-r3

Oh, I get it! It's a multilib ebuild and the check dies on the ABI_X86_32 build. The eclass (linux-mod) does not add a MULTILIB_USEDEP dep.
Comment 11 Anthony Basile gentoo-dev 2022-07-22 18:00:02 UTC
(In reply to Sam James from comment #10)
> (In reply to Sam James from comment #9)
> > Yeah, emerge-history.txt contains:
> > >2019-12-09T08:06:15 >>> sys-apps/kmod-26-r3
> 
> Oh, I get it! It's a multilib ebuild and the check dies on the ABI_X86_32
> build. The eclass (linux-mod) does not add a MULTILIB_USEDEP dep.

EAPI=8 does not allow default in pkg_setup phase.  Looks like the eclass needs multilib support.
Comment 12 Larry the Git Cow gentoo-dev 2022-09-09 09:15:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba1b62c7bd0698c5b58f4bf371345bfeea2e958

commit 8ba1b62c7bd0698c5b58f4bf371345bfeea2e958
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-09 09:15:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-09 09:15:36 +0000

    dev-libs/libgpiod: add missing test deps
    
    Not worrying about old version as multilib got dropped.
    
    Closes: https://bugs.gentoo.org/702568
    Closes: https://bugs.gentoo.org/865197
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)