Bug 1259881 - /usr/libexec/lbdb/mutt_ldap_query throws deprecated warnings in F23
Summary: /usr/libexec/lbdb/mutt_ldap_query throws deprecated warnings in F23
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lbdb
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 17:31 UTC by Paul Sand
Modified: 2016-05-20 23:53 UTC (History)
2 users (show)

Fixed In Version: lbdb-0.41-1.fc24 lbdb-0.41-1.fc23
Clone Of:
Environment:
Last Closed: 2016-05-17 15:13:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Sand 2015-09-03 17:31:53 UTC
Description of problem:

/usr/libexec/lbdb/mutt_ldap_query throws deprecated warnings in F23

Version-Release number of selected component (if applicable):

lbdb-0.39-2.fc23.x86_64

How reproducible:

Use mutt_ldap_query to query an LDAP in mutt

Steps to Reproduce:
1. configure mutt to use lbdbq to query addresses
2. configure lbdq to query an LDAP
3. try to query a name/address

Actual results:
error messages like "Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE givenname}/ at /usr/libexec/lbdb/mutt_ldap_query line 248, <DATA> line 755. (Still get matches though)

Expected results:

No error messages.

Additional info:

Probably a result of perl 5.22 in Fedora 23. "man perldelta" has a paragraph about this.

I made four changes on lines 236,239,248,249, escaping the left brace as suggested. Example:

    if( $ldap_result_email =~ /\$\{$answer}/ ) {

This seemed to work, but I make no claims to understanding the code.

Comment 1 François Charlier 2016-05-09 13:07:16 UTC
Any news on this one ? It's been fixed upstream with 0.40 (0.41 available now)

More info from Debian's bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812785

Comment 2 Christophe Fergeau 2016-05-09 13:19:22 UTC
Ah, thanks for the notification about the new version, I'll try it out for a bit and upgrade the fedora package.
f24 scratch build at http://koji.fedoraproject.org/koji/taskinfo?taskID=13980055

Comment 3 Fedora Update System 2016-05-09 14:29:30 UTC
lbdb-0.41-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e04b1df10a

Comment 4 Fedora Update System 2016-05-09 15:41:42 UTC
lbdb-0.41-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4a7edbfcac

Comment 5 Fedora Update System 2016-05-10 19:26:28 UTC
lbdb-0.41-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4a7edbfcac

Comment 6 Fedora Update System 2016-05-10 20:30:34 UTC
lbdb-0.41-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e04b1df10a

Comment 7 Fedora Update System 2016-05-17 15:13:11 UTC
lbdb-0.41-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-05-20 23:53:07 UTC
lbdb-0.41-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.