Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244654 - app-portage/g-cpan - GD::Graph::histogram installs no files
Summary: app-portage/g-cpan - GD::Graph::histogram installs no files
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 16:01 UTC by Juergen Rose
Modified: 2010-02-12 23:19 UTC (History)
1 user (show)

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


Attachments
GDGraph-histogram-1.1.ebuild (GDGraph-histogram-1.1.ebuild,324 bytes, text/plain)
2008-10-29 09:07 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-10-27 16:01:37 UTC
The installation of GD::Graph::histogram fails with:
...
GDGraph-histogram-1.1/Todo
CPAN: File::Temp loaded ok (v0.20)
Use of uninitialized value in hash element at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/Portage.pm line 72.
Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/Portage.pm line 80.
Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/Portage.pm line 81.
Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/Portage.pm line 81.
 * Ebuild already exists for GDGraph (dev-perl/GDGraph)
 * Test::Simple is part of the core perl install
 * Generating ebuild for GD::Graph::histogram
 * Ebuild generated for GD-Graph-histogram
>>> Creating Manifest for /usr/local/portage/layman/science/perl-gcpan/GDGraph-histogram
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) perl-gcpan/GDGraph-histogram-1.1
 * GDGraph-histogram-1.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking GDGraph-histogram-1.1.tar.gz to /var/tmp/portage/perl-gcpan/GDGraph-histogram-1.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/perl-gcpan/GDGraph-histogram-1.1/work ...
 * No Make or Build file detected...
>>> Source compiled.
>>> Test phase [not enabled]: perl-gcpan/GDGraph-histogram-1.1

>>> Install GDGraph-histogram-1.1 into /var/tmp/portage/perl-gcpan/GDGraph-histogram-1.1/image/ category perl-gcpan
 * Cleaning out stray man files
>>> Completed installing GDGraph-histogram-1.1 into /var/tmp/portage/perl-gcpan/GDGraph-histogram-1.1/image/


>>> Installing perl-gcpan/GDGraph-histogram-1.1
* checking 0 files for package collisions
 * Man pages are not installed for most modules now.
 * Please use perldoc instead.
root@lynx:/root(54)# equery files GDGraph-histogram   
[ Searching for packages matching GDGraph-histogram... ]
* Contents of perl-gcpan/GDGraph-histogram-1.1:
root@lynx:/root(55)#

I.e., no file is installed.

Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2008-10-29 09:07:54 UTC
Created attachment 170192 [details]
GDGraph-histogram-1.1.ebuild

I can't help with g-cpan but i can attach an ebuild for GDGraph-histogram.



| >>> Compiling source in /var/tmp/portage/perl-gcpan/GDGraph-histogram-1.1/work ...
|  * No Make or Build file detected...

Shouldn't it be "Compiling source in /var/tmp/portage/dev-perl/GDGraph-histogram-1.1/work/GDGraph-histogram-1.1"?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 23:19:23 UTC
ebuild generated by g-cpan 0.16.0 works perfectly.

>>> Completed installing GDGraph-histogram-1.1 into /dev/shm/portage/perl-gcpan/GDGraph-histogram-1.1/image/

./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/GDGraph-histogram-1.1/
./usr/share/doc/GDGraph-histogram-1.1/Changes.bz2
./usr/share/doc/GDGraph-histogram-1.1/README.bz2
./usr/lib64/
./usr/lib64/perl5/
./usr/lib64/perl5/vendor_perl/
./usr/lib64/perl5/vendor_perl/5.8.8/
./usr/lib64/perl5/vendor_perl/5.8.8/GD/
./usr/lib64/perl5/vendor_perl/5.8.8/GD/Graph/
./usr/lib64/perl5/vendor_perl/5.8.8/GD/Graph/histogram.pm
>>> Done.

But if it does go into the tree, it needs a bit of makefile.PL patching to install the histogram.pl from scripts/