Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install due to a missing dependency / Possible typo #1

Open
Celtus opened this issue Dec 13, 2012 · 1 comment
Open

Fails to install due to a missing dependency / Possible typo #1

Celtus opened this issue Dec 13, 2012 · 1 comment

Comments

@Celtus
Copy link

Celtus commented Dec 13, 2012

****** NOTE: MIME:Tools is installed, but dependency is MIME:tools.

CPAN Install output follows.

root@apphost:~# perl -MCPAN -e 'install MIME::Tools'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 13 Dec 2012 12:19:04 GMT
MIME::Tools is up to date.

root@apphost:~# perl -MCPAN -e 'install MIME::tools'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 13 Dec 2012 12:19:04 GMT
Warning: Cannot install MIME::tools, don't know what it is.
Try the command

    i /MIME::tools/

to find objects with matching identifiers.

root@apphost:~# perl -MCPAN -e 'install Net::AS2'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 13 Dec 2012 12:19:04 GMT
Running install for module Net::AS2
Running make for S/SW/SWONG/Net-AS2-0.02.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/S/SW/SWONG/Net-AS2-0.02.tar.gz ok
Scanning cache /root/.cpan/build for sizes
./
./Net-AS2-0.02/
./Net-AS2-0.02/lib/
./Net-AS2-0.02/lib/Net/
./Net-AS2-0.02/lib/Net/AS2/
./Net-AS2-0.02/lib/Net/AS2/FAQ.pm
./Net-AS2-0.02/lib/Net/AS2/MDN.pm
./Net-AS2-0.02/lib/Net/AS2/Message.pm
./Net-AS2-0.02/lib/Net/AS2.pm
./Net-AS2-0.02/Makefile.PL
./Net-AS2-0.02/MANIFEST
./Net-AS2-0.02/MANIFEST.SKIP
./Net-AS2-0.02/META.json
./Net-AS2-0.02/META.yml
./Net-AS2-0.02/t/
./Net-AS2-0.02/t/00-load.t
./Net-AS2-0.02/t/10-constructor.t
./Net-AS2-0.02/t/20-protocol.t
./Net-AS2-0.02/t/30-message_mdn.t
./Net-AS2-0.02/t/test.1.cert
./Net-AS2-0.02/t/test.1.key
./Net-AS2-0.02/t/test.2.cert
./Net-AS2-0.02/t/test.2.key
Removing previously used /root/.cpan/build/Net-AS2-0.02

  CPAN.pm: Going to build S/SW/SWONG/Net-AS2-0.02.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite MIME::tools 0 not found.
Writing Makefile for Net::AS2
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during [S/SW/SWONG/Net-AS2-0.02.tar.gz] -----
    MIME::tools
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module MIME::tools

  The module MIME::tools isn't available on CPAN.

  Either the module has not yet been uploaded to CPAN, or it is
  temporary unavailable. Please contact the author to find out
  more about the status. Try 'i MIME::tools'.
Running make for S/SW/SWONG/Net-AS2-0.02.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Net-AS2-0.02

  CPAN.pm: Going to build S/SW/SWONG/Net-AS2-0.02.tar.gz

