Skip to content

failed on compilation #23

@junglon

Description

@junglon

cpanel 104.0.4 on Centos 7.9

Got error like this when compiling

`perl -MNet::XMPP -MMozilla::CA -e 'exit 0;' || sudo cpan -i Net::XMPP Mozilla::CA
perl -MIO::Socket::INET -MIO::Socket::SSL -e 'exit 0;' || sudo cpan -i IO::Socket::INET IO::Socket::SSL
perl -MWWW::Telegram::BotAPI -e 'exit 0;' || sudo cpan -i WWW::Telegram::BotAPI
Can't locate WWW/Telegram/BotAPI.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
CPAN: Storable loaded ok (v2.45)
Reading '/home/.cpan/Metadata'
Database was generated on Fri, 10 Jun 2022 18:29:03 GMT
Running install for module 'WWW::Telegram::BotAPI'
Running make for R/RO/ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
CPAN: Compress::Zlib loaded ok (v2.061)
Checksum for /home/.cpan/sources/authors/id/R/RO/ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.92)
WWW-Telegram-BotAPI-0.12/
WWW-Telegram-BotAPI-0.12/INSTALL.SKIP
WWW-Telegram-BotAPI-0.12/META.json
WWW-Telegram-BotAPI-0.12/gen_doc
WWW-Telegram-BotAPI-0.12/META.yml
WWW-Telegram-BotAPI-0.12/Changes
WWW-Telegram-BotAPI-0.12/README.md
WWW-Telegram-BotAPI-0.12/MANIFEST.SKIP
WWW-Telegram-BotAPI-0.12/lib/
WWW-Telegram-BotAPI-0.12/lib/WWW/
WWW-Telegram-BotAPI-0.12/lib/WWW/Telegram/
WWW-Telegram-BotAPI-0.12/lib/WWW/Telegram/BotAPI.pm
WWW-Telegram-BotAPI-0.12/LICENSE
WWW-Telegram-BotAPI-0.12/t/
WWW-Telegram-BotAPI-0.12/t/02-exceptions.t
WWW-Telegram-BotAPI-0.12/t/00-basic.t
WWW-Telegram-BotAPI-0.12/t/01-api-requests.t
WWW-Telegram-BotAPI-0.12/t/pod.t
WWW-Telegram-BotAPI-0.12/MANIFEST
WWW-Telegram-BotAPI-0.12/Makefile.PL
CPAN: File::Temp loaded ok (v0.2301)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.76_02)

CPAN.pm: Building R/RO/ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite LWP::Protocol::https 0 not found.
Writing Makefile for WWW::Telegram::BotAPI
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz ----
LWP::Protocol::https [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'LWP::Protocol::https'
Running make for O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz
Checksum for /home/.cpan/sources/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz ok
LWP-Protocol-https-6.10/
LWP-Protocol-https-6.10/perltidyrc
LWP-Protocol-https-6.10/perlcriticrc
LWP-Protocol-https-6.10/cpanfile
LWP-Protocol-https-6.10/Install
LWP-Protocol-https-6.10/Changes
LWP-Protocol-https-6.10/MANIFEST
LWP-Protocol-https-6.10/LICENSE
LWP-Protocol-https-6.10/t/
LWP-Protocol-https-6.10/xt/
LWP-Protocol-https-6.10/META.yml
LWP-Protocol-https-6.10/META.json
LWP-Protocol-https-6.10/CONTRIBUTING.md
LWP-Protocol-https-6.10/tidyall.ini
LWP-Protocol-https-6.10/lib/
LWP-Protocol-https-6.10/Makefile.PL
LWP-Protocol-https-6.10/dist.ini
LWP-Protocol-https-6.10/lib/LWP/
LWP-Protocol-https-6.10/lib/LWP/Protocol/
LWP-Protocol-https-6.10/lib/LWP/Protocol/https.pm
LWP-Protocol-https-6.10/xt/author/
LWP-Protocol-https-6.10/xt/release/
LWP-Protocol-https-6.10/xt/release/changes_has_content.t
LWP-Protocol-https-6.10/xt/author/mojibake.t
LWP-Protocol-https-6.10/xt/author/kwalitee.t
LWP-Protocol-https-6.10/xt/author/minimum-version.t
LWP-Protocol-https-6.10/xt/author/test-version.t
LWP-Protocol-https-6.10/xt/author/00-compile.t
LWP-Protocol-https-6.10/xt/author/eol.t
LWP-Protocol-https-6.10/xt/author/pod-syntax.t
LWP-Protocol-https-6.10/xt/author/portability.t
LWP-Protocol-https-6.10/xt/author/distmeta.t
LWP-Protocol-https-6.10/xt/author/pod-spell.t
LWP-Protocol-https-6.10/xt/author/clean-namespaces.t
LWP-Protocol-https-6.10/xt/author/pod-coverage.t
LWP-Protocol-https-6.10/t/apache.t
LWP-Protocol-https-6.10/t/https_proxy.t
LWP-Protocol-https-6.10/t/method_in_san.t
LWP-Protocol-https-6.10/t/00-report-prereqs.t
LWP-Protocol-https-6.10/t/00-report-prereqs.dd

CPAN.pm: Building O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for LWP::Protocol::https
Writing MYMETA.yml and MYMETA.json
cp lib/LWP/Protocol/https.pm blib/lib/LWP/Protocol/https.pm
Manifying blib/man3/LWP::Protocol::https.3pm
OALDERS/LWP-Protocol-https-6.10.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-report-prereqs.t .. #

Versions for all modules listed in MYMETA.json (including optional ones):

=== Configure Requires ===

Module Want Have

------------------- ---- ----

ExtUtils::MakeMaker any 6.68

=== Configure Suggests ===

Module Want Have

-------- ------- ----

JSON::PP 2.27300 4.09

=== Build Requires ===

Module Want Have

------------------- ---- ----

ExtUtils::MakeMaker any 6.68

=== Test Requires ===

Module Want Have

---------------------- ---- ------

ExtUtils::MakeMaker any 6.68

File::Spec any 3.40

File::Temp any 0.2301

IO::Select any 1.21

IO::Socket::INET any 1.33

IO::Socket::SSL 1.54 1.94

IO::Socket::SSL::Utils any 0.01

LWP::UserAgent 6.06 6.66

Socket any 2.010

Test::More 0.96 0.98

Test::RequiresInternet any 0.05

warnings any 1.13

=== Test Recommends ===

Module Want Have

---------- -------- --------

CPAN::Meta 2.120900 2.120921

=== Runtime Requires ===

Module Want Have

------------------- -------- --------

IO::Socket::SSL 1.54 1.94

LWP::Protocol::http any 6.66

LWP::UserAgent 6.06 6.66

Mozilla::CA 20180117 20211001

Net::HTTPS 6 6.22

base any 2.18

strict any 1.07

=== Other Modules ===

Module Have

----------- ----

Net::SSLeay 1.55

t/00-report-prereqs.t .. ok
t/apache.t .............
# Failed test 'have header Client-SSL-Version'
# at t/apache.t line 39.
# Looks like you failed 1 test of 6.
t/apache.t ............. 1/2

Failed test 'Request GET https://www.apache.org'

at t/apache.t line 47.

Looks like you failed 1 test of 2.

t/apache.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/https_proxy.t ........ skipped: no recent version of IO::Socket::SSL::Utils
t/method_in_san.t ...... ok

Test Summary Report

t/apache.t (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=4, Tests=20, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.39 cusr 0.06 csys = 0.49 CPU)
Result: FAIL
Failed 1/4 test programs. 1/20 subtests failed.
make: *** [test_dynamic] Error 255
OALDERS/LWP-Protocol-https-6.10.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports OALDERS/LWP-Protocol-https-6.10.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for R/RO/ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz
Has already been unwrapped into directory /home/.cpan/build/WWW-Telegram-BotAPI-0.12-KqRmvw

CPAN.pm: Building R/RO/ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz

Warning: Prerequisite 'LWP::Protocol::https => 0' for 'ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz' failed when processing 'OALDERS/LWP-Protocol-https-6.10.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
CPAN: Time::HiRes loaded ok (v1.9725)
cp lib/WWW/Telegram/BotAPI.pm blib/lib/WWW/Telegram/BotAPI.pm
Manifying blib/man3/WWW::Telegram::BotAPI.3pm
ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic.t ......... ok
t/01-api-requests.t .. skipped: Test::MockObject required for this test!
t/02-exceptions.t .... ok
t/pod.t .............. skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=4, Tests=30, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.16 cusr 0.02 csys = 0.22 CPU)
Result: PASS
ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz
Tests succeeded but one dependency not OK (LWP::Protocol::https)
ROBERTOF/WWW-Telegram-BotAPI-0.12.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
make: *** [depend-telegram] Error 1
`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions