-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl 5.36 cpan | Socket6 compilation fails #72
Comments
I, for one, will happily take a look at this when I get back home (ie tomorrow night). Cheers, |
The patches provided by [email protected] at https://rt.cpan.org/Public/Bug/Display.html?id=140028 work fine with Socket6-0.29, and portably too, AFAICS.
Cheers, |
Thanks @sisyphus Will look into patching Socket6 before building. |
Confirming patching works with a local 5.36. It will be used in the next build. Edit: patched distro is at https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/dev_20230318/Socket6-0.29_01.tar.gz |
I would just like to comment on this thread for future viewers. If you get this error with socket6. Notice the error:
It's basically just saying that For Reference: /* char *
* isc_net_ntop(af, src, dst, size)
* convert a network format address to presentation format.
* return:
* pointer to presentation format address (`dst'), or NULL (see errno).
* author:
* Paul Vixie, 1996.
*/
// const char *
// inet_ntop(int af, const void *src, char *dst, SOCKLEN_T size)
// {
// switch (af) {
// case AF_INET:
// return (inet_ntop4(src, dst, (size_t)size));
// #ifdef AF_INET6
// case AF_INET6:
// return (inet_ntop6(src, dst, (size_t)size));
// #endif
// default:
// errno = EAFNOSUPPORT;
// return (NULL);
// }
// /* NOTREACHED */
// } |
Socket6 is needed by IO::Socket::INET6 but there are errors in the build stage. See log below.
CPAN testers has no windows results more recent than version 5.28.2 but the module compiles and passes tests on Strawberry perl portable 5.32.0 (with the same integer cast warnings).
I assume I have either missed some details with the patches being applied (see discussion in #56) or there is an issue with the Socket updates that has not previously come to light on other platforms. Maybe this RT is relevant? https://rt.cpan.org/Public/Bug/Display.html?id=140028
Can someone who has built perl 5.37.x or a version with the socket patches have a go at building Socket6? @sisyphus?
And for reference, the relevant patches being applied are https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/wip_536/share/perl-5.36/perl_pr19663.diff and perl_pr19663.diff and https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/wip_536/share/perl-5.36/rt142390.patch
The text was updated successfully, but these errors were encountered: