[MacPorts] #50158: panda: get a functional installation
#50158: panda: get a functional installation ------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: panda ------------------------+-------------------------------- Now that `rakudo` is available, it would be nice to get `panda` working. Here's a starting point that doesn't work properly yet: {{{ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: $ PortSystem 1.0 PortGroup github 1.0 github.setup tadzik panda 2015.12 description Perl 6 module installer long_description ${description} maintainers coleda.com:will mojca openmaintainer categories lang devel perl license Artistic-2 platforms darwin checksums rmd160 6c81ee9e32552b4c06d3e8a5c5256c06a51d347a \ sha256 d326393cc8499780663abfee849ca334411d8001646209f96c9f691cc94f2ec9 depends_build port:rakudo configure.cmd ${prefix}/bin/perl6 bootstrap.pl }}} Most likely we will have to work with upstream developers to get the installer behave in the desired way. For example, the build ends up with {{{ ==> Please make sure that inst#/opt/local/var/macports/build/_path_to_perl_lang_panda/panda/work/.home/.perl6/2015.12/bin is in your PATH }}} (Alternatively we could wait for the official release of `rakudo-star`. After all, `perl5` comes with `cpan` and a bunch of essential modules included as well.) -- Ticket URL: <https://trac.macports.org/ticket/50158> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Comment (by mojca@…): According to http://www.in-ulm.de/~mascheck/various/shebang/#interpreter- script we have to fix the shebang call to `perl6`. Having {{{ #!/opt/local/bin/perl6 }}} doesn't work. -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Comment (by mojca@…): One of the errors: {{{ Found no writable directory into which panda could be installed in sub make-default-ecosystem at /opt/local/share/perl6/sources/310EA749D1E286A42C504F792C75260CCFC8D622 line 19 in sub MAIN at /opt/local/share/perl6/resources/46803041638AB62A0C3E66A094A1C086A4332766 line 16 in block <unit> at /opt/local/share/perl6/resources/46803041638AB62A0C3E66A094A1C086A4332766 line 150 }}} See: * https://github.com/tadzik/panda/pull/264/files The problem is in this line: {{{ try mkpath $pandadir unless $pandadir ~~ :d; }}} in `lib/Panda/App.p`. -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Comment (by mojca@…): I committed r144009, even though I'm not 100% satisfied with it yet. But you can now run {{{ panda install Task::Star }}} which will put files under `$HOME/.perl6/2015.12/panda`. -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Comment (by mojca@…): And on [https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/39361 10.6] it fails with: {{{ ==> Testing File::Find Unknown option: e Unknown option: norc test stage failed for File::Find: Tests failed in method install at /opt/local/var/macports/build/_opt_mports_dports_lang_panda/panda/work/panda-2015.12/lib/Panda.pm line 142 in block at /opt/local/var/macports/build/_opt_mports_dports_lang_panda/panda/work/panda-2015.12/lib/Panda.pm line 214 in method resolve at /opt/local/var/macports/build/_opt_mports_dports_lang_panda/panda/work/panda-2015.12/lib/Panda.pm line 208 in sub MAIN at bin/panda line 18 in block <unit> at bin/panda line 150 Failure Summary ---------------- /opt/local/var/macports/build/_opt_mports_dports_lang_panda/panda/work/panda-2015.12( *test stage failed for File::Find: Tests failed) The spawned process exited unsuccessfully (exit code: 1) in sub MAIN at bootstrap.pl line 65 in block <unit> at bootstrap.pl line 7 Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_lang_panda/panda/work/panda-2015.12" && /opt/local/bin/perl6 bootstrap.pl --prefix=/opt/local Exit code: 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Changes (by mojca@…): * cc: tadeusz.sosnierz@… (added) Comment: Will, I need some further help with Panda. See the following: {{{ $ panda install Readline [...] ==> Installing JSON::Fast ==> Successfully installed JSON::Fast ==> Fetching panda ==> Building panda ==> Testing panda t/builder.t .... ok t/common.t ..... ok t/ecosystem.t .. ok Copying lib/bar.pod to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/bar.pod Copying lib/baz.js to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/baz.js Copying lib/foo.jar to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/foo.jar Copying lib/foo.pir to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/foo.pir Copying lib/foo.pm to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/foo.pm Copying lib/foo.moarvm to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/lib/foo.moarvm Copying bin/bar to /Users/me/macports/perl/lang/rakudo/.panda- work/1454408606_5/removeme/bin/bar t/installer.t .. ok t/tester.t ..... ok All tests successful. }}} This is an absolutely undesired behaviour of Panda. All the files should go to `$HOME/.perl6/2016.01` instead of the random directory that was initially used to build rakudo and has already disappeared by the time I ran `panda`. Later on I get a lot of other problems: {{{ ==> Fetching Readline ==> Building Readline ==> Testing Readline t/01-load.t .. ok # Failed test 'initialize' # at t/02-base.t line 10 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Failed test 'macro-dumper lives' # at t/02-base.t line 18 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Looks like you failed 1 test of 1 # Failed test 'dumpers' # at t/02-base.t line 13 # Failed test 'set-prompt lives' # at t/02-base.t line 27 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Failed test 'expand-prompt lives' # at t/02-base.t line 29 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Failed test 'on-new-line-with-prompt lives' # at t/02-base.t line 31 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Failed test 'save-prompt lives' # at t/02-base.t line 33 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Failed test 'restore-prompt lives' # at t/02-base.t line 35 # Cannot locate native library 'libreadline.so.6': dlopen(libreadline.so.6, 1): image not found # Looks like you failed 5 tests of 5 # Failed test 'prompt' # at t/02-base.t line 24 [...] }}} -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50158: panda: get a functional installation -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: panda | -------------------------+-------------------------------- Description changed by mojca@…: Old description:
Now that `rakudo` is available, it would be nice to get `panda` working.
Here's a starting point that doesn't work properly yet: {{{ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: $
PortSystem 1.0 PortGroup github 1.0
github.setup tadzik panda 2015.12 description Perl 6 module installer long_description ${description} maintainers coleda.com:will mojca openmaintainer categories lang devel perl license Artistic-2 platforms darwin
checksums rmd160 6c81ee9e32552b4c06d3e8a5c5256c06a51d347a \ sha256 d326393cc8499780663abfee849ca334411d8001646209f96c9f691cc94f2ec9
depends_build port:rakudo
configure.cmd ${prefix}/bin/perl6 bootstrap.pl }}}
Most likely we will have to work with upstream developers to get the installer behave in the desired way. For example, the build ends up with {{{ ==> Please make sure that inst#/opt/local/var/macports/build/_path_to_perl_lang_panda/panda/work/.home/.perl6/2015.12/bin is in your PATH }}}
(Alternatively we could wait for the official release of `rakudo-star`. After all, `perl5` comes with `cpan` and a bunch of essential modules included as well.)
New description: Now that `rakudo` is available, it would be nice to get `panda` working. Most likely we will have to work with upstream developers to get the installer behave in the desired way. For example, the build ends up with {{{ ==> Please make sure that inst#/opt/local/var/macports/build/_path_to_perl_lang_panda/panda/work/.home/.perl6/2015.12/bin is in your PATH }}} Some relevant links about packaging: * https://github.com/rakudo/rakudo/blob/nom/docs/module_management.md * https://github.com/perl6/toolchain-bikeshed -- -- Ticket URL: <https://trac.macports.org/ticket/50158#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts