Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168644 - g-cpan-0.15_rc2 not found imagemagick with perl USE flag build
Summary: g-cpan-0.15_rc2 not found imagemagick with perl USE flag build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 22:11 UTC by Sergiy Borodych
Modified: 2007-03-31 18:23 UTC (History)
0 users

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 Sergiy Borodych 2007-02-27 22:11:41 UTC
g-cpan-0.15_rc2 not found imagemagick with perl USE flag build
and try generate ebuild for PerlMagick module and install it


# g-cpan -i -v -p CGI-Application-PhotoGallery
 * Getting CPAN Info for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for CGI-Application-PhotoGallery
 * Scanning /usr/local/portage for CGI-Application-PhotoGallery
 * Scanning /usr/portage for CGI-Application-PhotoGallery
|CGI-Application-PhotoGallery-0.05/
CGI-Application-PhotoGallery-0.05/Build.PL
CGI-Application-PhotoGallery-0.05/Changes
CGI-Application-PhotoGallery-0.05/etc/
CGI-Application-PhotoGallery-0.05/etc/photos_index.tmpl
CGI-Application-PhotoGallery-0.05/etc/photos_single.tmpl
CGI-Application-PhotoGallery-0.05/lib/
CGI-Application-PhotoGallery-0.05/lib/CGI/
CGI-Application-PhotoGallery-0.05/lib/CGI/Application/
CGI-Application-PhotoGallery-0.05/lib/CGI/Application/PhotoGallery/
CGI-Application-PhotoGallery-0.05/lib/CGI/Application/PhotoGallery/GD.pm
CGI-Application-PhotoGallery-0.05/lib/CGI/Application/PhotoGallery/Magick.pm
CGI-Application-PhotoGallery-0.05/lib/CGI/Application/PhotoGallery.pm
CGI-Application-PhotoGallery-0.05/Makefile.PL
CGI-Application-PhotoGallery-0.05/MANIFEST
CGI-Application-PhotoGallery-0.05/META.yml
CGI-Application-PhotoGallery-0.05/README
CGI-Application-PhotoGallery-0.05/t/
CGI-Application-PhotoGallery-0.05/t/01-use.t
CGI-Application-PhotoGallery-0.05/t/98-pod_coverage.t
CGI-Application-PhotoGallery-0.05/t/99-pod.t
/bin/tar: A lone zero block at 94
 * Checking on dependency File::Find::Rule for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for File-Find-Rule
 * Scanning /usr/local/portage for File-Find-Rule
 * Scanning /usr/portage for File-Find-Rule
 * Found ebuild under CPAN name (File-Find-Rule)
 * Ebuild already exists for File-Find-Rule
 * Scanning /usr/local/portage.old for File-Find-Rule
 * Checking on dependency Cache::FileCache for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for Cache-Cache
 * Scanning /usr/local/portage for Cache-Cache
 * Scanning /usr/portage for Cache-Cache
 * Found ebuild under CPAN name (Cache-Cache)
 * Ebuild already exists for Cache-Cache
 * Scanning /usr/local/portage.old for Cache-Cache
 * Checking on dependency Image::Magick for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for PerlMagick
 * Scanning /usr/local/portage for PerlMagick
 * Scanning /usr/portage for PerlMagick
/./PerlMagick-6.32/
./PerlMagick-6.32/.gdbinit
... cut here ...
./PerlMagick-6.32/t/subroutines.pl
-Note (probably harmless): No library found for -llcms
 * Create directory '/usr/local/portage/perl-gcpan/PerlMagick'
 * Create directory '/usr/local/portage/perl-gcpan/PerlMagick/files'
 * Generating ebuild for Image::Magick
 * Copying /root/.cpan/sources/authors/id/J/JC/JCRISTY/PerlMagick-6.32.tar.gz to /usr/portage/distfiles
 * Ebuild generated for Image-Magick
 * Scanning /usr/local/portage.old for PerlMagick
 * Scanning /usr/local/portage for PerlMagick
 * Checking on dependency MIME::Types for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for MIME-Types
 * Scanning /usr/local/portage for MIME-Types
 * Scanning /usr/portage for MIME-Types
 * Found ebuild under CPAN name (MIME-Types)
 * Ebuild already exists for MIME-Types
 * Scanning /usr/local/portage.old for MIME-Types
 * Checking on dependency Test::More for CGI::Application::PhotoGallery
