Bug 1233444 - intltool-update raises warnings with perl-5.22
Summary: intltool-update raises warnings with perl-5.22
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: intltool
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1239545
TreeView+ depends on / blocked
 
Reported: 2015-06-19 00:01 UTC by Ralf Corsepius
Modified: 2015-07-13 15:15 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-13 15:15:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed patch (2.08 KB, patch)
2015-06-19 00:04 UTC, Ralf Corsepius
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1465010 0 None None None Never

Description Ralf Corsepius 2015-06-19 00:01:57 UTC
Description of problem:

Apparently, intltool-update isn't perl-5.22 (fc23) compatible. It seems to rely on perl-constructs, which have been deprecated in perl-5.22 and now cause intltool-update to face warnings from perl.

Real world example:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1193.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1194.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1195.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1196.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1222.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1223.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1224.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1225.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?\w+}?/ at /usr/bin/intltool-update line 1226.

[Source: https://kojipkgs.fedoraproject.org//work/tasks/488/10090488/build.log]

Version-Release number of selected component (if applicable):
intltool-0.51.0-2.fc23

Comment 1 Ralf Corsepius 2015-06-19 00:04:51 UTC
Created attachment 1040684 [details]
Proposed patch

I am not sure if the patch is complete but it at least seems to cover all cases I've encountered so far.

Comment 2 Ralf Corsepius 2015-07-13 15:04:37 UTC
Taking. 

Now that this bug is causing at least one FTBFS, I am going ahead and apply my patch (which at least fixes RHBT#1239545).


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