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

Bug 836280

Summary: net-nds/openldap-2.6.1-r1 - /.../ld: cannot find -lkrb5: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matt Jolly <kangie>
Status: CONFIRMED ---    
Severity: normal CC: ldap-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
net-nds:openldap-2.6.1-r1:20220327-142412.log.bz2

Description Toralf Förster gentoo-dev 2022-03-27 14:28:19 UTC
too long lines were shrinked:

smbk5pwd.c:624:39: warning: missing braces around initializer [-Wmissing-braces]
/var/tmp/portage/net-nds/openldap-2.6.1-r1/work/openldap-OPENLDAP_REL_ENG_2_6_1-abi_x86_64.amd64/libtool --mode=link gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -version-info 0:0:0 \
-rpath /usr/lib64/openldap/openldap -module -o smbk5pwd.la smbk5pwd.lo /var/tmp/portage/net-nds/openldap-2.6.1-r1/work/openldap-OPENLDAP_REL_ENG_2_6_1-abi_x86_64.amd64/libraries/libldap/libldap.la /var/tmp/portage/net-nds/openldap-2.6.1-r1/work/openldap-OPENLDAP_REL_ENG_2_6_1-abi_x86_64.amd64/librar
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/smbk5pwd.o   -Wl,-rpath -Wl,/var/tmp/portage/net-nds/openldap-2.6.1-r1/work/openldap-OPENLDAP_REL_ENG_2_6_1-abi_x86_64.amd64/libraries/libldap/.libs -Wl,-rpath -Wl,/var/tmp/portage/net-nds/openldap-2.6.1-r1/work/openldap-OPENLDAP_REL
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkrb5: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkadm5srv: No such file or directory
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220326-101155

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.0
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit f18189d2a3d366fc616955b6922d1f4cb70c0b8c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 27 13:04:40 2022 +0000

    2022-03-27 13:04:38 UTC

emerge -qpvO net-nds/openldap
[ebuild  N    ] net-nds/openldap-2.6.1-r1  USE="crypt experimental ipv6 overlays smbkrb5passwd ssl syslog -argon2 -autoca -cleartext -cxx -debug -gnutls -iodbc -kerberos -kinit -minimal -odbc -pbkdf2 -perl -samba -sasl (-selinux) -sha2 -static-libs -systemd -tcpd -test"
Comment 1 Toralf Förster gentoo-dev 2022-03-27 14:28:20 UTC
Created attachment 767985 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-27 14:28:21 UTC
Created attachment 767986 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-27 14:28:23 UTC
Created attachment 767987 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-27 14:28:24 UTC
Created attachment 767988 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-27 14:28:25 UTC
Created attachment 767989 [details]
net-nds:openldap-2.6.1-r1:20220327-142412.log.bz2
Comment 6 Toralf Förster gentoo-dev 2023-07-05 11:47:15 UTC
still true for net-nds/openldap-2.6.4-r2
Comment 7 Toralf Förster gentoo-dev 2023-07-05 11:47:42 UTC
(In reply to Toralf Förster from comment #6)
> still true for net-nds/openldap-2.6.4-r2

image: 17.1_hardened-20230704-183010