Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852122 - dev-libs/libdnet-1.16.1 - configure: error: check.h or libcheck.so not found in /usr
Summary: dev-libs/libdnet-1.16.1 - configure: error: check.h or libcheck.so not found ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 886223
  Show dependency tree
 
Reported: 2022-06-15 09:07 UTC by Toralf Förster
Modified: 2023-12-14 04:12 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.21 KB, text/plain)
2022-06-15 09:07 UTC, Toralf Förster
Details
dev-libs:libdnet-1.16.1:20220615-045644.log (dev-libs:libdnet-1.16.1:20220615-045644.log,8.44 KB, text/plain)
2022-06-15 09:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,51.30 KB, text/plain)
2022-06-15 09:07 UTC, Toralf Förster
Details
environment (environment,143.95 KB, text/plain)
2022-06-15 09:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.99 KB, application/x-bzip)
2022-06-15 09:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.22 KB, application/x-bzip)
2022-06-15 09:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.40 KB, application/x-bzip)
2022-06-15 09:07 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 2022-06-15 09:07:41 UTC
checking for open_mib in -lnm... no
checking for Check... 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
/usr
configure: error: check.h or libcheck.so not found in /usr

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

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4_test-20220614-140043

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  (none found)

  HEAD of ::gentoo
commit 501d75c453f642e466d73f0aff9d420a3b42e1b6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 15 03:48:21 2022 +0000

    2022-06-15 03:48:20 UTC

emerge -qpvO dev-libs/libdnet
[ebuild  N    ] dev-libs/libdnet-1.16.1  USE="test -python" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-06-15 09:07:42 UTC
Created attachment 785315 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-15 09:07:43 UTC
Created attachment 785318 [details]
dev-libs:libdnet-1.16.1:20220615-045644.log
Comment 3 Toralf Förster gentoo-dev 2022-06-15 09:07:44 UTC
Created attachment 785321 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-15 09:07:46 UTC
Created attachment 785324 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-15 09:07:47 UTC
Created attachment 785327 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-15 09:07:48 UTC
Created attachment 785330 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-15 09:07:49 UTC
Created attachment 785333 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-05-01 18:13:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0f91eb56414bad25108797a1a00f9a1d17c10e

commit 1c0f91eb56414bad25108797a1a00f9a1d17c10e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-01 18:13:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-01 18:13:01 +0000

    dev-libs/libdnet: properly conditionally build tests
    
    Closes: https://bugs.gentoo.org/852122
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2023-12-14 04:12:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505c020a9c8f7fa29e69533259cf6acd8a83917e

commit 505c020a9c8f7fa29e69533259cf6acd8a83917e
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-13 19:20:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-14 02:15:21 +0000

    dev-libs/libdnet: fix lookup path for libcheck.so on 64-bit
    
    We pass --with-check=/usr, and the configure file is hardcoded to look
    for <path>/lib/libcheck.so (we already replace libcheck.a with
    libcheck.so).  Adjust this path so it uses lib64 on 64-bit.
    
    Bug: https://bugs.gentoo.org/852122
    Bug: https://bugs.gentoo.org/907224
    Bug: https://bugs.gentoo.org/913838
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34271
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 3 +++
 dev-libs/libdnet/libdnet-1.17.0.ebuild | 3 +++
 2 files changed, 6 insertions(+)