On Fri Jul 08 17:19:10 2016, EXODIST wrote:
Show quoted text> This distribution is broken on 5.22+, which is unfortunate, and blocking me
> from a couple tasks.
>
> Turns out SREZIC has a patch that fixes this up through the current perl
> version, whcih I am attaching.
>
>
> Would it be possible to have this patch applied and a new release minted so
> we can get moving?
>
> Thanks!
>
> -Chad Granum
In preparation for the release of perl-5.28.0 in May 2018, I have been testing a selected subset of CPAN distributions against monthly development releases in the perl-5.27.* series.
Today I tested this distribution against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer. Please see the attached excerpt from the build.log. Also attached is the relevant 'perl -V' output.
I tried the patch provided in this ticket by Chad Granum in July 2016. It worked; all tests passed and I was able to install against perl-5.27.10.
Other CPAN distributions have a dependency on Lexical-Var. We are unable to assess their readiness for perl-5.28 until we get a new CPAN release of this distribution which addresses the problems discussed. So application of the patch and a new CPAN release would be appreciated.
Thank you very much.
Jim Keenan
{
author => "ZEFRAM",
dist => "Lexical-Var",
distname => "Lexical-Var-0.009",
distversion => 0.009,
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing Lexical-Var-0.009",
"Building Lexical-Var",
"cc -I/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE -DVERSION=\"0.009\" -DXS_VERSION=\"0.009\" -DPIC -fPIC -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing -o lib/Lexical/Var.o lib/Lexical/Var.c",
"lib/Lexical/Var.xs:470:2: error: no member named 'xpadn_flags' in 'struct sv'",
" SvPAD_OUR_on(ourname);",
" ^~~~~~~~~~~~~~~~~~~~~",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/pad.h:347:27: note: expanded from macro 'SvPAD_OUR_on'",
"#define SvPAD_OUR_on(pn) (PadnameFLAGS(pn) |= PADNAMEt_OUR)",
" ^~~~~~~~~~~~~~~~",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/pad.h:319:32: note: expanded from macro 'PadnameFLAGS'",
"#define PadnameFLAGS(pn) (pn)->xpadn_flags",
" ~~~~ ^",
"lib/Lexical/Var.xs:473:2: error: no member named 'xpadn_ourstash' in 'struct sv'",
" SvOURSTASH_set(ourname, (HV*)SvREFCNT_inc((SV*)stash));",
" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/pad.h:349:25: note: expanded from macro 'SvOURSTASH_set'",
"#define SvOURSTASH_set PadnameOURSTASH_set",
" ^",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/pad.h:326:36: note: expanded from macro 'PadnameOURSTASH_set'",
"#define PadnameOURSTASH_set(pn,s) (PadnameOURSTASH(pn) = (s))",
" ^~~~~~~~~~~~~~~~~~~",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/pad.h:321:35: note: expanded from macro 'PadnameOURSTASH'",
"#define PadnameOURSTASH(pn) (pn)->xpadn_ourstash",
" ~~~~ ^",
"lib/Lexical/Var.xs:474:2: error: no member named 'xpad_cop_seq' in 'union _xnvu'",
" COP_SEQ_RANGE_LOW_set(ourname, PL_cop_seqmax);",
" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
"lib/Lexical/Var.xs:67:34: note: expanded from macro 'COP_SEQ_RANGE_LOW_set'",
" do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xlow = val; } while(0)",
" ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^",
"lib/Lexical/Var.xs:475:2: error: no member named 'xpad_cop_seq' in 'union _xnvu'",
" COP_SEQ_RANGE_HIGH_set(ourname, pad_max());",
" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
"lib/Lexical/Var.xs:69:34: note: expanded from macro 'COP_SEQ_RANGE_HIGH_set'",
" do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xhigh = val; } while(0)",
" ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^",
"lib/Lexical/Var.xs:477:11: warning: incompatible pointer types passing 'PADNAMELIST *' (aka 'struct padnamelist *') to parameter of type 'AV *' (aka 'struct av *') [-Wincompatible-pointer-types]",
" av_store(padname, ouroffset, ourname);",
" ^~~~~~~",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/embed.h:65:46: note: expanded from macro 'av_store'",
"#define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c)",
" ^",
"/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE/proto.h:235:44: note: passing argument to parameter 'av' here",
"PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);",
" ^",
"1 warning and 4 errors generated.",
"error building lib/Lexical/Var.o from 'lib/Lexical/Var.c' at /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/ExtUtils/CBuilder/Base.pm line 185.",
"-> FAIL Installing Lexical::Var failed. See /home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522758227.702/build.log for details. Retry with --force to force install it.",
],
via => "App::cpanminus::reporter 0.17 (1.7043)",
}
Summary of my perl5 (revision 5 version 27 subversion 10) configuration:
Platform:
osname=freebsd
osvers=11.0-release-p1
archname=amd64-freebsd-thread-multi
uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 '
config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2'
optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing'
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib
libs=-lpthread -lgdbm -lm -lcrypt -lutil
perllibs=-lpthread -lm -lcrypt -lutil
libc=
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags=' '
cccdlflags='-DPIC -fPIC'
lddlflags='-shared -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Built under freebsd
Compiled at Mar 21 2018 12:59:59
%ENV:
PERL2DIR="/home/jkeenan/gitwork/perl2"
PERL_WORKDIR="/home/jkeenan/gitwork/perl"
@INC:
lib/5.27.10/amd64-freebsd-thread-multi
lib/5.27.10
lib
/home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi
/home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10
/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi
/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10