I found this problem installing Catalyst (via g-cpan -i Catalyst) on my systems (one being x86 and the other amd64). Within the ton of modules, it tries to install: IO-1.20 and it fails with this error: ----- /usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap IO.xs > IO.xsc && mv IO.xsc IO.c x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE" -DI_POLL IO.c In file included from /usr/lib/perl5/5.8.6/x86_64-linux/CORE/perl.h:37, from IO.xs:9: /usr/lib/perl5/5.8.6/x86_64-linux/CORE/config.h:3017:1: warning: "I_POLL" redefined <command line>:5:1: warning: this is the location of the previous definition IO.xs: In function `XS_IO__Seekable_getpos': IO.xs:201: warning: passing arg 2 of `PerlIO_getpos' from incompatible pointer type IO.xs:208: error: `sv_undef' undeclared (first use in this function) IO.xs:208: error: (Each undeclared identifier is reported only once IO.xs:208: error: for each function it appears in.) IO.xs: In function `XS_IO__Seekable_setpos': IO.xs:219: warning: passing arg 2 of `PerlIO_setpos' from incompatible pointer type IO.xs: In function `XS_IO__File_new_tmpfile': IO.xs:252: error: `sv_undef' undeclared (first use in this function) make: *** [IO.o] Error 1 ----- It seems to me pretty obvious that it fails, since IO 1.20 is a modules dated 1998, as it now seems to be core with in perl (in a more recent version, also). After this fails, if I run "g-cpan -i Catalyst" it works, as it doesn't try to install IO anymore (!!!). However, the problem comes back again when I upgrade modules using "g-cpan -u", forcing me not to use it at all (I'm using g-cpan -i to manually upgrade modules at this time). I think probably there's a problem in checking that IO is already installed, which is. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Agree completely, next version should avoid the core installed modules all together.
Re-assign, mcummings is retired...
Re-assign.
I'm installing Catalyst with "g-cpan -i Task::Catalyst". It is pulling in perl-gcpan/IO-1.22 and this package installs without problems.
With the new IO it works for me as well, so I guss this bug can be closed...