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

Bug 882183

Summary: net-nds/openldap-2.4.59-r2: warning: implicit declaration of function 'slap_client_keepalive' [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ldap-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
net-nds:openldap-2.4.59-r2:20221120-112657.log.bz2

Description Toralf Förster gentoo-dev 2022-11-20 15:07:27 UTC
 *  Please file a bug about this at https://bugs.gentoo.org/
 *  with the maintainer of the package.
 * 
 * ERROR: net-nds/openldap-2.4.59-r2::gentoo failed:
 *   install aborted due to severe warnings shown above
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20221119-000005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit ca2ed28167051c63d637385dd470ee83338be2d3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 20 10:16:55 2022 +0000

    2022-11-20 10:16:55 UTC

emerge -qpvO net-nds/openldap
[ebuild   R   ] net-nds/openldap-2.6.3  USE="cleartext crypt ipv6 ssl syslog systemd -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kerberos -kinit -minimal -odbc -overlays -pbkdf2 -perl -samba -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -tcpd -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-11-20 15:07:28 UTC
Created attachment 834481 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-20 15:07:29 UTC
Created attachment 834483 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-20 15:07:33 UTC
Created attachment 834485 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-20 15:07:33 UTC
Created attachment 834487 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-20 15:07:34 UTC
Created attachment 834489 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-20 15:07:36 UTC
Created attachment 834491 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-20 15:07:39 UTC
Created attachment 834493 [details]
net-nds:openldap-2.4.59-r2:20221120-112657.log.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-24 11:27:29 UTC
The bug has been referenced in the following commit(s):

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

commit d4d1d9ed527058cf86b22407cc492944f9b1e6e5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-24 11:17:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-24 11:25:33 +0000

    net-nds/openldap: fix configure+build w/ clang 16
    
    This affects the macro which ntp bundles too.
    
    Closes: https://bugs.gentoo.org/871288
    Bug: https://bugs.gentoo.org/871372
    Bug: https://bugs.gentoo.org/882183
    Signed-off-by: Sam James <sam@gentoo.org>

 .../openldap/files/openldap-2.6.3-clang16.patch    | 139 ++++
 net-nds/openldap/openldap-2.6.3-r1.ebuild          | 797 +++++++++++++++++++++
 2 files changed, 936 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-24 11:28:18 UTC
I don't know if this is fixed by the patch (was it a misdetection in configure causing this?) or not yet.
Comment 10 Larry the Git Cow gentoo-dev 2022-11-25 07:05:50 UTC
The bug has been referenced in the following commit(s):

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

commit a87f975e56106632436903be3e94e2f272d9269d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-25 06:59:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-25 07:05:07 +0000

    net-nds/openldap: fix configure+build w/ clang 16 deux
    
    The previous patch wasn't enough on some systems.
    
    This affects the macro which ntp bundles too.
    
    Closes: https://bugs.gentoo.org/871288
    Bug: https://bugs.gentoo.org/871372
    Bug: https://bugs.gentoo.org/882183
    Fixes: d4d1d9ed527058cf86b22407cc492944f9b1e6e5
    Signed-off-by: Sam James <sam@gentoo.org>

 .../openldap/files/openldap-2.6.3-clang16.patch    | 48 ++++++++++++++++++----
 ...ap-2.6.3-r1.ebuild => openldap-2.6.3-r2.ebuild} |  0
 2 files changed, 39 insertions(+), 9 deletions(-)