Bug 202800 - www/p5-RT-Client-REST: generates deprecation warnings under Perl 5.22
Summary: www/p5-RT-Client-REST: generates deprecation warnings under Perl 5.22
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-31 20:53 UTC by Mike Andrews
Modified: 2016-03-02 23:27 UTC (History)
3 users (show)

See Also:
rakuco: maintainer-feedback+


Attachments
patch 1 of 2 (414 bytes, text/plain)
2015-08-31 20:54 UTC, Mike Andrews
no flags Details
patch 2 of 2 (538 bytes, text/plain)
2015-08-31 20:54 UTC, Mike Andrews
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Andrews 2015-08-31 20:53:36 UTC
When run under lang/perl5.22, the www/p5-RT-Client-REST port (version 0.49_1,1) generates deprecation warnings:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/[a-z][\w-]*|C(?:ustom)?F(?:ield)?-[#\s\w:()?/-]+|CF\.{ <-- HERE 
[#\s\w:()?/-]+}/ at /usr/local/lib/perl5/site_perl/RT/Client/REST/Forms.pm line 17.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(?:cf|customfield)(?:-|\.{ <-- HERE )([#\s\w_:()?/-]+)/ at /usr/local/lib/perl5/site_perl/RT/Client/REST/Object.pm line 466.

This has been reported upstream (with a patch) as https://rt.cpan.org/Public/Bug/Display.html?id=106795
Comment 1 Mike Andrews 2015-08-31 20:54:08 UTC
Created attachment 160571 [details]
patch 1 of 2
Comment 2 Mike Andrews 2015-08-31 20:54:32 UTC
Created attachment 160572 [details]
patch 2 of 2
Comment 3 Sergei Vyshenski 2015-09-04 12:17:11 UTC
Testing. Please hold on.
Comment 4 Sergei Vyshenski 2015-09-06 18:26:27 UTC
1. I can not reproduce the reported warning on
FreeBSD 11.0-CURRENT #0 r287498 
with perl5.22

Please describe your system 
and describe exact procedure you follow to repeat reported warning.

2. Please note how CPAN testers have no concern about 
RT-Client-REST 0.49 run with perl5.22 on any system:

http://matrix.cpantesters.org/?dist=RT-Client-REST+0.49

3. Can you claim that this warning prevents you from using some feature of the port? 
Which feature exactly?

You see, this is just a warning, not an error. 
Looks like a non-essential cosmetic request for the upstream.
Do you think that we could just ignore it for now?
Comment 5 Sergei Vyshenski 2015-09-08 19:37:27 UTC
Let me suggest to close this PR as it seems it is "Not A Bug".
Comment 6 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-02 23:27:00 UTC
Setting "maintainer-feedback" to +: it's used to indicate whether the maintainer has responded to the bug report, not if you approve the patches or not (for that, you need to set the "maintainer-approval" flag in each attachment).

Since the reporter has not answered comment #4, I'm closing this one.