slobo / Perl6-X11-Xlib-Raw

Perl 6 Xlib::Raw
Artistic License 2.0
2 stars 4 forks source link

internal modules missing from "provides" #4

Closed timo closed 7 years ago

timo commented 7 years ago

Inside "X11::Xlib::Raw", the code immediately uses "X11::Xlib::Raw::X", which doesn't appear in the "provides" section of the META6.json, which causes it to not find it.

slobo commented 7 years ago

Hi @timo , how do I reproduce this problem? Is it related to a package manager? Thanks and sorry for delay; just saw this now - having trouble managing my inbox it seems...

timo commented 7 years ago

right, it's related to package management.

when installing it with zef and you then try perl6 -e 'use X11::Xlib::Raw', you get "Could not find X11::Xlib::Raw::X at line 5 in: […]" because you can only use something from an installed module when it's in a "provides" section somewhere

slobo commented 7 years ago

So turns out that panda install does not set exit code on error and the problem was there in travis logs all along, but went unnoticed since builds still passed. Tsk tsk, bad panda.

I've added missing provides, and told travis to use zef install since that actually barfs in expected way.

Please reopen the issue if it comes back. Thanks again!