Raku / ecosystem-unbitrot

Which modules are not installable?
https://perl6.github.io/ecosystem-unbitrot/
GNU General Public License v3.0
5 stars 4 forks source link

Terminal::Print #526

Closed AlexDaniel closed 5 years ago

AlexDaniel commented 5 years ago

Module Terminal::Print cannot be installed (AlwaysFail), perhaps it has some failing tests.

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: Terminal::Print
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
===> Found: Terminal::Print:ver<0.94> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Terminal::Print:ver<0.94> to /home/alex/Blin/data/zef-data/tmp/1549582418.32671.9895/Terminal-Print.git
===> Extraction [OK]: Terminal::Print to /home/alex/Blin/data/zef-data/store/Terminal-Print.git
===> Testing: Terminal::Print:ver<0.94>
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "screen.xterm-256color"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
tput: unknown terminal "tmux-256color"
===SORRY!===
Please update @valid-terminals with your desired TERM ('rxvt', is it?) and submit a PR if it works
t/00-basics.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
===SORRY!===
Please update @valid-terminals with your desired TERM ('rxvt', is it?) and submit a PR if it works
t/10-grid.t .... 
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
===SORRY!===
Please update @valid-terminals with your desired TERM ('rxvt', is it?) and submit a PR if it works
t/11-golf.t .... 
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 

Test Summary Report
-------------------
t/00-basics.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
t/10-grid.t  (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
t/11-golf.t  (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=3, Tests=0, 17 wallclock secs ( 0.03 usr  0.00 sys + 10.76 cusr  1.60 csys = 12.39 CPU)
Result: FAIL
===> Testing [FAIL]: Terminal::Print:ver<0.94>
Failed to get passing tests, but continuing with --force-test
===> Installing: Terminal::Print:ver<0.94>
===> Install [FAIL] for Terminal::Print:ver<0.94>: ===SORRY!===
Please update @valid-terminals with your desired TERM ('rxvt', is it?) and submit a PR if it works

===SORRY!===
Please update @valid-terminals with your desired TERM ('rxvt', is it?) and submit a PR if it works

Ping @ab5tract

JJ commented 5 years ago

I don't know if it's worth the while to fix this. It's got 3 PRs sent, and no changes for 7 months.

JJ commented 5 years ago

I have forked it and released it to the ecosystem with a bumped up version. jmp works now with the new version, after it's installed: #551

AlexDaniel commented 5 years ago

I'm looking here: https://github.com/JJ/Terminal-Print/blob/f35f679e403e794250d46b273da2ab2d9a417930/lib/Terminal/Print/Commands.pm6#L27

Is there any reason why it has to run something in shell?

JJ commented 5 years ago

It's using tput; not using it would imply refactoring.

AlexDaniel commented 5 years ago

yes but can't you use tput with run?

JJ commented 5 years ago

Ah, I see what you mean. Let me try that.

jonathanstowe commented 5 years ago

could it be made to use the termios module with hard coded capability values (assuming they are fairly common capabilities?)

jonathanstowe commented 5 years ago

Or help me make Term::Cap useable :-)

JJ commented 5 years ago

I don't think that's trivial, but once we have forked it, I guess we could as well do that. Anyway, the new version fixes the particular issues raised here, just a matter of adding stuff to the whitelist. Mid-term roadmap could go there, but who knows.