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

Bug 835649

Summary: net-nds/adtool-1.3.3-r1 - /.../ld: cannot find -lldap_r
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 835819    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-nds:adtool-1.3.3-r1:20220320-090542.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-03-20 10:14:31 UTC
  453 |         fread(data, filesize, 1, data_fd);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o adtool adtool.o ../../src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv 
libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o adtool adtool.o  -Wl,--as-needed ../../src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lldap_r
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:379: adtool] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220318-210509

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 6804853f0756c60d413696c02a14fa449f078d4c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 20 07:49:28 2022 +0000

    2022-03-20 07:49:26 UTC

emerge -qpvO net-nds/adtool
[ebuild  N    ] net-nds/adtool-1.3.3-r1
Comment 1 Toralf Förster gentoo-dev 2022-03-20 10:14:32 UTC
Created attachment 767430 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-20 10:14:34 UTC
Created attachment 767431 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-20 10:14:35 UTC
Created attachment 767432 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-20 10:14:36 UTC
Created attachment 767433 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-20 10:14:37 UTC
Created attachment 767434 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-20 10:14:38 UTC
Created attachment 767435 [details]
net-nds:adtool-1.3.3-r1:20220320-090542.log
Comment 7 Toralf Förster gentoo-dev 2022-03-20 10:14:39 UTC
Created attachment 767436 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-03-22 23:32:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5117aac7017dbcf286e839bc5ce252552df48963

commit 5117aac7017dbcf286e839bc5ce252552df48963
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-22 22:56:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-22 23:26:57 +0000

    net-nds/adtool: add version limit on OpenLDAP (needs ldap_r)
    
    We need (for now) the reentrant library from OpenLDAP which is gone.
    
    Bug: https://bugs.gentoo.org/835649
    Signed-off-by: Sam James <sam@gentoo.org>

 net-nds/adtool/{adtool-1.3.3-r1.ebuild => adtool-1.3.3-r2.ebuild} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2022-12-16 19:54:42 UTC
The bug has been referenced in the following commit(s):

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

commit fe9b4f7b2a4fe58ac890268bc9b0ef78931d00fb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-16 19:42:58 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-16 19:54:35 +0000

    package.mask: Last rite net-nds/adtool
    
    Bug: https://bugs.gentoo.org/835649
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-19 13:52:50 UTC
Package removed.