Text::Wrap module / submodule conflict.
Closed this issue · 1 comments
Hi, I've previously installed the module Text::Wrap with no issue.
Here is it's meta file:
{
"perl" : "6.*",
"name" : "Text::Wrap",
"license" : "Artistic-2.0",
"version" : "0.0.3",
"description" : "Wrap text.",
"author" : "Jonas Kramer <jkramer@mark17.net>",
"repo-type": "git",
"source-url" : "git://github.com/jkramer/p6-Text-Wrap.git",
"depends" : [],
"build-depends" : [],
"test-depends" : [],
"provides" : {
"Text::Wrap" : "lib/Text/Wrap.pm6"
}
}
The module Pretty::Table depends on Text::Wrap. However, Pretty::Table now complains when I try to use it.
===SORRY!=== Error while compiling /home/bazzaar/home#sources/3D8D3D2548BB69EE2C8D1CA7603C838CFAA227E6 (Pretty::Table)
Undeclared routine:
wrap-text used at line 1049
Now, when I try to install Text Wrap, I instead get the "_" module installed.
bazzaar@localhost:~> zef install --force-install Text::Wrap
===> Searching for: Text::Wrap
===> Updating fez mirror: https://360.zef.pm/
===> Updated fez mirror: https://360.zef.pm/
===> Testing: _:ver<0.0.1>:authzef:codesections
===> Testing [OK] for _:ver<0.0.1>:authzef:codesections
===> Installing: _:ver<0.0.1>:authzef:codesections
bazzaar@localhost:~> zef locate Text::Wrap
===> From Distribution: _:ver<0.0.1>:authzef:codesections:api<>
Text::Wrap => /home/bazzaar/.raku/sources/2036EB45B46316C08264CAC129AF51520F4342FD
I'm just wondering, was it the intention to replace the Text::Wrap module, with the "_"::Text::Wrap submodule?
OK, managed to figure out how to install the Text::Wrap module, so for me this was a useful exercise :
bazzaar@localhost:~> zef -v search Text::Wrap
===> Updating fez mirror: https://360.zef.pm/
===> Updated fez mirror: https://360.zef.pm/
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Found 3 results
---------------------------------------------------------------------------------------------------------------------------------------------------
ID|From |Package |Description
---------------------------------------------------------------------------------------------------------------------------------------------------
0 |Zef::Repository::Ecosystems<fez>|_:ver<0.0.1>:auth<zef:codesections>|A meta package for zero-dependency micro packages of under 70 lines of code
1 |Zef::Repository::Ecosystems<p6c>|Text::Wrap:ver<0.0.3> |Wrap text.
2 |Zef::Repository::LocalCache |_:ver<0.0.1>:auth<zef:codesections>|A meta package for zero-dependency micro packages of under 70 lines of code
---------------------------------------------------------------------------------------------------------------------------------------------------
bazzaar@localhost:~> zef install "Text::Wrap:ver<0.0.3>" # <--------- Need to enclose in quotes !!
===> Searching for: Text::Wrap:ver<0.0.3>
===> Testing: Text::Wrap:ver<0.0.3>
===> Testing [OK] for Text::Wrap:ver<0.0.3>
===> Installing: Text::Wrap:ver<0.0.3>
Will close this issue.