Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402645 - app-portage/g-cpan-0.16.4 fails to install Spreadsheet::XLSX due to "[in]correct package syntax"
Summary: app-portage/g-cpan-0.16.4 fails to install Spreadsheet::XLSX due to "[in]corr...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: http://search.cpan.org/~dmow/Spreadsh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 08:08 UTC by Thomas Fischer
Modified: 2014-07-11 22:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fischer 2012-02-08 08:08:53 UTC
Trying to install Perl module Spreadsheet::XLSX fails with the following output:

# g-cpan -i "Spreadsheet::XLSX"
-Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...  Will write to
 <</root/.cpan/CPAN/MyConfig.pm>>

Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.

 <auto_commit>
Always commit changes to config variables to disk? [no] no


Please remember to call 'o conf commit' to make the config permanent!
Going to read '/var/tmp/g-cpan/.cpan/Metadata'
  Database was generated on Wed, 08 Feb 2012 06:18:38 GMT
\Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 476.
Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 479.
Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 482.
Use of uninitialized value $filenamever in substr at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 487.
Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 476.
Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 479.
Use of uninitialized value $filenamever in substitution (s///) at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 482.
Use of uninitialized value $filenamever in substr at /usr/lib/perl5/vendor_perl/5.12.4/Gentoo/CPAN.pm line 487.
|Fetching with LWP:
"http://search.cpan.org/CPAN"/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz
LWP failed with code[400] message[URL must be absolute]

Trying with
    /usr/bin/wget -O "/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz.tmp6325"
to get
    "http://search.cpan.org/CPAN"/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz
--2012-02-08 08:55:04--  http://search.cpan.org/CPAN/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz
Resolving search.cpan.org (search.cpan.org)... 194.106.223.155
Connecting to search.cpan.org (search.cpan.org)|194.106.223.155|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cpan.uib.no/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz [following]
--2012-02-08 08:55:04--  http://cpan.uib.no/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz
Resolving cpan.uib.no (cpan.uib.no)... 129.177.13.104
Connecting to cpan.uib.no (cpan.uib.no)|129.177.13.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50308 (49K) [application/x-gzip]
Saving to: `/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz.tmp6325'

100%[===================================================================================================================>] 50,308      --.-K/s   in 0.09s   

2012-02-08 08:55:05 (548 KB/s) - `/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz.tmp6325' saved [50308/50308]

Fetching with LWP:
"http://search.cpan.org/CPAN"/authors/id/D/DM/DMOW/CHECKSUMS
Fetching with LWP:
"http://search.cpan.org/CPAN"/authors/id/D/DM/DMOW/CHECKSUMS.gz

Trying with
    /usr/bin/wget -O "/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/CHECKSUMS.tmp6325"
to get
    "http://search.cpan.org/CPAN"/authors/id/D/DM/DMOW/CHECKSUMS
--2012-02-08 08:55:05--  http://search.cpan.org/CPAN/authors/id/D/DM/DMOW/CHECKSUMS
Resolving search.cpan.org (search.cpan.org)... 194.106.223.155
Connecting to search.cpan.org (search.cpan.org)|194.106.223.155|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cpan.uib.no/authors/id/D/DM/DMOW/CHECKSUMS [following]
--2012-02-08 08:55:05--  http://cpan.uib.no/authors/id/D/DM/DMOW/CHECKSUMS
Resolving cpan.uib.no (cpan.uib.no)... 129.177.13.104
Connecting to cpan.uib.no (cpan.uib.no)|129.177.13.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2967 (2.9K) [text/plain]
Saving to: `/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/CHECKSUMS.tmp6325'

100%[===================================================================================================================>] 2,967       --.-K/s   in 0s      

2012-02-08 08:55:05 (261 MB/s) - `/var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/CHECKSUMS.tmp6325' saved [2967/2967]

Checksum for /var/tmp/g-cpan/.cpan/sources/authors/id/D/DM/DMOW/Spreadsheet-XLSX-0.13-withoutworldwriteables.tar.gz ok
Warning: prerequisite Spreadsheet::ParseExcel  not found.
 * Ebuild already exists for Spreadsheet-ParseExcel (dev-perl/Spreadsheet-ParseExcel)
 * Ebuild already exists for Archive-Zip (dev-perl/Archive-Zip)
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan line 694.
 * Generating ebuild for Spreadsheet::XLSX
 * Ebuild generated for Spreadsheet-XLSX
!!! perl-gcpan/Spreadsheet-XLSX-0.13-withoutworldwriteables- does not follow correct package syntax.
!!! 'Spreadsheet-XLSX-0.13-withoutworldwriteables' is not a valid package atom.
!!! Please check ebuild(5) for full details.

The generate ebuild's filename is "[...]g-cpan/perl-gcpan/Spreadsheet-XLSX-0.13-withoutworldwriteables/Spreadsheet-XLSX-0.13-withoutworldwriteables-.ebuild"

On CPAN, there seem to be two different releases of this module: "Spreadsheet-XLSX-0.13" and "Spreadsheet-XLSX-0.13-withoutworldwriteables". Both have the same day of release (16 May 2010) for release 0.13, but the latter one is considered the "latest release"


Reproducible: Always
Comment 1 Vladimir Smirnov (RETIRED) gentoo-dev 2014-04-17 14:04:07 UTC
*** Bug 507874 has been marked as a duplicate of this bug. ***