Hi

I downloaded the software this morning and have so far not been able to build a single rpm from any cpan module.

I want to build Plack as an rpm so I run:
cpan2rpm Plack

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Plack --
Using cached URL: http://search.cpan.org//CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0005.tar.gz
Tarball found - not fetching
Metadata retrieval
Tarball extraction: [/root/rpmbuild/SOURCES/Plack-1.0005.tar.gz]
Unable to build module, the following dependencies have failed:
  Test::Requires >= 0
  Stream::Buffered >= 0.02
  Test::TCP >= 1.02
  File::ShareDir >= 1.00
  Hash::MultiValue >= 0.05
  URI >= 1.59
  parent >= 0
  Devel::StackTrace >= 1.23
  ExtUtils::MakeMaker >= 6.59
  HTTP::Body >= 1.06
  Filesys::Notify::Simple >= 0
  Devel::StackTrace::AsHTML >= 0.11
Stopped at /usr/bin/cpan2rpm line 491.
cannot remove path when cwd is /tmp/G8P0qN1ZyF/Plack-1.0005 for /tmp/G8P0qN1ZyF:  at /usr/share/perl5/File/Temp.pm line 902
-- Done --

This is all good except for the line before the Done.

I then try to build Test::Requires as it is required and I get:
cpan2rpm Test::Requires

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Test::Requires --
Using cached URL: http://search.cpan.org//CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
Tarball found - not fetching
Metadata retrieval
Tarball extraction: [/root/rpmbuild/SOURCES/Test-Requires-0.06.tar.gz]
Prototype mismatch: sub main::prompt: none vs ($;$) at (eval 53) line 2
    main::BEGIN() called at (eval 53) line 2
    eval {...} called at (eval 53) line 2
    eval 'use ExtUtils::MakeMaker 6.42
;' called at /usr/bin/cpan2rpm line 486
    main::get_meta() called at /usr/bin/cpan2rpm line 54
Can't locate object method "interpolate" via package "Pod::Text" at /usr/bin/cpan2rpm line 532.
cannot remove path when cwd is /tmp/W98hAIGvDF/Test-Requires-0.06 for /tmp/W98hAIGvDF:  at /usr/share/perl5/File/Temp.pm line 902
-- Done --

So maybe I did something wrong so I try the next one in the list:
cpan2rpm Stream::Buffered

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Stream::Buffered --
Using cached URL: http://search.cpan.org//CPAN/authors/id/D/DO/DOY/Stream-Buffered-0.02.tar.gz
Tarball found - not fetching
Metadata retrieval
Tarball extraction: [/root/rpmbuild/SOURCES/Stream-Buffered-0.02.tar.gz]
Prototype mismatch: sub main::prompt: none vs ($;$) at (eval 45) line 2
    main::BEGIN() called at (eval 45) line 2
    eval {...} called at (eval 45) line 2
    eval 'use ExtUtils::MakeMaker 6.36
;' called at /usr/bin/cpan2rpm line 486
    main::get_meta() called at /usr/bin/cpan2rpm line 54
Can't locate object method "interpolate" via package "Pod::Text" at /usr/bin/cpan2rpm line 532.
cannot remove path when cwd is /tmp/KiLVfF9NnP/Stream-Buffered-0.02 for /tmp/KiLVfF9NnP:  at /usr/share/perl5/File/Temp.pm line 902
-- Done --

Now I am getting suspicious. Maybe its not me. Here are the final attempts so:
cpan2rpm Test::TCP

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Test::TCP --
Found: Test-TCP-1.17.tar.gz
At: http://search.cpan.org//CPAN/authors/id/T/TO/TOKUHIROM
Retrieving URL
Metadata retrieval
Tarball extraction: [/root/rpmbuild/SOURCES/Test-TCP-1.17.tar.gz]
Unable to build module, the following dependencies have failed:
  Test::More >= 0.98
  ExtUtils::MakeMaker >= 6.59
  Test::SharedFork >= 0.19
Stopped at /usr/bin/cpan2rpm line 491.
cannot remove path when cwd is /tmp/yjeephirqe/Test-TCP-1.17 for /tmp/yjeephirqe:  at /usr/share/perl5/File/Temp.pm line 902
-- Done --
[root@manage ~]# cpan2rpm Test::More

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Test::More --
Module not found on CPAN web site! at /usr/bin/cpan2rpm line 1201.
-- Done --
[root@manage ~]# cpan2rpm ExtUtils::MakeMaker

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: ExtUtils::MakeMaker --
Found: ExtUtils-MakeMaker-6.63_02.tar.gz
At: http://search.cpan.org//CPAN/authors/id/M/MS/MSCHWERN
Retrieving URL
Metadata retrieval
Tarball extraction: [/root/rpmbuild/SOURCES/ExtUtils-MakeMaker-6.63_02.tar.gz]
Unable to build module, the following dependencies have failed:
  perl >= 5.006
Stopped at /usr/bin/cpan2rpm line 491.
cannot remove path when cwd is /tmp/Z9Qkjt1Pyd/ExtUtils-MakeMaker-6.63_02 for /tmp/Z9Qkjt1Pyd:  at /usr/share/perl5/File/Temp.pm line 902
-- Done --
[root@manage ~]# perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


--