/ * Checking on dependency CGI::Application for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for CGI-Application
 * Found ebuild under CPAN name (CGI-Application)
 * Ebuild already exists for CGI-Application
 * Scanning /usr/local/portage.old for CGI-Application
 * Checking on dependency File::Basename for CGI::Application::PhotoGallery
| * Checking on dependency GD for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for GD
 * Scanning /usr/local/portage for GD
 * Scanning /usr/portage for GD
 * Found ebuild under CPAN name (GD)
 * Ebuild already exists for GD
 * Scanning /usr/local/portage.old for GD
 * Create directory '/usr/local/portage/perl-gcpan/CGI-Application-PhotoGallery'
 * Create directory '/usr/local/portage/perl-gcpan/CGI-Application-PhotoGallery/files'
 * Generating ebuild for CGI::Application::PhotoGallery
 * Scanning /usr/local/portage.old for file-find-rule
 * Scanning /usr/local/portage.old for cache-cache
 * Scanning /usr/local/portage.old for perlmagick
 * Scanning /usr/local/portage.old for mime-types
 * Scanning /usr/local/portage.old for cgi-application
 * Scanning /usr/local/portage.old for gd
 * Copying /root/.cpan/sources/authors/id/B/BR/BRICAS/CGI-Application-PhotoGallery-0.05.tar.gz to /usr/portage/distfiles
 * Ebuild generated for CGI-Application-PhotoGallery
 * Calling emerge for CGI-Application-PhotoGallery PerlMagick

 * Calling: emerge --pretend CGI-Application-PhotoGallery PerlMagick

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

Calculating dependencies... done!
[ebuild  N    ] perl-gcpan/PerlMagick-6.32  
[ebuild  N    ] perl-gcpan/CGI-Application-PhotoGallery-0.05  
 * Cleaning temporary space
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-03-03 03:06:42 UTC
I don't think that I can fix this - there is no ebuild for perlmagick, which is what's confusing the cpan parsing here (perlmagick is built from imagemagick via the use flag, but that's not the same). patches welcome, but g-cpan isn't 100% guaranteed (just a close 90% ;)
Comment 2 Sergiy Borodych 2007-03-03 13:39:04 UTC
a long time ago
I suggest use equery (or similar) method
at
http://bugs.gentoo.org/show_bug.cgi?id=119202

what you think about it now ?
Comment 3 Sergiy Borodych 2007-03-03 14:09:34 UTC
I talk about

homeland portage # equery b Gentoo/UI/Console.pm
[ Searching for file(s) Gentoo/UI/Console.pm in *... ]
app-portage/g-cpan-0.15_rc2 (/usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/UI/Console.pm)
homeland portage # grep Gentoo/UI/Console.pm /var/db/pkg/*/*/CONTENTS 
/var/db/pkg/app-portage/g-cpan-0.15_rc2/CONTENTS:obj /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/UI/Console.pm ca35ccca51d7fbd26c0cbb543efb0664 1171274779

grep more quickly
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-03-12 15:39:25 UTC
(In reply to comment #2)
> what you think about it now ?
> 
It still doesn't help. It only works if you happen to have the package (ImageMagick in this case) installed - if you don't, you still have the same problem.
Comment 5 Sergiy Borodych 2007-03-13 12:30:56 UTC
You are right
this idea not panacea
but in most cases would help
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2007-03-31 18:23:58 UTC
Mostly resolved by performing a simple lookup table of CPAN name to Ebuild name for those cases that don't match. At least PerlMagick won't be generated any more, but instead a dep will point at media-gfx/imagemagick