• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7835: TWiki 6.0.2 doesn't work with Perl 5.26.1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed      

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

As observed in TWiki:Support.SID-02327, TWiki 6.0.2 doesn't work with Perl 5.26, which is shipped with Fedora 27.

I could reproduce this - not with Fedora, I'm not familiar with that distribution - but by compiling Perl 5.26 into a Debian system. I had hoped that this would only affect configure (where all warnings are promoted to errors) but unfortunately this is not the case:

Perl 5.26.1

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(\$TWiki::cfg{ <-- HERE [A-Za-z0-9{}]+})/ at /opt/twiki/lib/TWiki/Configure/Load.pm line 111.
Compilation failed in require at /opt/twiki/lib/TWiki.pm line 179.
BEGIN failed--compilation aborted at /opt/twiki/lib/TWiki.pm line 577.
Compilation failed in require at /opt/twiki/bin/view line 41.
BEGIN failed--compilation aborted at /opt/twiki/bin/view line 41.

So indeed, Perl's behaviour in 5.26 is again different from 5.24 where the same line just gave a warning:

Perl 5.24.1

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$TWiki::cfg{ <-- HERE [A-Za-z0-9{}]+})/ at /opt/twiki/lib/TWiki/Configure/Load.pm line 111.

Now that there's a distribution out in the wild which ships with Perl 5.26, I flag this as urgent. Yet, there's no action required (other than releasing the upcoming version from SVN trunk) since the code has already been fixed for Item7797. I flag it as "Waiting for Release" to make sure it appears in the releas note.

-- TWiki:Main/HaraldJoerg - 2018-02-02

ItemTemplate
Summary TWiki 6.0.2 doesn't work with Perl 5.26.1
ReportedBy TWiki:Main.HaraldJoerg
Codebase 6.0.2
SVN Range TWiki-6.0.2-trunk, Fri, 03 Nov 2017, build 30403
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins

TargetRelease

ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2018-07-17 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback