Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
lizmat | Hmmm... on a clean Rakudo HEAD, Cro::HTTP seems to not test very well | 17:49 | |
and if installed with --force, attempting to load it bombs with This representation (Uninstantiable) does not support elems (for type TValue) | |||
guess I'm going to restart from a fresh rakudo clone | 17:53 | ||
jnthnwrthngtn | Sounds like a Rakudo regression | 19:11 | |
Hopefully one that didn't make it into the release | |||
lizmat | well, I'm about to give up for today | 19:12 | |
I'm on the release, and nothing works anymore :-( | |||
apart from test and spectest | 19:13 | ||
but anything todo with OO::Monitors meh | |||
jnthnwrthngtn | Cro::HTTP looks OK on head of new-disp, fwiw | 19:14 | |
(tried it 'cus it's what I have around) | |||
lizmat | so what should I do? | 19:15 | |
I guess I'll start with a fresh rakudo checkout + a nuked ~/.zef and nuke any .precomp dirs I can find | |||
jnthnwrthngtn | No idea. See if anybody else can repro the issue? | ||
Yeah, worth a try, although maybe keep the .precomp around in case anybody wants to diagnose how it broke; it's not meant to | 19:16 | ||
walk, bbl | |||
lizmat | too late, nuked about 5G worth of .precomp dirs | 19:18 | |
japhb | Wow, that's a lot of .precomp | 19:24 | |
I'll try a full build on my box, see how that fares | |||
... and away it goes | 19:25 | ||
lizmat | ok: did the following: | 19:33 | |
nuked all .precomp dirs | |||
nuked ~/.zef | |||
japhb | OO::Monitors has installed successfully, so I'll see if the things that depend on it also succeed | ||
lizmat | git a clean rakudo checkout | ||
installed zef | 19:34 | ||
installed OO::Monitors | |||
(ok) | |||
installed Inline::Perl5 as recommended by 'make spectest' | |||
(ok) | |||
zef install Cro::HTTP | 19:35 | ||
[Cro::HTTP] ===SORRY!=== Error while compiling /Users/liz/.zef/tmp/cro-http-0.8.6.tar.gz/cro-http-0.8.6/t/http-auth-basic-with-session.t | |||
[Cro::HTTP] ===SORRY!=== Error while compiling /Users/liz/.zef/tmp/cro-http-0.8.6.tar.gz/cro-http-0.8.6/lib/Cro/HTTP/Client.pm6 (Cro::HTTP::Client) | |||
[Cro::HTTP] Missing or wrong version of dependency 'gen/moar/stage2/NQPHLL.nqp' (from 'site#sources/45334C557865A97D1ECA0D3F3A3FAF2017FCE553 (OO::Monitors)') | |||
[Cro::HTTP] at /Users/liz/.zef/tmp/cro-http-0.8.6.tar.gz/cro-http-0.8.6/lib/Cro/HTTP/Client.pm6 (Cro::HTTP::Client):3 | |||
[Cro::HTTP] at /Users/liz/.zef/tmp/cro-http-0.8.6.tar.gz/cro-http-0.8.6/t/http-auth-basic-with-session.t:2 | |||
japhb | That's really weird. | 19:36 | |
My build didn't quite make it that far: | |||
===> Testing: OpenSSL:ver<0.1.26> | |||
# NETWORK_TESTING was not set | |||
Unable to read key in method new at /home/geoff/.zef/tmp/openssl.git/1e0f472094f3544bde39a15d6fa7cf809324967a/lib/OpenSSL/RSATools.pm6 (OpenSSL::RSATools) line 23 in block <unit> at t/03-rsa.t line 10 | |||
japhb will try again and see if it persists | 19:37 | ||
lizmat | did zef install Cro::HTTP --serial | 19:39 | |
(same fail) | |||
did zef install Cro::HTTP --serial again (but now all dependencies have been installed already) | |||
(same fail) | |||
japhb | Where are you installing to? | 19:41 | |
japhb watches all his CPU cores flashing red in atop and being clocked back as the fans go wild | 19:43 | ||
19:44
xinming left,
xinming joined
|
|||
lizmat | not installing to anything particularly | 19:44 | |
zef install Cro::HTTP | |||
that's it, verbatim | 19:45 | ||
all dependencies already installed in a previous 'zef install Cro::HTTP --serial' run | |||
japhb | No, I meant, where are you installing Rakudo? | 19:46 | |
lizmat | I don't understand how the dependency can be incorrect, as that NQPHLL.nqp is brand new, created when I built rakudo | ||
~/Github/rakudo.moar is the dir with the repo, it gets installed in its "install" dir ? | 19:47 | ||
japhb | I guess that was my question. I was trying to see if you were installing it somewhere outside the build tree. | ||
(In which case said location might have had old files or so.) | |||
lizmat | nope, trying to KISS | ||
japhb | Dang, OpenSSL failure is repeatable | 19:48 | |
What happens when you try to install OpenSSL? I'm curious if this one is just me, or it's repeatable as well | 19:49 | ||
lizmat | that was already installed fine with the prereqs of Cro::HTTP | ||
japhb | (or IO::Socket::SSL, which depends on it) | 19:50 | |
Damn, so I can't get my system into the same state as yours. :-( | |||
lizmat | installs fine | ||
japhb | Gerbleflrpl | 19:51 | |
japhb tries a full build on rakudo-moar-2021.08-27-g10b327292, the last Rakudo before the release process | 19:53 | ||
lizmat | same problem for Pod::To::HTML, which also depends on OO::Monitors | ||
so it really looks like any module depending on OO::Monitors, will fail | 19:54 | ||
which means I cannot have App::Mi6 | |||
which means I cannot do any module uploads | |||
ok,. I cloned OO-Monitors repo, did a `zef install . --force` | 19:57 | ||
and now all begins to work | 19:58 | ||
I had to do the --force because it was already installed | |||
japhb | ??? | ||
lizmat | yeah, beats me | ||
guess I'll keep that in mind for the next time | 19:59 | ||
20:05
TempIRCLogger left,
TempIRCLogger joined
20:06
TempIRCLogger left
20:07
TempIRCLogger joined
|
|||
lizmat | after I awaited $resp.body on a HTTP::Client.get, should I do something else before I can use the same HTTP::Client object again? | 20:26 | |
I keep getting Died with the exception: | 20:27 | ||
Header table index 75 out of range | |||
in method resolve-decoded-index | |||
from HTTP::HPACK | |||
hmm... it appears to related to https:// URLs vs http:// URLs | 20:28 | ||
japhb | OK, pretty sure the OpenSSL test failure I'm seeing is independent of Rakudo version (I've tried several builds, working back *past* the most recent successful build I had). | 21:21 | |
I'm going to mark that one --/test and try again to see if I can reach the problems you had. | |||
After marking OpenSSL --/test, everything installed fine on rakudo-moar-2021.09-1-g28303d0c6, including all the Cro modules. | 22:03 |