Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 76745
Status: rejected
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: lxp [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.5011
Fixed in: (no value)



Subject: not recognising installed "lib" module as up to date
cpanminus normally reports that a module is up to date and skips installation if a newer version is not available: $ cpanm App::cpanminus App::cpanminus is up to date. (1.5011) This is not the case for the current version of "lib": $ cpanm lib --> Working on lib Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-0.63.tar.gz ... OK Configuring lib-0.63 ... OK Building and testing lib-0.63 ... OK Successfully installed lib-0.63 (upgraded from 0.62) 1 distribution installed $ cpanm lib --> Working on lib Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-0.63.tar.gz ... OK Configuring lib-0.63 ... OK Building and testing lib-0.63 ... OK Successfully installed lib-0.63 (upgraded from 0.62) 1 distribution installed
Subject: Re: [rt.cpan.org #76745] not recognising installed "lib" module as up to date
Date: Sat, 21 Apr 2012 08:05:10 -0700
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
What is your perl version and where is your lib.pm 0.62 installed? You might need to uninstall the shadows first. On Apr 21, 2012 8:02 AM, "Alex Peters via RT" <bug-App-cpanminus@rt.cpan.org> wrote: Show quoted text
> Sat Apr 21 11:02:09 2012: Request 76745 was acted upon. > Transaction: Ticket created by LXP > Queue: App-cpanminus > Subject: not recognising installed "lib" module as up to date > Broken in: 1.5011 > Severity: (no value) > Owner: Nobody > Requestors: lxp@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76745 > > > > cpanminus normally reports that a module is up to date and skips > installation if a newer version is not available: > > $ cpanm App::cpanminus > App::cpanminus is up to date. (1.5011) > > This is not the case for the current version of "lib": > > $ cpanm lib > --> Working on lib > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-0.63.tar.gz ... > OK > Configuring lib-0.63 ... OK > Building and testing lib-0.63 ... OK > Successfully installed lib-0.63 (upgraded from 0.62) > 1 distribution installed > > $ cpanm lib > --> Working on lib > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-0.63.tar.gz ... > OK > Configuring lib-0.63 ... OK > Building and testing lib-0.63 ... OK > Successfully installed lib-0.63 (upgraded from 0.62) > 1 distribution installed >
Actually, I think this is a problem with my configuration: $ pmvers lib 0.62 $ perl -V Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=linux, osvers=2.6.35-28-generic, archname=x86_64-linux uname='linux pluto 2.6.35-28-generic #49-ubuntu smp tue mar 1 14:39:03 utc 2011 x86_64 gnulinux ' config_args='-de -Dprefix=/home/lx/perl5/perlbrew/perls/perl-5.12.3' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.5', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.12.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Mar 24 2011 16:07:42 %ENV: PERLBREW_PATH="/home/lx/perl5/perlbrew/bin:/home/lx/perl5/perlbrew/perls/current/bin" PERLBREW_PERL="perl-5.12.3" PERLBREW_ROOT="/home/lx/perl5/perlbrew" PERLBREW_VERSION="0.18" @INC: /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3 /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3 . $ find /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3 /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3 . -maxdepth 1 -name lib.pm | xargs grep VERSION /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/lib.pm:our $VERSION = '0.62'; /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/lib.pm:our $VERSION = '0.63';
Subject: Re: [rt.cpan.org #76745] not recognising installed "lib" module as up to date
Date: Sat, 21 Apr 2012 08:17:05 -0700
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
it's not really *your* problem, i've seen issues like that with my install too - somehow you got lib version 0.62 in your arch path, and installing the new 0.63 doesn't clobber your old version. Run cpanm lib with --uninst-shadows option (just once) will probably fix it. -- Tatsuhiko Miyagawa On Saturday, April 21, 2012 at 8:10 AM, Alex Peters via RT wrote: Show quoted text
> Queue: App-cpanminus > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76745 > > > Actually, I think this is a problem with my configuration: > > $ pmvers lib > 0.62 > > $ perl -V > Summary of my perl5 (revision 5 version 12 subversion 3) configuration: > > Platform: > osname=linux, osvers=2.6.35-28-generic, archname=x86_64-linux > uname='linux pluto 2.6.35-28-generic #49-ubuntu smp tue mar 1 > 14:39:03 utc 2011 x86_64 gnulinux ' > config_args='-de -Dprefix=/home/lx/perl5/perlbrew/perls/perl-5.12.3' > hint=recommended, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include' > ccversion='', gccversion='4.4.5', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 > libs=-lnsl -ldl -lm -lcrypt -lutil -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='2.12.1' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib > -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP > USE_64_BIT_ALL > USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > USE_PERL_ATOF > Built under linux > Compiled at Mar 24 2011 16:07:42 > %ENV: > > PERLBREW_PATH="/home/lx/perl5/perlbrew/bin:/home/lx/perl5/perlbrew/perls/current/bin" > PERLBREW_PERL="perl-5.12.3" > PERLBREW_ROOT="/home/lx/perl5/perlbrew" > PERLBREW_VERSION="0.18" > @INC: > > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3 > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3 > . > > $ find > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3 > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3 . -maxdepth 1 -name > lib.pm | xargs grep VERSION > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/lib.pm:our > $VERSION = '0.62'; > /home/lx/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/lib.pm:our $VERSION > = '0.63'; > >
Running cpanm with the --uninst-shadows option solved the problem. Thank you for this information, and sorry for filing an erroneous bug report.