cp lib/Net/AS2/FAQ.pm blib/lib/Net/AS2/FAQ.pm
cp lib/Net/AS2.pm blib/lib/Net/AS2.pm
cp lib/Net/AS2/Message.pm blib/lib/Net/AS2/Message.pm
cp lib/Net/AS2/MDN.pm blib/lib/Net/AS2/MDN.pm
Manifying blib/man3/Net::AS2::FAQ.3
Manifying blib/man3/Net::AS2.3
Manifying blib/man3/Net::AS2::Message.3
Manifying blib/man3/Net::AS2::MDN.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load...........Bareword found where operator expected at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 210, near "unless ($entity->mime_type =~ m{^multipart/report"
  (Might be a runaway multi-line // string starting on line 157)

#   Failed test 'use Net::AS2;'
#   at t/00-load.t line 7.
t/00-load...........NOK 1#     Tried to use 'Net::AS2'.                     
#     Error:  Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$entity" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$entity" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm has too many errors.
# Compilation failed in require at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2.pm line 89.
# BEGIN failed--compilation aborted at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2.pm line 89.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Unrecognized escape \s passed through at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 231.
Possible unintended interpolation of @values in string at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 231.
Backslash found where operator expected at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 232, near ")\"
  (Might be a runaway multi-line ?? string starting on line 231)
    (Missing operator before \?)

#   Failed test 'use Net::AS2::Message;'
t/00-load...........NOK 2#   at t/00-load.t line 8.                         
#     Tried to use 'Net::AS2::Message'.
#     Error:  Substitution pattern not terminated at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 232.
# Compilation failed in require at (eval 61) line 2.
# BEGIN failed--compilation aborted at (eval 61) line 2.
# Looks like you failed 2 tests of 3.
t/00-load...........dubious                                                 
    Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
    Failed 2/3 tests, 33.33% okay
t/10-constructor....Bareword found where operator expected at t/10-constructor.t line 50, near "$s =~ tr/A"
  (Might be a runaway multi-line // string starting on line 49)
    (Missing operator before A?)
Warning: Use of "-z" without parentheses is ambiguous at t/10-constructor.t line 50.
String found where operator expected at t/10-constructor.t line 66, near "} '"
  (Might be a runaway multi-line '' string starting on line 64)
    (Missing semicolon on previous line?)
Bareword found where operator expected at t/10-constructor.t line 66, near "} 'Constructor"
    (Missing operator before Constructor?)
Bareword found where operator expected at t/10-constructor.t line 70, near "is($a->{MyEncryptionKey}, $a->{MySignatureKey}, 'private"
  (Might be a runaway multi-line '' string starting on line 66)
Global symbol "$s" requires explicit package name at t/10-constructor.t line 48.
syntax error at t/10-constructor.t line 49, near "$s =~ s/["
  (Might be a runaway multi-line // string starting on line 48)
Global symbol "$s" requires explicit package name at t/10-constructor.t line 49.
Global symbol "$s" requires explicit package name at t/10-constructor.t line 50.
syntax error at t/10-constructor.t line 66, near "} '"
Bad name after equals' at t/10-constructor.t line 70.
# Looks like your test exited with 255 before it could output anything.
t/10-constructor....dubious                                                 
    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
    Failed 2/2 tests, 0.00% okay
t/20-protocol.......Warning: Use of "rand" without parentheses is ambiguous at t/20-protocol.t line 32.
Warning: Use of "rand" without parentheses is ambiguous at t/20-protocol.t line 70.
syntax error at t/20-protocol.t line 279, near "$key ~"
BEGIN not safe after errors--compilation aborted at t/20-protocol.t line 287.
# Looks like your test exited with 9 before it could output anything.
t/20-protocol.......dubious                                                 
    Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-19
    Failed 19/19 tests, 0.00% okay
t/30-message_mdn....Bareword found where operator expected at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 210, near "unless ($entity->mime_type =~ m{^multipart/report"
  (Might be a runaway multi-line // string starting on line 157)

#   Failed test 'use Net::AS2;'
#   at t/30-message_mdn.t line 8.
t/30-message_mdn....NOK 1#     Tried to use 'Net::AS2'.                     
#     Error:  Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$reason" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$self" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$entity" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$parser" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$content" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# Global symbol "$entity" requires explicit package name at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 157.
# /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm has too many errors.
# Compilation failed in require at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2.pm line 89.
# BEGIN failed--compilation aborted at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2.pm line 89.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
t/30-message_mdn....ok 2/9Unrecognized escape \s passed through at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 231.
Possible unintended interpolation of @values in string at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 231.
Backslash found where operator expected at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 232, near ")\"
  (Might be a runaway multi-line ?? string starting on line 231)
    (Missing operator before \?)

#   Failed test 'use Net::AS2::Message;'
t/30-message_mdn....NOK 3#   at t/30-message_mdn.t line 10.                 
#     Tried to use 'Net::AS2::Message'.
#     Error:  Substitution pattern not terminated at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/Message.pm line 232.
# Compilation failed in require at (eval 62) line 2.
# BEGIN failed--compilation aborted at (eval 62) line 2.
Can't locate object method "_create_from_message" via package "Net::AS2::MDN" at /root/.cpan/build/Net-AS2-0.02/blib/lib/Net/AS2/MDN.pm line 46.
    # Child (MDN Success) exited without calling finalize()

#   Failed test 'MDN Success'
t/30-message_mdn....NOK 4#   at t/30-message_mdn.t line 0.                  
# Looks like you planned 9 tests but ran 4.
# Looks like you failed 3 tests of 4 run.
# Looks like your test exited with 29 just after 4.
t/30-message_mdn....dubious                                                 
    Test returned status 29 (wstat 7424, 0x1d00)
DIED. FAILED tests 1, 3-9
    Failed 8/9 tests, 11.11% okay
Failed Test        Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/00-load.t           2   512     3    2  66.67%  1-2
t/10-constructor.t  255 65280     2    4 200.00%  1-2
t/20-protocol.t       9  2304    19   38 200.00%  1-19
t/30-message_mdn.t   29  7424     9   13 144.44%  1 3-9
Failed 4/4 test scripts, 0.00% okay. 31/33 subtests failed, 6.06% okay.
make: *** [test_dynamic] Error 29
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
@slinky66
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants