cpantestlogs/C::DynaLib::Struct_genfailure.log
2017-05-02 18:44:36 -07:00

209 lines
10 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

perl-blead
==========
cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux
Work directory is /home/ryan/.cpanm/work/1493653676.2003
You have make /usr/bin/make
You have LWP 6.26
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching C::DynaLib::Struct () on cpanmetadb ...
Unpacking C-DynaLib-0.60.tar.gz
--> Working on C::DynaLib::Struct
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/C-DynaLib-0.60.tar.gz ... OK
C-DynaLib-0.60/
C-DynaLib-0.60/alpha-cc.c
C-DynaLib-0.60/alpha-cc.s
C-DynaLib-0.60/alpha.c
C-DynaLib-0.60/Asm-0.01.tar.gz
C-DynaLib-0.60/cdecl.c
C-DynaLib-0.60/Changes
C-DynaLib-0.60/DynaLib.xs
C-DynaLib-0.60/hack30.c
C-DynaLib-0.60/lib/
C-DynaLib-0.60/lib/C/
C-DynaLib-0.60/lib/C/DynaLib/
C-DynaLib-0.60/lib/C/DynaLib/PerlTypes.pm
C-DynaLib-0.60/lib/C/DynaLib/Struct.pm
C-DynaLib-0.60/lib/C/DynaLib.pm
C-DynaLib-0.60/Makefile.PL
C-DynaLib-0.60/MANIFEST
C-DynaLib-0.60/META.yml
C-DynaLib-0.60/README
C-DynaLib-0.60/README.win32
C-DynaLib-0.60/script/
C-DynaLib-0.60/script/pl2exe.pl
C-DynaLib-0.60/sparc.c
C-DynaLib-0.60/t/
C-DynaLib-0.60/t/01test.t
C-DynaLib-0.60/t/02struct.t
C-DynaLib-0.60/t/03win32.t
C-DynaLib-0.60/t/04asmcall.t
C-DynaLib-0.60/t/stdio.pl
C-DynaLib-0.60/testcall.c
C-DynaLib-0.60/testreverse.c
Entering C-DynaLib-0.60
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Running Makefile.PL
Configuring C-DynaLib-0.60 ... Checking if your kit is complete...
Looks good
Writing cdecl.h
/tmp/ccsutEXl.o: In function `S_croak_memory_wrap':
testtest.c:(.text+0x7): undefined reference to `PL_memory_wrap'
testtest.c:(.text+0x18): undefined reference to `Perl_croak'
collect2: error: ld returned 1 exit status
/tmp/cck50ZXz.o: In function `S_croak_memory_wrap':
testtest.c:(.text+0x7): undefined reference to `PL_memory_wrap'
testtest.c:(.text+0x18): undefined reference to `Perl_croak'
collect2: error: ld returned 1 exit status
***
*** WARNING
***
*** I can't figure out the correct way to pass arguments to a C function
*** on this system. This may be due to porting issues, a perl installation
*** problem, or any number of things. Maybe `perl Makefile.PL Verbose'
*** will shed some light.
***
*** I'll use the `hack30' calling convention, which may work some or most
*** of the time for integers alike. Or it may crash your programs. A better
*** solution would be to add support for your system's calling convention.
***
*** See DynaLib.pm for a discussion of hack30.
***
Writing conv.xsi
Writing cbfunc.c
Warning: Convert::Binary::C not installed. PerlTypes not generated.
Generating a Unix-style Makefile
Writing Makefile for C::DynaLib
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Test::Simple 0 ... Yes (1.302083)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Checking if you have Test::More 0 ... Yes (1.302083)
Checking if you have Test 0 ... Yes (1.26)
Checking if you have Convert::Binary::C 0.7 ... Yes (0.78)
OK
Building and testing C-DynaLib-0.60 ... cp lib/C/DynaLib/Struct.pm blib/lib/C/DynaLib/Struct.pm
cp lib/C/DynaLib/PerlTypes.pm blib/lib/C/DynaLib/PerlTypes.pm
cp lib/C/DynaLib.pm blib/lib/C/DynaLib.pm
Running Mkbootstrap for DynaLib ()
chmod 644 "DynaLib.bs"
"/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- DynaLib.bs blib/arch/auto/C/DynaLib/DynaLib.bs 644
"/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/ExtUtils/xsubpp" -typemap '/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/ExtUtils/typemap' DynaLib.xs > DynaLib.xsc
mv DynaLib.xsc DynaLib.c
cc -c -I. -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC "-I/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE" -DDYNALIB_DECL=\"hack30\" -DDYNALIB_DEFAULT_CONV=\"hack30\" -DDYNALIB_NUM_CALLBACKS=4 -DDYNALIB_USE_hack30 DynaLib.c
In file included from /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/perl.h:3913:0,
from DynaLib.xs:7:
DynaLib.xs: In function cb_call_sub:
DynaLib.xs:99:67: error: na undeclared (first use in this function)
config = (cb_entry *) SvPV(*av_fetch(cb_av_config, index, 0), na);
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/sv.h:1654:10: note: in definition of macro SvPV_flags
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^~
DynaLib.xs:99:27: note: in expansion of macro SvPV
config = (cb_entry *) SvPV(*av_fetch(cb_av_config, index, 0), na);
^~~~
DynaLib.xs:99:67: note: each undeclared identifier is reported only once for each function it appears in
config = (cb_entry *) SvPV(*av_fetch(cb_av_config, index, 0), na);
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/sv.h:1654:10: note: in definition of macro SvPV_flags
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^~
DynaLib.xs:99:27: note: in expansion of macro SvPV
config = (cb_entry *) SvPV(*av_fetch(cb_av_config, index, 0), na);
^~~~
In file included from /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/perl.h:5589:0,
from DynaLib.xs:7:
DynaLib.xs:107:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
XPUSHs(sv_2mortal(newSViv((IV) (int) first)));
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/pp.h:428:55: note: in definition of macro XPUSHs
#define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
^
DynaLib.xs:107:13: note: in expansion of macro sv_2mortal
XPUSHs(sv_2mortal(newSViv((IV) (int) first)));
^~~~~~~~~~
DynaLib.xs:107:24: note: in expansion of macro newSViv
XPUSHs(sv_2mortal(newSViv((IV) (int) first)));
^~~~~~~
DynaLib.xs:110:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
XPUSHs(sv_2mortal(newSViv((IV) (I32) first)));
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/pp.h:428:55: note: in definition of macro XPUSHs
#define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
^
DynaLib.xs:110:13: note: in expansion of macro sv_2mortal
XPUSHs(sv_2mortal(newSViv((IV) (I32) first)));
^~~~~~~~~~
DynaLib.xs:110:24: note: in expansion of macro newSViv
XPUSHs(sv_2mortal(newSViv((IV) (I32) first)));
^~~~~~~
DynaLib.xs:238:9: error: in_eval undeclared (first use in this function)
if (in_eval) {
^~~~~~~
In file included from /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/perl.h:3913:0,
from DynaLib.xs:7:
DynaLib.xs:251:12: error: errgv undeclared (first use in this function)
SvPV(GvSV(errgv), old_err_len);
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/sv.h:335:22: note: in definition of macro SvFLAGS
#define SvFLAGS(sv) (sv)->sv_flags
^~
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/sv.h:1653:6: note: in expansion of macro SvPOK_nog
(SvPOK_nog(sv) \
^~~~~~~~~
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/sv.h:1648:30: note: in expansion of macro SvPV_flags
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^~~~~~~~~~
DynaLib.xs:251:2: note: in expansion of macro SvPV
SvPV(GvSV(errgv), old_err_len);
^~~~
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/gv.h:96:19: note: in expansion of macro GvGP
#define GvSV(gv) (GvGP(gv)->gp_sv)
^~~~
DynaLib.xs:251:7: note: in expansion of macro GvSV
SvPV(GvSV(errgv), old_err_len);
^~~~
In file included from /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/perl.h:5644:0,
from DynaLib.xs:7:
./conv.xsi: In function XS_C__DynaLib_hack30_call_packed:
./conv.xsi:72:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
sv_setpv(sv, (char *) hack30_CALL(symref, char_p));
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/embed.h:678:46: note: in definition of macro sv_setpv
#define sv_setpv(a,b) Perl_sv_setpv(aTHX_ a,b)
^
./conv.xsi:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
sv_setpvn(sv, (unsigned char *) hack30_CALL(symref, char_p),
^
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux/CORE/embed.h:691:49: note: in definition of macro sv_setpvn
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
Makefile:340: recipe for target 'DynaLib.o' failed
make: *** [DynaLib.o] Error 1
! Installing C::DynaLib::Struct failed. See /home/ryan/.cpanm/work/1493653676.2003/build.log for details. Retry with --force to force install it.
FAIL
Command [cpanm --reinstall --verbose C::DynaLib::Struct] terminated with exit code 1 ($? = 256) under the following perl environment:
Command terminated with non-zero status.
Current perl:
Name: perl-blead
Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl
Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin
Compiled at: Mar 30 2017 03:10:09
perlbrew:
version: 0.78
ENV:
PERLBREW_ROOT: /home/ryan/perl5/perlbrew
PERLBREW_HOME: /home/ryan/.perlbrew
PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin
PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man