SOAP-Lite-1.14 `make test` errors - perl

Using 64-bit Cygwin v2.0.4(0.287/5/3), I manually downloaded SOAP-Lite-1.14 from CPAN and then ran perl Makefile.PL, make, and then make test. (I did not remove the t folder first). However, the make test finds errors in the .pm files.
$ perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for SOAP::Lite
Writing MYMETA.yml and MYMETA.json
$ make
Skip blib/lib/SOAP/Packager.pm (unchanged)
Skip blib/lib/SOAP/Header.pod (unchanged)
Skip blib/lib/SOAP/Client.pod (unchanged)
Skip blib/lib/SOAP/Constants.pm (unchanged)
Skip blib/lib/SOAP/Transport/LOOPBACK.pm (unchanged)
Skip blib/lib/SOAP/Lite/Packager.pm (unchanged)
Skip blib/lib/SOAP/SOM.pod (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchema1999.pm (unchanged)
Skip blib/lib/SOAP/Transport/MAILTO.pm (unchanged)
Skip blib/lib/SOAP/Transport.pod (unchanged)
Skip blib/lib/SOAP/Test.pm (unchanged)
Skip blib/lib/SOAP/Schema.pod (unchanged)
Skip blib/lib/Apache/SOAP.pm (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchema2001.pm (unchanged)
Skip blib/lib/SOAP/Trace.pod (unchanged)
Skip blib/lib/SOAP/Transport/POP3.pm (unchanged)
Skip blib/lib/SOAP/Deserializer.pod (unchanged)
Skip blib/lib/SOAP/Server.pod (unchanged)
Skip blib/lib/SOAP/Data.pod (unchanged)
Skip blib/lib/SOAP/Transport/TCP.pm (unchanged)
Skip blib/lib/SOAP/Utils.pod (unchanged)
Skip blib/lib/SOAP/Transport/IO.pm (unchanged)
Skip blib/lib/SOAP/Transport/HTTP.pm (unchanged)
Skip blib/lib/SOAP/Serializer.pod (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm (unchanged)
Skip blib/lib/SOAP/Lite/Utils.pm (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.pm (unchanged)
Skip blib/lib/SOAP/Transport/LOCAL.pm (unchanged)
Skip blib/lib/SOAP/Lite.pm (unchanged)
Skip blib/lib/SOAP/Fault.pod (unchanged)
cp bin/SOAPsh.pl blib/script/SOAPsh.pl
"/usr/bin/perl.exe" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/SOAPsh.pl
cp bin/stubmaker.pl blib/script/stubmaker.pl
"/usr/bin/perl.exe" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/stubmaker.pl
Manifying 2 pod documents
Manifying 21 pod documents
$ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Issues/*.t t/SOAP/*.t t/SOAP/Lite/*.t t/SOAP/Lite/Deserializer/*.t t/SOAP/Schema/*.t t/SOAP/Transport/*.t t/SOAP/Transport/HTTP/*.t
t/01-core.t .................................. ok
t/010-serializer.t ........................... ok
t/012-cloneable.t ............................ ok
t/013-array-deserialization.t ................ ok
t/014_UNIVERSAL_use.t ........................ ok
t/015_UNIVERSAL_can.t ........................ ok
t/02-payload.t ............................... ok
t/03-server.t ................................ ok
t/04-attach-cid-encoded.t .................... ok
t/04-attach.t ................................ ok
t/05-customxml.t ............................. ok
t/06-modules.t ............................... ok
t/08-schema.t ................................ ok
t/11-cgi.t ................................... skipped: 200 Assumed OK
t/12-cgi_https.t ............................. skipped: 500 Can't connect to localhost:443
t/13-mod_perl.t .............................. skipped: 200 Assumed OK
t/14-cgi_apache.t ............................ skipped: 200 Assumed OK
t/15-daemon.t ................................ skipped: 200 Assumed OK
t/17-mod_soap.t .............................. skipped: 200 Assumed OK
t/19-apachesoap.t ............................ skipped: 500 Can't connect to localhost:8080
t/21-public.t ................................ skipped: 500 Can't connect to services.xmethods.net:80
t/22-interop_apache.t ........................ skipped: 500 Can't connect to nagoya.apache.org:5049
t/23-ppm.t ................................... skipped: ActiveState's ppmserver.pl server seems to be broken - skipping tests
t/24-wsdl.t .................................. skipped: 500 Can't connect to services.xmethods.net:80
t/36-leaks.t ................................. ok
t/38-packager.t .............................. ok
t/40-loopback.t .............................. ok
t/Issues/rt15176.t ........................... ok
t/Issues/rt53375.t ........................... ok
t/Issues/rt70329.t ........................... ok
t/Issues/rt70381.t ........................... skipped: This is a performance test. Set PROFILE_PERFORMANCE env var to a true value to run
t/Issues/rt72836.t ........................... ok
t/Issues/rt74029.t ........................... skipped: not fixed yet
t/Issues/rt74308.t ........................... Use of uninitialized value $_[0] in pattern match (m//) at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value $input_name in string eq at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 3193.
Use of uninitialized value $input_name in string eq at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 3193.
t/Issues/rt74308.t ........................... ok
t/Issues/rt75169.t ........................... ok
t/Issues/rt78588.t ........................... ok
t/Issues/rt88915.t ........................... ok
t/release-kwalitee.t ......................... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ....................... skipped: these tests are for release candidate testing
t/SOAP/Data.t ................................ ok
t/SOAP/Lite/Deserializer/XMLSchema1999.t ..... ok
t/SOAP/Lite/Deserializer/XMLSchema2001.t ..... ok
t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t .. ok
t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t .. ok
t/SOAP/Lite/Packager.t ....................... ok
t/SOAP/Schema/WSDL.t ......................... ok
t/SOAP/Serializer.t .......................... ok
t/SOAP/Transport/HTTP.t ...................... ok
t/SOAP/Transport/HTTP/CGI.t .................. Illegal field name '!A:' at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Transport/HTTP.pm line 607.
Use of uninitialized value $error[0] in join or string at /usr/lib/perl5/vendor_perl/5.14/Carp.pm line 455.
at t/SOAP/Transport/HTTP/CGI.t line 52.
# Looks like your test exited with 255 before it could output anything.
t/SOAP/Transport/HTTP/CGI.t .................. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/SOAP/Transport/IO.t ........................ ok
t/SOAP/Transport/LOCAL.t ..................... ok
t/SOAP/Transport/LOOPBACK.t .................. ok
t/SOAP/Transport/MAILTO.t .................... ok
t/SOAP/Transport/POP3.t ...................... ok
t/SOAP/Transport/TCP.t ....................... ok
Test Summary Report
-------------------
t/SOAP/Transport/HTTP/CGI.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=55, Tests=903, 21 wallclock secs ( 0.14 usr 0.09 sys + 5.48 cusr 4.58 csys = 10.29 CPU)
Result: FAIL
Failed 1/55 test programs. 0/903 subtests failed.
Makefile:1044: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
$ perl -V
Summary of my perl5 (revision 5 version 14 subversion 4) configuration:
Platform:
osname=cygwin, osvers=1.7.35(0.28653), archname=cygwin-thread-multi
uname='cygwin_nt-6.3 cygwin 1.7.35(0.28653) 2015-02-16 13:03 x86_64 cygwin '
config_args='-d -e -Dprefix=/usr -Dmksymlinks -Dusethreads -Darchname=x86_64-cygwin-threads -Dlibperl=cygperl5_14.dll -Dcc=gcc -Dld=g++ -Accflags=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.14.4-3 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3 -fwrapv'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.14.4-3 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3 -fwrapv -fno-strict-aliasing -fstack-protector',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.14.4-3 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3 -fwrapv -fno-strict-aliasing -fstack-protector'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
perllibs=-ldl -lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_14.dll
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
rurban/0c612ce82 Fix building static extensions on cygwin, -UUSEIMPORTLIB
perl.cygwin_autorebase Rebase DLL after building (skip for cygport builds)
v5.14.0-RC2-6-gfc6f691 skip testing cygwin utf8 readdir() with Win32 ANSI API
v5.14.0-RC2-7-g3877b86 Fix test 50 on cygwin: \WINDOWS
v5.14.0-RC2-10-gd22b5bd revert +x global.sym from 3691eaa79cc6a
v5.15.0-579-g8375c93 Export store_cop_label for the perl compiler
v5.15.3-232-g1bac5ec sv.c: S_anonymise_cv_maybe UTF8 cleanup.
v5.15.7-75-g803e389 CYG17 utf8 paths
v5.15.7-302-g5bc802d Revise perlcygwin.pod for cygwin-1.7
v5.15.7-303-g286f819 add Cygwin::sync_winenv [perl #110190]
v5.19.8-494-g6cc44f6 avoid a "FILE" name conflict with cygwin's wchar.h
v5.19.8-496-g3383030 [perl #120936] op/taint.t handling of no ipcsysv on cygwin
v5.19.8-509-g288d0d9 cygwin doesn't implement $^E (except as a read of $!)
v5.21.4-548-g860874c wrap the failing call_checker test in an eval and TODO it
Built under cygwin
Compiled at Feb 17 2015 21:41:24
#INC:
/usr/lib/perl5/site_perl/5.14/x86_64-cygwin-threads
/usr/lib/perl5/site_perl/5.14
/usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads
/usr/lib/perl5/vendor_perl/5.14
/usr/lib/perl5/5.14/x86_64-cygwin-threads
/usr/lib/perl5/5.14
.

Related

find correct version of Perl library function List::Util

MaxMind GeoIP was working on Mojave, called from Perl.
I tried to upgrade my macOS installation from Perl 5.26 to 5.30.
Used MacPorts to install and activate 5.30, and then
used CPAN to install Perl modules.
Several ports got errors trying to install. I had to force them.
GeoIP2::Database::Reader (2.006002)
MaxMind::DB::Reader (1.000014)
NetAddr::IP (4.079)
Tried it out and it failed because a Perl module was down-rev.
[thvv lib]$ ipcity
Could not find a suitable MaxMind::DB::Reader implementation: List::Util version 1.56 required--this is only version 1.5 at /opt/local/lib/perl5/site_perl/5.30/List/AllUtils.pm line 8.
In CPAN I tried to install List::Util. It says version 1.56 is already installed.
cpan[4]> i List::Util
Module id = List::Util
CPAN_USERID PEVANS (Paul Evans <leonerd#leonerd.org.uk>)
CPAN_VERSION 1.56
CPAN_FILE P/PE/PEVANS/Scalar-List-Utils-1.56.tar.gz
MANPAGE List::Util - A selection of general-utility list subroutines
INST_FILE /opt/local/lib/perl5/site_perl/5.30/darwin-thread-multi-2level/List/Util.pm
INST_VERSION 1.56
my environment all points to Perl version 5.30
perl --version
This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level
env | grep 5.30
PERL5LIB=/Users/thvv/bin:/opt/local/lib/perl5/5.30
PERL_MB_OPT=--install_base "/opt/local/lib/perl5/5.30"
PERL_LOCAL_LIB_ROOT=/opt/local/lib/perl5/5.30
PERL_MM_OPT=INSTALL_BASE=/opt/local/lib/perl5/5.30
How can I get List::AllUtils to find the version of List::Util that is installed?
(Friday 23 July 2021) Added info as requested:
[thvv lib]$ head -1 ~/bin/ipcity
#!/usr/local/bin/perl -I/usr/home/thvv/bin
-- (tried it without the -I clause and got the same output)
[thvv bin]$ perl -MList::Util=999 -e1
List::Util version 999 required--this is only version 1.5 at /opt/local/lib/perl5/5.30/Exporter/Heavy.pm line 125.
BEGIN failed--compilation aborted.
--- looking in my file system for the module
[thvv bin]$ ls -l /opt/local/lib/perl5/5.30//darwin-thread-multi-2level/List/
total 16
-r--r--r--+ 1 root admin 21126 Jul 1 06:52 Util.pm
drwxr-xr-x+ 3 root admin 96 Jul 18 12:05 Util/
[thvv bin]$ ls -l /opt/local/lib/perl5/5.30//darwin-thread-multi-2level/List/Util
total 0
-r--r--r--+ 1 root admin 1018 Jul 1 06:52 XS.pm
--- I also invoked cpan and did a 'force install List::Util'
Running install for module 'List::Util'
Fetching with LWP:
http://www.cpan.org/authors/id/P/PE/PEVANS/CHECKSUMS
Checksum for /var/root/.cpan/sources/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.56.tar.gz ok
Scanning cache /var/root/.cpan/build for sizes
............................................................................DONE
Configuring P/PE/PEVANS/Scalar-List-Utils-1.56.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for List::Util
Writing MYMETA.yml and MYMETA.json
PEVANS/Scalar-List-Utils-1.56.tar.gz
/opt/local/bin/perl5.30 Makefile.PL -- OK
Running make for P/PE/PEVANS/Scalar-List-Utils-1.56.tar.gz
cp lib/Sub/Util.pm blib/lib/Sub/Util.pm
cp lib/List/Util.pm blib/lib/List/Util.pm
cp lib/List/Util/XS.pm blib/lib/List/Util/XS.pm
cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm
Running Mkbootstrap for Util ()
chmod 644 "Util.bs"
"/opt/local/bin/perl5.30" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644
"/opt/local/bin/perl5.30" "/opt/local/lib/perl5/5.30/ExtUtils/xsubpp" -typemap '/opt/local/lib/perl5/5.30/ExtUtils/typemap' ListUtil.xs > ListUtil.xsc
mv ListUtil.xsc ListUtil.c
/usr/bin/cc -c -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.56\" -DXS_VERSION=\"1.56\" "-I/opt/local/lib/perl5/5.30/darwin-thread-multi-2level/CORE" -DPERL_EXT -DUSE_PPPORT_H ListUtil.c
rm -f blib/arch/auto/List/Util/Util.bundle
/usr/bin/cc -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector-strong ListUtil.o -o blib/arch/auto/List/Util/Util.bundle \
\
chmod 755 blib/arch/auto/List/Util/Util.bundle
Manifying 4 pod documents
PEVANS/Scalar-List-Utils-1.56.tar.gz
/usr/bin/make -- OK
Running make test for PEVANS/Scalar-List-Utils-1.56.tar.gz
"/opt/local/bin/perl5.30" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644
PERL_DL_NONLAZY=1 "/opt/local/bin/perl5.30" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00version.t ......... ok
t/any-all.t ........... ok
t/blessed.t ........... ok
t/dualvar.t ........... ok
t/exotic_names.t ...... ok
t/first.t ............. ok
t/getmagic-once.t ..... ok
t/head-tail.t ......... ok
t/isvstring.t ......... ok
t/lln.t ............... ok
t/max.t ............... ok
t/maxstr.t ............ ok
t/mesh.t .............. ok
t/min.t ............... ok
t/minstr.t ............ ok
t/openhan.t ........... ok
t/pair.t .............. ok
t/product.t ........... ok
t/prototype.t ......... ok
t/readonly.t .......... ok
t/reduce.t ............ ok
t/reductions.t ........ ok
t/refaddr.t ........... ok
t/reftype.t ........... ok
t/rt-96343.t .......... ok
t/sample.t ............ ok
t/scalarutil-proto.t .. ok
t/shuffle.t ........... ok
t/stack-corruption.t .. ok
t/subname.t ........... ok
t/sum.t ............... ok
t/sum0.t .............. ok
t/tainted.t ........... ok
t/uniq.t .............. ok
t/uniqnum.t ........... ok
t/weak.t .............. ok
t/zip.t ............... ok
All tests successful.
Files=37, Tests=2144, 4 wallclock secs ( 0.24 usr 0.10 sys + 2.88 cusr 0.42 csys = 3.64 CPU)
Result: PASS
Lockfile removed.
PEVANS/Scalar-List-Utils-1.56.tar.gz
/usr/bin/make test -- OK
Running make install for PEVANS/Scalar-List-Utils-1.56.tar.gz
"/opt/local/bin/perl5.30" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644
Manifying 4 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Appending installation info to /opt/local/lib/perl5/5.30/darwin-thread-multi-2level/perllocal.pod
PEVANS/Scalar-List-Utils-1.56.tar.gz
/usr/bin/make install -- OK
(23 July 2021, more)
[thvv bin]$ which perl
/opt/local/bin/perl
[thvv bin]$ ls -l /opt/local/bin/perl
lrwxr-xr-x 1 root wheel 8 Jul 21 12:28 /opt/local/bin/perl# -> perl5.30
[thvv bin]$ file `which perl`
/opt/local/bin/perl: Mach-O 64-bit executable x86_64
(12:59 EDT 23 July 2021) tried looking at /opt/local/lib/perl5/5.30//darwin-thread-multi-2level/List/Util/XS.pm
this seems to be where the 1.5 comes from.
force installed it, no change
package List::Util::XS;
use strict;
use warnings;
use List::Util;
our $VERSION = "1.50"; # FIXUP
$VERSION = eval $VERSION; # FIXUP
1;
[snipped pod]
I tried editing /opt/local/lib/perl5/site_perl/5.30/List/AllUtils.pm to change 1.50 to 1.56. restarted the machine for luck. still fails at List/AllUtils.pm line 8, saying the current version is 1.50.
(24 Jul 2021 08:13 EDT) as requested by #ikegami
[thvv#Uly2 ~]$ echo 'o conf' | cpan | grep 'make\|mbuild'; set | grep ^PERL
make [/usr/bin/make]
make_arg []
make_install_arg []
make_install_make_command [sudo /usr/bin/make]
makepl_arg []
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [sudo ./Build]
mbuildpl_arg []
PERL5LIB=/Users/thvv/bin:/opt/local/lib/perl5/5.30
PERL_LOCAL_LIB_ROOT=/opt/local/lib/perl5/5.30
PERL_MB_OPT='--install_base "/opt/local/lib/perl5/5.30"'
PERL_MM_OPT=INSTALL_BASE=/opt/local/lib/perl5/5.30
ok, I deleted Perl 5.30, installed 5.34, reloaded my Perl Modules.
It still fails.
Could not find a suitable MaxMind::DB::Reader implementation: List::Util version 1.56 required--this is only version 1.55 at /opt/local/lib/perl5/site_perl/5.34/List/AllUtils.pm line 8.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.34/List/AllUtils.pm line 8.
The "use" line that failed in List::AllUtils looked for List::Util version 1.56. The .pm file for List::Util is in
/opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level/List/Util.pm
and calls
XSLoader::load('List::Util', $XS_VERSION)
with version 1.56. That in turn tries to invoke
/opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level/auto/List/Util/Util.bundle
which is a Mac binary file. It appears that XSLoader has not loaded the binary version of List::Util.
Aha. I see that /opt/local/lib/perl5/5.34 and /opt/local/lib/perl5/site_perl/5.34 are different directories with different contents. The files I loaded with CPAN went into site_perl/5.34. But List::Util is in 5.34.
Only one program had substantive code changes between the two directories.
So, on the Mac, should I change /opt/local/lib/perl5/site_perl/5.34/ to be a symlink to /opt/local/lib/perl5/5.34/ ?
ipcity uses /usr/local/bin/perl, which is a symlink to /opt/local/bin/perl. This is the first perl found in the path. Should we check the shebang of cpan, we'd find the same perl referenced (as evidenced by the output of the installation attempt). It's possible you have more than one installation of Perl, but there's one only involved here. Therefore, te issue isn't one of installing List::Util for the wrong perl.
Loading List::Util loads version reveals a version 1.5 was loaded. Yet version 1.56 was installed. This means the module was installed in a non-standard location, but perl wasn't told to look at that location.
Your environment informs module installers ExtUtils::MakeMaker and Module::Build to install modules under /opt/local/lib/perl5/5.30. Specifically, it informs the installers to install the .pm file in /opt/local/lib/perl5/5.30/lib/perl5 (or the corresponding arch dir), but perl is not told to look in this directory; it is told to look in /opt/local/lib/perl5/5.30. This is wrong, and the crux of the problem.
Fix PERL5LIB.
That said, it doesn't make sense to set PERL_MB_OPT
and PERL_MM_OPT when using a perl in /opt. The default installation paths of your perl you should already be sensible. You can see what they are using
perl -V:'.*inst.*'
Finally, if PERL_MB_OPT
and PERL_MM_OPT aren't set, it doesn't make sense to set PERL5LIB or PERL_LOCAL_LIB_ROOT either.
I suspect you should unset all four of those variables.

HTML-Parser distribution installing issue

I'm trying to install LWP::Simple, which has HTML-Parser as a dependency.
I was looking if my problem with the installation the HTML-Parser distribution module was resolved on any other posts but (at first glance) it seems to be nothing similar.
Here are the error messages that I got:
cpan[1]> install LWP::Simple
Reading '/home/valentinignacio/.cpan/Metadata'
Database was generated on Mon, 22 Mar 2021 00:17:03 GMT
Running install for module 'LWP::Simple'
Checksum for /home/valentinignacio/.cpan/sources/authors/id/O/OA/OALDERS/libwww-perl-6.53.tar.gz ok
Scanning cache /home/valentinignacio/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring O/OA/OALDERS/libwww-perl-6.53.tar.gz with Makefile.PL
HTTP::Status already exists in PREREQ_PM (at version 6.07) -- need to do a sane metamerge! at Makefile.PL line 159.
HTTP::Status already exists in FallbackPrereqs (at version 6.07) -- need to do a sane metamerge! at Makefile.PL line 162.
Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::Entities 0 not found.
Warning: prerequisite HTML::HeadParser 0 not found.
Generating a Unix-style Makefile
Writing Makefile for libwww::perl
Writing MYMETA.yml and MYMETA.json
OALDERS/libwww-perl-6.53.tar.gz
/home/valentinignacio/miniconda3/bin/perl Makefile.PL -- OK
Running make for O/OA/OALDERS/libwww-perl-6.53.tar.gz
---- Unsatisfied dependencies detected during ----
---- OALDERS/libwww-perl-6.53.tar.gz ----
HTML::Entities [requires]
HTML::HeadParser [requires]
Test::LeakTrace [build_requires,optional]
Running install for module 'HTML::Entities'
Checksum for /home/valentinignacio/.cpan/sources/authors/id/O/OA/OALDERS/HTML-Parser-3.76.tar.gz ok
Configuring O/OA/OALDERS/HTML-Parser-3.76.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::Parser
Writing MYMETA.yml and MYMETA.json
OALDERS/HTML-Parser-3.76.tar.gz
/home/valentinignacio/miniconda3/bin/perl Makefile.PL -- OK
Running make for O/OA/OALDERS/HTML-Parser-3.76.tar.gz
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
cp lib/HTML/Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
Running Mkbootstrap for Parser ()
chmod 644 "Parser.bs"
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Parser.bs blib/arch/auto/HTML/Parser/Parser.bs 644
"/home/valentinignacio/miniconda3/bin/perl" "/home/valentinignacio/miniconda3/lib/5.32.0/ExtUtils/xsubpp" -typemap '/home/valentinignacio/miniconda3/lib/5.32.0/ExtUtils/typemap' -typemap '/home/valentinignacio/.cpan/build/HTML-Parser-3.76-4/typemap' Parser.xs > Parser.xsc
mv Parser.xsc Parser.c
/home/valentinignacio/miniconda3/bin/..//bin/x86_64-conda-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE --sysroot=/home/valentinignacio/miniconda3/bin/..//x86_64-conda-linux-gnu/sysroot -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"3.76\" -DXS_VERSION=\"3.76\" -fPIC --sysroot=/home/valentinignacio/miniconda3/bin/..//x86_64-conda-linux-gnu/sysroot "-I/home/valentinignacio/miniconda3/lib/5.32.0/x86_64-linux-thread-multi/CORE" -DMARKED_SECTION Parser.c
/bin/sh: 1: /home/valentinignacio/miniconda3/bin/..//bin/x86_64-conda-linux-gnu-gcc: not found
make: *** [Makefile:358: Parser.o] Error 127
OALDERS/HTML-Parser-3.76.tar.gz
/usr/bin/make -- NOT OK
[continues]
This ultimately leads to a failure to install LWP::Simple.
[continued from above]
Running install for module 'HTML::HeadParser'
OALDERS/HTML-Parser-3.76.tar.gz
Has already been unwrapped into directory /home/valentinignacio/.cpan/build/HTML-Parser-3.76-4
OALDERS/HTML-Parser-3.76.tar.gz
Has already been prepared
OALDERS/HTML-Parser-3.76.tar.gz
Could not make: Unknown error
OALDERS/libwww-perl-6.53.tar.gz
Has already been unwrapped into directory /home/valentinignacio/.cpan/build/libwww-perl-6.53-4
OALDERS/libwww-perl-6.53.tar.gz
Has already been prepared
Running make for O/OA/OALDERS/libwww-perl-6.53.tar.gz
Warning: Prerequisite 'HTML::Entities => 0' for 'OALDERS/libwww-perl-6.53.tar.gz' failed when processing 'OALDERS/HTML-Parser-3.76.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'HTML::HeadParser => 0' for 'OALDERS/libwww-perl-6.53.tar.gz' failed when processing 'OALDERS/HTML-Parser-3.76.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
---- Unsatisfied dependencies detected during ----
---- OALDERS/libwww-perl-6.53.tar.gz ----
Test::LeakTrace [build_requires,optional]
cp lib/LWP/Protocol/nntp.pm blib/lib/LWP/Protocol/nntp.pm
cp lib/LWP/Protocol/nogo.pm blib/lib/LWP/Protocol/nogo.pm
cp lib/LWP/RobotUA.pm blib/lib/LWP/RobotUA.pm
cp lib/LWP/Debug.pm blib/lib/LWP/Debug.pm
cp lib/LWP/DebugFile.pm blib/lib/LWP/DebugFile.pm
cp lib/LWP/UserAgent.pm blib/lib/LWP/UserAgent.pm
cp lib/LWP/Protocol.pm blib/lib/LWP/Protocol.pm
cp lib/LWP/Protocol/ftp.pm blib/lib/LWP/Protocol/ftp.pm
cp lib/LWP/Authen/Digest.pm blib/lib/LWP/Authen/Digest.pm
cp lib/LWP/Debug/TraceHTTP.pm blib/lib/LWP/Debug/TraceHTTP.pm
cp lib/LWP/Protocol/cpan.pm blib/lib/LWP/Protocol/cpan.pm
cp lib/LWP/Simple.pm blib/lib/LWP/Simple.pm
cp lwpcook.pod blib/lib/libwww/lwpcook.pod
cp lib/LWP/Authen/Ntlm.pm blib/lib/LWP/Authen/Ntlm.pm
cp lib/LWP/Protocol/loopback.pm blib/lib/LWP/Protocol/loopback.pm
cp lib/LWP/Protocol/gopher.pm blib/lib/LWP/Protocol/gopher.pm
cp lib/LWP/ConnCache.pm blib/lib/LWP/ConnCache.pm
cp lib/LWP/Protocol/data.pm blib/lib/LWP/Protocol/data.pm
cp lwptut.pod blib/lib/libwww/lwptut.pod
cp lib/LWP/Protocol/file.pm blib/lib/LWP/Protocol/file.pm
cp lib/LWP/Authen/Basic.pm blib/lib/LWP/Authen/Basic.pm
cp lib/LWP/MemberMixin.pm blib/lib/LWP/MemberMixin.pm
cp lib/LWP.pm blib/lib/LWP.pm
cp lib/LWP/Protocol/mailto.pm blib/lib/LWP/Protocol/mailto.pm
cp lib/LWP/Protocol/http.pm blib/lib/LWP/Protocol/http.pm
cp bin/lwp-download blib/script/lwp-download
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-download
cp bin/lwp-dump blib/script/lwp-dump
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-dump
cp bin/lwp-mirror blib/script/lwp-mirror
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-mirror
cp bin/lwp-request blib/script/lwp-request
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-request
Manifying 4 pod documents
Manifying 11 pod documents
OALDERS/libwww-perl-6.53.tar.gz
/usr/bin/make -- OK
The current configuration of allow_installing_outdated_dists is 'ask/no', but for this option we would need 'CPAN::DistnameInfo' installed. Please install 'CPAN::DistnameInfo' as soon as possible. As long as we are not equipped with 'CPAN::DistnameInfo' this option does not take effect
Running make test for OALDERS/libwww-perl-6.53.tar.gz
PERL_DL_NONLAZY=1 "/home/valentinignacio/miniconda3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t
t/00-report-prereqs.t .......... #
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
# Module Want Have
# ------------------------ -------- --------
# CPAN::Meta::Requirements 2.120620 2.140
# ExtUtils::MakeMaker any 7.44
# File::Copy any 2.34
# Getopt::Long any 2.51
# Module::Metadata any 1.000037
#
# === Build Requires ===
#
# Module Want Have
# ------------------- ---- ----
# ExtUtils::MakeMaker any 7.44
#
# === Test Requires ===
#
# Module Want Have
# ---------------------- ---- --------
# ExtUtils::MakeMaker any 7.44
# File::Spec any 3.78
# FindBin any 1.51
# HTTP::Daemon 6.12 6.12
# Test::Fatal any 0.016
# Test::More 0.96 1.302175
# Test::Needs any 0.002006
# Test::RequiresInternet any 0.05
#
# === Test Recommends ===
#
# Module Want Have
# --------------- -------- --------
# CPAN::Meta 2.120900 2.150010
# Test::LeakTrace any missing
#
# === Runtime Requires ===
#
# Module Want Have
# --------------------- ---- -------
# Digest::MD5 any 2.55_01
# Encode 2.12 3.06
# Encode::Locale any 1.05
# File::Listing 6 6.14
# HTML::Entities any missing
# HTML::HeadParser any missing
# HTTP::Cookies 6 6.10
# HTTP::Date 6 6.05
# HTTP::Negotiate 6 6.01
# HTTP::Request 6 6.29
# HTTP::Request::Common 6 6.29
# HTTP::Response 6 6.29
# HTTP::Status 6.18 6.29
# IO::Select any 1.42
# IO::Socket any 1.43
# LWP::MediaTypes 6 6.04
# MIME::Base64 2.1 3.15
# Net::FTP 2.58 3.11
# Net::HTTP 6.18 6.21
# Scalar::Util any 1.55
# Try::Tiny any 0.30
# URI 1.10 5.09
# URI::Escape any 5.09
# WWW::RobotRules 6 6.02
# base any 2.27
# strict any 1.11
# warnings any 1.47
#
# === Runtime Suggests ===
#
# Module Want Have
# -------------------- ---- -------
# Authen::NTLM 1.02 missing
# Data::Dump 1.13 missing
# IO::Socket::INET any 1.41
# LWP::Protocol::https 6.02 missing
#
#
# *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
t/00-report-prereqs.t .......... 1/1 #
# The following REQUIRED prerequisites were not satisfied:
#
# HTML::Entities is not installed (any version required)
# HTML::HeadParser is not installed (any version required)
#
t/00-report-prereqs.t .......... ok
t/10-attrs.t ................... ok
t/base/default_content_type.t .. # Some tests for the PUT/PATCH methods can only be run on
# HTTP::Request version 6.07/6.12 or higher.
# If your version isn't good enough, we'll skip those.
# Your version is 6.29 and that's good enough
t/base/default_content_type.t .. ok
t/base/protocols.t ............. ok
t/base/protocols/nntp.t ........ skipped: nntp.perl.org is unstable and Test::RequiresInternet is not catching it
t/base/proxy.t ................. ok
t/base/simple.t ................ ok
t/base/ua.t .................... 1/?
# Failed test '$res->header("Content-Style-Type", "text/css")'
# at t/base/ua.t line 122.
# Failed test '$res->header("Content-Script-Type", "text/javascript")'
# at t/base/ua.t line 123.
# Looks like you failed 2 tests of 51.
t/base/ua.t .................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/51 subtests
t/base/ua_handlers.t ........... ok
t/leak/no_leak.t ............... skipped: Need Test::LeakTrace
t/local/autoload-get.t ......... 1/4
# Failed test 'Response was successful'
# at t/local/autoload-get.t line 26.
# Looks like you failed 1 test of 4.
t/local/autoload-get.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/local/autoload.t ............. 1/4
# Failed test 'Response was successful'
# at t/local/autoload.t line 29.
# <html>
# <head><title>An Error Occurred</title></head>
# <body>
# <h1>An Error Occurred</h1>
# <p>500 Can't locate HTML/Entities.pm in #INC (you may need to install the HTML::Entities module) (#INC contains: /home/valentinignacio/.cpan/build/libwww-perl-6.53-4/blib/lib /home/valentinignacio/.cpan/build/libwww-perl-6.53-4/blib/arch /home/valentinignacio/miniconda3/lib/site_perl/5.32.0/x86_64-linux-thread-multi /home/valentinignacio/miniconda3/lib/site_perl/5.32.0 /home/valentinignacio/miniconda3/lib/5.32.0/x86_64-linux-thread-multi /home/valentinignacio/miniconda3/lib/5.32.0 .)</p>
# </body>
# </html>
# Looks like you failed 1 test of 4.
t/local/autoload.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/local/get.t .................. ok
t/local/http.t ................. 1/130
# Failed test 'get file: good title'
# at t/local/http.t line 178.
# got: undef
# expected: 'En pr�ve'
# Failed test 'get file: good content'
# at t/local/http.t line 179.
# ''
# doesn't match '(?^u:� v�re)'
# Failed test 'terminate: bye bye'
# at t/local/http.t line 438.
# ''
# doesn't match '(?^:Bye, bye)'
# Looks like you failed 3 tests of 130.
t/local/http.t ................. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/130 subtests
t/local/httpsub.t .............. ok
t/local/protosub.t ............. ok
t/redirect.t ................... ok
t/robot/ua-get.t ............... ok
t/robot/ua.t ................... ok
Test Summary Report
-------------------
t/base/ua.t (Wstat: 512 Tests: 51 Failed: 2)
Failed tests: 20-21
Non-zero exit status: 2
t/local/autoload-get.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
t/local/autoload.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
t/local/http.t (Wstat: 768 Tests: 130 Failed: 3)
Failed tests: 37-38, 129
Non-zero exit status: 3
Files=19, Tests=269, 17 wallclock secs ( 0.06 usr 0.03 sys + 1.64 cusr 0.20 csys = 1.93 CPU)
Result: FAIL
Failed 4/19 test programs. 7/269 subtests failed.
make: *** [Makefile:1029: test_dynamic] Error 255
Lockfile removed.
OALDERS/libwww-perl-6.53.tar.gz
2 dependencies missing (HTML::Entities,HTML::HeadParser); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports OALDERS/libwww-perl-6.53.tar.gz
Running install for module 'Test::LeakTrace'
Checksum for /home/valentinignacio/.cpan/sources/authors/id/L/LE/LEEJO/Test-LeakTrace-0.17.tar.gz ok
Configuring L/LE/LEEJO/Test-LeakTrace-0.17.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::LeakTrace
Writing MYMETA.yml and MYMETA.json
LEEJO/Test-LeakTrace-0.17.tar.gz
/home/valentinignacio/miniconda3/bin/perl Makefile.PL -- OK
Running make for L/LE/LEEJO/Test-LeakTrace-0.17.tar.gz
cp lib/Test/LeakTrace/JA.pod blib/lib/Test/LeakTrace/JA.pod
cp lib/Test/LeakTrace.pm blib/lib/Test/LeakTrace.pm
cp lib/Test/LeakTrace/Script.pm blib/lib/Test/LeakTrace/Script.pm
Running Mkbootstrap for LeakTrace ()
chmod 644 "LeakTrace.bs"
"/home/valentinignacio/miniconda3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LeakTrace.bs blib/arch/auto/Test/LeakTrace/LeakTrace.bs 644
"/home/valentinignacio/miniconda3/bin/perl" "/home/valentinignacio/miniconda3/lib/5.32.0/ExtUtils/xsubpp" -typemap '/home/valentinignacio/miniconda3/lib/5.32.0/ExtUtils/typemap' LeakTrace.xs > LeakTrace.xsc
mv LeakTrace.xsc LeakTrace.c
/home/valentinignacio/miniconda3/bin/..//bin/x86_64-conda-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE --sysroot=/home/valentinignacio/miniconda3/bin/..//x86_64-conda-linux-gnu/sysroot -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC --sysroot=/home/valentinignacio/miniconda3/bin/..//x86_64-conda-linux-gnu/sysroot "-I/home/valentinignacio/miniconda3/lib/5.32.0/x86_64-linux-thread-multi/CORE" LeakTrace.c
/bin/sh: 1: /home/valentinignacio/miniconda3/bin/..//bin/x86_64-conda-linux-gnu-gcc: not found
make: *** [Makefile:340: LeakTrace.o] Error 127
LEEJO/Test-LeakTrace-0.17.tar.gz
/usr/bin/make -- NOT OK
Running install for module 'Test::LeakTrace'
LEEJO/Test-LeakTrace-0.17.tar.gz
Has already been unwrapped into directory /home/valentinignacio/.cpan/build/Test-LeakTrace-0.17-4
LEEJO/Test-LeakTrace-0.17.tar.gz
Has already been prepared
LEEJO/Test-LeakTrace-0.17.tar.gz
Could not make: Unknown error
Failed during this command:
OALDERS/HTML-Parser-3.76.tar.gz : make NO
OALDERS/libwww-perl-6.53.tar.gz : make_test NO 2 dependencies missing (HTML::Entities,HTML::HeadParser); additionally test harness failed
(optional) LEEJO/Test-LeakTrace-0.17.tar.gz : make NO
What can I do? I Tried to install manually the dependencies (Entities and HeadParser) but I got the next unknown errors for both:
cpan[3]> install HTML::Entities
Running install for module 'HTML::Entities'
OALDERS/HTML-Parser-3.76.tar.gz
Has already been unwrapped into directory /home/valentinignacio/.cpan/build/HTML-Parser-3.76-4
OALDERS/HTML-Parser-3.76.tar.gz
Has already been prepared
OALDERS/HTML-Parser-3.76.tar.gz
Could not make: Unknown error
I'll be so thankful if you can help me with this :)
This is the relevant line:
/bin/sh: 1: /home/valentinignacio/miniconda3/bin/..//bin/x86_64-conda-linux-gnu-gcc: not found
perl was built using a compiler found at /home/valentinignacio/miniconda3/bin/x86_64-conda-linux-gnu-gcc, but it no longer exists at that location.[1] It is needed, so reinstall it.
Once this is rectified, run cpan LWP::Simple again. You may need to run the following command in cpan first:
o conf build_dir_reuse 0
o conf commit
This resets the build_dir_reuse setting back to its default value. The default value of this settings causes the "Has already been unwrapped into directory" and "Has already been prepared" checks to be avoided, forcing a sincere attempt to install the module even if a previous attempt failed.
Ok, technically, you copied the perl installation from another machine (by installing the appropriate package), but didn't copy over gcc (by installing the appropriate package). Potato potahto.

LWP::Simple 6.53 fails to install

I am installing VEP:
perl INSTALL.pl
During the download of cache file, interruption occured at:
downloading ftp://ftp.ensembl.org/pub/release-103/variation/indexed_vep_cache/homo_sapiens_refseq_vep_103_GRCh38.tar.gz
Unable to close datastream at INSTALL.pl line 1240.
curl failed (150), trying to fetch using LWP::Simple
So, I tried to install LWP::Simple via CPAN, but no luck:
nolock_cpan> install LWP::Simple
Running install for module 'LWP::Simple'
Checksum for /home/admin1/.cpan/sources/authors/id/O/OA/OALDERS/libwww-perl-6.53.tar.gz ok
Configuring O/OA/OALDERS/libwww-perl-6.53.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for libwww::perl
Writing MYMETA.yml and MYMETA.json
OALDERS/libwww-perl-6.53.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for O/OA/OALDERS/libwww-perl-6.53.tar.gz
cp lib/LWP/Protocol/cpan.pm blib/lib/LWP/Protocol/cpan.pm
cp lib/LWP/Protocol/loopback.pm blib/lib/LWP/Protocol/loopback.pm
cp lib/LWP/Protocol/gopher.pm blib/lib/LWP/Protocol/gopher.pm
cp lib/LWP/DebugFile.pm blib/lib/LWP/DebugFile.pm
cp lib/LWP/Authen/Ntlm.pm blib/lib/LWP/Authen/Ntlm.pm
cp lib/LWP/UserAgent.pm blib/lib/LWP/UserAgent.pm
cp lib/LWP/Debug/TraceHTTP.pm blib/lib/LWP/Debug/TraceHTTP.pm
cp lib/LWP.pm blib/lib/LWP.pm
cp lib/LWP/Debug.pm blib/lib/LWP/Debug.pm
cp lib/LWP/Protocol/ftp.pm blib/lib/LWP/Protocol/ftp.pm
cp lib/LWP/ConnCache.pm blib/lib/LWP/ConnCache.pm
cp lib/LWP/MemberMixin.pm blib/lib/LWP/MemberMixin.pm
cp lib/LWP/Protocol/data.pm blib/lib/LWP/Protocol/data.pm
cp lib/LWP/Protocol/http.pm blib/lib/LWP/Protocol/http.pm
cp lib/LWP/Authen/Digest.pm blib/lib/LWP/Authen/Digest.pm
cp lwptut.pod blib/lib/libwww/lwptut.pod
cp lib/LWP/Protocol/nntp.pm blib/lib/LWP/Protocol/nntp.pm
cp lib/LWP/Protocol/file.pm blib/lib/LWP/Protocol/file.pm
cp lib/LWP/Protocol/mailto.pm blib/lib/LWP/Protocol/mailto.pm
cp lib/LWP/Protocol.pm blib/lib/LWP/Protocol.pm
cp lwpcook.pod blib/lib/libwww/lwpcook.pod
cp lib/LWP/Protocol/nogo.pm blib/lib/LWP/Protocol/nogo.pm
cp lib/LWP/Simple.pm blib/lib/LWP/Simple.pm
cp lib/LWP/RobotUA.pm blib/lib/LWP/RobotUA.pm
cp lib/LWP/Authen/Basic.pm blib/lib/LWP/Authen/Basic.pm
cp bin/lwp-download blib/script/lwp-download
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-download
cp bin/lwp-dump blib/script/lwp-dump
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-dump
cp bin/lwp-mirror blib/script/lwp-mirror
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-mirror
cp bin/lwp-request blib/script/lwp-request
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-request
Manifying 4 pod documents
Manifying 11 pod documents
OALDERS/libwww-perl-6.53.tar.gz
/usr/bin/make -- OK
Running make test
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/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t
t/00-report-prereqs.t .......... #
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
# Module Want Have
# ------------------------ -------- --------
# CPAN::Meta::Requirements 2.120620 2.140
# ExtUtils::MakeMaker any 7.24
# File::Copy any 2.32
# Getopt::Long any 2.49
# Module::Metadata any 1.000033
#
# === Build Requires ===
#
# Module Want Have
# ------------------- ---- ----
# ExtUtils::MakeMaker any 7.24
#
# === Test Requires ===
#
# Module Want Have
# ---------------------- ---- --------
# ExtUtils::MakeMaker any 7.24
# File::Spec any 3.67
# FindBin any 1.51
# HTTP::Daemon 6.12 6.12
# Test::Fatal any 0.016
# Test::More 0.96 1.302183
# Test::Needs any 0.002006
# Test::RequiresInternet any 0.05
#
# === Test Recommends ===
#
# Module Want Have
# --------------- -------- --------
# CPAN::Meta 2.120900 2.150010
# Test::LeakTrace any 0.17
#
# === Runtime Requires ===
#
# Module Want Have
# --------------------- ---- -------
# Digest::MD5 any 2.55
# Encode 2.12 2.88
# Encode::Locale any 1.05
# File::Listing 6 6.04
# HTML::Entities any 3.69
# HTML::HeadParser any 3.71
# HTTP::Cookies 6 6.04
# HTTP::Date 6 6.02
# HTTP::Negotiate 6 6.00
# HTTP::Request 6 6.14
# HTTP::Request::Common 6 6.14
# HTTP::Response 6 6.14
# HTTP::Status 6.07 6.14
# IO::Select any 1.22
# IO::Socket any 1.38
# LWP::MediaTypes 6 6.02
# MIME::Base64 2.1 3.15
# Net::FTP 2.58 3.10
# Net::HTTP 6.18 6.20
# Scalar::Util any 1.46_02
# Try::Tiny any 0.30
# URI 1.10 1.73
# URI::Escape any 3.31
# WWW::RobotRules 6 6.01
# base any 2.26
# strict any 1.11
# warnings any 1.37
#
# === Runtime Suggests ===
#
# Module Want Have
# -------------------- ---- ----
# Authen::NTLM 1.02 1.09
# Data::Dump 1.13 1.23
# IO::Socket::INET any 1.35
# LWP::Protocol::https 6.02 6.07
#
t/00-report-prereqs.t .......... ok
t/10-attrs.t ................... ok
t/base/default_content_type.t .. # Some tests for the PUT/PATCH methods can only be run on
# HTTP::Request version 6.07/6.12 or higher.
# If your version isn't good enough, we'll skip those.
# Your version is 6.14 and that's good enough
t/base/default_content_type.t .. ok
t/base/protocols.t ............. ok
t/base/protocols/nntp.t ........ skipped: nntp.perl.org is unstable and Test::RequiresInternet is not catching it
t/base/proxy.t ................. ok
t/base/simple.t ................ ok
t/base/ua.t .................... ok
t/base/ua_handlers.t ........... ok
t/leak/no_leak.t ............... ok
t/local/autoload-get.t ......... ok
t/local/autoload.t ............. ok
t/local/get.t .................. ok
t/local/http.t ................. ok
t/local/httpsub.t .............. ok
t/local/protosub.t ............. ok
t/redirect.t ................... 1/?
# Failed test '... and has tells us about the problem'
# at t/redirect.t line 39.
# 'read timeout at /usr/local/share/perl/5.26.1/Net/HTTP/Methods.pm line 268.
# '
# doesn't match '(?^i:Can't connect)'
t/redirect.t ................... 3/?
# Failed test '... and has tells us about the problem'
# at t/redirect.t line 56.
# 'read timeout at /usr/local/share/perl/5.26.1/Net/HTTP/Methods.pm line 268.
# '
# doesn't match '(?^i:Can't connect)'
# Looks like you failed 2 tests of 4.
t/redirect.t ................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/robot/ua-get.t ............... ok
t/robot/ua.t ................... ok
Test Summary Report
-------------------
t/redirect.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 2, 4
Non-zero exit status: 2
Files=19, Tests=270, 17 wallclock secs ( 0.11 usr 0.04 sys + 2.05 cusr 0.30 csys = 2.50 CPU)
Result: FAIL
Failed 1/19 test programs. 2/270 subtests failed.
Makefile:1005: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
OALDERS/libwww-perl-6.53.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports OALDERS/libwww-perl-6.53.tar.gz
Failed during this command:
OALDERS/libwww-perl-6.53.tar.gz : make_test NO
I am using UBUNTU 20.0.4, tried via sudo as well. During the installation of LWP::Simple, some dependencies are missing, e.g., Authen::NTLM which I installed and is available.
This problem has been reported before. See https://github.com/libwww-perl/libwww-perl/issues/370
The workaround suggested in that discussion is to set NO_NETWORK_TESTING to a true value before starting the installation.

XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)

I have tried over and over to make this work.
I've combed this site and others and see many folks have run into this same issue but I just don't see how to resolve it.
I've successfully installed perl 5.20 on this system but am told I need to upgrade to 5.30 for security reasons.
My installation almost couldn't be simpler.
I'm installing perl 5.30.3 on RHEL 4 Nahant.
My Configure looks like this:
./Configure -des -Dprefix=/home/rg8239/perl -Dcc=gcc
The perl works fine. Here's the "perl -V" output:
Summary of my perl5 (revision 5 version 30 subversion 3) configuration:
Platform:
osname=linux
osvers=2.6.9-34.elsmp
archname=x86_64-linux
uname='linux gcp4al16 2.6.9-34.elsmp #1 smp fri feb 24 16:56:28 est 2006 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/home/rg8239/perl -Dcc=gcc'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='gcc'
ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2'
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion=''
gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)'
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='gcc'
ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.3.4.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Jun 18 2020 02:25:18
#INC:
/home/rg8239/perl/lib/site_perl/5.30.3/x86_64-linux
/home/rg8239/perl/lib/site_perl/5.30.3
/home/rg8239/perl/lib/5.30.3/x86_64-linux
/home/rg8239/perl/lib/5.30.3
Now I try to install my first module, List::MoreUtils
It fails with :
XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
Here's the cpan install output (redundant lines and most comments omitted):
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/home/rg8239/.cpan/Metadata'
Database was generated on Fri, 19 Jun 2020 20:17:02 GMT
Running install for module 'List::MoreUtils'
Checksum for /home/rg8239/.cpan/sources/authors/id/R/RE/REHSACK/List-MoreUtils-0.428.tar.gz ok
/bin/tar: Read 6144 bytes from -
'YAML' not installed, will not store persistent state
Configuring R/RE/REHSACK/List-MoreUtils-0.428.tar.gz with Makefile.PL
Checking whether pureperl is required... no
Checking for cc... gcc
Checking for cc... (cached) gcc
Checking whether perlapi is accessible... Warning: prerequisite Exporter::Tiny 0.038 not found.
Warning: prerequisite List::MoreUtils::XS 0.426 not found.
yes
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for List::MoreUtils
Writing MYMETA.yml and MYMETA.json
REHSACK/List-MoreUtils-0.428.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for R/RE/REHSACK/List-MoreUtils-0.428.tar.gz
---- Unsatisfied dependencies detected during ----
---- REHSACK/List-MoreUtils-0.428.tar.gz ----
Exporter::Tiny [requires]
List::MoreUtils::XS [requires]
Test::LeakTrace [build_requires]
Running install for module 'Exporter::Tiny'
Checksum for /home/rg8239/.cpan/sources/authors/id/T/TO/TOBYINK/Exporter-Tiny-1.002002.tar.gz ok
/bin/tar: Read 1536 bytes from -
Configuring T/TO/TOBYINK/Exporter-Tiny-1.002002.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Exporter::Tiny
Writing MYMETA.yml and MYMETA.json
TOBYINK/Exporter-Tiny-1.002002.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for T/TO/TOBYINK/Exporter-Tiny-1.002002.tar.gz
---- Unsatisfied dependencies detected during ----
---- TOBYINK/Exporter-Tiny-1.002002.tar.gz ----
Test::Fatal [build_requires,optional]
Test::Warnings [build_requires,optional]
cp lib/Exporter/Tiny.pm blib/lib/Exporter/Tiny.pm
cp lib/Exporter/Shiny.pm blib/lib/Exporter/Shiny.pm
cp lib/Exporter/Tiny/Manual/Etc.pod blib/lib/Exporter/Tiny/Manual/Etc.pod
cp lib/Exporter/Tiny/Manual/Importing.pod blib/lib/Exporter/Tiny/Manual/Importing.pod
cp lib/Exporter/Tiny/Manual/QuickStart.pod blib/lib/Exporter/Tiny/Manual/QuickStart.pod
cp lib/Exporter/Tiny/Manual/Exporting.pod blib/lib/Exporter/Tiny/Manual/Exporting.pod
Manifying 6 pod documents
TOBYINK/Exporter-Tiny-1.002002.tar.gz
/usr/bin/make -- OK
Running make test for TOBYINK/Exporter-Tiny-1.002002.tar.gz
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Perl 5.030003
t/01basic.t .............. ok
t/02renaming.t ........... ok
t/03generators.t ......... ok
t/04into.t ............... ok
t/05shiny.t .............. ok
t/06notwant.t ............ ok
t/07regexp.t ............. ok
t/08tags.t ............... ok
t/09warnings.t ........... skipped: test requires Test::Warnings and Test::Fatal
t/10no.t ................. ok
t/11noncode.t ............ ok
t/12noncodegenerators.t .. ok
t/13doesntexist.t ........ ok
All tests successful.
Files=13, Tests=64, 1 wallclock secs ( 0.07 usr 0.03 sys + 1.21 cusr 0.20 csys = 1.51 CPU)
Result: PASS
TOBYINK/Exporter-Tiny-1.002002.tar.gz
/usr/bin/make test -- OK
Running make install for TOBYINK/Exporter-Tiny-1.002002.tar.gz
Manifying 6 pod documents
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Shiny.pm
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Tiny.pm
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Tiny/Manual/Exporting.pod
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Tiny/Manual/QuickStart.pod
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Tiny/Manual/Etc.pod
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Exporter/Tiny/Manual/Importing.pod
Installing /home/rg8239/perl/man/man3/Exporter::Tiny::Manual::Exporting.3
Installing /home/rg8239/perl/man/man3/Exporter::Tiny::Manual::Etc.3
Installing /home/rg8239/perl/man/man3/Exporter::Tiny.3
Installing /home/rg8239/perl/man/man3/Exporter::Tiny::Manual::QuickStart.3
Installing /home/rg8239/perl/man/man3/Exporter::Shiny.3
Installing /home/rg8239/perl/man/man3/Exporter::Tiny::Manual::Importing.3
Appending installation info to /home/rg8239/perl/lib/5.30.3/x86_64-linux/perllocal.pod
TOBYINK/Exporter-Tiny-1.002002.tar.gz
/usr/bin/make install -- OK
Running install for module 'Test::Warnings'
Checksum for /home/rg8239/.cpan/sources/authors/id/E/ET/ETHER/Test-Warnings-0.030.tar.gz ok
/bin/tar: Read 2048 bytes from -
Configuring E/ET/ETHER/Test-Warnings-0.030.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::Warnings
Writing MYMETA.yml and MYMETA.json
ETHER/Test-Warnings-0.030.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for E/ET/ETHER/Test-Warnings-0.030.tar.gz
cp lib/Test/Warnings.pm blib/lib/Test/Warnings.pm
Manifying 1 pod document
ETHER/Test-Warnings-0.030.tar.gz
/usr/bin/make -- OK
Running make test for ETHER/Test-Warnings-0.030.tar.gz
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
# REST OF COMMENTS REMOVED FOR BREVITY
#
t/00-report-prereqs.t ................. ok
t/01-basic.t .......................... ok
t/02-done_testing.t ................... ok
t/03-subtest.t ........................ ok
t/04-no-tests.t ....................... ok
t/05-no-end-block.t ................... ok
t/06-skip-all.t ....................... skipped: Need Does::Not::Exist::627351373042078 to continue!
t/07-no_plan.t ........................ ok
t/08-use-if.t ......................... ok
t/09-warnings-contents.t .............. ok
t/10-no-done_testing.t ................ ok
t/11-double-use.t ..................... ok
t/12-no-newline.t ..................... ok
t/13-propagate-warnings.t ............. ok
t/14-propagate-subname.t .............. ok
t/15-propagate-default.t .............. ok
t/16-propagate-ignore.t ............... ok
t/17-propagate-subname-colons.t ....... ok
t/18-propagate-subname-package.t ...... ok
t/19-propagate-nonexistent-subname.t .. ok
t/20-propagate-stub.t ................. ok
t/21-fail-on-warning.t ................ ok
t/22-warnings-bareword.t .............. ok
t/23-report-warnings.t ................ ok
t/zzz-check-breaks.t .................. ok
All tests successful.
Files=25, Tests=81, 4 wallclock secs ( 0.13 usr 0.04 sys + 3.00 cusr 0.53 csys = 3.70 CPU)
Result: PASS
ETHER/Test-Warnings-0.030.tar.gz
/usr/bin/make test -- OK
Running make install for ETHER/Test-Warnings-0.030.tar.gz
Manifying 1 pod document
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Test/Warnings.pm
Installing /home/rg8239/perl/man/man3/Test::Warnings.3
Appending installation info to /home/rg8239/perl/lib/5.30.3/x86_64-linux/perllocal.pod
ETHER/Test-Warnings-0.030.tar.gz
/usr/bin/make install -- OK
Running install for module 'Test::Fatal'
Checksum for /home/rg8239/.cpan/sources/authors/id/R/RJ/RJBS/Test-Fatal-0.014.tar.gz ok
Configuring R/RJ/RJBS/Test-Fatal-0.014.tar.gz with Makefile.PL
Warning: prerequisite Try::Tiny 0.07 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::Fatal
Writing MYMETA.yml and MYMETA.json
RJBS/Test-Fatal-0.014.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for R/RJ/RJBS/Test-Fatal-0.014.tar.gz
---- Unsatisfied dependencies detected during ----
---- RJBS/Test-Fatal-0.014.tar.gz ----
Try::Tiny [requires]
Running install for module 'Try::Tiny'
Checksum for /home/rg8239/.cpan/sources/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz ok
Configuring E/ET/ETHER/Try-Tiny-0.30.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Try::Tiny
Writing MYMETA.yml and MYMETA.json
ETHER/Try-Tiny-0.30.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for E/ET/ETHER/Try-Tiny-0.30.tar.gz
cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm
Manifying 1 pod document
ETHER/Try-Tiny-0.30.tar.gz
/usr/bin/make -- OK
Running make test for ETHER/Try-Tiny-0.30.tar.gz
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
# Module Want Have
# ------------------- ---- ----
# ExtUtils::MakeMaker any 7.34
#
# REST OF COMMENTS REMOVED FOR BREVITY
#
t/00-report-prereqs.t .......... ok
t/basic.t ...................... ok
t/context.t .................... ok
t/erroneous_usage.t ............ ok
t/finally.t .................... ok
t/given_when.t ................. skipped: Tests skipped on perl 5.27.7+, pending resolution of smartmatch changes
t/global_destruction_forked.t .. ok
t/global_destruction_load.t .... skipped: Capture::Tiny 0.12 required
t/named.t ...................... ok
t/when.t ....................... skipped: Tests skipped on perl 5.27.7+, pending resolution of smartmatch changes
t/zzz-check-breaks.t ........... ok
All tests successful.
Files=11, Tests=97, 2 wallclock secs ( 0.06 usr 0.03 sys + 1.43 cusr 0.20 csys = 1.72 CPU)
Result: PASS
ETHER/Try-Tiny-0.30.tar.gz
/usr/bin/make test -- OK
Running make install for ETHER/Try-Tiny-0.30.tar.gz
Manifying 1 pod document
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Try/Tiny.pm
Installing /home/rg8239/perl/man/man3/Try::Tiny.3
Appending installation info to /home/rg8239/perl/lib/5.30.3/x86_64-linux/perllocal.pod
ETHER/Try-Tiny-0.30.tar.gz
/usr/bin/make install -- OK
RJBS/Test-Fatal-0.014.tar.gz
Has already been unwrapped into directory /home/rg8239/.cpan/build/Test-Fatal-0.014-2
RJBS/Test-Fatal-0.014.tar.gz
Has already been prepared
Running make for R/RJ/RJBS/Test-Fatal-0.014.tar.gz
cp lib/Test/Fatal.pm blib/lib/Test/Fatal.pm
Manifying 1 pod document
RJBS/Test-Fatal-0.014.tar.gz
/usr/bin/make -- OK
Running make test for RJBS/Test-Fatal-0.014.tar.gz
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# REST OF COMMENTS REMOVED FOR BREVITY
#
t/00-report-prereqs.t .. ok
t/basic.t .............. ok
t/like-exception.t ..... ok
t/todo.t ............... ok
All tests successful.
Files=4, Tests=16, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.68 cusr 0.10 csys = 0.85 CPU)
Result: PASS
RJBS/Test-Fatal-0.014.tar.gz
/usr/bin/make test -- OK
Running make install for RJBS/Test-Fatal-0.014.tar.gz
Manifying 1 pod document
Installing /home/rg8239/perl/lib/site_perl/5.30.3/Test/Fatal.pm
Installing /home/rg8239/perl/man/man3/Test::Fatal.3
Appending installation info to /home/rg8239/perl/lib/5.30.3/x86_64-linux/perllocal.pod
RJBS/Test-Fatal-0.014.tar.gz
/usr/bin/make install -- OK
Running install for module 'List::MoreUtils::XS'
Checksum for /home/rg8239/.cpan/sources/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.428.tar.gz ok
/bin/tar: Read 7680 bytes from -
Configuring R/RE/REHSACK/List-MoreUtils-XS-0.428.tar.gz with Makefile.PL
Checking whether pureperl is required... no
Checking for cc... gcc
Checking for cc... (cached) gcc
Checking whether perlapi is accessible... yes
Checking for stdlib.h... yes
Checking for stdarg.h... yes
Checking for string.h... yes
Checking for float.h... yes
Checking for assert.h... yes
Checking for ctype.h... yes
Checking for errno.h... yes
Checking for limits.h... yes
Checking for locale.h... yes
Checking for math.h... yes
Checking for setjmp.h... yes
Checking for signal.h... yes
Checking for stddef.h... yes
Checking for stdio.h... yes
Checking for time.h... yes
Checking for sys/types.h... yes
Checking for sys/stat.h... yes
Checking for memory.h... yes
Checking for strings.h... yes
Checking for inttypes.h... yes
Checking for stdint.h... yes
Checking for unistd.h... yes
Checking for time.h... (cached) yes
Checking for sys/time.h... yes
Checking for time... yes
Checking for size_t... yes
Checking for ssize_t... yes
Checking for builtin expect... no
Checking for statement expression feature... no
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for List::MoreUtils::XS
Writing MYMETA.yml and MYMETA.json
REHSACK/List-MoreUtils-XS-0.428.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for R/RE/REHSACK/List-MoreUtils-XS-0.428.tar.gz
---- Unsatisfied dependencies detected during ----
---- REHSACK/List-MoreUtils-XS-0.428.tar.gz ----
Test::LeakTrace [build_requires,optional]
cp lib/List/MoreUtils/XS.pm blib/lib/List/MoreUtils/XS.pm
Running Mkbootstrap for XS ()
chmod 644 "XS.bs"
"/home/rg8239/perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/List/MoreUtils/XS/XS.bs 644
"/home/rg8239/perl/bin/perl" "/home/rg8239/perl/lib/5.30.3/ExtUtils/xsubpp" -typemap '/home/rg8239/perl/lib/5.30.3/ExtUtils/typemap
' XS.xs > XS.xsc
mv XS.xsc XS.c
gcc -c -I. -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.428\" -DX
S_VERSION=\"0.428\" -fPIC "-I/home/rg8239/perl/lib/5.30.3/x86_64-linux/CORE" XS.c
rm -f blib/arch/auto/List/MoreUtils/XS/XS.so
gcc -shared -O2 -L/usr/local/lib XS.o -o blib/arch/auto/List/MoreUtils/XS/XS.so \
\
chmod 755 blib/arch/auto/List/MoreUtils/XS/XS.so
Manifying 1 pod document
REHSACK/List-MoreUtils-XS-0.428.tar.gz
/usr/bin/make -- OK
Running make test for REHSACK/List-MoreUtils-XS-0.428.tar.gz
"/home/rg8239/perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/List/MoreUtils/XS/XS.bs 644
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/xs/*.t xt/*.t
XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
t/xs/after.t ................
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
t/xs/after_incl.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
t/xs/all.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
Test Summary Report
-------------------
t/xs/after.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/xs/after_incl.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/xs/all.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/xs/zip6.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=59, Tests=0, 2 wallclock secs ( 0.21 usr 0.13 sys + 0.90 cusr 0.34 csys = 1.58 CPU)
Result: FAIL
Failed 59/59 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 1
REHSACK/List-MoreUtils-XS-0.428.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports REHSACK/List-MoreUtils-XS-0.428.tar.gz
Running install for module 'Test::LeakTrace'
Checksum for /home/rg8239/.cpan/sources/authors/id/L/LE/LEEJO/Test-LeakTrace-0.16.tar.gz ok
Configuring L/LE/LEEJO/Test-LeakTrace-0.16.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::LeakTrace
Writing MYMETA.yml and MYMETA.json
LEEJO/Test-LeakTrace-0.16.tar.gz
/home/rg8239/perl/bin/perl Makefile.PL -- OK
Running make for L/LE/LEEJO/Test-LeakTrace-0.16.tar.gz
cp lib/Test/LeakTrace/Script.pm blib/lib/Test/LeakTrace/Script.pm
cp lib/Test/LeakTrace.pm blib/lib/Test/LeakTrace.pm
cp lib/Test/LeakTrace/JA.pod blib/lib/Test/LeakTrace/JA.pod
Running Mkbootstrap for LeakTrace ()
chmod 644 "LeakTrace.bs"
"/home/rg8239/perl/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- LeakTrace.bs blib/arch/auto/Test/LeakTrace/LeakTrac
e.bs 644
"/home/rg8239/perl/bin/perl" "-Iinc" "/home/rg8239/perl/lib/5.30.3/ExtUtils/xsubpp" -typemap '/home/rg8239/perl/lib/5.30.3/ExtUtils
/typemap' LeakTrace.xs > LeakTrace.xsc
mv LeakTrace.xsc LeakTrace.c
gcc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.16\" -DXS_VE
RSION=\"0.16\" -fPIC "-I/home/rg8239/perl/lib/5.30.3/x86_64-linux/CORE" LeakTrace.c
rm -f blib/arch/auto/Test/LeakTrace/LeakTrace.so
gcc -shared -O2 -L/usr/local/lib LeakTrace.o -o blib/arch/auto/Test/LeakTrace/LeakTrace.so \
\
chmod 755 blib/arch/auto/Test/LeakTrace/LeakTrace.so
Manifying 3 pod documents
LEEJO/Test-LeakTrace-0.16.tar.gz
/usr/bin/make -- OK
Running make test for LEEJO/Test-LeakTrace-0.16.tar.gz
"/home/rg8239/perl/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- LeakTrace.bs blib/arch/auto/Test/LeakTrace/LeakTrac
e.bs 644
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Testing Test::LeakTrace/0.16
t/00_compile.t ..... ok
t/01_info.t ........ ok
t/02_refs.t ........ ok
t/03_count.t ....... ok
t/04_test_funcs.t .. ok
t/05_script.t ...... ok
t/06_threads.t ..... skipped: require threads
t/07_eval.t ........ ok
t/08_leaktrace.t ... ok
t/09_info_more.t ... ok
t/10_bad_use.t ..... ok
t/11_logfp.t ....... ok
t/12_padstale.t .... ok
t/13_do.t .......... ok
All tests successful.
Files=14, Tests=126, 3 wallclock secs ( 0.10 usr 0.04 sys + 2.10 cusr 0.33 csys = 2.57 CPU)
Result: PASS
LEEJO/Test-LeakTrace-0.16.tar.gz
/usr/bin/make test -- OK
Running make install for LEEJO/Test-LeakTrace-0.16.tar.gz
"/home/rg8239/perl/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- LeakTrace.bs blib/arch/auto/Test/LeakTrace/LeakTrac
e.bs 644
Manifying 3 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/rg8239/perl/lib/site_perl/5.30.3/x86_64-linux/auto/Test/LeakTrace/LeakTrace.so
Installing /home/rg8239/perl/lib/site_perl/5.30.3/x86_64-linux/Test/LeakTrace.pm
Installing /home/rg8239/perl/lib/site_perl/5.30.3/x86_64-linux/Test/LeakTrace/Script.pm
Installing /home/rg8239/perl/lib/site_perl/5.30.3/x86_64-linux/Test/LeakTrace/JA.pod
Installing /home/rg8239/perl/man/man3/Test::LeakTrace.3
Installing /home/rg8239/perl/man/man3/Test::LeakTrace::Script.3
Installing /home/rg8239/perl/man/man3/Test::LeakTrace::JA.3
Appending installation info to /home/rg8239/perl/lib/5.30.3/x86_64-linux/perllocal.pod
LEEJO/Test-LeakTrace-0.16.tar.gz
/usr/bin/make install -- OK
REHSACK/List-MoreUtils-0.428.tar.gz
Has already been unwrapped into directory /home/rg8239/.cpan/build/List-MoreUtils-0.428-4
REHSACK/List-MoreUtils-0.428.tar.gz
Has already been prepared
Running make for R/RE/REHSACK/List-MoreUtils-0.428.tar.gz
Warning: Prerequisite 'List::MoreUtils::XS => 0.426' for 'REHSACK/List-MoreUtils-0.428.tar.gz' failed when processing 'REHSACK/List-
MoreUtils-XS-0.428.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
cp lib/List/MoreUtils.pm blib/lib/List/MoreUtils.pm
cp lib/List/MoreUtils/PP.pm blib/lib/List/MoreUtils/PP.pm
cp lib/List/MoreUtils/Contributing.pod blib/lib/List/MoreUtils/Contributing.pod
Manifying 3 pod documents
REHSACK/List-MoreUtils-0.428.tar.gz
/usr/bin/make -- OK
Running make test for REHSACK/List-MoreUtils-0.428.tar.gz
PERL_DL_NONLAZY=1 "/home/rg8239/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tes
t_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/pureperl/*.t t/xs/*.t xt/*.t
t/pureperl/after.t ................ ok
t/pureperl/after_incl.t ........... ok
t/pureperl/all.t .................. ok
t/pureperl/all_u.t ................ ok
t/pureperl/any.t .................. ok
t/pureperl/any_u.t ................ ok
t/pureperl/apply.t ................ ok
t/pureperl/arrayify.t ............. ok
t/pureperl/before.t ............... ok
t/pureperl/before_incl.t .......... ok
t/pureperl/binsert.t .............. ok
t/pureperl/bremove.t .............. ok
t/pureperl/bsearch.t .............. ok
t/pureperl/bsearchidx.t ........... ok
t/pureperl/duplicates.t ........... ok
t/pureperl/each_array.t ........... ok
t/pureperl/equal_range.t .......... ok
t/pureperl/false.t ................ ok
t/pureperl/firstidx.t ............. ok
t/pureperl/firstres.t ............. ok
t/pureperl/firstval.t ............. ok
t/pureperl/frequency.t ............ ok
t/pureperl/Import.t ............... ok
t/pureperl/indexes.t .............. ok
t/pureperl/insert_after.t ......... ok
t/pureperl/insert_after_string.t .. ok
t/pureperl/lastidx.t .............. ok
t/pureperl/lastres.t .............. ok
t/pureperl/lastval.t .............. ok
t/pureperl/listcmp.t .............. ok
t/pureperl/lower_bound.t .......... ok
t/pureperl/mesh.t ................. ok
t/pureperl/minmax.t ............... ok
t/pureperl/minmaxstr.t ............ ok
t/pureperl/mode.t ................. ok
t/pureperl/natatime.t ............. ok
t/pureperl/none.t ................. ok
t/pureperl/none_u.t ............... ok
t/pureperl/notall.t ............... ok
t/pureperl/notall_u.t ............. ok
t/pureperl/occurrences.t .......... ok
t/pureperl/one.t .................. ok
t/pureperl/one_u.t ................ ok
t/pureperl/onlyidx.t .............. ok
t/pureperl/onlyres.t .............. ok
t/pureperl/onlyval.t .............. ok
t/pureperl/pairwise.t ............. ok
t/pureperl/part.t ................. ok
t/pureperl/qsort.t ................ skipped: It's insane to use a pure-perl qsort
t/pureperl/reduce_0.t ............. ok
t/pureperl/reduce_1.t ............. ok
t/pureperl/reduce_u.t ............. ok
t/pureperl/samples.t .............. ok
t/pureperl/singleton.t ............ ok
t/pureperl/true.t ................. ok
t/pureperl/uniq.t ................. ok
t/pureperl/upper_bound.t .......... ok
t/pureperl/XS.t ................... ok
t/pureperl/zip6.t ................. ok
Can't locate List/MoreUtils/XS.pm in #INC (you may need to install the List::MoreUtils::XS module) (#INC contains: /home/rg8239/.cpan/build/List-MoreUtils-0.428-4/blib/lib /home/rg8239/.cpan/build/List-MoreUtils-0.428-4/blib/arch /home/rg8239/perl/lib/site_perl/5.
30.3/x86_64-linux /home/rg8239/perl/lib/site_perl/5.30.3 /home/rg8239/perl/lib/5.30.3/x86_64-linux /home/rg8239/perl/lib/5.30.3 .) a
t /home/rg8239/.cpan/build/List-MoreUtils-0.428-4/blib/lib/List/MoreUtils.pm line 14.
BEGIN failed--compilation aborted at /home/rg8239/.cpan/build/List-MoreUtils-0.428-4/blib/lib/List/MoreUtils.pm line 20.
Compilation failed in require at t/xs/after.t line 7.
BEGIN failed--compilation aborted at t/xs/after.t line 7.
t/xs/after.t ......................
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
I really need some expert guidance here!
Thanks very much, Rick

build perl module Proc::ProcessTable with perl of 5.16.1 and faild in the phase of "make test"

I am building the Proc::ProcessTable with perl of 5.16.1
make's output:
Skip blib/lib/Proc/ProcessTable.pm (unchanged)
Skip blib/lib/Proc/Killall.pm (unchanged)
Skip blib/lib/Proc/example.pl (unchanged)
Skip blib/lib/Proc/Killfam.pm (unchanged)
gmake[1]: Entering directory `/jxu/tmp/Proc-ProcessTable-0.45/Process'
Skip ../blib/lib/Proc/ProcessTable/Process.pm (unchanged)
Manifying ../blib/man3/Proc::ProcessTable::Process.3
gmake[1]: Leaving directory `/jxu/tmp/Proc-ProcessTable-0.45/Process'
gcc -c -D_REENTRANT -fno-strict-aliasing -pipe -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC "-I/opt/VRTSperl/lib/5.16.1/i86pc-solaris-thread-multi/CORE" -DPROC_FS ProcessTable.c
gcc -c -D_REENTRANT -fno-strict-aliasing -pipe -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC "-I/opt/VRTSperl/lib/5.16.1/i86pc-solaris-thread-multi/CORE" -DPROC_FS OS.c
Running Mkbootstrap for Proc::ProcessTable ()
chmod 644 ProcessTable.bs
rm -f blib/arch/auto/Proc/ProcessTable/ProcessTable.so
gcc -G -L/usr/local/lib OS.o ProcessTable.o -o blib/arch/auto/Proc/ProcessTable/ProcessTable.so \
\
chmod 755 blib/arch/auto/Proc/ProcessTable/ProcessTable.so
cp ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTable.bs
chmod 644 blib/arch/auto/Proc/ProcessTable/ProcessTable.bs
Manifying blib/man3/Proc::Killall.3
Manifying blib/man3/Proc::ProcessTable.3
Manifying blib/man3/Proc::Killfam.3
It seems ok.
make test's output:
gmake[1]: Entering directory `/jxu/tmp/Proc-ProcessTable-0.45/Process'
gmake[1]: Leaving directory `/jxu/tmp/Proc-ProcessTable-0.45/Process'
PERL_DL_NONLAZY=1 /opt/VRTSperl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/process.t .. Not a CODE reference at /opt/VRTSperl/lib/5.16.1/i86pc-solaris-thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /jxu/tmp/Proc-ProcessTable-0.45/blib/lib/Proc/ProcessTable.pm line 213.
Compilation failed in require at t/process.t line 9.
BEGIN failed--compilation aborted at t/process.t line 9.
t/process.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Test Summary Report
-------------------
t/process.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.04 cusr 0.00 csys = 0.08 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Thank you !
This is not a full answer.
The error is "Not a CODE reference" reported at DynaLoader.pm line 213:
boot:
my $xs = dl_install_xsub("${module}::bootstrap", $boot_symbol_ref, $file);
# See comment block above
push(#dl_shared_objects, $file); # record files loaded
&$xs(#args); # <- line 213
This means whatever was returned by dl_install_xsub is not a coderef. More specifically, it can't be undef, a number, or a string because those would result in different error messages. Therefore $xs contains some other type of reference at that point.
dl_install_xsub (part of DynaLoader) is a thin wrapper around newXS_flags (part of perl). newXS_flags returns a CV * (perl type: pointer to "code value"). And at this point I'm stumped because I have no idea how this could possibly result in a non-coderef.
Possible avenues for further investigation: Use the perl debugger to put a breakpoint in DynaLoader.pm line 213 and check what's actually in $xs, then work backwards.