Skip Menu |

This queue is for tickets about the Scalar-Util-Clone CPAN distribution.

Report information
The Basics
Id: 33501
Status: open
Priority: 0/
Queue: Scalar-Util-Clone

People
Owner: Nobody in particular
Requestors: dkoch [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.10
Fixed in: (no value)



Subject: Scalar::Util::Clone fails to build with perl 5.10.0
Scalar::Util::Clone will not build with perl 5.10.0 on Linux: $ perl -v This is perl, v5.10.0 built for i686-linux ... $ perl Makefile.PL Writing Makefile for Scalar::Util::Clone $ make cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -Wall -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC "-I/home/dkoch/perl/lib/5.10.0/i686-linux/CORE" Clone.c Clone.xs: In function ‘share_hek_flags’: Clone.xs:169: error: ‘XPVHV’ has no member named ‘xhv_array’ Clone.xs: In function ‘new_he’: Clone.xs:207: error: ‘PL_he_root’ undeclared (first use in this function) Clone.xs:207: error: (Each undeclared identifier is reported only once Clone.xs:207: error: for each function it appears in.) Clone.xs: In function ‘more_he’: Clone.xs:220: error: ‘XPV’ has no member named ‘xpv_pv’ Clone.xs:220: error: ‘PL_he_arenaroot’ undeclared (first use in this function) Clone.xs:225: error: ‘PL_he_root’ undeclared (first use in this function) Clone.xs: In function ‘clone_sv’: Clone.xs:392: error: ‘SVs_PADBUSY’ undeclared (first use in this function) Clone.xs:461: error: duplicate case value Clone.xs:439: error: previously used here Clone.xs:509: warning: implicit declaration of function ‘AvFLAGS’ Clone.xs:509: error: invalid lvalue in assignment Clone.xs:554: error: ‘XPVHV’ has no member named ‘xhv_array’ Clone.xs:557: error: ‘XPVHV’ has no member named ‘xhv_array’ Clone.xs:558: error: ‘XPVHV’ has no member named ‘xhv_array’ Clone.xs:563: error: ‘XPVHV’ has no member named ‘xhv_eiter’ Clone.xs:563: error: ‘XPVHV’ has no member named ‘xhv_eiter’ Clone.xs:564: error: ‘XPVHV’ has no member named ‘xhv_eiter’ Clone.xs:578: warning: implicit declaration of function ‘HvPMROOT’ Clone.xs:578: error: invalid lvalue in assignment Clone.xs:579: error: invalid lvalue in assignment make: *** [Clone.o] Error 1
FWIW, the breakage occurs due to four changes in the perl core: - the first deals with PADBUSY which was removed from perl in patch 18409 - 24518 removed AvFLAGS - 24522 removed HvPMROOT - 24526 (with minor corrections in 27 and 29) broke out the member xhv_eiter from XPVHV The first three are trivial to deal with (and I have patches for them) but the fourth needs a bit more dedication.