Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rakudo* 2014:08 panda doesn't see bundled modules #3532

Closed
p6rt opened this issue Sep 24, 2014 · 17 comments
Closed

Rakudo* 2014:08 panda doesn't see bundled modules #3532

p6rt opened this issue Sep 24, 2014 · 17 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 24, 2014

Migrated from rt.perl.org#122839 (status was 'resolved')

Searchable as RT122839$

@p6rt
Copy link
Author

p6rt commented Sep 24, 2014

From @pmqs

Start with a fresh install of R* 2014.08 (from http://rakudo.org/downloads/star/rakudo-star-2014.08.tar.gz) on a Linux box.

When I attempted to install Compress​::Zlib with panda I got this error

$ ~/p/bin/panda install Compress​::Zlib
==> Compress​::Zlib depends on NativeCall, Compress​::Zlib​::Raw
==> Compress​::Zlib​::Raw depends on NativeCall
==> Fetching NativeCall
==> Building NativeCall
Compiling lib/NativeCall.pm6 to mbc
===SORRY!===
No registered operation handler for 'nativecallglobal'
build stage failed for NativeCall​: Failed building lib/NativeCall.pm6

Problem is NativeCall is installed

$ ~/p/bin/perl6 -MNativeCall -e 1
$ find ~/p/languages/perl6/ -name NativeCall\*
/home/pmarques/p/languages/perl6/lib/NativeCall.pm6.moarvm
/home/pmarques/p/languages/perl6/lib/NativeCall.pm6

Can work around by running panda with --nodeps.

Not sure if panda can see *any* of the installed modules. Picked JSON​::Tiny at random and panda doesn't think it is installed either.

$ ~/p/bin/panda info JSON​::Tiny
JSON​::Tiny
A minimal JSON (de)serializer
State​: not installed
Source-url​: git​://github.com/moritz/json.git

@p6rt
Copy link
Author

p6rt commented Sep 25, 2014

From @FROGGS

2014.09 will ship a panda state file, see​:

rakudo/star@54b69eba81

you can also check installed modules without attempting to install them via​:

$ panda --installed list

@p6rt
Copy link
Author

p6rt commented Sep 25, 2014

@FROGGS - Status changed from 'new' to 'resolved'

@p6rt
Copy link
Author

p6rt commented Oct 1, 2014

From @pmqs

On Thu Sep 25 14​:01​:25 2014, FROGGS.de wrote​:

2014.09 will ship a panda state file, see​:

rakudo/star@54b69eba81

you can also check installed modules without attempting to install them via​:

$ panda --installed list

Just installed 2014.09 and still see the issue.

$ perl6 -v
This is perl6 version 2014.09 built on MoarVM version 2014.09

Panda doesn't seem to see any installed modules
$ panda --installed --verbose list

$ panda install Compress​::Zlib​::Raw
==> Compress​::Zlib​::Raw depends on NativeCall
==> Fetching NativeCall
==> Building NativeCall
Compiling lib/NativeCall.pm6 to mbc
===SORRY!===
No registered operation handler for 'nativecallglobal'
build stage failed for NativeCall​: Failed building lib/NativeCall.pm6

@p6rt
Copy link
Author

p6rt commented Oct 1, 2014

@pmqs - Status changed from 'resolved' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 1, 2014

From @FROGGS

what is your panda --installed list?

@p6rt
Copy link
Author

p6rt commented Oct 1, 2014

From @pmqs

On Wed Oct 01 07​:36​:52 2014, FROGGS.de wrote​:

what is your panda --installed list?

This is what it is right now, because I've manually installed Compress​::Zlib​::Raw

$ panda --installed list
Compress​::Zlib​::Raw [installed]

From a fresh install of R* it was empty

@p6rt
Copy link
Author

p6rt commented Dec 27, 2014

From @FROGGS

Please retest with rakudo-star-2014.12.1-moar.msi.

For me it gives this after a clean install of the msi​:
C​:\>panda-m --installed list
Bailador [installed]
DBIish [installed]
Debugger​::UI​::CommandLine [installed]
Digest​::MD5 [installed]
File​::Find [installed]
Grammar​::Debugger [installed]
Grammar​::Profiler​::Simple [installed]
HTTP​::Easy [installed]
HTTP​::Status [installed]
JSON​::RPC [installed]
JSON​::Tiny [installed]
LWP​::Simple [installed]
MIME​::Base64 [installed]
Math​::Model [installed]
Math​::RungeKutta [installed]
NativeCall [installed]
PSGI [installed]
Pod​::To​::HTML [installed]
SVG [installed]
SVG​::Plot [installed]
Shell​::Command [installed]
Template​::Mojo [installed]
Term​::ANSIColor [installed]
Test​::Mock [installed]
URI [installed]
XML​::Writer [installed]
p6doc [installed]
panda [installed]
ufo [installed]

@p6rt
Copy link
Author

p6rt commented Dec 27, 2014

From @pmqs

Sorry, no.

Still the same as before when I installed rakudo-star-2014.12.1.tar.gz. Panda doesn't see any of the installed modules.

$ panda --installed list
No LSB modules are available.

Not sure what the message about LSB is all about.

if this worked for you with the Windoes install, is there any difference between that & the Linux one?

Ping me if you need more details.

@p6rt
Copy link
Author

p6rt commented Dec 27, 2014

From @FROGGS

Hi, what does `which panda` output? I'd almost say that it cannot find
panda in path, and the apt suggestions fail on your box...

@p6rt
Copy link
Author

p6rt commented Dec 27, 2014

From @pmqs

On Sat Dec 27 12​:56​:14 2014, FROGGS.de wrote​:

Hi, what does `which panda` output? I'd almost say that it cannot find
panda in path, and the apt suggestions fail on your box...

That was my first thought, but no.

$ which panda
/home/paul/perl/perl6/rakudo/bin/panda
$ panda -h
No LSB modules are available.
Usage​:
  panda [--notests] [--nodeps] install [<modules> ...] -- Install the specified modules
  panda [--installed] [--verbose] list -- List all available modules
  panda update -- Update the module database
  panda info [<modules> ...] -- Display information about specified modules
  panda search <pattern> -- Search the name/description
  panda [--exclude=<Any>] smoke -- Test and install all known distributions
  panda look [<modules> ...] -- Download and unpack the distribution and then open the directory with your shell.

@p6rt
Copy link
Author

p6rt commented Dec 27, 2014

From @FROGGS

Ahh, it might be possible that panda's state will only be installed
using the Windows MSI on... err, Windows...

I'll check the star tarball on a linux later and report back.

@p6rt
Copy link
Author

p6rt commented Feb 8, 2015

From @pmqs

Issue is still present in star 2015.01

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @coke

On Sun Feb 08 04​:52​:40 2015, pmqs wrote​:

Issue is still present in star 2015.01

Many changes in panda and rakudo since then; can you test this with the latest rakudo star from 2016.07?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @coke

On Sun Feb 08 04​:52​:40 2015, pmqs wrote​:

Issue is still present in star 2015.01
Many changes in panda and rakudo since then; can you test this with the latest rakudo star from 2016.07?

(resend to hit email list)
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 12, 2017

From @stmuk

panda is deprecated and the use of zef recommended.

@p6rt p6rt closed this as completed Jul 12, 2017
@p6rt
Copy link
Author

p6rt commented Jul 12, 2017

@stmuk - Status changed from 'open' to 'resolved'

@p6rt p6rt added the star label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant