Altai-man / cro-ldap

LDAP support for the Cro library for building distributed systems in Raku
Artistic License 2.0
9 stars 0 forks source link

Failure on fresh compilers #13

Closed Altai-man closed 3 years ago

Altai-man commented 3 years ago
===> Testing: Cro::LDAP:ver<0.5.3.1>:auth<github:Altai-man>
[Cro::LDAP] Earlier failures:
[Cro::LDAP]  (HANDLED) Len element to subbuf out of range. Is: -65, should be in 0..191
[Cro::LDAP]   in method process at /home/koto/.rakudobrew/versions/moar-2020.12/install/share/perl6/site/sources/9D80F40F2B6F7C9EAFA80407BD6D23E59CDC6843 (ASN::Parser::Async) line 25
[Cro::LDAP]   in block  at /home/koto/.zef/store/cro-ldap.git/6e1e9ed6882c9c39a23f624c1847af384cf4846b/lib/Cro/LDAP/MessageParser.pm6 (Cro::LDAP::MessageParser) line 14
[Cro::LDAP]   in block  at /home/koto/.rakudobrew/versions/moar-2020.12/install/share/perl6/site/sources/96414B94916763A5BB7A0A23B18D9864ABC50C85 (Cro::TCP) line 53
[Cro::LDAP] Final error:
[Cro::LDAP]  Cannot resolve caller parse(ASN::Parser.new(type...: Failure, :!to-chop, :!debug); none of these signatures match:
[Cro::LDAP]     (ASN::Parser: Blob $input, :$debug, :$mode, :$to-chop = Bool::True, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, ASNSequence $type, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, $type where { ... }, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, ASNSetOf $type, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, ASNChoice $choice, :$tag, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, ASNValue $value, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, Int $type where { ... }, :$debug, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, ASN::Types::UTF8String $str, :$debug, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, $str where { ... }, :$debug, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, Bool $bool, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input is rw, $enum-type where { ... }, :$debug, :$mode, *%_)
[Cro::LDAP]     (ASN::Parser: Buf $input, ASN-Null $type, :$debug, *%_)
[Cro::LDAP]   in method process at /home/koto/.rakudobrew/versions/moar-2020.12/install/share/perl6/site/sources/9D80F40F2B6F7C9EAFA80407BD6D23E59CDC6843 (ASN::Parser::Async) line 26
[Cro::LDAP]   in block  at /home/koto/.zef/store/cro-ldap.git/6e1e9ed6882c9c39a23f624c1847af384cf4846b/lib/Cro/LDAP/MessageParser.pm6 (Cro::LDAP::MessageParser) line 14
[Cro::LDAP]   in block  at /home/koto/.rakudobrew/versions/moar-2020.12/install/share/perl6/site/sources/96414B94916763A5BB7A0A23B18D9864ABC50C85 (Cro::TCP) line 53
Altai-man commented 3 years ago

Fixed with https://github.com/Altai-man/ASN-BER/commit/2078519e41c84b8a4863828e0fc587af6d08b471