develooper Front page | perl.perl5.porters | Postings from January 2010

[perl #72348] Missing &CPAN::HandleConfig::output for `o conf init'

Thread Next
From:
perlbug-followup
Date:
January 25, 2010 08:17
Subject:
[perl #72348] Missing &CPAN::HandleConfig::output for `o conf init'
Message ID:
rt-3.6.HEAD-1505-1264410699-158.72348-75-0@perl.org
# New Ticket Created by  Joshua b. Jore 
# Please include the string:  [perl #72348]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=72348 >


This is a bug report for perl from jbenjore@w3m211a.local,
generated with the help of perlbug 1.39 running under perl 5.11.4.


-----------------------------------------------------------------
[Please describe your issue here]

Received an exception when configuring the CPAN client. Used perl-5.11.4.

w3m211a:~ jbenjore$ less ~/.cpan/CPAN/MyConfig.pm

$CPAN::Config = {
  'applypatch' => q[],
  'auto_commit' => q[0],
  'build_cache' => q[100],
  'build_dir' => q[/Users/jbenjore/.cpan/build],
  'build_dir_reuse' => q[0],
  'build_requires_install_policy' => q[ask/yes],
  'bzip2' => q[/opt/local/bin/bzip2],
  'cache_metadata' => q[1],
  'check_sigs' => q[0],
  'colorize_output' => q[0],
  'commandnumber_in_prompt' => q[1],
  'connect_to_internet_ok' => q[1],
  'cpan_home' => q[/Users/jbenjore/.cpan],
  'curl' => q[/usr/bin/curl],
  'ftp' => q[/usr/bin/ftp],
  'ftp_passive' => q[1],
  'ftp_proxy' => q[],
  'getcwd' => q[cwd],
  'gpg' => q[],
  'gzip' => q[/usr/bin/gzip],
  'halt_on_failure' => q[0],
  'histfile' => q[/Users/jbenjore/.cpan/histfile],
  'histsize' => q[100],
  'http_proxy' => q[],
  'inactivity_timeout' => q[0],
  'index_expire' => q[1],
  'inhibit_startup_message' => q[0],
  'keep_source_where' => q[/Users/jbenjore/.cpan/sources],
  'load_module_verbosity' => q[none],
  'lynx' => q[],
  'make' => q[/usr/bin/make],
  'make_arg' => q[],
  'make_install_arg' => q[],
  'make_install_make_command' => q[/usr/bin/make],
  'makepl_arg' => q[],
  'mbuild_arg' => q[],
  'mbuild_install_arg' => q[],
  'mbuild_install_build_command' => q[./Build],
  'mbuildpl_arg' => q[],
  'ncftp' => q[],
  'ncftpget' => q[],
  'no_proxy' => q[],
  'pager' => q[/usr/bin/less],
  'patch' => q[/usr/bin/patch],
  'perl5lib_verbosity' => q[v],
  'prefer_installer' => q[MB],
  'prefs_dir' => q[/Users/jbenjore/.cpan/prefs],
  'prerequisites_policy' => q[ask],
  'scan_cache' => q[atstart],
  'shell' => q[/bin/bash],
  'show_unparsable_versions' => q[0],
  'show_upload_date' => q[0],
  'show_zero_versions' => q[0],
  'tar' => q[/usr/bin/tar],
  'tar_verbosity' => q[v],
  'term_is_latin' => q[1],
  'term_ornaments' => q[1],
  'test_report' => q[0],
  'trust_test_report_history' => q[0],
  'unzip' => q[/usr/bin/unzip],
  'urllist' => [q[http://uproxy.dev.pages/CPAN/]],
  'use_sqlite' => q[0],
  'version_timeout' => q[15],
  'wget' => q[/opt/local/bin/wget],
  'yaml_load_code' => q[0],
  'yaml_module' => q[YAML],
};
1;
__END__
w3m211a:~ jbenjore$ rm /opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/CPAN/Config.pm
w3m211a:~ jbenjore$ sudo chown -R root /opt/perl-5.11.4-64-thr-dbg
w3m211a:~ jbenjore$ /opt/perl-5.11.4-64-thr-dbg/bin/cpan5.11.4
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9454)
Enter 'h' for help.

cpan[1]> o conf init
Catching error: "Undefined subroutine &CPAN::HandleConfig::output
called at /opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/CPAN/HandleConfig.pm
line 565, <FIN> line 1.\cJ" at
/opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/CPAN.pm line 391
         CPAN::shell() called at
/opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/App/Cpan.pm line 295
         App::Cpan::_process_options('App::Cpan') called at
/opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/App/Cpan.pm line 364
         App::Cpan::run('App::Cpan') called at
/opt/perl-5.11.4-64-thr-dbg/bin/cpan5.11.4 line 11




[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=medium
    module=CPAN
---
Site configuration information for perl 5.11.4:

Configured by jbenjore at Thu Jan 21 23:17:02 PST 2010.

Summary of my perl5 (revision 5 version 11 subversion 4) configuration:
  Commit id: 5a8d89359b90ed02d82f9529493d2b739f4244e7
  Platform:
    osname=darwin, osvers=10.2.0, archname=darwin-thread-multi-2level
    uname='darwin w3m211a.local 10.2.0 darwin kernel version 10.2.0:
tue nov 3 10:37:10 pst 2009; root:xnu-1486.2.11~1release_i386 i386 '
    config_args='-Dprefix=/opt/perl-5.11.4-64-thr-dbg -Dusedevel
-Duse64bitint -Dusethreads -de'
    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='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-I/opt/local/include',
    optimize='-O3',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5646) (dot 1)',
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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-fstack-protector -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib -fstack-protector'

Locally applied patches:


---
@INC for perl 5.11.4:
    /opt/perl-5.11.4-64-thr-dbg/lib/site_perl/5.11.4/darwin-thread-multi-2level
    /opt/perl-5.11.4-64-thr-dbg/lib/site_perl/5.11.4
    /opt/perl-5.11.4-64-thr-dbg/lib/5.11.4/darwin-thread-multi-2level
    /opt/perl-5.11.4-64-thr-dbg/lib/5.11.4
    .

---
Environment for perl 5.11.4:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/jbenjore
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/jbenjore/src/git-utils:/opt/perl-5.10.1/bin:/Users/jbenjore/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/Users/jbenjore/src/whitepages-git-utils/
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About