checking non-posix strerror_r... no checking for regex.h... yes checking for library containing regfree... none required checking for compatible POSIX regex... no configure: error: broken POSIX regex! !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220917-070004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 242cd1a84f2a8e702a79f513d0ae26ce7648d849 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 09:46:48 2022 +0000 2022-09-18 09:46:48 UTC emerge -qpvO net-nds/openldap [ebuild N ] net-nds/openldap-2.6.3 USE="cleartext crypt ipv6 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)"
Created attachment 811000 [details] emerge-info.txt
Created attachment 811003 [details] emerge-history.txt
Created attachment 811009 [details] environment
Created attachment 811012 [details] etc.portage.tar.bz2
Created attachment 811015 [details] logs.tar.bz2
Created attachment 811018 [details] net-nds:openldap-2.6.3:20220918-103518.log
Created attachment 811021 [details] temp.tar.bz2
Seems to be a clang 16 issue https://bugs.gentoo.org/870412 I can reproduce the configure error (x86_64-gentoo-linux-musl) which is fixed after adding "-Wno-implicit-int" flag to make.conf
*** Bug 881955 has been marked as a duplicate of this bug. ***
The bug has been closed via 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(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7bf0374fbbec07e09c5c977e994939c6b79008 commit 2a7bf0374fbbec07e09c5c977e994939c6b79008 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-24 11:25:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-24 11:25:33 +0000 net-misc/ntp: fix configure w/ clang 16 Refresh OpenLDAP macro & use patched variant from Arsen (bug 871288). Closes: https://bugs.gentoo.org/871372 Bug: https://bugs.gentoo.org/871288 Signed-off-by: Sam James <sam@gentoo.org> .../files/ntp-4.2.8_p15-configure-clang16.patch | 582 +++++++++++++++++++++ net-misc/ntp/ntp-4.2.8_p15-r2.ebuild | 144 +++++ 2 files changed, 726 insertions(+)
The bug has been closed via 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(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4480ce48447af4d8b6e35ca61f494f91698d5fe6 commit 4480ce48447af4d8b6e35ca61f494f91698d5fe6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-25 07:04:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-25 07:05:08 +0000 net-misc/ntp: fix configure w/ clang 16 deux Refresh OpenLDAP macro & use patched variant from Arsen (bug 871288). Closes: https://bugs.gentoo.org/871372 Bug: https://bugs.gentoo.org/871288 See: 2a7bf0374fbbec07e09c5c977e994939c6b79008 Signed-off-by: Sam James <sam@gentoo.org> .../files/ntp-4.2.8_p15-configure-clang16.patch | 80 ++++++++++++---------- ...4.2.8_p15-r2.ebuild => ntp-4.2.8_p15-r3.ebuild} | 0 2 files changed, 45 insertions(+), 35 deletions(-)
*** Bug 883881 has been marked as a duplicate of this bug. ***
Re-opening because of older subslots - does this affect 2.4 or 2.5 ?
Version 2.5 works fine for me, but 2.4 not.
Created attachment 912566 [details] openldap-2.4.59-r2 build log
Created attachment 912567 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbcf09f0f16c67ec7aefa74495ed718f1338881 commit fbbcf09f0f16c67ec7aefa74495ed718f1338881 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-18 03:34:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-18 03:38:53 +0000 net-nds/openldap: drop 2.4.59-r3 (2.4.x branch gone) 2.4.x had its last release in June 2021 and has been EOL'd since. It doesn't build with GCC 14 and Debian stable is on 2.5.x now. Closes: https://bugs.gentoo.org/871288 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/Manifest | 1 - .../files/openldap-2.2.14-perlthreadsfix.patch | 11 - .../openldap/files/openldap-2.4.11-libldap_r.patch | 10 - .../openldap/files/openldap-2.4.15-ppolicy.patch | 12 - net-nds/openldap/files/openldap-2.4.17-gcc44.patch | 10 - .../files/openldap-2.4.28-gnutls-gcrypt.patch | 11 - net-nds/openldap/files/openldap-2.4.31-gcc47.patch | 16 - .../files/openldap-2.4.35-contrib-samba4.patch | 37 - .../files/openldap-2.4.35-contrib-smbk5pwd.patch | 47 -- net-nds/openldap/files/openldap-2.4.40-slapd-conf | 64 -- .../files/openldap-2.4.42-mdb-unbundle.patch | 136 --- ...enldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch | 109 --- .../openldap/files/openldap-2.4.47-warnings.patch | 35 - .../files/openldap-2.4.59-atexit-fix.patch | 60 -- .../files/openldap-2.4.59-implicit-function.patch | 41 - .../files/openldap-2.4.6-evolution-ntlm.patch | 189 ----- net-nds/openldap/files/slapd-confd-2.4.28-r1 | 26 - net-nds/openldap/openldap-2.4.59-r3.ebuild | 936 --------------------- 18 files changed, 1751 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d1764ceaf0924e76c503efe760c391d0e469da commit a8d1764ceaf0924e76c503efe760c391d0e469da Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-18 03:31:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-18 03:38:52 +0000 net-nds/openldap: drop modern C hacks * Drop -Wno-error= for 2.5.x. If 2.5.x is actually broken, we need to fix it properly. But AFAIK everything is fixed there anyway. * Drop -Wno-error= comments from 2.6.x. Bug: https://bugs.gentoo.org/871288 Bug: https://bugs.gentoo.org/920380 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/openldap-2.5.19.ebuild | 11 ----------- net-nds/openldap/openldap-2.6.8-r1.ebuild | 4 ---- net-nds/openldap/openldap-2.6.9.ebuild | 6 +----- 3 files changed, 1 insertion(+), 20 deletions(-)