Skip Menu |
 

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 73375
Status: resolved
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.97
Fixed in:
  • 1.97_001
  • 1.98



Subject: Fails to build before perl 5.8.9
Download (untitled) / with headers
text/plain 668b
Currently fails to build on pre-5.8.9 perls, with: ./const-xs.inc: In function 'boot_Socket': ./const-xs.inc:709: error: 'HV_FETCH_LVALUE' undeclared (first use in this function) ./const-xs.inc:709: error: (Each undeclared identifier is reported only once ./const-xs.inc:709: error: for each function it appears in.) ./const-xs.inc:743: error: 'HV_FETCH_ISSTORE' undeclared (first use in this function) as 5.8 is two major versions EOL, I'm not going to put in upfront effort for this. It works fine on 5.8.9 and 5.10 onwards. If anyone cares about 5.8.8 or earlier, ping this bug, preferably with a patch that fixes it, and I'll look into it. -- Paul Evans
Subject: Re: [rt.cpan.org #73375] Fails to build before perl 5.8.9
Date: Tue, 7 Feb 2012 02:24:57 +0000
To: bug-Socket [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 410b
Attached patch makes Socket portable back to Perl 5.6.1. A couple of the backcompat bits are actually working around flaws in ExtUtils::Constant, and I'm ultimately intending to get them fixed in EU:C, but the workarounds here get things working much sooner. I want Socket ported so that I can use IO::Socket::IP to build a lightweight FTP client for use by modules that currently work on Perl 5.6. -zefram
Download d1
text/plain 6.5k

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 110b
Thanks Zefram. Applied with some minor formatting fixups, and released as part of 1.97_001. -- Paul Evans
Released as 1.98. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.