Need help with new dh-raku
gregor herrmann
gregoa at debian.org
Thu Dec 9 16:20:41 GMT 2021
On Wed, 08 Dec 2021 18:46:39 +0100, Dominique Dumont wrote:
> I've managed to build perl6-readline with dh-raku, but, after installation, raku does not find perl6-readline:
>
> $ raku /usr/share/doc/perl6-readline/examples/echo.pl6
> ===SORRY!=== Error while compiling /usr/share/doc/perl6-readline/examples/echo.pl6
> Could not find Readline in:
> inst#/home/domi/.raku
> inst#/usr/lib/perl6/site
> inst#/usr/lib/perl6/vendor
> inst#/usr/lib/perl6/core
> ap#
> nqp#
> perl5#
> at /usr/share/doc/perl6-readline/examples/echo.pl6:3
Confirmed.
> perl6-readline contains:
> ++++++
> /.
> /usr
> /usr/lib
> /usr/lib/perl6
> /usr/lib/perl6/vendor
> /usr/lib/perl6/vendor/dist
> /usr/lib/perl6/vendor/dist/A8475E6287F45455F9F68569C07ADC25AA5BEFDF
> /usr/lib/perl6/vendor/precomp
> /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE
> /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB
> /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276
> /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.lock
> /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.repo-id
> /usr/lib/perl6/vendor/short
> /usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15
> /usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15/A8475E6287F45455F9F68569C07ADC25AA5BEFDF
> /usr/lib/perl6/vendor/sources
> /usr/lib/perl6/vendor/sources/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276
> /usr/share
> /usr/share/doc
> /usr/share/doc/perl6-readline
> /usr/share/doc/perl6-readline/README.md
> /usr/share/doc/perl6-readline/changelog.Debian.gz
> /usr/share/doc/perl6-readline/changelog.gz
> /usr/share/doc/perl6-readline/copyright
> /usr/share/doc/perl6-readline/examples
> /usr/share/doc/perl6-readline/examples/cb-echo.pl6
> /usr/share/doc/perl6-readline/examples/echo.pl6
> /usr/share/perl6
> /usr/share/perl6/debian-sources
> /usr/share/perl6/debian-sources/perl6-readline
> /usr/share/perl6/debian-sources/perl6-readline/META6.json
> /usr/share/perl6/debian-sources/perl6-readline/lib
> /usr/share/perl6/debian-sources/perl6-readline/lib/Readline.pm
> +++
Well, yes and no …
I've built perl6-readline 0.1.5-3 from git and installed it, and what
I noted is:
* Both `debc` and `dpkg -L` report those files.
* But the files under /usr/lib/perl6 don't actually exist on the
filesystem (sorry for this ugly one-liner):
#v+
% for f in $(dpkg -L perl6-readline); do echo "== $f =="; ls -d $f; echo; done
== /. ==
/.
== /usr ==
/usr
== /usr/lib ==
/usr/lib
== /usr/lib/perl6 ==
/usr/lib/perl6
== /usr/lib/perl6/vendor ==
/usr/lib/perl6/vendor
== /usr/lib/perl6/vendor/bin ==
/usr/lib/perl6/vendor/bin
== /usr/lib/perl6/vendor/dist ==
/usr/lib/perl6/vendor/dist
== /usr/lib/perl6/vendor/dist/A8475E6287F45455F9F68569C07ADC25AA5BEFDF ==
ls: cannot access '/usr/lib/perl6/vendor/dist/A8475E6287F45455F9F68569C07ADC25AA5BEFDF': No such file or directory
== /usr/lib/perl6/vendor/precomp ==
/usr/lib/perl6/vendor/precomp
== /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE ==
/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE
== /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB ==
/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB
== /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276 ==
ls: cannot access '/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276': No such file or directory
== /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.lock ==
ls: cannot access '/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.lock': No such file or directory
== /usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.repo-id ==
ls: cannot access '/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276.repo-id': No such file or directory
== /usr/lib/perl6/vendor/resources ==
/usr/lib/perl6/vendor/resources
== /usr/lib/perl6/vendor/short ==
/usr/lib/perl6/vendor/short
== /usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15 ==
/usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15
== /usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15/A8475E6287F45455F9F68569C07ADC25AA5BEFDF ==
ls: cannot access '/usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15/A8475E6287F45455F9F68569C07ADC25AA5BEFDF': No such file or directory
== /usr/lib/perl6/vendor/sources ==
/usr/lib/perl6/vendor/sources
== /usr/lib/perl6/vendor/sources/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276 ==
ls: cannot access '/usr/lib/perl6/vendor/sources/EBC1B2DDA59A9D91D483BD81DAA416714D2D1276': No such file or directory
== /usr/share ==
/usr/share
== /usr/share/doc ==
/usr/share/doc
== /usr/share/doc/perl6-readline ==
/usr/share/doc/perl6-readline
== /usr/share/doc/perl6-readline/README.md ==
/usr/share/doc/perl6-readline/README.md
== /usr/share/doc/perl6-readline/changelog.Debian.gz ==
/usr/share/doc/perl6-readline/changelog.Debian.gz
== /usr/share/doc/perl6-readline/changelog.gz ==
/usr/share/doc/perl6-readline/changelog.gz
== /usr/share/doc/perl6-readline/copyright ==
/usr/share/doc/perl6-readline/copyright
== /usr/share/doc/perl6-readline/examples ==
/usr/share/doc/perl6-readline/examples
== /usr/share/doc/perl6-readline/examples/cb-echo.pl6 ==
/usr/share/doc/perl6-readline/examples/cb-echo.pl6
== /usr/share/doc/perl6-readline/examples/echo.pl6 ==
/usr/share/doc/perl6-readline/examples/echo.pl6
== /usr/share/perl6 ==
/usr/share/perl6
== /usr/share/perl6/debian-sources ==
/usr/share/perl6/debian-sources
== /usr/share/perl6/debian-sources/perl6-readline ==
/usr/share/perl6/debian-sources/perl6-readline
== /usr/share/perl6/debian-sources/perl6-readline/META6.json ==
/usr/share/perl6/debian-sources/perl6-readline/META6.json
== /usr/share/perl6/debian-sources/perl6-readline/lib ==
/usr/share/perl6/debian-sources/perl6-readline/lib
== /usr/share/perl6/debian-sources/perl6-readline/lib/Readline.pm ==
/usr/share/perl6/debian-sources/perl6-readline/lib/Readline.pm
#v-
Also:
#v+
% find /usr/lib/perl6 -mtime -1
/usr/lib/perl6/vendor
/usr/lib/perl6/vendor/short
/usr/lib/perl6/vendor/short/2755293789538B24CD3E2E278F82A4C989B92A15
/usr/lib/perl6/vendor/dist
/usr/lib/perl6/vendor/sources
/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE
/usr/lib/perl6/vendor/precomp/6F99F2DDF299DD2F54E671CFB63EB168DB8927EE/EB
#v-
(Again just the directories, no files in them.)
> I can't figure out why raku is not finding perl6-readline module.
> Does anyone have an idea ?
The missing files explain why raku doesn't find them :)
Which leads us to the question _why_ they are not there.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Flying Pickets
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rakudo-devel/attachments/20211209/7adb3efa/attachment.sig>
More information about the Pkg-rakudo-devel
mailing list