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

Pluggable #502

Open
AlexDaniel opened this issue Feb 8, 2019 · 4 comments
Open

Pluggable #502

AlexDaniel opened this issue Feb 8, 2019 · 4 comments
Assignees
Labels
issue sent Posted a previously unreported issue with the original author to investigate PR sent Sent a pull review to the issue

Comments

@AlexDaniel
Copy link
Member

Module Pluggable cannot be installed (AlwaysFail), perhaps it has some failing tests.

  • Tickets are opened/closed in this repo automatically (though not immediately).
  • If you can install the module without any problems, add works for me label, leave a comment saying that it works for you and mention any details that you feel are important.
  • If it needs a native library, put native dependency label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.
  • If the module is broken, try to fix it and send a PR. Add PR sent label.
  • If there is a problem in one of the dependencies, add failing dependency label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.
  • It is a good idea to assign yourself to this ticket if you're working on it (to make sure two or more people are not working on the same ticket at the same time).
  • Once you are done, search for a next ticket.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Pluggable
===> Found: Pluggable:ver<0.3>:auth<github:tony-o> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Pluggable:ver<0.3>:auth<github:tony-o> to /home/alex/Blin/data/zef-data/tmp/1549582758.7755.6111/perl6-pluggable.git
===> Extraction [OK]: Pluggable to /home/alex/Blin/data/zef-data/store/perl6-pluggable.git
===> Testing: Pluggable:ver<0.3>:auth<github:tony-o>
t/00-meta.t .......... ok
Failed to get the directory contents of '/home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/data/zef/lib': Failed to open dir: No such file or directory
  in sub find at /home/alex/Blin/installed/File::Find_0.1/sources/338438A16791DC5A3816B1052C78248FFDAFFEAB (File::Find) line 35
  in block  at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 122
  in sub find-modules at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 120
  in method plugins at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 151
  in method test at t/01-oop.t line 17
  in block <unit> at t/01-oop.t line 24

t/01-oop.t ........... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests 
Failed to get the directory contents of '/home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/data/zef/lib': Failed to open dir: No such file or directory
  in sub find at /home/alex/Blin/installed/File::Find_0.1/sources/338438A16791DC5A3816B1052C78248FFDAFFEAB (File::Find) line 35
  in block  at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 122
  in sub find-modules at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 120
  in method plugins at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 151
  in method test at t/02-installation.t line 17
  in block <unit> at t/02-installation.t line 21

t/02-installation.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
Failed to get the directory contents of '/home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/data/zef/lib': Failed to open dir: No such file or directory
  in sub find at /home/alex/Blin/installed/File::Find_0.1/sources/338438A16791DC5A3816B1052C78248FFDAFFEAB (File::Find) line 35
  in block  at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 122
  in sub find-modules at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 120
  in sub plugins at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 155
  in block <unit> at t/03-proc.t line 14

t/03-proc.t .......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
Failed to get the directory contents of '/home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/data/zef/lib': Failed to open dir: No such file or directory
  in sub find at /home/alex/Blin/installed/File::Find_0.1/sources/338438A16791DC5A3816B1052C78248FFDAFFEAB (File::Find) line 35
  in block  at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 122
  in sub find-modules at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 120
  in sub plugins at /home/alex/Blin/data/zef-data/store/perl6-pluggable.git/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6 (Pluggable) line 155
  in block <unit> at t/04-syntax-error.t line 12

t/04-syntax-error.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/01-oop.t         (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/02-installation.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/03-proc.t        (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/04-syntax-error.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=5, Tests=1, 12 wallclock secs ( 0.04 usr  0.01 sys +  7.91 cusr  0.53 csys =  8.49 CPU)
Result: FAIL
===> Testing [FAIL]: Pluggable:ver<0.3>:auth<github:tony-o>
Failed to get passing tests, but continuing with --force-test
===> Installing: Pluggable:ver<0.3>:auth<github:tony-o>
===> Install [OK] for Pluggable:ver<0.3>:auth<github:tony-o>

Ping @tony-o

@JJ JJ self-assigned this Feb 8, 2019
@JJ JJ added the works for me Does not seem to be any problem label Feb 8, 2019
@JJ
Copy link
Collaborator

JJ commented Feb 8, 2019

Are you sure this is not some temporary filesystem failure? It works without a problem here.

@AlexDaniel AlexDaniel removed the works for me Does not seem to be any problem label Feb 8, 2019
@AlexDaniel
Copy link
Member Author

I don't think it is. Looking at the source:

https://github.com/tony-o/perl6-pluggable/blob/834f08b8ae75aa5350011430f1d2620d4afd8a1b/lib/Pluggable.pm6#L121

It seems like the module assumes way too much about the file structure. I don't immediately see what's wrong with that code, but if it doesn't work then it doesn't work…

@JJ
Copy link
Collaborator

JJ commented Feb 8, 2019

@AlexDaniel um, messing with CUR. That's never a good idea... But if that's the case, it might be difficult to fix...

@AlexDaniel
Copy link
Member Author

At the very least we should open an issue.

@JJ JJ added the issue sent Posted a previously unreported issue with the original author to investigate label Feb 9, 2019
@JJ JJ added the PR sent Sent a pull review to the issue label Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue sent Posted a previously unreported issue with the original author to investigate PR sent Sent a pull review to the issue
Projects
None yet
Development

No branches or pull requests

2 participants