FS#40767 - [stow] perl problem: Possible precedence issue
Attached to Project:
Community Packages
Opened by Robert Orzanna (orschiro) - Monday, 09 June 2014, 09:56 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 01 July 2014, 21:13 GMT
Opened by Robert Orzanna (orschiro) - Monday, 09 June 2014, 09:56 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 01 July 2014, 21:13 GMT
|
Details
Summary and Info:
It came with the last perl update that I am no longer able to run stow without the following error message. I already reinstalled the package but it still fails with the following error: Possible precedence issue with control flow operator at /usr/lib/perl5/vendor_perl/Stow.pm line 1736. A user in the forums created the following patch [1] that seem to fix the issue: diff -x config.log -x config.status -ru lib/Stow.pm.in lib/Stow.pm.in --- lib/Stow.pm.in 2012-02-18 20:33:34.000000000 +0000 +++ lib/Stow.pm.in 2014-06-08 22:46:03.420893651 +0100 @@ -1732,7 +1732,7 @@ } elsif (-l $path) { debug(4, " read_a_link($path): real link"); - return readlink $path + (return readlink $path) or error("Could not read link: $path"); } internal_error("read_a_link() passed a non link path: $path\n"); https://bbs.archlinux.org/viewtopic.php?pid=1423847#p1423847 Steps to Reproduce: Run the stow command |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Tuesday, 01 July 2014, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: stow-2.2.0-3-any.pkg.tar.xz
Tuesday, 01 July 2014, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: stow-2.2.0-3-any.pkg.tar.xz
Comment by
Sébastien Luttringer (seblu) -
Tuesday, 01 July 2014, 21:12 GMT
As suggested on the forum, you should report that upstream too.