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

bug by access CPAN with cpan tmp-file not found #9223

Open
p5pRT opened this issue Feb 7, 2008 · 5 comments
Open

bug by access CPAN with cpan tmp-file not found #9223

p5pRT opened this issue Feb 7, 2008 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 7, 2008

Migrated from rt.perl.org#50612 (status was 'open')

Searchable as RT50612$

@p5pRT
Copy link
Author

p5pRT commented Feb 7, 2008

From joachim.goerner@itc.alstom.com

Hi
I have build perl in my own path​:


[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:
  Platform​:
  osname=aix, osvers=5.3.0.0, archname=aix-thread-multi
  uname='aix testp6 3 5 00c2b2204c00 '
  config_args='-Dcc=gcc -Dprefix=/usr/opt/perl5gcc -Dusethreads -des'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=define use5005threads=undef 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='gcc', ccflags ='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe -D_LARGE_FILES',
  optimize='-O',
  cppflags='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe'
  ccversion='', gccversion='4.0.0', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='gcc', ldflags =' -Wl,-brtl -Wl,-bdynamic -Wl,-bmaxdata​:0x80000000
-Wl,-b32'
  libpth=/lib /usr/lib /usr/ccs/lib
  libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
  perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
  libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE​:/usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi/CORE/perl.exp'
  cccdlflags=' ', lddlflags=' -Wl,-bhalt​:4 -Wl,-bexpall -Wl,-G
-Wl,-bnoentry -lpthreads -lc'

Characteristics of this binary (from libperl)​:
  Compile-time options​: MULTIPLICITY PERL_IMPLICIT_CONTEXT
  PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
  USE_PERLIO USE_REENTRANT_API
  Locally applied patches​:
  ActivePerl Build 822
  Iin_load_module moved for compatibility with build 806
  PerlEx support in CGI​::Carp
  Less verbose ExtUtils​::Install and Pod​::Find
  Patch for CAN-2005-0448 from Debian with modifications
  Rearrange @​INC so that 'site' is searched before 'perl'
  Partly reverted 24733 to preserve binary compatibility
  MAINT31223 plus additional changes
  31324 Fix DynaLoader​::dl_findfile() to locate .so files again
  26970 Make Passive mode the default for Net​::FTP
  24699 ICMP_UNREACHABLE handling in Net​::Ping
  Built under aix
  Compiled at Feb 6 2008 14​:25​:54
  @​INC​:
  /usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi
  /usr/opt/perl5gcc/lib/5.8.8
  /usr/opt/perl5gcc/lib/site_perl/5.8.8/aix-thread-multi
  /usr/opt/perl5gcc/lib/site_perl/5.8.8
  .
[root@​testp6]​:~#


If I use cpan (ftp with ncftp) I get​:


[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH cpan
CPAN​: File​::HomeDir loaded ok (v0.69)
CPAN​: Term​::ANSIColor loaded ok (v1.12)

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan> reload index
CPAN​: Storable loaded ok (v2.16)
CPAN​: Time​::HiRes loaded ok (v1.9707)
  LWP not available
CPAN​: Net​::FTP loaded ok (v2.77)
Fetching with Net​::FTP​:
  ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
  Could not connect to host 'mirror.switch.ch' with Net​::FTP
Fetching with Net​::FTP
  ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz.gz
  Could not connect to host 'mirror.switch.ch' with Net​::FTP

Trying with "/usr/local/bin/ncftpget" to get
  ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
01mailrc.txt.gz​: 136.74 kB 898.49
kB/s
CPAN​: Compress​::Zlib loaded ok (v2.008)
Cannot gzopen /root/.cpan/sources/authors/01mailrc.txt.tmp368826​: input
file '/root/.cpan/sources/authors/01mailrc.txt.tmp368826' does not exist
Could not open /root/.cpan/sources/authors/01mailrc.txt.tmp368826​: A file
or directory in the path name does not exist.Error while trying to rename
'/root/.cpan/sources/authors/01mailrc.txt.gz.tmp368826' to
'/root/.cpan/sources/authors/01mailrc.txt.gz'​: A file or directory in the
path name does not exist.
cpan> q
Lockfile removed.


In my folder is :


[root@​testp6]​:~# ls -la /root/.cpan/sources/authors/
total 560
drwxr-xr-x 2 root system 256 Feb 07 08​:39 .
drwxr-xr-x 3 root system 256 Feb 06 17​:52 ..
-rw-r--r-- 1 root system 140021 Feb 06 06​:19 01mailrc.txt.gz
-rw-r--r-- 1 root system 140021 Feb 06 06​:19
01mailrc.txt.gz.bak368826
[root@​testp6]​:~#


I can also not find a file with "tmp......" ended !
I have another perl (5.8.2) by the same machine (5.8.2) (shipped with aix
5.3 ) --> this work fine


please send my a resoluton or workaround
Best regards
Joachim

With Alstom, preserve the environment. Is printing this email really
necessary ?
:._______________

CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person, use
it for any purpose or store or copy the information in any medium.

@p5pRT
Copy link
Author

p5pRT commented Jun 29, 2008

From p5p@spam.wizbit.be

On Thu Feb 07 00​:12​:30 2008, joachim.goerner@​itc.alstom.com wrote​:

Hi
I have build perl in my own path​:
----------------------------------------------------------------------




[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:
Platform​:
osname=aix, osvers=5.3.0.0, archname=aix-thread-multi
uname='aix testp6 3 5 00c2b2204c00 '
config_args='-Dcc=gcc -Dprefix=/usr/opt/perl5gcc -Dusethreads
-des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef 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='gcc', ccflags ='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe -D_LARGE_FILES',
optimize='-O',
cppflags='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe'
ccversion='', gccversion='4.0.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries​:
ld='gcc', ldflags =' -Wl,-brtl -Wl,-bdynamic
-Wl,-bmaxdata​:0x80000000
-Wl,-b32'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking​:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE​:/usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -Wl,-bhalt​:4 -Wl,-bexpall -Wl,-G
-Wl,-bnoentry -lpthreads -lc'

Characteristics of this binary (from libperl)​:
Compile-time options​: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches​:
ActivePerl Build 822
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI​::Carp
Less verbose ExtUtils​::Install and Pod​::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @​INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31324 Fix DynaLoader​::dl_findfile() to locate .so files again
26970 Make Passive mode the default for Net​::FTP
24699 ICMP_UNREACHABLE handling in Net​::Ping
Built under aix
Compiled at Feb 6 2008 14​:25​:54
@​INC​:
/usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi
/usr/opt/perl5gcc/lib/5.8.8
/usr/opt/perl5gcc/lib/site_perl/5.8.8/aix-thread-multi
/usr/opt/perl5gcc/lib/site_perl/5.8.8
.
[root@​testp6]​:~#
----------------------------------------------------------------------




If I use cpan (ftp with ncftp) I get​:
----------------------------------------------------------------------




[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH cpan
CPAN​: File​::HomeDir loaded ok (v0.69)
CPAN​: Term​::ANSIColor loaded ok (v1.12)

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan> reload index
CPAN​: Storable loaded ok (v2.16)
CPAN​: Time​::HiRes loaded ok (v1.9707)
LWP not available
CPAN​: Net​::FTP loaded ok (v2.77)
Fetching with Net​::FTP​:
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
Could not connect to host 'mirror.switch.ch' with Net​::FTP
Fetching with Net​::FTP
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz.gz
Could not connect to host 'mirror.switch.ch' with Net​::FTP

Trying with "/usr/local/bin/ncftpget" to get
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
01mailrc.txt.gz​: 136.74 kB
898.49
kB/s
CPAN​: Compress​::Zlib loaded ok (v2.008)
Cannot gzopen /root/.cpan/sources/authors/01mailrc.txt.tmp368826​:
input
file '/root/.cpan/sources/authors/01mailrc.txt.tmp368826' does not
exist
Could not open /root/.cpan/sources/authors/01mailrc.txt.tmp368826​: A
file
or directory in the path name does not exist.Error while trying to
rename
'/root/.cpan/sources/authors/01mailrc.txt.gz.tmp368826' to
'/root/.cpan/sources/authors/01mailrc.txt.gz'​: A file or directory in
the
path name does not exist.
cpan> q
Lockfile removed.
----------------------------------------------------------------------




In my folder is :
----------------------------------------------------------------------




[root@​testp6]​:~# ls -la /root/.cpan/sources/authors/
total 560
drwxr-xr-x 2 root system 256 Feb 07 08​:39 .
drwxr-xr-x 3 root system 256 Feb 06 17​:52 ..
-rw-r--r-- 1 root system 140021 Feb 06 06​:19
01mailrc.txt.gz
-rw-r--r-- 1 root system 140021 Feb 06 06​:19
01mailrc.txt.gz.bak368826
[root@​testp6]​:~#
----------------------------------------------------------------------




I can also not find a file with "tmp......" ended !
I have another perl (5.8.2) by the same machine (5.8.2) (shipped with
aix
5.3 ) --> this work fine
----------------------------------------------------------------------




please send my a resoluton or workaround
Best regards
Joachim

With Alstom, preserve the environment. Is printing this email really
necessary ?
:._______________

CONFIDENTIALITY : This e-mail and any attachments are confidential
and
may be privileged. If you are not a named recipient, please notify
the
sender immediately and do not disclose the contents to another person,
use
it for any purpose or store or copy the information in any medium.

Andreas,

Did you see this bug report?

Kind regards,

Bram

@p5pRT
Copy link
Author

p5pRT commented Jun 29, 2008

From [Unknown Contact. See original ticket]

On Thu Feb 07 00​:12​:30 2008, joachim.goerner@​itc.alstom.com wrote​:

Hi
I have build perl in my own path​:
----------------------------------------------------------------------




[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:
Platform​:
osname=aix, osvers=5.3.0.0, archname=aix-thread-multi
uname='aix testp6 3 5 00c2b2204c00 '
config_args='-Dcc=gcc -Dprefix=/usr/opt/perl5gcc -Dusethreads
-des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef 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='gcc', ccflags ='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe -D_LARGE_FILES',
optimize='-O',
cppflags='-D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -pipe'
ccversion='', gccversion='4.0.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries​:
ld='gcc', ldflags =' -Wl,-brtl -Wl,-bdynamic
-Wl,-bmaxdata​:0x80000000
-Wl,-b32'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking​:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE​:/usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -Wl,-bhalt​:4 -Wl,-bexpall -Wl,-G
-Wl,-bnoentry -lpthreads -lc'

Characteristics of this binary (from libperl)​:
Compile-time options​: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches​:
ActivePerl Build 822
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI​::Carp
Less verbose ExtUtils​::Install and Pod​::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @​INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31324 Fix DynaLoader​::dl_findfile() to locate .so files again
26970 Make Passive mode the default for Net​::FTP
24699 ICMP_UNREACHABLE handling in Net​::Ping
Built under aix
Compiled at Feb 6 2008 14​:25​:54
@​INC​:
/usr/opt/perl5gcc/lib/5.8.8/aix-thread-multi
/usr/opt/perl5gcc/lib/5.8.8
/usr/opt/perl5gcc/lib/site_perl/5.8.8/aix-thread-multi
/usr/opt/perl5gcc/lib/site_perl/5.8.8
.
[root@​testp6]​:~#
----------------------------------------------------------------------




If I use cpan (ftp with ncftp) I get​:
----------------------------------------------------------------------




[root@​testp6]​:~# env PATH=/usr/opt/perl5gcc/bin/​:$PATH cpan
CPAN​: File​::HomeDir loaded ok (v0.69)
CPAN​: Term​::ANSIColor loaded ok (v1.12)

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan> reload index
CPAN​: Storable loaded ok (v2.16)
CPAN​: Time​::HiRes loaded ok (v1.9707)
LWP not available
CPAN​: Net​::FTP loaded ok (v2.77)
Fetching with Net​::FTP​:
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
Could not connect to host 'mirror.switch.ch' with Net​::FTP
Fetching with Net​::FTP
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz.gz
Could not connect to host 'mirror.switch.ch' with Net​::FTP

Trying with "/usr/local/bin/ncftpget" to get
ftp​://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
01mailrc.txt.gz​: 136.74 kB
898.49
kB/s
CPAN​: Compress​::Zlib loaded ok (v2.008)
Cannot gzopen /root/.cpan/sources/authors/01mailrc.txt.tmp368826​:
input
file '/root/.cpan/sources/authors/01mailrc.txt.tmp368826' does not
exist
Could not open /root/.cpan/sources/authors/01mailrc.txt.tmp368826​: A
file
or directory in the path name does not exist.Error while trying to
rename
'/root/.cpan/sources/authors/01mailrc.txt.gz.tmp368826' to
'/root/.cpan/sources/authors/01mailrc.txt.gz'​: A file or directory in
the
path name does not exist.
cpan> q
Lockfile removed.
----------------------------------------------------------------------




In my folder is :
----------------------------------------------------------------------




[root@​testp6]​:~# ls -la /root/.cpan/sources/authors/
total 560
drwxr-xr-x 2 root system 256 Feb 07 08​:39 .
drwxr-xr-x 3 root system 256 Feb 06 17​:52 ..
-rw-r--r-- 1 root system 140021 Feb 06 06​:19
01mailrc.txt.gz
-rw-r--r-- 1 root system 140021 Feb 06 06​:19
01mailrc.txt.gz.bak368826
[root@​testp6]​:~#
----------------------------------------------------------------------




I can also not find a file with "tmp......" ended !
I have another perl (5.8.2) by the same machine (5.8.2) (shipped with
aix
5.3 ) --> this work fine
----------------------------------------------------------------------




please send my a resoluton or workaround
Best regards
Joachim

With Alstom, preserve the environment. Is printing this email really
necessary ?
:._______________

CONFIDENTIALITY : This e-mail and any attachments are confidential
and
may be privileged. If you are not a named recipient, please notify
the
sender immediately and do not disclose the contents to another person,
use
it for any purpose or store or copy the information in any medium.

Andreas,

Did you see this bug report?

Kind regards,

Bram

@p5pRT
Copy link
Author

p5pRT commented Dec 3, 2011

@jkeenan - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 17, 2016

From @dcollinsn

Perhaps someone with a more in-depth knowledge of CPAN's handling of temp files can determine if there's enough here to move forward, or if this may have been fixed in the last ~8 years?

--
Respectfully,
Dan Collins

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

2 participants