Bug 234464 - print/texinfo Does not work well with perl 5.28
Summary: print/texinfo Does not work well with perl 5.28
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-28 14:04 UTC by Risto
Modified: 2019-01-24 16:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Risto 2018-12-28 14:04:40 UTC
Texinfo (makeinfo) generates lots of "Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32),..." warnings when help-command is called from the Octave.

### Tested on: 

FreeBSD kotibsd 11.2-RELEASE-p5 FreeBSD 11.2-RELEASE-p5
perl -version: perl 5, version 28, subversion 1 (v5.28.1) built for amd64-freebsd-thread-multi
texinfo-6.5_2,1
octave-4.4.1_7

This kind of bug has been reported on https://savannah.gnu.org/bugs/?54691
There is a patch available on https://salsa.debian.org/tex-team/texinfo/commit/bb8c22551b2ac8efacf87477d2abd95fc3eeb6ba

### Example:

-------------------------
    octave:5> help edit
    Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*/ at /usr/local/share/texinfo/Texinfo/Parser.pm line 5481.
    Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*(\@(c|comment)((\@|\s+).*)?)?/ at /usr/local/share/texinfo/Texinfo/Parser.pm line 5485.
    'edit' is a function from the file /usr/local/share/octave/4.4.1/m/miscellaneous/edit.m

     -- edit NAME
--------------------------
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-03 00:00:26 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Jan  2 23:58:53 UTC 2019
New revision: 489116
URL: https://svnweb.freebsd.org/changeset/ports/489116

Log:
  Fix Perl 5.28+ warning

  PR:		234464
  Submitted by:	Risto <toivonenristo@netscape.net>

Changes:
  head/print/texinfo/files/
  head/print/texinfo/files/patch-tp-Texinfo-Parser.pm
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-01-03 00:01:01 UTC
Committed. Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-01-24 16:22:12 UTC
A commit references this bug:

Author: sunpoet
Date: Thu Jan 24 16:21:31 UTC 2019
New revision: 491097
URL: https://svnweb.freebsd.org/changeset/ports/491097

Log:
  MFH: r489116 r489288 r490179

  Fix Perl 5.28+ warning

  PR:		234464
  Submitted by:	Risto <toivonenristo@netscape.net>

  - Bump portrevision because of r489116.
  - Fix a portlint issue.

  PR:		ports/234621
  Submitted by:	stephen@FreeBSD.org
  Approved by:	portmgr (blanket: just fix it)

  Update htmlxref.cnf and texinfo.tex

  - Update htmlxref.cnf from 2016-07-11.22 to 2018-08-23.18
  - Update texinfo.tex from 2017-08-23.19 to 2018-09-21.20
  - Bump PORTREVISION for package change

  Changes:	https://svn.savannah.gnu.org/viewvc/texinfo/trunk/util/htmlxref.cnf
  		https://svn.savannah.gnu.org/viewvc/texinfo/trunk/doc/texinfo.tex

  Approved by:	ports-secteam (delphij)

Changes:
_U  branches/2019Q1/
  branches/2019Q1/print/texinfo/Makefile
  branches/2019Q1/print/texinfo/distinfo
  branches/2019Q1/print/texinfo/files/