Bug 2547290

Summary: perl-LDAP-0.68-18.fc46 FTBFS: t/70sortctrl.t fails with openldap-2.6.15
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: openldapAssignee: Simon Pichugin <spichugi>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, mspacek, perl-devel, rhughes, rstrode, spichugi, vashirov, xavier
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2503726    

Description Petr Pisar 2026-10-07 07:12:20 UTC
perl-LDAP-0.68-18.fc46 fails a test in Fedora 46:

$ prove -I. -b t/70sortctrl.t
t/70sortctrl.t .. 1/22
#   Failed test 'search: 2: serverSort control: decoding error'
#   at t/70sortctrl.t line 63.
#          got: '2'
#     expected: '0'

#   Failed test 'LDAP_CONTROL_SORTRESULT response'
#   at t/70sortctrl.t line 66.

#   Failed test 'LDAP_CONTROL_SORTRESULT success'
#   at t/70sortctrl.t line 68.

#   Failed test 'search result'
#   at t/70sortctrl.t line 87.
#          got: '2'
#     expected: '0'

#   Failed test 'LDAP_CONTROL_SORTRESULT response'
#   at t/70sortctrl.t line 90.

#   Failed test 'LDAP_CONTROL_SORTRESULT success'
#   at t/70sortctrl.t line 92.
# Looks like you failed 6 tests of 22.
t/70sortctrl.t .. Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/22 subtests

The failure is triggered by upgrading openldap and openldap-servers packages from 0:2.6.14-1.fc45 to 0:2.6.15-1.fc46

Comment 1 Michal Josef Spacek 2026-10-21 21:51:17 UTC
This issue is in regression in openldap package.

This is regression defined in issue: https://bugs.openldap.org/show_bug.cgi?id=10590

Comment 2 Michal Josef Spacek 2026-10-21 21:58:51 UTC
I prepared PR: https://src.fedoraproject.org/rpms/openldap/pull-request/33

Comment 3 Michal Josef Spacek 2026-10-22 07:19:42 UTC
I tested the perl-LDAP against openldap-servers with applied fix from PR and it's ok.

Comment 4 Michal Josef Spacek 2026-10-22 07:20:11 UTC
I mentioned regression to https://bodhi.fedoraproject.org/updates/FEDORA-2026-0a2af6fbd0

Comment 5 Xavier Bachelot 2026-10-22 10:00:22 UTC
upstream is going to release openldap 2.6.16 today.

Comment 6 Michal Josef Spacek 2026-10-22 10:41:58 UTC
So, we need to update. There is failing F44 (https://koschei.fedoraproject.org//package/perl-LDAP?collection=f44)