Bug 1227622 - stow warning after latest upgrade
Summary: stow warning after latest upgrade
Status: IN_PROGRESS
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other openSUSE Tumbleweed
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Wolfgang Frisch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-10 11:44 UTC by Peter Sütterlin
Modified: 2024-07-13 16:09 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sütterlin 2024-07-10 11:44:15 UTC
I just upgraded my Tumbleweed to 20240708.
Since this update (which updated several perl packages) usage of stow gives a warning:

woodstock:/usr/local/stow # stow redux-20240710/
Possible precedence issue with control flow operator (exit) at /usr/bin/stow line 839, <DATA> line 23.

operation is not affected, stow seems to work normally.
Comment 1 Wolfgang Frisch 2024-07-11 08:09:40 UTC
Thanks for the report!

The reason for this warning is Perl 5.40.0, which extended the scope of the precedence warning to include ternary operators:
https://perldoc.perl.org/5.40.0/perldelta

Pull request and temporary patch for openSUSE:
https://github.com/aspiers/stow/pull/113
https://build.opensuse.org/request/show/1186782
Comment 2 Adam Spiers 2024-07-13 16:09:58 UTC
Thanks a lot for the PR and temporary patch!  This is merged and will be in the next release when I get time for that.  I'm just back from holiday so have a lot to catch up first 😱