Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920380 - net-nds/openldap-2.4.59-r2 - configure: error: broken POSIX regex!
Summary: net-nds/openldap-2.4.59-r2 - configure: error: broken POSIX regex!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo LDAP project
URL:
Whiteboard: fixed in 2.4.59-r3
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-20 13:32 UTC by Toralf Förster
Modified: 2025-02-18 03:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.70 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,7.57 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
environment (environment,150.58 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.39 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.37 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details
net-nds:openldap-2.4.59-r2:20231220-133038.log (net-nds:openldap-2.4.59-r2:20231220-133038.log,15.18 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,38.95 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.09 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-20 13:32:29 UTC
checking for strerror... yes
checking for strerror_r... yes
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_systemd_merged_usr-20231220-094015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
Python 3.11.6
php cli (if any):

  HEAD of ::gentoo
commit 73c6fb90aab8ec1c71e2ef8124e91742b63fea13
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 20 10:16:54 2023 +0000

    2023-12-20 10:16:54 UTC

emerge -qpvO net-nds/openldap
[ebuild  N    ] net-nds/openldap-2.4.59-r2  USE="crypt experimental ipv6 kinit odbc overlays pbkdf2 sha2 smbkrb5passwd ssl syslog -berkdb -cxx -debug -gnutls -iodbc -kerberos -minimal -perl -samba -sasl (-selinux) -static-libs -tcpd -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-20 13:32:31 UTC
Created attachment 880083 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-20 13:32:31 UTC
Created attachment 880084 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-20 13:32:33 UTC
Created attachment 880085 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-20 13:32:34 UTC
Created attachment 880086 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-20 13:32:35 UTC
Created attachment 880087 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-20 13:32:36 UTC
Created attachment 880088 [details]
net-nds:openldap-2.4.59-r2:20231220-133038.log
Comment 7 Toralf Förster gentoo-dev 2023-12-20 13:32:37 UTC
Created attachment 880089 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-20 13:32:38 UTC
Created attachment 880090 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-25 00:57:27 UTC
The bug has been closed via the following commit(s):

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

commit 783532d33df25206c20ecc175a6910ab6b0a29fb
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2024-08-25 00:33:46 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2024-08-25 00:56:45 +0000

    net-nds/openldap: get 2.4.x building again, with atexit fix from upstream
    
    2.4.x series should be announced as end-of-life in Gentoo; to get
    remaining consumers to migrate to the 2.5 or 2.6 series.
    
    2.4.59-r2 does not build with GCC14, and 2.4.59-r3 builds with warnings,
    some of which are downgraded from error.
    
    atexit-fix ensures that consumers of the libraries do not segfault
    during their cleanup.
    
    Please note that 2.4.x does NOT consistently pass src_test at this time.
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=920380
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=882183
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 .../files/openldap-2.4.59-atexit-fix.patch         |  60 ++
 .../files/openldap-2.4.59-implicit-function.patch  |  41 +
 net-nds/openldap/openldap-2.4.59-r3.ebuild         | 928 +++++++++++++++++++++
 3 files changed, 1029 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2025-02-18 03:39:17 UTC
The bug 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(-)