Subject: | cpanm error output on fedora 22 |
cpanm refuses in install Devel::STrace
Would you like to configure as much as possible automatically? [yes] ^C
[root@localhost ~]# cpanm Devel::STrace
--> Working on Devel::STrace
Fetching http://www.cpan.org/authors/id/D/DA/DARNOLD/Devel-STrace-0.31.tar.gz ... OK
Configuring Devel-STrace-0.31 ... OK
==> Found dependencies: IPC::Mmap, Devel::RingBuffer
--> Working on IPC::Mmap
Fetching http://www.cpan.org/authors/id/A/AD/ADUITSIS/IPC-Mmap-0.21.tar.gz ... OK
Configuring IPC-Mmap-0.21 ... OK
Building and testing IPC-Mmap-0.21 ... OK
Successfully installed IPC-Mmap-0.21
--> Working on Devel::RingBuffer
Fetching http://www.cpan.org/authors/id/D/DA/DARNOLD/Devel-RingBuffer-0.31.tar.gz ... OK
Configuring Devel-RingBuffer-0.31 ... OK
Building and testing Devel-RingBuffer-0.31 ... FAIL
! Installing Devel::RingBuffer failed. See /root/.cpanm/work/1437860231.11076/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Devel::RingBuffer' is not installed
! Bailing out the installation for Devel-STrace-0.31.
1 distribution installed
[root@localhost ~]# dnf install 'perl(Devel::RingBuffer)';
Last metadata expiration check performed 0:01:08 ago on Sun Jul 26 07:36:56 2015.
No package perl(Devel::RingBuffer) available.
Error: no package matched: perl(Devel::RingBuffer)
[root@localhost ~]# vim /root/.cpanm/work/1437860231.11076/build.log
[root@localhost ~]# cat /root/.cpanm/work/1437860231.11076/build.log
cpanm (App::cpanminus) 1.7031 on perl 5.020002 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1437860231.11076
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::STrace on cpanmetadb ...
--> Working on Devel::STrace
Fetching http://www.cpan.org/authors/id/D/DA/DARNOLD/Devel-STrace-0.31.tar.gz
-> OK
Unpacking Devel-STrace-0.31.tar.gz
Entering Devel-STrace-0.31
META.yml/json not found. Creating skeleton for it.
Configuring Devel-STrace-0.31
Running Makefile.PL
Warning: prerequisite Devel::RingBuffer 0.31 not found.
Warning: prerequisite IPC::Mmap 0.11 not found.
Configuring Devel::STrace...
Checking for IPC::Mmap, 0.11 or later ...
You don't have the IPC::Mmap package version 0.11 or later, installed.
Checking for Devel::RingBuffer, 0.31 or later ...
You don't have the Devel::RingBuffer package version 0.31 or later, installed.
Missing modules are available from CPAN (search.cpan.org).
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::STrace
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have IPC::Mmap 0.11 ... No
Checking if you have Devel::RingBuffer 0.31 ... No
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
==> Found dependencies: IPC::Mmap, Devel::RingBuffer
Searching IPC::Mmap on cpanmetadb ...
--> Working on IPC::Mmap
Fetching http://www.cpan.org/authors/id/A/AD/ADUITSIS/IPC-Mmap-0.21.tar.gz
-> OK
Unpacking IPC-Mmap-0.21.tar.gz
Entering IPC-Mmap-0.21
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring IPC-Mmap-0.21
Running Makefile.PL
Configuring IPC::Mmap...
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for IPC::Mmap
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Building and testing IPC-Mmap-0.21
cp lib/IPC/Mmap/POSIX.pm blib/lib/IPC/Mmap/POSIX.pm
cp lib/IPC/Mmap.pm blib/lib/IPC/Mmap.pm
cp lib/IPC/Mmap/Win32.pm blib/lib/IPC/Mmap/Win32.pm
Running Mkbootstrap for IPC::Mmap ()
chmod 644 "Mmap.bs"
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "typemap" Mmap.xs > Mmap.xsc && mv Mmap.xsc Mmap.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.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" Mmap.c
rm -f blib/arch/auto/IPC/Mmap/Mmap.so
gcc -shared -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 -Wl,-z,relro -L/usr/local/lib Mmap.o -o blib/arch/auto/IPC/Mmap/Mmap.so \
-lperl \
chmod 755 blib/arch/auto/IPC/Mmap/Mmap.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Mmap.bs blib/arch/auto/IPC/Mmap/Mmap.bs 644
Running Mkbootstrap for IPC::Mmap ()
chmod 644 "Mmap.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01mmap.t ......... ok
t/02multithread.t .. ok
t/03multiproc.t .... ok
All tests successful.
Files=3, Tests=47, 4 wallclock secs ( 0.01 usr 0.00 sys + 0.09 cusr 0.01 csys = 0.11 CPU)
Result: PASS
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib64/perl5/auto/IPC/Mmap/Mmap.so
Installing /usr/local/lib64/perl5/IPC/Mmap.pm
Installing /usr/local/lib64/perl5/IPC/Mmap/POSIX.pm
Installing /usr/local/lib64/perl5/IPC/Mmap/Win32.pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
-> OK
Successfully installed IPC-Mmap-0.21
Installing /usr/local/share/perl5/x86_64-linux-thread-multi/.meta/IPC-Mmap-0.21/install.json
Installing /usr/local/share/perl5/x86_64-linux-thread-multi/.meta/IPC-Mmap-0.21/MYMETA.json
Searching Devel::RingBuffer on cpanmetadb ...
--> Working on Devel::RingBuffer
Fetching http://www.cpan.org/authors/id/D/DA/DARNOLD/Devel-RingBuffer-0.31.tar.gz
-> OK
Unpacking Devel-RingBuffer-0.31.tar.gz
Entering Devel-RingBuffer-0.31
META.yml/json not found. Creating skeleton for it.
Configuring Devel-RingBuffer-0.31
Running Makefile.PL
Configuring Devel::RingBuffer...
Checking for IPC::Mmap, 0.11 or later ... ok
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::RingBuffer
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have IPC::Mmap 0.11 ... Yes (0.21)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Building and testing Devel-RingBuffer-0.31
cp lib/Devel/RingBuffer/Ring.pm blib/lib/Devel/RingBuffer/Ring.pm
cp lib/Devel/RingBuffer.pm blib/lib/Devel/RingBuffer.pm
cp lib/Devel/RingBuffer/Ring.pod blib/lib/Devel/RingBuffer/Ring.pod
cp lib/Devel/RingBuffer/ThreadFacade.pm blib/lib/Devel/RingBuffer/ThreadFacade.pm
cp lib/Devel/RingBuffer.pod blib/lib/Devel/RingBuffer.pod
Running Mkbootstrap for Devel::RingBuffer ()
chmod 644 "RingBuffer.bs"
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" RingBuffer.xs > RingBuffer.xsc && mv RingBuffer.xsc RingBuffer.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.31\" -DXS_VERSION=\"0.31\" -fPIC "-I/usr/lib64/perl5/CORE" RingBuffer.c
RingBuffer.c: In function ‘XS_Devel__RingBuffer__Ring__init_ring’:
RingBuffer.xs:244:12: warning: unused variable ‘slotsaddr’ [-Wunused-variable]
UV slotsaddr = tmp + sizeof(ring_header_t) + ringbuf->msgarea_sz;
^
RingBuffer.c: In function ‘XS_Devel__RingBuffer__Ring__check_for_cmd_msg’:
RingBuffer.xs:583:7: warning: unused variable ‘msglen’ [-Wunused-variable]
int msglen = ring->hdr.msglen;
^
rm -f blib/arch/auto/Devel/RingBuffer/RingBuffer.so
gcc -shared -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 -Wl,-z,relro -L/usr/local/lib RingBuffer.o -o blib/arch/auto/Devel/RingBuffer/RingBuffer.so \
-lperl \
chmod 755 blib/arch/auto/Devel/RingBuffer/RingBuffer.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RingBuffer.bs blib/arch/auto/Devel/RingBuffer/RingBuffer.bs 644
Manifying 2 pod documents
Running Mkbootstrap for Devel::RingBuffer ()
chmod 644 "RingBuffer.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Perl exited with active threads:
0 running and unjoined
1 finished and unjoined
0 running and detached
t/01basic.t ........ ok
t/02multithread.t .. ok
t/03multiproc.t ....
Failed 3/5 subtests
Unexpected update 12345, 1437860258.02167, this is the 1 slot of the 0 ring
t/04mtmp.t .........
Failed 3/5 subtests
Test Summary Report
-------------------
t/03multiproc.t (Wstat: 0 Tests: 5 Failed: 3)
Failed tests: 3-5
t/04mtmp.t (Wstat: 0 Tests: 5 Failed: 3)
Failed tests: 3-5
Files=4, Tests=36, 3 wallclock secs ( 0.02 usr 0.00 sys + 0.40 cusr 0.07 csys = 0.49 CPU)
Result: FAIL
Failed 2/4 test programs. 6/36 subtests failed.
Makefile:1016: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing Devel::RingBuffer failed. See /root/.cpanm/work/1437860231.11076/build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'Devel::RingBuffer' is not installed
-> FAIL Bailing out the installation for Devel-STrace-0.31.
1 distribution installed