Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

--prefix #40

Open
daxim opened this Issue · 7 comments

3 participants

@tadzik tadzik was assigned
@tadzik
Owner

Hopefully fixed in branch prefix, commit cdf0c1a.

@leto, you wanted to test that? :)

@leto
Collaborator

Currently cloning a fresh Rakudo and will report back soon...

@leto
Collaborator

Ok. Just compiled a fresh Rakudo (b2072f578c04bbf7ac4d4b684ffdff42a2b2a29a) and checked out the "prefix" branch of panda. It compiles and tests without error on darwin x86_64

I set --prefix=/tmp and it created /tmp/bin /tmp/lib and /tmp/panda . Is that the expected behavior? Anything else you want me to try?

@tadzik
Owner
@daxim
panda$ perl6 -v
This is perl6 version 2013.05 built on parrot 5.0.0 revision 0

panda$ git describe
fatal: No names found, cannot describe anything.

panda$ git log --format=oneline -1 | cat
cdf0c1ab850fe43b9cdbc702dbd62a1d225c2248 Add --prefix to bootstrap.

panda$ perl6 bootstrap.pl --prefix=$HOME/local/share/perl6
==> Bootstrapping Panda to /home/daxim/local/share/perl6
No such method 'child' for invocant of type 'Str'
  in sub MAIN at bootstrap.pl:51
  in block  at bootstrap.pl:1
@tadzik
Owner

Is it any different on 2013.06?

@daxim

Test failures in panda.

00:30 daxim@blackhorse:~/hack$ git clone --recursive git@github.com:tadzik/panda.git
Klone nach 'panda'...
Host key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
+--[ RSA 2048]----+
|        .        |
|       + .       |
|      . B .      |
|     o * +       |
|    X * S        |
|   + O o . .     |
|    .   E . o    |
|       . . o     |
|        . .      |
+-----------------+

