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

Task::Plack cannot be installed on Perl 5.22 because of Coro #3

Open
basic6 opened this issue Apr 30, 2016 · 1 comment
Open

Task::Plack cannot be installed on Perl 5.22 because of Coro #3

basic6 opened this issue Apr 30, 2016 · 1 comment

Comments

@basic6
Copy link

basic6 commented Apr 30, 2016

Task::Plack cannot be installed because it depends on Coro, which fails to build:

...
Running Mkbootstrap for Coro::State ()
chmod 644 "State.bs"
"/home/www/perl5/perlbrew/perls/perl-5.22.0/bin/perl" "/home/www/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/xsubpp"  -typemap "/var/www/perl5/perlb
rew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/typemap" -typemap "typemap"  State.xs > State.xsc && mv State.xsc State.c
Warning: Aliases 'is_zombie' and 'is_destroyed' have identical values in State.xs, line 3800
cc -c   -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2   -DVERS
ION=\"6.49\" -DXS_VERSION=\"6.49\" -fPIC "-I/var/www/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/CORE"  -DCORO_ASM -DCORO_STACKSIZE=16384 -DCORO
_GUARDPAGES=4 -DCORO_JIT=1 State.c
State.xs: In function ‘coro_derive_padlist’:
State.xs:575:29: error: lvalue required as left operand of assignment
State.xs: In function ‘boot_Coro__State’:
State.xs:3604:9: error: assignment of member ‘svt_get’ in read-only object
State.xs:3605:9: error: assignment of member ‘svt_set’ in read-only object
State.xs:3606:9: error: assignment of member ‘svt_clear’ in read-only object
make[1]: *** [State.o] Error 1

It works with Perl 5.20.

Some background: https://gist.github.com/ribasushi/3a4994b4a9e7cbd7e34cc442bffa63d3

@ribasushi
Copy link

@basic6 FYI someone got sufficiently annoyed to expand on that gist and publish it.

Cheers

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

2 participants