doc icon indicating copy to clipboard operation
doc copied to clipboard

Problems with p6doc build

Open JJ opened this issue 7 years ago • 14 comments

The problem

Reported in the perl6 mailing list:

Attempting to build the P6doc index produced the following result:
-
$ p6doc build
Too many positionals passed; expected 1 argument but got 2
  in sub build_index at
/home/guru/rakudo/rakudo-star-2018.06/install/share/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625
line 193
  in sub MAIN at
/home/guru/rakudo/rakudo-star-2018.06/install/share/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625
line 163
  in block <unit> at
/home/guru/rakudo/rakudo-star-2018.06/install/share/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625
line 316
  in sub MAIN at
/home/guru/rakudo/rakudo-star-2018.06/install/share/perl6/site/bin/p6doc
line 2
  in block <unit> at
/home/guru/rakudo/rakudo-star-2018.06/install/share/perl6/site/bin/p6doc
line 2

$ uname -a
Linux localhost 4.14.70-desktop-2.mga6 #1 SMP Thu Sep 20 22:05:46 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

[]$ perl6 -v
This is Rakudo Star version 2018.06 built on MoarVM version 2018.06
implementing Perl 6.c.

(BTW, it appears that perl-all no longer works. I sent this message
there, and saw nothing.)

Suggestions

Check the error and report back to the mailing list.

JJ avatar Oct 16 '18 23:10 JJ

Can't reproduce

stmuk avatar Oct 28 '18 11:10 stmuk

Also unable to duplicate. closing ticket.

coke avatar Nov 27 '18 21:11 coke

same here p6doc -f build building index on first run. Please wait... Too many positionals passed; expected 1 argument but got 2 in sub build_index at /usr/lib64/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625 line 193 in sub MAIN at /usr/lib64/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625 line 136 in block at /usr/lib64/perl6/site/resources/C8DD97308D226DDE4AA60EA017CB6BB59F9AA625 line 316 in sub MAIN at /usr/lib64/perl6/site/bin/p6doc line 2 in block at /usr/lib64/perl6/site/bin/p6doc line 2

perl6 -version This is Rakudo version 2018.04 built on MoarVM version 2018.04.1 implementing Perl 6.c.

Fedora28 4.19.2-200.fc28.x86_64

agurB avatar Nov 30 '18 08:11 agurB

@agurB Are you using a Fedora RPM or have you installed from source?

stmuk avatar Nov 30 '18 12:11 stmuk

dnf install rakudo dnf install rakudo-zef zef install p6doc

agurB avatar Dec 03 '18 05:12 agurB

installed from source works fine Fedora 4.19.5-300.fc29.x86_64 #1 SMP Tue Nov 27 19:29:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

agurB avatar Dec 04 '18 21:12 agurB

Given that this was fixed in HEAD at some point, I'm closing the ticket.

coke avatar Mar 14 '19 03:03 coke

The problem has recurred with: perl6 -v This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03 implementing Perl 6.d. uname -a Linux localhost 5.2.7-desktop-1.mga7 #1 SMP Wed Aug 7 10:32:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

alanrocker avatar Aug 19 '19 21:08 alanrocker

It looks as though whatever was "fixed in HEAD" hasn't made it into Rakudo*. Could we have details (or at least an issue number) to help implement the fix, please?

alanrocker avatar Aug 24 '19 19:08 alanrocker

We have a new p6doc after GSoC. Please look at https://github.com/noisegul/perl6-p6doc

This work uses another GSoC project to remake Perl6-Documentable.
The two are part of a major refactor of the documentation system that splits out various parts of the perl6-doc repo as described in the wiki.
The refactoring has improved tests and a more logical robust structure, whilst at the same time ensuring that the user facing pages are the same. In short, the problems facing p6doc have been resolved, but the refactoring requires systematic and stage introduction. The plan is to do this in September. A little patience please.

finanalyst avatar Aug 24 '19 20:08 finanalyst

If there's anything I can do to help with the Rakudo* update, I'd be happy to do it.

alanrocker avatar Aug 25 '19 14:08 alanrocker

What was the solution that supposedly made it into HEAD?

alanrocker avatar Aug 26 '19 13:08 alanrocker

@alanrocker p6doc is an almost complete rewrite. So I don't think this is addressed per se.

JJ avatar Aug 26 '19 15:08 JJ

With p6doc spun off, what's left of this issue in this repository?

coke avatar Apr 16 '22 16:04 coke

Nothing.

coke avatar Nov 16 '22 01:11 coke