too long lines were shrinked: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.4.0 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/usr/include/python3.9 -c Modules/ldapmodule.c -o /var/tmp/portag x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.4.0 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/usr/include/python3.9 -c Modules/message.c -o /var/tmp/portage/d x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.4.0 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/usr/include/python3.9 -c Modules/options.c -o /var/tmp/portage/d x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 /var/tmp/portage/dev-python/python-ldap-3.4.0/work/python-ldap-3.4.0-python3_9/temp.linux-x86_64-3.9/Modules/LDAPObject.o /var/tmp/portage/dev-python/python- /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 error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20220315-050013 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-10.3.1 [3] 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-bin-1.59.0 [2] rust-1.59.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 750e253180c5d2e96ce951796667fd96c459ec22 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Mar 19 18:34:25 2022 +0000 2022-03-19 18:34:23 UTC emerge -qpvO dev-python/python-ldap [ebuild R ] dev-python/python-ldap-3.4.0 USE="ssl -doc -examples -sasl -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"
Created attachment 767398 [details] emerge-info.txt
Created attachment 767399 [details] dev-python:python-ldap-3.4.0:20220319-192334.log
Created attachment 767400 [details] emerge-history.txt.bz2
Created attachment 767401 [details] environment
Created attachment 767402 [details] etc.portage.tar.bz2
Created attachment 767403 [details] temp.tar.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6436589d3e0c9aee1e356e31be3832057d08ad commit de6436589d3e0c9aee1e356e31be3832057d08ad Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-22 22:55:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-22 23:26:55 +0000 dev-python/python-ldap: add version limit on OpenLDAP (needs ldap_r) We need (for now) the reentrant library from OpenLDAP which is gone. Also, sync live. Bug: https://bugs.gentoo.org/835637 Signed-off-by: Sam James <sam@gentoo.org> dev-python/python-ldap/python-ldap-3.4.0.ebuild | 7 ++++--- dev-python/python-ldap/python-ldap-9999.ebuild | 19 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-)
Created attachment 767614 [details, diff] python-ldap-3.4.0-openldap-2.6.1-ldap_r.patch Unconditional workaround.
Patch but needs rebasing: https://github.com/python-ldap/python-ldap/commit/1e20c2d540a201d035debdbfcd61ab96dc6bd8e2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a48f929d360f6e61e305898850339774b7fe663 commit 9a48f929d360f6e61e305898850339774b7fe663 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-14 02:50:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-14 02:51:49 +0000 dev-python/python-ldap: add 3.4.0_p20220420 Snapshot because a bunch of commits were needed to fix OpenLDAP 2.6+ compat and then there were some serious bugfixes too. Closes: https://bugs.gentoo.org/835637 Signed-off-by: Sam James <sam@gentoo.org> dev-python/python-ldap/Manifest | 1 + dev-python/python-ldap/python-ldap-3.4.0-r1.ebuild | 2 +- .../python-ldap/python-ldap-3.4.0_p20220420.ebuild | 96 ++++++++++++++++++++++ dev-python/python-ldap/python-ldap-9999.ebuild | 8 +- 4 files changed, 102 insertions(+), 5 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8790accf926841f422f9cbe95a1e27e6c67457c6 commit 8790accf926841f422f9cbe95a1e27e6c67457c6 Author: Dennis Lamm <expeditioneer@gentoo.org> AuthorDate: 2022-03-23 07:20:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-14 02:32:45 +0000 dev-python/python-ldap: added openldap 2.6 support Bug: https://bugs.gentoo.org/835637 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/24721 Signed-off-by: Sam James <sam@gentoo.org> .../files/python-ldap-3.4.0-openldap-2.6.patch | 33 ++++++++ dev-python/python-ldap/python-ldap-3.4.0-r1.ebuild | 97 ++++++++++++++++++++++ 2 files changed, 130 insertions(+)