Skip to content
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

Subroutine attributes must come before the signature #6

Open
eserte opened this issue May 24, 2018 · 1 comment
Open

Subroutine attributes must come before the signature #6

eserte opened this issue May 24, 2018 · 1 comment

Comments

@eserte
Copy link

eserte commented May 24, 2018

In perl 5.27.x and 5.28.0-RC1 the order of attributes and signatures was changed. This is causing compilation falures while running the test suite:

Subroutine attributes must come before the signature at /home/cpansand/.cpan/build/2018052406/Evo-0.0405-0/blib/lib/Evo/Internal/Exception.pm line 10.
Compilation failed in require at /opt/perl-5.28.0-RC1t/lib/5.28.0/Module/Load.pm line 77.
Can't locate Evo/Internal/Exception in @INC (@INC contains: /home/cpansand/.cpan/build/2018052406/Evo-0.0405-0/blib/lib /home/cpansand/.cpan/build/2018052406/Evo-0.0405-0/blib/arch /opt/perl-5.28.0-RC1t/lib/site_perl/5.28.0/x86_64-linux-thread-multi /opt/perl-5.28.0-RC1t/lib/site_perl/5.28.0 /opt/perl-5.28.0-RC1t/lib/5.28.0/x86_64-linux-thread-multi /opt/perl-5.28.0-RC1t/lib/5.28.0 .) at /opt/perl-5.28.0-RC1t/lib/5.28.0/Module/Load.pm line 77.
BEGIN failed--compilation aborted at t/evo/attr/attr.func.t line 2.
t/evo/attr/attr.func.t ...................... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
...

A discussion about this issue can be seen in https://rt.perl.org/Ticket/Display.html?id=132760

@eserte
Copy link
Author

eserte commented May 24, 2018

More specifically, it fails since perl 5.27.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant