Subject: | attempting to install Devel::Optrace use cpanm on fedora 22 |
[root@computi-work ~]# cat /root/.cpanm/work/1437980595.12132/build.log
cpanm (App::cpanminus) 1.7031 on perl 5.020002 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1437980595.12132
You have make /bin/make
You have LWP 6.13
You have /bin/tar: tar (GNU tar) 1.28
Copyright (C) 2014 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 /bin/unzip
Searching Devel::Optrace on cpanmetadb ...
--> Working on Devel::Optrace
Fetching http://www.cpan.org/authors/id/G/GF/GFUJI/Devel-Optrace-0.05.tar.gz
-> OK
Unpacking Devel-Optrace-0.05.tar.gz
Entering Devel-Optrace-0.05
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (7.04)
Configuring Devel-Optrace-0.04
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::Optrace
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::ParseXS 0 ... Yes (3.24)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (7.04)
Checking if you have Test::More 0.62 ... Yes (1.001014)
Building and testing Devel-Optrace-0.04
cp lib/Devel/Optrace.pm blib/lib/Devel/Optrace.pm
Running Mkbootstrap for Devel::Optrace ()
chmod 644 "Optrace.bs"
"/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" Optrace.xs > Optrace.xsc && mv Optrace.xsc Optrace.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" Optrace.c
In file included from /usr/lib64/perl5/CORE/perl.h:3341:0,
from Optrace.xs:3:
Optrace.xs: In function ‘do_debpadname’:
/usr/lib64/perl5/CORE/cv.h:64:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
#define CvPADLIST(sv) ((XPVCV*)MUTABLE_PTR(SvANY(sv)))->xcv_padlist
^
Optrace.xs:491:31: note: in expansion of macro ‘CvPADLIST’
AV* const padlist = CvPADLIST(cv);
^
Optrace.xs: In function ‘do_optrace’:
Optrace.xs:573:17: error: ‘OPpCONST_WARNING’ undeclared (first use in this function)
Private(OPpCONST_WARNING, " WARNING");
^
Optrace.xs:536:55: note: in definition of macro ‘Private’
#define Private(flag, name) STMT_START{ if(private & (flag)){ debs(name); } } STMT_END
^
Optrace.xs:573:17: note: each undeclared identifier is reported only once for each function it appears in
Private(OPpCONST_WARNING, " WARNING");
^
Optrace.xs:536:55: note: in definition of macro ‘Private’
#define Private(flag, name) STMT_START{ if(private & (flag)){ debs(name); } } STMT_END
^
Makefile:337: recipe for target 'Optrace.o' failed
make: *** [Optrace.o] Error 1
-> FAIL Installing Devel::Optrace failed. See /root/.cpanm/work/1437980595.12132/build.log for details. Retry with --force to force install it.