Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928450 - sys-libs/libcap-ng-0.8.4-r1 - [slibtool] ld.lld: error: unable to find library -lcap-ng
Summary: sys-libs/libcap-ng-0.8.4-r1 - [slibtool] ld.lld: error: unable to find librar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://github.com/stevegrubb/libcap-...
Whiteboard:
Keywords: PullRequest
: 927977 (view as bug list)
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2024-04-02 16:08 UTC by Toralf Förster
Modified: 2024-04-04 16:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.78 KB, text/plain)
2024-04-02 16:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,10.79 KB, text/plain)
2024-04-02 16:08 UTC, Toralf Förster
Details
environment (environment,134.00 KB, text/plain)
2024-04-02 16:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.18 KB, application/x-xz)
2024-04-02 16:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.08 KB, application/x-xz)
2024-04-02 16:08 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.98 KB, application/x-xz)
2024-04-02 16:08 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,42.38 KB, text/plain)
2024-04-02 16:08 UTC, Toralf Förster
Details
sys-libs:libcap-ng-0.8.4-r1:20240401-220132.log (sys-libs:libcap-ng-0.8.4-r1:20240401-220132.log,31.40 KB, text/plain)
2024-04-02 16:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.45 KB, application/x-xz)
2024-04-02 16:08 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 2024-04-02 16:08:00 UTC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rdlibtool  --tag=CC   --mode=link clang -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o captest captest.o  -L../src -lcap-ng



rdlibtool --tag=CCrdlibtool: error logged in slbt_exec_link_create_executable(), line 248: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_exec_link(), line 480.
 --mode=link clang -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o captest captest.o -L../src -lcap-ng

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240401-100806

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.2+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2+libcxx
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli (if any):

  HEAD of ::gentoo
commit 2e6e649af09f01f6caab88022594338842a77afd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 1 21:49:22 2024 +0000

    2024-04-01 21:49:21 UTC

emerge -qpvO sys-libs/libcap-ng
[ebuild  N    ] sys-libs/libcap-ng-0.8.4-r1  USE="python -static-libs" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-04-02 16:08:01 UTC
Created attachment 889265 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-02 16:08:02 UTC
Created attachment 889266 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-02 16:08:04 UTC
Created attachment 889267 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-02 16:08:04 UTC
Created attachment 889268 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-02 16:08:05 UTC
Created attachment 889269 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-02 16:08:06 UTC
Created attachment 889270 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-02 16:08:07 UTC
Created attachment 889271 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-02 16:08:08 UTC
Created attachment 889272 [details]
sys-libs:libcap-ng-0.8.4-r1:20240401-220132.log
Comment 9 Toralf Förster gentoo-dev 2024-04-02 16:08:09 UTC
Created attachment 889273 [details]
temp.tar.xz
Comment 10 orbea 2024-04-04 00:39:38 UTC
*** Bug 927977 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-04-04 16:48:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971cbaa931df4aa0c40b10438808ed83d3a62879

commit 971cbaa931df4aa0c40b10438808ed83d3a62879
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-04-04 14:48:49 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-04-04 16:48:19 +0000

    sys-libs/libcap-ng: link using libcap-ng.la
    
    Closes: https://bugs.gentoo.org/928450
    Upstream-PR: https://github.com/stevegrubb/libcap-ng/pull/52
    Upstream-Commit: https://github.com/stevegrubb/libcap-ng/commit/75fe3714a8da28f0e2939c4402527782014401dd
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../libcap-ng/files/libcap-ng-0.8.4-slibtool.patch | 32 ++++++++++++++++++++++
 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild       |  8 ++++--
 2 files changed, 37 insertions(+), 3 deletions(-)