Inline-Perl5 icon indicating copy to clipboard operation
Inline-Perl5 copied to clipboard

Fails to install on RaspberryPi 1 with Raspbian

Open zerodogg opened this issue 9 years ago • 4 comments

It fails to install on RaspberryPi 1, running Raspbian Jessie.

[0 zerodogg@faerun ~]$ perl -v|head -n2

This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int
[0 zerodogg@faerun ~]$ perl6 -v
This is Rakudo version 2015.12 built on MoarVM version 2015.12
implementing Perl 6.c.
[0 zerodogg@faerun ~]$ panda install Inline::Perl5
==> Fetching Inline::Perl5
==> Building Inline::Perl5
gcc -Wall p5helper.c `perl -MExtUtils::Embed -e ccopts -e ldopts` -shared -o /home/zerodogg/.panda-work/1455190787_1/resources/libraries/libp5helper.so -fPIC -g
==> Testing Inline::Perl5
Invalid version format (negative version number) at /usr/share/perl/5.20/overloading.pm line 9116615797169455104.
Compilation failed in require at /usr/share/perl/5.20/overload.pm line 9116615453572071424.
BEGIN failed--compilation aborted at /usr/share/perl/5.20/overload.pm line 9116620435734134784.
Compilation failed in require at (eval 1) line 9116620092136751104.
BEGIN failed--compilation aborted at (eval 1) line 9116627067163639808.

  in method run at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 430
  in method init_callbacks at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 556
  in method BUILD at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 942
  in block <unit> at t/autoload.t line 8

t/autoload.t .................. 
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
Invalid version format (negative version number) at /usr/share/perl/5.20/overloading.pm line 9146680843119362048.
Compilation failed in require at /usr/share/perl/5.20/overload.pm line 9146680499521978368.
BEGIN failed--compilation aborted at /usr/share/perl/5.20/overload.pm line 9146685481684041728.
Compilation failed in require at (eval 1) line 9146685138086658048.
BEGIN failed--compilation aborted at (eval 1) line 9146692113113546752.

  in method run at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 430
  in method init_callbacks at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 556
  in method BUILD at /home/zerodogg/.panda-work/1455190787_1/lib/Inline/Perl5.pm6 line 942
  in block <unit> at t/call.t line 8

[all other tests output the same]

zerodogg avatar Feb 11 '16 12:02 zerodogg

I confirm it. However, I'm not using Raspberry, so perhaps it happens on any linux board with ARM processor?

AlexDaniel avatar Mar 28 '16 05:03 AlexDaniel

Yes, AFAIK rakudo's NativeCall still has issues on ARM

niner avatar Jun 13 '16 19:06 niner

@AlexDaniel: do you know if Inline::Perl5 or NativeCall have still issues on ARM?

niner avatar Nov 20 '19 07:11 niner

@niner oh wow, unfortunately I don't use it anymore. I have a board somewhere so maybe given enough time I'll be able to test it, but I think we should just close this ticket and let somebody else to create a new one if there's still a problem.

AlexDaniel avatar Nov 20 '19 11:11 AlexDaniel