Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247125 - dev-lang/parrot-1.2.0 - version bump
Summary: dev-lang/parrot-1.2.0 - version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 234007 (view as bug list)
Depends on:
Blocks: 267351 271167
  Show dependency tree
 
Reported: 2008-11-16 23:39 UTC by Luca Barbato
Modified: 2009-06-27 17:13 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
parrot 0.8.0 initial ebuild (parrot-0.8.0.ebuild,1.61 KB, text/plain)
2008-11-16 23:44 UTC, Luca Barbato
Details
Fix parallel make issues (parrot_parallel-make.diff,1012 bytes, patch)
2008-11-17 10:31 UTC, Luca Barbato
Details | Diff
New ebuild (parrot-0.9.0.ebuild,1.51 KB, text/plain)
2009-01-22 10:08 UTC, Luca Barbato
Details
parrot 1.0.0 ebuild (parrot-1.0.0.ebuild,1.50 KB, text/plain)
2009-03-20 09:39 UTC, Luca Barbato
Details
parrot 1.2.0 ebuild (parrot-1.2.0.ebuild,1.50 KB, text/plain)
2009-05-25 08:04 UTC, Luca Barbato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Barbato gentoo-dev 2008-11-16 23:39:24 UTC
Updated ebuild, some deps got tracked correctly, the language support is still missing and the install phase is still hackish.
Comment 1 Luca Barbato gentoo-dev 2008-11-16 23:44:07 UTC
Created attachment 172032 [details]
parrot 0.8.0 initial ebuild

First try
Comment 2 Luca Barbato gentoo-dev 2008-11-17 10:31:48 UTC
Created attachment 172070 [details, diff]
Fix parallel make issues
Comment 3 Luca Barbato gentoo-dev 2009-01-22 10:08:54 UTC
Created attachment 179314 [details]
New ebuild

This one get you a possibly working parrot and perl6 BUT:
- faulty build if you are using distcc
- pollutes /usr with bogus directories.
- no cardinal there yet (I'll add it later)
Comment 4 Scott Thomson 2009-01-22 16:45:47 UTC
After adding ~x86 to the keywords, the 0.9.0 ebuild fully compiles without errors, however, perl6 won't run. I get...

"load_bytecode" couldn't find file 'PCT.pbc'
current instr.: '' pc 148 (src/classes/Object.pir:20)
called from Sub 'parrot;Perl6;Compiler;main' pc -1 ((unknown file):-1)

Any ideas?

Thanks
Comment 5 Scott Thomson 2009-01-22 16:56:10 UTC
On further investigation PCB.pct in installed in /usr/runtime/parrot/library/PCT.pbc and if I change directory to /usr/runtime/parrot/library and run perl6 I get a different error...

"load_bytecode" couldn't find file 'PGE/Dumper.pir'
current instr.: 'parrot;PGE;Match;' pc 2 (compilers/pge/PGE/Match.pir:15)
called from Sub 'parrot;PCT;Grammar;onload' pc 0 (src/PCT/Grammar.pir:41)
called from Sub 'parrot;PCT;__onload' pc 0 (PCT.pir:15)
called from Sub '' pc 148 (src/classes/Object.pir:20)
called from Sub 'parrot;Perl6;Compiler;main' pc -1 ((unknown file):-1)

Am I looking for an @INC equivalent in perl6?  :-)
Comment 6 Scott Thomson 2009-01-23 09:47:56 UTC
Ok, http://svn.perl.org/parrot/trunk/languages/perl6/README suggests that the executable needs a copy of the source tree in order to work:

> This binary executable feature is still somewhat experimental,
> and may not work on all platforms.  Also, the binary has hardcoded
> paths to the Parrot build tree (especially the dynamic libraries
> and modules), so removing the build tree will cause the binary
> to stop working.

However, invoking parrot directly works fine:

parrot /usr/languages/perl6/perl6.pbc test.pl

Cheers
Comment 7 Luca Barbato gentoo-dev 2009-03-13 23:31:40 UTC
0.9.1 is out and 1.0 is slated for the next week, hopefully I'll update the ebuild soon, most of the languages are now in separated repos.
Comment 8 Luca Barbato gentoo-dev 2009-03-13 23:34:16 UTC
*** Bug 234007 has been marked as a duplicate of this bug. ***
Comment 9 Luca Barbato gentoo-dev 2009-03-20 09:39:47 UTC
Created attachment 185615 [details]
parrot 1.0.0 ebuild

parrot-1.0.0 now has the following issues:
- miscompile with distcc for yet to be discovered reasons
- doesn't install with make -jN
Comment 10 Tiziano Müller (RETIRED) gentoo-dev 2009-03-29 15:23:11 UTC
hmm, I'm interested in the python interpreter version 1.0 brings :)
Comment 11 Patrick Lauer gentoo-dev 2009-04-23 16:04:09 UTC
Test Summary Report
-------------------
t/library/pcre.t                          (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=398, Tests=11703, 1425 wallclock secs ( 3.24 usr  0.40 sys + 99.00 cusr 31.70 csys = 134.34 CPU)
Result: FAIL
make: *** [test] Error 1
 *
 * ERROR: dev-lang/parrot-1.0.0 failed.
Comment 12 Auke Booij (tulcod) 2009-05-19 17:37:57 UTC
meanwhile, parrot 1.1.0 was released. it builds and installs fine, but to also install some essential development files, the install target needs to be modified to install-dev
Comment 13 Luca Barbato gentoo-dev 2009-05-25 08:04:06 UTC
Created attachment 192372 [details]
parrot 1.2.0 ebuild

Updated ebuild, it won't let you build rakudo out of box and leaks the build dir in parrot_config --dump and other places, I'll have a look on it later.

where is the python parrot today btw?
Comment 14 Luca Barbato gentoo-dev 2009-05-28 05:21:35 UTC
There are some changes that could be useful in https://trac.parrot.org/parrot/ticket/712, right now they do not solve parrot_config having portage build dir paths inside itself.
Comment 15 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-06-23 14:13:45 UTC
Looks like http://code.google.com/p/pynie/ is the most up-to-date Python-on-Parrot.
Comment 16 Patrick Lauer gentoo-dev 2009-06-27 16:21:50 UTC
Test Summary Report
-------------------
t/steps/auto_icu-01.t                     (Wstat: 256 Tests: 136 Failed: 1)
  Failed test:  132
  Non-zero exit status: 1
t/library/pcre.t                          (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=395, Tests=11710, 427 wallclock secs ( 5.19 usr  1.06 sys + 108.28 cusr 49.23 csys = 163.76 CPU)
Result: FAIL
make: *** [test] Error 1
 *
 * ERROR: dev-lang/parrot-1.2.0 failed.

Still testfailures, but it's looking much better already. 
Comment 17 Patrick Lauer gentoo-dev 2009-06-27 17:13:18 UTC
+*parrot-1.3.0 (27 Jun 2009)                                                                          
+                                                                                                     
+  27 Jun 2009; Patrick Lauer <patrick@gentoo.org> +parrot-1.3.0.ebuild:                              
+  Bump to 1.3.0. Closes #247125 

Still test failures, but that's a lot better than 0.6.stoneage :)