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

Perl 5.9.5. cpanp-run-perl not present #8960

Closed
p5pRT opened this issue Jul 8, 2007 · 5 comments
Closed

Perl 5.9.5. cpanp-run-perl not present #8960

p5pRT opened this issue Jul 8, 2007 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 8, 2007

Migrated from rt.perl.org#43629 (status was 'resolved')

Searchable as RT43629$

@p5pRT
Copy link
Author

p5pRT commented Jul 8, 2007

From A_M_C@bigpond.net.au

This is a bug report for perl from Michael Cartmell,
generated with the help of perlbug 1.35 running under perl 5.9.5.


I just built 5.9.5 and got one test failure. it was for CPANPLUS.

lib/CPANPLUS/t/20_CPANPLUS-Dist-MM............................Can't open
perl script "/home/michael/perl/bin/cpanp-run-perl"​: No such file or
directory
# Failed test 'Testing module'
# at ../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t line 98.
FAILED at test 9

The file cpanp-run-perl isn't present until after the install. Either
the test should use the file located in the source tree or, if that is
not possible, skip the test.

It is a false negative as I get 100% test success after installing perl
5.9.5.

Michael Cartmell



Flags​:
  category=library
  severity=low


Site configuration information for perl 5.9.5​:

Configured by michael at Sun Jul 8 10​:47​:13 EST 2007.

Summary of my perl5 (revision 5 version 9 subversion 5) configuration​:
  Platform​:
  osname=linux, osvers=2.6.18.8-0.3-default,
archname=i686-linux-thread-multi
  uname='linux lnx-main 2.6.18.8-0.3-default #1 smp tue apr 17
08​:42​:35 utc 2007 i686 athlon i386 gnulinux '
  config_args=''
  hint=recommended, useposix=true, d_sigaction=define
  useithreads=define, usemultiplicity=define
  useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
  use64bitint=undef, use64bitall=undef, uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -I/usr/local/include -march=athlon-xp -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
  optimize='-O2',
  cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include -march=athlon-xp'
  ccversion='', gccversion='4.1.2 20061115 (prerelease) (SUSE Linux)',
gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
  alignbytes=4, prototype=define
  Linker and Libraries​:
  ld='cc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib
  libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
  libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
  gnulibc_version='2.5'
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
  cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'

Locally applied patches​:


@​INC for perl 5.9.5​:
  /home/michael/perl/lib/5.9.5/i686-linux-thread-multi
  /home/michael/perl/lib/5.9.5
  /home/michael/perl/lib/site_perl/5.9.5/i686-linux-thread-multi
  /home/michael/perl/lib/site_perl/5.9.5
  .


Environment for perl 5.9.5​:
  HOME=/home/michael
  LANG=en_GB.UTF-8
  LANGUAGE (unset)
  LD_LIBRARY_PATH (unset)
  LOGDIR (unset)

PATH=/net/Komodo-IDE-4.1/bin​:/net/Komodo-IDE-4.1/bin​:/home/michael/bin​:/usr/local/bin​:/usr/bin​:/usr/X11R6/bin​:/bin​:/usr/games​:/opt/gnome/bin​:/opt/kde3/bin​:/usr/lib/jvm/jre/bin​:/usr/lib/mit/bin​:/usr/lib/mit/sbin​:/usr/lib/qt3/bin
  PERL_BADLANG (unset)
  SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jul 8, 2007

From kane@dwim.org

Hi Michael,

On Sat Jul 07 19​:49​:36 2007, A_M_C <!-- x --> at net.au wrote​:

This is a bug report for perl from Michael Cartmell,
generated with the help of perlbug 1.35 running under perl 5.9.5.

-----------------------------------------------------------------
I just built 5.9.5 and got one test failure. it was for CPANPLUS.

lib/CPANPLUS/t/20_CPANPLUS-Dist-MM............................Can't
open
perl script "/home/michael/perl/bin/cpanp-run-perl"​: No such file or
directory
# Failed test 'Testing module'
# at ../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t line 98.
FAILED at test 9

The file cpanp-run-perl isn't present until after the install. Either
the test should use the file located in the source tree or, if that is
not possible, skip the test.

This failure is most likely caused by the fact that CPANPLUS scans your
@​INC and ~/.cpanplus/lib for modules matching the pattern 'CPANPLUS​::Config​::.*',
for additional/personalized configuration and finding the one in your homedir,
which holds incorrect information for this test run.

This is not the safest testing behaviour, so I've modified the test suite to only
look at CPANPLUS​::Config as shipped with CPANPLUS when running the tests, so
that these type of side effects are avoided​:

r4079@​rimmer​: kane | 2007-07-08 11​:47​:30 +0200
* address [perl #43629] Perl 5.9.5. cpanp-run-perl not present
  as reported by Michael Cartmell. When running the tests, don't
  scan your include dirs/home dir for other CPANPLUS​::Config​::*
  entries, as they might contain data not correct for this test
  run.

Thanks for reporting,

Jos

@p5pRT
Copy link
Author

p5pRT commented Jul 8, 2007

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 8, 2007

From A_M_C@bigpond.net.au

Jos Boumans via RT wrote​:

Hi Michael,

[snip]

This failure is most likely caused by the fact that CPANPLUS scans your
@​INC and ~/.cpanplus/lib for modules matching the pattern 'CPANPLUS​::Config​::.*',
for additional/personalized configuration and finding the one in your homedir,
which holds incorrect information for this test run.

That would explain it. I had installed 5.9.4 into the same location &
then deleted it before building 5.9.5. I had used CPANPLUS to install
some modules. After moving the .cpanplus and perl installation
directories out of the way the error didn't occur.

This is not the safest testing behaviour, so I've modified the test suite to only
look at CPANPLUS​::Config as shipped with CPANPLUS when running the tests, so
that these type of side effects are avoided​:

r4079@​rimmer​: kane | 2007-07-08 11​:47​:30 +0200
* address [perl #43629] Perl 5.9.5. cpanp-run-perl not present
as reported by Michael Cartmell. When running the tests, don't
scan your include dirs/home dir for other CPANPLUS​::Config​::*
entries, as they might contain data not correct for this test
run.

Thanks for reporting,

My pleasure, I'm looking forward to 5.10, it's got some neat new
features. Thanks for every thing you are doing to make it happen.

Michael

Jos

@p5pRT
Copy link
Author

p5pRT commented Apr 27, 2008

p5p@spam.wizbit.be - Status changed from 'open' to 'resolved'

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

No branches or pull requests

1 participant