-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blead Breaks CPAN: ZDM/Pcore-v0.56.5.tar.gz #16423
Comments
From @eserteThis is a bug report for perl from slaven@rezic.de, Pcore-v0.56.5 cannot be built anymore with 5.27.8 and later. Until Running Build.PL fails immediately. It can also be reproduced like this: $ perl5.27.8 -Ilib -MPcore -e1 Flags: Site configuration information for perl 5.27.9: Configured by eserte at Tue Feb 6 19:16:51 CET 2018. Summary of my perl5 (revision 5 version 27 subversion 9) configuration: @INC for perl 5.27.9: Environment for perl 5.27.9: |
From @jkeenanOn Fri, 16 Feb 2018 19:46:58 GMT, slaven@rezic.de wrote:
Yes, and Porting/bisect.pl failed accordingly.
Confirmed. The code is quite complex; I hope the author can look into it. Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Fri, Feb 16, 2018 at 02:39:53PM -0800, James E Keenan via RT wrote:
The proximate cause is the recent switch in order of a sub's signature and sub resolve_sockaddr ( $node, $service, $proto, $family, $type, $cb ) is now a syntax error. *But*, as mentioned in another recent ticket, also In this case, the code has a $SIG{__WARN__} handler, which gets called This can be demonstrated in the following: $ cat /tmp/lib/Foo.pm $ cat ~/tmp/p BEGIN { $x =; # syntax error $ ./perl -I/tmp/lib ~/tmp/p So most directly the bug is in the module not adapting to the recent 1) what do do about breakage associated with the recent signature change and also ties in with an older discussion where I suggested that we abandon -- |
From @demerphqOn 20 Feb 2018 22:56, "Dave Mitchell" <davem@iabyn.com> wrote: On Fri, Feb 16, 2018 at 02:39:53PM -0800, James E Keenan via RT wrote:
The proximate cause is the recent switch in order of a sub's signature and sub resolve_sockaddr ( $node, $service, $proto, $family, $type, $cb ) is now a syntax error. *But*, as mentioned in another recent ticket, also In this case, the code has a $SIG{__WARN__} handler, which gets called This can be demonstrated in the following: $ cat /tmp/lib/Foo.pm $ cat ~/tmp/p BEGIN { $x =; # syntax error $ ./perl -I/tmp/lib ~/tmp/p So most directly the bug is in the module not adapting to the recent 1) what do do about breakage associated with the recent signature change and also ties in with an older discussion where I suggested that we abandon Is it possible we could exempt variable not declared errors from this The biggest value I see of continuing parsing and showing more errors is it Yved |
From @iabynOn Tue, Feb 20, 2018 at 05:31:49PM +0100, demerphq wrote:
Well, the rationale for for bailing out on the first error is that at that So continuing is bad enough; continuing and possibly emitting further -- |
From @demerphqOn 21 Feb 2018 17:31, "Dave Mitchell" <davem@iabyn.com> wrote: On Tue, Feb 20, 2018 at 05:31:49PM +0100, demerphq wrote:
Well, the rationale for for bailing out on the first error is that at that So continuing is bad enough; continuing and possibly emitting further But none of that reasoning applies to undeclared lexicals. Such code would So again, could we exempt that class of error from your proposed change? If Yves |
From @iabynOn Wed, Feb 21, 2018 at 11:17:04AM +0100, demerphq wrote:
So If I understand you right, we would stop immediately on first Exempted errors would be things that don't affect parsing state, like, as That seems plausible, -- |
From @demerphqOn 21 Feb 2018 19:50, "Dave Mitchell" <davem@iabyn.com> wrote: On Wed, Feb 21, 2018 at 11:17:04AM +0100, demerphq wrote:
So If I understand you right, we would stop immediately on first Yeah, I'm thinking anything that is only an error under 'use strict' would Exempted errors would be things that don't affect parsing state, like, as Yep, exactly. I wouldn't necessarily go as far as 'doesnt affect parsing That seems plausible, If so then I imagine that your proposal will not be perceived as a patch I believe many perl programmers "tune out" much of the error messages we Yves |
From @cpansproutOn Wed, 21 Feb 2018 01:31:28 -0800, davem wrote:
$SIG{__WARN__} seems awfully similar to BEGIN blocks. It probably shouldn’t be allowed when PL_error_count is positive. (Instead, a error gets thrown.) But that might be too intrusive a change. Though what Yves suggests is a plausible alternative. -- Father Chrysostomos |
The world moved on, Pcore was fixed, and while we might some time in the future make changes to how perl continues after an error it probably won't be through this ticket, so closing this. |
Migrated from rt.perl.org#132875 (status was 'open')
Searchable as RT132875$
The text was updated successfully, but these errors were encountered: