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

Bug 914761

Summary: net-nds/openldap-2.6.6 - [clang] ../.../string.h: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a z
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-nds:openldap-2.6.6:20230926-185031.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-26 19:35:00 UTC
too long lines were shrinked:

clang -O2 -pipe -march=native -fno-diagnostics-color -DOPENSSL_NO_MD2 -I../../include        -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include       -c -o entropy.o entropy.c
clang -O2 -pipe -march=native -fno-diagnostics-color -DOPENSSL_NO_MD2 -I../../include        -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include       -c -o sasl.o sasl.c
clang -O2 -pipe -march=native -fno-diagnostics-color -DOPENSSL_NO_MD2 -I../../include        -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include       -c -o signal.o signal.c
clang -O2 -pipe -march=native -fno-diagnostics-color -DOPENSSL_NO_MD2 -I../../include        -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include       -c -o hash.o hash.c
In file included from entropy.c:24:
../../include/ac/string.h:61:23In file included from signal.c:19:
../../include/ac/string.h:61:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
:   61 |         LDAP_LIBC_F(char *) (strdup)();
      |                              ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230924-160600

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 437f655b146975973a3c759051a93e85b0bed879
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 26 18:31:39 2023 +0000

    2023-09-26 18:31:39 UTC

emerge -qpvO net-nds/openldap
[ebuild  N    ] net-nds/openldap-2.6.6  USE="cleartext crypt ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kerberos -kinit -minimal -odbc -overlays -pbkdf2 -perl -samba -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-09-26 19:35:01 UTC
Created attachment 871508 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-26 19:35:02 UTC
Created attachment 871509 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-26 19:35:03 UTC
Created attachment 871510 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-26 19:35:04 UTC
Created attachment 871511 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-26 19:35:05 UTC
Created attachment 871512 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-26 19:35:06 UTC
Created attachment 871513 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-26 19:35:07 UTC
Created attachment 871514 [details]
net-nds:openldap-2.6.6:20230926-185031.log
Comment 8 Toralf Förster gentoo-dev 2023-09-26 19:35:08 UTC
Created attachment 871515 [details]
temp.tar.xz