Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 507874

Summary: app-portage/g-cpan-0.16.4-r4 - g-cpan fails to generate ebuild for Spreadsheet::XLSX
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2014-04-17 07:17:53 UTC
'g-cpan -p Spreadsheet::XLSX' fails with:

...
Use of uninitialized value $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463.
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan line 695.
 * Generating ebuild for Spreadsheet::XLSX
 * Ebuild generated for Spreadsheet-XLSX
ebuild: /var/lib/cpan/perl-gcpan/Spreadsheet-XLSX-0.13-withoutworldwriteables/Spreadsheet-XLSX-0.13-withoutworldwriteables-.ebuild: perl-gcpan/Spreadsheet-XLSX-0.13-withoutworldwriteables-: does not follow correct package syntax

These are the packages that would be merged, in order:

Calculating dependencies -
Invalid ebuild name: /var/lib/cpan/perl-gcpan/Spreadsheet-XLSX-0.13-withoutworldwriteables/Spreadsheet-XLSX-0.13-withoutworldwriteables-.ebuild
... done!

emerge: there are no ebuilds to satisfy "Spreadsheet-XLSX-0.13-withoutworldwriteables".

emerge: searching for similar names... nothing similar found.
root@caiman:/home/rose/Txt/projects/VirenIdentifikation_WalterStoecklein/src(161)# qlist -Iv g-cpan
app-portage/g-cpan-0.16.4-r4



Is it possible to include Spreadsheet::XLSX directly in the portage tree?
Or is there an other script based possibility to parse newer Excel files?



Reproducible: Always
Comment 1 Juergen Rose 2014-04-17 07:21:03 UTC
I just found Bug 402645. No progress during the last two years.
Comment 2 Juergen Rose 2014-04-17 11:10:59 UTC
(In reply to Juergen Rose from comment #0)
> 'g-cpan -p Spreadsheet::XLSX' fails with:

...
> 
> Is it possible to include Spreadsheet::XLSX directly in the portage tree?
> Or is there an other script based possibility to parse newer Excel files?


In the zugaina overlay there is an 
Spreadsheet-XLSX-0.13.ebuild. I could emerge Spreadsheet::XLSX and use it without any problems. I would suggest to transfer this ebuild to the regular portage tree.
Comment 3 Juergen Rose 2014-04-17 11:12:38 UTC
> In the zugaina overlay there is an 
> Spreadsheet-XLSX-0.13.ebuild. I could emerge Spreadsheet::XLSX and use it
> without any problems. I would suggest to transfer this ebuild to the regular
> portage tree.

It is at http://data.gpo.zugaina.org/zugaina/dev-perl/Spreadsheet-XLSX/Spreadsheet-XLSX-0.13.ebuild
Comment 4 Vladimir Smirnov (RETIRED) gentoo-dev 2014-04-17 14:04:07 UTC
Thanks for the information, though I'll close this bug as duplicate. I'll paste some info in original bug #402645

*** This bug has been marked as a duplicate of bug 402645 ***
Comment 5 Vladimir Smirnov (RETIRED) gentoo-dev 2014-04-17 14:06:12 UTC
By the way, where you've get g-capn 0.16.4-r4? In portage there is only 0.16.4-r1 :)
Comment 6 Juergen Rose 2014-04-17 14:52:22 UTC
(In reply to Vladimir Smirnov from comment #5)
> By the way, where you've get g-capn 0.16.4-r4? In portage there is only
> 0.16.4-r1 :)

See the Comments 7-9 of https://bugs.gentoo.org/show_bug.cgi?id=435304.