remote: Counting objects: 1392, done.
remote: Compressing objects: 100% (809/809), done.
remote: Total 1392 (delta 561), reused 1331 (delta 510)
Empfange Objekte: 100% (1392/1392), 234.87 KiB | 215 KiB/s, done.
Löse Unterschiede auf: 100% (561/561), done.
Unterprojekt 'ext/File__Tools' (git://github.com/tadzik/perl6-File-Tools.git) ist für Pfad 'ext/File__Tools' registriert
Unterprojekt 'ext/JSON__Tiny' (git://github.com/moritz/json.git) ist für Pfad 'ext/JSON__Tiny' registriert
Klone nach 'ext/File__Tools'...
remote: Counting objects: 194, done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 194 (delta 77), reused 134 (delta 56)
Empfange Objekte: 100% (194/194), 21.79 KiB, done.
Löse Unterschiede auf: 100% (77/77), done.
Unterprojekt-Pfad: 'ext/File__Tools': '21850b9b04a5cea38ec21185203828ecb484e071' ausgecheckt
Klone nach 'ext/JSON__Tiny'...
remote: Counting objects: 735, done.
remote: Compressing objects: 100% (406/406), done.
remote: Total 735 (delta 261), reused 708 (delta 252)
Empfange Objekte: 100% (735/735), 92.85 KiB, done.
Löse Unterschiede auf: 100% (261/261), done.
Unterprojekt-Pfad: 'ext/JSON__Tiny': '95f8b553ac223fdf6817ffa286727d399383ac49' ausgecheckt
00:30 daxim@blackhorse:~/hack$ cd panda/
00:31 daxim@blackhorse:~/hack/panda$ git ba
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/custom-lib
  remotes/origin/master
  remotes/origin/p6prove
  remotes/origin/prefix
  remotes/origin/rakudo-star
  remotes/origin/verbose-list
00:32 daxim@blackhorse:~/hack/panda$ git co -b prefix remotes/origin/prefix
M       ext/File__Tools
Branch prefix set up to track remote branch prefix from origin.
Gewechselt zu einem neuen Zweig 'prefix'
00:33 daxim@blackhorse:~/hack/panda$ perl6 bootstrap.pl --prefix=$HOME/local/share/perl6
Unterprojekt-Pfad: 'ext/File__Tools': 'd4508b244ecc566f9e8dce803d212b5a1515b6ef' ausgecheckt
==> Bootstrapping Panda to /home/daxim/local/share/perl6
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub MAIN at bootstrap.pl:54

==> Fetching File::Tools
==> Building File::Tools
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/File/Find.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Shell/Command.pm
==> Testing File::Tools
t/01-file-find.t ...... ok     
t/02-shell-command.t .. ok     
All tests successful.
Files=2, Tests=22,  8 wallclock secs ( 0.06 usr  0.01 sys +  6.26 cusr  0.57 csys =  6.90 CPU)
Result: PASS
==> Installing File::Tools
Copying blib/lib/File/Find.pm to /home/daxim/local/share/perl6/lib/File/Find.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/Shell/Command.pm to /home/daxim/local/share/perl6/lib/Shell/Command.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/File/Find.pir to /home/daxim/local/share/perl6/lib/File/Find.pir
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/Shell/Command.pir to /home/daxim/local/share/perl6/lib/Shell/Command.pir
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

==> Successfully installed File::Tools
==> Fetching JSON::Tiny
==> Building JSON::Tiny
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/JSON/Tiny/Actions.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/JSON/Tiny/Grammar.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/JSON/Tiny.pm
==> Testing JSON::Tiny
t/01-parse.t ...... ok     
t/02-structure.t .. ok     
t/03-unicode.t .... ok   
t/04-roundtrip.t .. ok     
All tests successful.
Files=4, Tests=119, 18 wallclock secs ( 0.11 usr  0.02 sys + 14.60 cusr  1.14 csys = 15.87 CPU)
Result: PASS
==> Installing JSON::Tiny
Copying blib/lib/JSON/Tiny.pm to /home/daxim/local/share/perl6/lib/JSON/Tiny.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/JSON/Tiny/Grammar.pm to /home/daxim/local/share/perl6/lib/JSON/Tiny/Grammar.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/JSON/Tiny/Actions.pm to /home/daxim/local/share/perl6/lib/JSON/Tiny/Actions.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/JSON/Tiny.pir to /home/daxim/local/share/perl6/lib/JSON/Tiny.pir
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/JSON/Tiny/Actions.pir to /home/daxim/local/share/perl6/lib/JSON/Tiny/Actions.pir
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

Copying blib/lib/JSON/Tiny/Grammar.pir to /home/daxim/local/share/perl6/lib/JSON/Tiny/Grammar.pir
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub copy at /home/daxim/hack/panda/lib/Panda/Installer.pm:29

==> Successfully installed JSON::Tiny
==> Installing panda from a local directory '/home/daxim/hack/panda'
==> Fetching panda
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in sub local-fetch at /home/daxim/hack/panda/lib/Panda/Fetcher.pm:31

==> Building panda
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Project.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Ecosystem.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Fetcher.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Common.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Builder.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Tester.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/Installer.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda.pm
IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at /home/daxim/hack/panda/lib/Panda/Builder.pm:76

Compiling lib/Panda/App.pm
==> Testing panda
t/builder.t .... Failed 5/7 subtests 
t/common.t ..... ok   
t/ecosystem.t .. IO::Handle.copy is deprecated.  Please use IO::Path.copy instead.  in block  at t/ecosystem.t:9

t/ecosystem.t .. ok     
t/installer.t .. Failed 6/8 subtests 
t/tester.t ..... ok   

Test Summary Report
-------------------
t/builder.t  (Wstat: 0 Tests: 7 Failed: 5)
  Failed tests:  1-4, 6
t/installer.t (Wstat: 0 Tests: 8 Failed: 6)
  Failed tests:  1-6
Files=5, Tests=33, 15 wallclock secs ( 0.08 usr  0.01 sys + 10.92 cusr  1.57 csys = 12.58 CPU)
Result: FAIL
Tests failed
  in block  at /home/daxim/hack/panda/lib/Panda/Tester.pm:9
  in method test at /home/daxim/hack/panda/lib/Panda/Tester.pm:6
  in method install at /home/daxim/hack/panda/lib/Panda.pm:76
  in method resolve at /home/daxim/hack/panda/lib/Panda.pm:135
  in sub MAIN at /home/daxim/local/share/perl6/bin/panda:50
  in sub MAIN at /home/daxim/local/share/perl6/bin/panda:47
  in block  at /home/daxim/local/share/perl6/bin/panda:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.