Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 466766

Summary: dev-lang/rakudo-2013.04 fails to compile, "load_bytecode" couldn't find file 'Perl6/Ops.pbc'
Product: Gentoo Linux Reporter: J.Borme <gentoo_bugs.nu_q5v>
Component: [OLD] DevelopmentAssignee: Patrick Lauer <patrick>
Status: RESOLVED OBSOLETE    
Severity: normal CC: Martin.vGagern, perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge--info=dev-lang/rakudo-2013.04

Description J.Borme 2013-04-22 08:40:04 UTC
I compiled dev-lang/nqp-2013.04 and dev-lang/rakudo-2013.04 after unmerging both (because of bug #459840), and using perl-5.16.3 (most recent available).

Compilation of nqp succeeds, but compilation of rakudo fails. Compilation file contains:

/usr/bin/nqp --target=pir --output=src/gen/perl6-metamodel.pir --encoding=utf8 \
    --vmlibs=perl6_ops src/gen/Metamodel.pm
"load_bytecode" couldn't find file 'Perl6/Ops.pbc'
current instr.: '' pc 1923 (src/stage2/gen/module_loader.pir:882) (src/ModuleLoader.pm:55)
called from Sub 'load_module' pc 1776 (src/stage2/gen/module_loader.pir:814) (src/ModuleLoader.pm:52)
[…]

Reproducible: Always
Comment 1 J.Borme 2013-04-22 08:42:36 UTC
Created attachment 346256 [details]
build log
Comment 2 J.Borme 2013-04-22 08:43:06 UTC
Created attachment 346258 [details]
emerge--info=dev-lang/rakudo-2013.04
Comment 3 Matt 2013-05-24 18:24:20 UTC
I noticed the same issue, then saw that Perl6/Ops.pbc was being built after it was first used. Building with -j1 worked successfully. Perhaps the ebuild should enforce -j1 if the issue is not fixed upstream or otherwise fixed easily.
Comment 4 Patrick Lauer gentoo-dev 2014-12-26 09:49:43 UTC
Can't reproduce in newer versions