Summary: | app-portage/g-cpan-0.16.* generates broken ebuild depending on perl-g-cpan instead of dev-perl modules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Unspecified | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | perl, Sergiy.Borodych |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
generated Math-GSL-0.27.ebuild depending on perl-gcpan/Test-Exception instead of dev-perl/Test-Exception
g-cpan-i_Cv.log g-cpan-i_Cv.log with /etc/make.globals |
Description
Juergen Rose
2012-09-17 07:37:45 UTC
Created attachment 324082 [details]
generated Math-GSL-0.27.ebuild depending on perl-gcpan/Test-Exception instead of dev-perl/Test-Exception
Any news? The last 'g-cpan -u' generated several broken ebuilds: - Math-GSL-0.27.ebuild, depending on perl-gcpan/Test-Exception and perl-gcpan/Test-Class while dev-perl/Test-Exception and perl-gcpan/Test-Class is installed - MooseX-MethodAttributes-0.28.ebuild, depending on perl-gcpan/Test-Exception while dev-perl/Test-Exception is installed - Test-Deep-0.110.ebuild, depending on perl-gcpan/Test-Tester while dev-perl/Test-Tester is available - Class-Load-0.20.ebuild, depending on perl-gcpan/Try-Tiny, perl-gcpan/Package-Stash, perl-gcpan/Test-Fatal, perl-gcpan/Module-Runtime, perl-gcpan/Data-OptList and perl-gcpan/Module-Implementation while dev-perl/Try-Tiny, dev-perl/Package-Stash, dev-perl/Test-Fatal, dev-perl/Module-Runtime, dev-perl/Data-OptList and dev-perl/Module-Implementation is installed ... The emerging of most of this modules fails to file collision. So all these ebuilds generated by 'c-cpan -u' have manually be removed, which is really nasty. Any news? If nobody can fix g-cpan, I would vote for removing it from the portage tree. Beside the issue I described here, there are further issues with g-cpan. E.g., packages which are gerenerated by g-cpan as dependency of other packages are entering in /var/lib/portage/world. I hit similar issues again. 'g-cpan -u' at caiman fails with: ... * File::Temp is part of the core perl install * Ebuild already exists for Algorithm-Cluster (perl-gcpan/Algorithm-Cluster) * Algorithm-DistanceMatrix already up to date Calculating dependencies - Invalid ebuild name: /var/lib/cpan/perl-gcpan/GDGraph/GDGraph-.ebuild [ Results for search key : Test-SubCalls ] [ Applications found : 2 ] * dev-perl/Test-SubCalls Latest version available: 1.90.0 Latest version installed: [ Not Installed ] Size of files: 25 kB Homepage: http://search.cpan.org/dist/Test-SubCalls/ Description: Track the number of times subs are called License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/Test-SubCalls Latest version available: 1.09 Latest version installed: [ Not Installed ] Size of files: 25 kB Homepage: http://search.cpan.org/dist/Test-SubCalls/ Description: Track the number of times subs are called License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "Test-SubCalls" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. The file /var/lib/cpan/perl-gcpan/GDGraph/GDGraph-.ebuild was generated by g-cpan. At caiman 'g-cpan -u' fails with: ... * Test::Builder::Tester is part of the core perl install * Test-File already up to date These are the packages that would be merged, in order: Calculating dependencies... done! !!! One or more packages have been dropped due to !!! masking or unsatisfied dependencies: (media-gfx/gthumb-3.0.2::gentoo, ebuild scheduled for merge) (perl-gcpan/Number-Compare-0.03::x-cpan, ebuild scheduled for merge) (sci-misc/imagej-1.47h::x-portage, ebuild scheduled for merge) (net-libs/libdmapsharing-2.9.15::gentoo, ebuild scheduled for merge) (perl-gcpan/Text-Glob-0.09::x-cpan, ebuild scheduled for merge) (perl-gcpan/File-Find-Rule-0.33::x-cpan, ebuild scheduled for merge) (perl-gcpan/File-Find-Rule-Perl-1.13::x-cpan, ebuild scheduled for merge) (perl-gcpan/Imager-0.94::x-cpan, ebuild scheduled for merge) emerge: It seems we have nothing to resume... root@caiman:/root(236)# emerge -pvuND world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/Params-Util-1.07::x-cpan 0 kB [ebuild N ] perl-gcpan/Number-Compare-0.03::x-cpan 0 kB [ebuild N ] perl-gcpan/Text-Glob-0.09::x-cpan 0 kB [ebuild N ] perl-gcpan/File-Find-Rule-0.33::x-cpan 0 kB [ebuild U ] perl-gcpan/File-Find-Rule-Perl-1.13::x-cpan [1.12::x-cpan] 0 kB Total: 5 packages (1 upgrade, 4 new), Size of downloads: 0 kB ... root@caiman:/root(238)# emerge -pvD gthumb imagej libdmapsharing Imager These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/Imager-0.94::x-cpan 0 kB [ebuild R ] sci-misc/imagej-1.47h::x-portage USE="doc plugins -debug" 0 kB [ebuild R ] net-libs/libdmapsharing-2.9.15:3.0 USE="-doc" 0 kB [ebuild R ] media-gfx/gthumb-3.0.2 USE="cdr exif gnome-keyring gstreamer http jpeg raw slideshow svg tiff -debug {-test}" 0 kB Total: 4 packages (1 new, 3 reinstalls), Size of downloads: 0 kB root@caiman:/root(239)# qlist -Iv Params-Util dev-perl/Params-Util-1.60.0 root@caiman:/root(240)# qlist -Iv Number-Compare dev-perl/Number-Compare-0.30.0 root@caiman:/root(241)# qlist -Iv Text-Glob dev-perl/Text-Glob-0.90.0 root@caiman:/root(242)# qlist -Iv File-Find-Rule dev-perl/File-Find-Rule-0.330.0 perl-gcpan/File-Find-Rule-Perl-1.12 Why 'g-cpan -u' complains about gthumb, imagej and libdmapsharing, which are in current state? Why 'g-cpan -u' wants to create perl-gcpan/Params-Util, perl-gcpan/Text-Glob, perl-gcpan/Number-Compare and perl-gcpan/File-Find-Rule which conflict with dev-perl/Params-Util, dev-perl/Number-Compare, dev-perl/Text-Glob and dev-perl/File-Find-Rule? Ping!? Did someone tried my patches? https://github.com/gentoo-perl/g-cpan/pull/1 For me it works # g-cpan -i -v -p Math-GSL ... * Calling: emerge --pretend Math-GSL These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-perl/Sub-Uplevel-0.240.0 [ebuild N ] perl-core/Data-Dumper-2.139.0 [ebuild N ] dev-perl/Test-Exception-0.310.0 [ebuild N ~] dev-perl/Test-Class-0.380.0 USE="{-test}" [ebuild N ] dev-perl/Test-Warn-0.240.0 USE="{-test}" [ebuild N ] virtual/perl-Data-Dumper-2.139.0 [ebuild N ] dev-perl/Test-Differences-0.610.0 USE="{-test}" [ebuild N ] dev-perl/Test-Most-0.250.0 [ebuild N ] perl-gcpan/Math-GSL-0.27 The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) #required by perl-gcpan/Math-GSL-0.27, required by Math-GSL (argument) =dev-perl/Test-Class-0.380.0 ~amd64 * Cleaning temporary space Hi Sergiy, I tried your g-cpan version (g-cpan-0.16.4-r4). I started with the attempt to update Cv: root@leopard:/root(119)# g-cpan -u Cv -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Tue, 05 Mar 2013 09:17:02 GMT CPAN: LWP::UserAgent loaded ok (v6.04) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP: ... Checksum for /tmp/.cpan/sources/authors/id/Y/YU/YUTA/Cv-0.24.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) Cv-0.24/ Cv-0.24/Changes Cv-0.24/Cv.inc ... Cv-0.24/tools/test.sh Cv-0.24/tools/testdist.pl CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.80) ./tools/dumpconst.pl -v -o a.pm /usr/include h2ph -d ./tmp opencv/cxeigen.hpp mkdir ./tmp mkdir ./tmp/opencv Destination directory /usr/local/lib64/perl5/5.16.2/x86_64-linux-thread-multi doesn't exist or isn't a directory h2ph -d ./tmp opencv/cvaux.h Destination directory /usr/local/lib64/perl5/5.16.2/x86_64-linux-thread-multi doesn't exist or isn't a directory h2ph -d ./tmp opencv/cv.h Destination directory /usr/local/lib64/perl5/5.16.2/x86_64-linux-thread-multi doesn't exist or isn't a directory ... Destination directory /usr/local/lib64/perl5/5.16.2/x86_64-linux-thread-multi doesn't exist or isn't a directory opencv/cv.ph did not return a true value at ./tools/dumpconst.pl line 49, <FIND> line 147. /bin/cp fallback/Constant.pm-2.4.3 a.pm /bin/cp a.pm lib/Cv/Constant.pm /bin/rm -f a.pm /tmp/cv31141.c: In function ‘int main()’: /tmp/cv31141.c:5:32: error: ‘cvFontQt’ was not declared in this scope Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '/usr/lib64/libopencv_calib3d.so' Unrecognized argument in LIBS ignored: '/usr/lib64/libopencv_contrib.so' ... Unrecognized argument in LIBS ignored: '/usr/lib64/libopencv_videostab.so' Writing Makefile for Cv::Test ... make[1]: Leaving directory `/var/tmp/portage/perl-gcpan/Cv-0.24/work/Cv-0.24/Test' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /var/tmp/portage/perl-gcpan/Cv-0.24/image/usr/lib64/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi/auto/Cv/Cv.bs ... Installing /var/tmp/portage/perl-gcpan/Cv-0.24/image/usr/lib64/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi/Cv/Seq/Point.pm >>> Completed installing Cv-0.24 into /var/tmp/portage/perl-gcpan/Cv-0.24/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line usr/lib64/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi/auto/Cv/Cv.so >>> Installing (1 of 1) perl-gcpan/Cv-0.24 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. And I find the new files under /usr/lib/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi/Cv. So far so good. But why g-cpan complains about the non existent Destination directory /usr/local/lib64/perl5/5.16.2/? It really does not exist. /usr/local/lib64 is an empty directory. Then I tried to install Math-GSL-0.27. It beginns with: root@leopard:/root(125)# g-cpan -i Math-GSL -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Wed, 06 Mar 2013 17:07:24 GMT |CPAN: LWP::UserAgent loaded ok (v6.04) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP: http://search.cpan.org/CPAN/authors/id/L/LE/LETO/Math-GSL-0.27.tar.gz ... Checking for GSL.. Found GSL 1.15 (via gsl-config) installed in /usr, CFLAGS=-I/usr/include, -L/usr/lib64 -lgsl -lgslcblas -lm Asking ExtUtils::PkgConfig with ENV{PKG_CONFIG_PATH}=/usr/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/pkgconfig:/usr/libdata/pkgconfig:/usr/local/libdata/pkgconfig:/opt/pkgconfig: *** can't find cflags for "gsl" *** is it properly installed and available in PKG_CONFIG_PATH? at Build.PL line 156. * Scalar::Util is part of the core perl install * Ebuild already exists for Test-Exception (perl-gcpan/Test-Exception) -Fetching with LWP: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Class-0.38.tar.gz Fetching with LWP: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/CHECKSUMS Checksum for /tmp/.cpan/sources/authors/id/A/AD/ADIE/Test-Class-0.38.tar.gz ok Test-Class-0.38 Test-Class-0.38/Changes ... 2013-03-06 19:04:13 (9.25 MB/s) - ‘/usr/local/portage/distfiles_leopard/Math-GSL-0.27.tar.gz’ saved [9273965/9273965] >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Math-GSL Calculating dependencies | [ Results for search key : Test-Class ] [ Applications found : 2 ] * dev-perl/Test-Class Latest version available: 0.380.0 Latest version installed: [ Not Installed ] Size of files: 76 kB Homepage: http://search.cpan.org/dist/Test-Class/ Description: Easily create test classes in an xUnit style. License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/Test-Class Latest version available: 0.38 Latest version installed: [ Not Installed ] Size of files: 76 kB Homepage: http://search.cpan.org/dist/Test-Class/ Description: Easily create test classes in an xUnit/JUnit style License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "Test-Class" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. And we have again the problem with the two versions of Test-Class! Any idea is appreciated. The result of 'g-cpan -i -v -p Math-GSL' also differs from yours, Sergiy: root@leopard:/root(126)# g-cpan -i -v -p Math-GSL * Getting CPAN Info for Math::GSL -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Wed, 06 Mar 2013 17:07:24 GMT * Scanning /usr/local/portage for Math-GSL * Scanning /var/lib/cpan for Math-GSL * Found ebuild for CPAN name Math-GSL * Ebuild already exists for Math-GSL (perl-gcpan/Math-GSL) * Calling emerge for Math-GSL * Calling: emerge --pretend Math-GSL These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/Sub-Uplevel-0.24 [ebuild N ] perl-gcpan/Test-Tester-0.108 [ebuild N ] perl-gcpan/Class-Data-Inheritable-0.08 [ebuild N ] perl-gcpan/Devel-StackTrace-1.30 [ebuild N ] perl-gcpan/Algorithm-Diff-1.1902 [ebuild N ] perl-gcpan/Test-Pod-1.45 [ebuild N ] perl-gcpan/MRO-Compat-0.12 [ebuild N ] perl-gcpan/Test-Exception-0.31 [ebuild N ] perl-gcpan/Exception-Class-1.36 [ebuild N ] perl-gcpan/Test-NoWarnings-1.04 [ebuild N ] perl-gcpan/Text-Diff-1.41 [ebuild N ] perl-gcpan/Tree-DAG_Node-1.09 [ebuild N ] perl-gcpan/Test-Class-0.38 [ebuild N ] perl-gcpan/Test-Warn-0.24 [ebuild N ] perl-gcpan/Test-Differences-0.61 [ebuild N ] perl-gcpan/Test-Deep-0.110 [ebuild N ] perl-gcpan/Test-Most-0.31 [ebuild N ] perl-gcpan/Math-GSL-0.27 You should remove old(created by prev. g-cpan) ebuilds first. From /usr/local/portage or /var/lib/cpan. It still fails. I did: root@leopard:/root(15)# mv /var/lib/cpan/perl-gcpan/ /home/rose/var_lib_cpan_perl-cpan_new root@leopard:/root(16)# g-cpan -i -v -p Math-GSL Math-GSL * Getting CPAN Info for Math::GSL -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Fri, 08 Mar 2013 14:53:03 GMT * Scanning /usr/local/portage for Math-GSL * Scanning /var/lib/cpan for Math-GSL * Scanning /var/lib/layman/sabayon for Math-GSL * Scanning /var/lib/layman/sunrise for Math-GSL * Scanning /var/lib/layman/x11 for Math-GSL * Scanning /var/lib/layman/lisp for Math-GSL * Scanning /var/lib/layman/sage-on-gentoo for Math-GSL * Scanning /var/lib/g-octave for Math-GSL * Scanning /var/lib/layman/science for Math-GSL |CPAN: Digest::SHA loaded ok (v5.82) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for /tmp/.cpan/sources/authors/id/L/LE/LETO/Math-GSL-0.27.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) Math-GSL-0.27 Math-GSL-0.27/MANIFEST.SKIP ... Test-Exception-0.31/xt/spelling.t CPAN: Module::Build loaded ok (v0.4003) Use of uninitialized value $prefer_installer in lc at /usr/lib64/perl5/5.16.2/CPAN/Distribution.pm line 754. Use of uninitialized value $prefer_installer in lc at /usr/lib64/perl5/5.16.2/CPAN/Distribution.pm line 757. Warning: prerequisite Sub::Uplevel 0.18 not found. Checking if your kit is complete... Looks good Writing Makefile for Test::Exception Writing MYMETA.yml and MYMETA.json Checking prerequisites... requires: ! Sub::Uplevel is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation ... Test-Class-0.38/t/test-libs/lib3/Tests/Subdir/Good3.pm Use of uninitialized value $prefer_installer in lc at /usr/lib64/perl5/5.16.2/CPAN/Distribution.pm line 754. Use of uninitialized value $prefer_installer in lc at /usr/lib64/perl5/5.16.2/CPAN/Distribution.pm line 757. Checking if your kit is complete... Looks good ... These are the packages that would be merged, in order: Calculating dependencies | [ Results for search key : PadWalker ] [ Applications found : 2 ] * dev-perl/PadWalker Latest version available: 1.960.0 Latest version installed: [ Not Installed ] Size of files: 14 kB Homepage: http://search.cpan.org/dist/PadWalker/ Description: play with other peoples' lexical variables License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/PadWalker Latest version available: 1.96 Latest version installed: [ Not Installed ] Size of files: 14 kB Homepage: http://search.cpan.org/dist/PadWalker/ Description: play with other peoples' lexical variables License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "PadWalker" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. ... done! * Cleaning temporary space root@leopard:/root(17)# Strange, because for me it not generate dev-perl/PadWalker dependency neither. Could you please provide full log (as attach or link to some copy-paste site)? But be sure what you do full cleanup from old ebuilds before. (In reply to comment #13) > Strange, because for me it not generate dev-perl/PadWalker dependency > neither. > > Could you please provide full log (as attach or link to some copy-paste > site)? > But be sure what you do full cleanup from old ebuilds before. I just tried the following: 1st) removed all installed perl-gcpan (emerge -C `qlist -IC perl-gcpan`). 2nd) I removed all ebuilds under /var/lib/cpan/perl-gcpan: root@impala:/root(27)# ll /var/lib/cpan/perl-gcpan/ total 0 3rd) I installed the patches of Comment 7 (https://bugs.gentoo.org/show_bug.cgi?id=435304#c7) root@impala:/root(28)# qlist -Iv g-cpan app-portage/g-cpan-0.16.4-r4 ... 4th) I tried to reinstall AI-Genetic-Pro: root@impala:/root(29)# g-cpan -i AI-Genetic-Pro ... Checksum for /tmp/.cpan/sources/authors/id/S/ST/STRZELEC/AI-Genetic-Pro-0.401.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) ... Warning: prerequisite Class::Accessor::Fast::XS 0 not found. Warning: prerequisite Struct::Compare 0 not found. Warning: prerequisite Tie::Array::Packed 0 not found. Writing Makefile for AI::Genetic::Pro Writing MYMETA.yml and MYMETA.json \Checksum for /tmp/.cpan/sources/authors/id/G/GR/GROMMEL/Math-Random-0.71.tar.gz ok ... >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Math-Random -Checksum for /tmp/.cpan/sources/authors/id/M/MS/MSCHWERN/Exporter-Lite-0.02.tar.gz ok ... >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Exporter-Lite -Checksum for /tmp/.cpan/sources/authors/id/R/RU/RUZ/Class-Accessor-Fast-XS-0.04.tar.gz ok ... * Carp is part of the core perl install \Checksum for /tmp/.cpan/sources/authors/id/B/BW/BWARFIELD/GDGraph-1.44.tar.gz ok ... -Checksum for /tmp/.cpan/sources/authors/id/M/MV/MVERB/GDTextUtil-0.86.tar.gz ok ... /Checksum for /tmp/.cpan/sources/authors/id/L/LD/LDS/GD-2.49.tar.gz ok ... >>> Downloading 'http://www.cpan.org/authors/id/B/BW/BWARFIELD/GDGraph-1.8.tar.gz' --2013-05-08 12:34:28-- http://www.cpan.org/authors/id/B/BW/BWARFIELD/GDGraph-1.8.tar.gz Resolving www.cpan.org (www.cpan.org)... 212.117.177.118, 2a01:608:2:4::2, 2620:101:d000:8::140:1 Connecting to www.cpan.org (www.cpan.org)|212.117.177.118|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-05-08 12:34:28 ERROR 404: Not Found. !!! Couldn't download 'GDGraph-1.8.tar.gz'. Aborting. !!! Fetch failed for GDGraph-1.8.tar.gz, can't update Manifest * List::Util is part of the core perl install /Checksum for /tmp/.cpan/sources/authors/id/G/GA/GARU/Clone-0.34.tar.gz ok ... /Checksum for /tmp/.cpan/sources/authors/id/S/SA/SALVA/Tie-Array-Packed-0.11.tar.gz ok ... /Checksum for /tmp/.cpan/sources/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-0.13.tar.gz ok ... /Checksum for /tmp/.cpan/sources/authors/id/A/AD/ADAMK/List-MoreUtils-0.33.tar.gz ok ... \Checksum for /tmp/.cpan/sources/authors/id/Z/ZE/ZENSPIDER/Struct-Compare-1.0.1.tar.gz ok ... Struct-Compare-1.0.1/MANIFEST Checking if your kit is complete... Looks good Writing Makefile for Struct::Compare Writing MYMETA.yml and MYMETA.json * Generating ebuild for Struct::Compare * Ebuild generated for Struct-Compare >>> Downloading 'http://distfiles.gentoo.org/distfiles/Struct-Compare-1.0.tar.gz' --2013-05-08 12:41:40-- http://distfiles.gentoo.org/distfiles/Struct-Compare-1.0.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, 64.50.233.100, 216.165.129.135, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-05-08 12:41:41 ERROR 404: Not Found. ... TTP request sent, awaiting response... 404 Not Found 2013-05-08 12:42:49 ERROR 404: Not Found. !!! Couldn't download 'Struct-Compare-1.0.tar.gz'. Aborting. !!! Fetch failed for Struct-Compare-1.0.tar.gz, can't update Manifest * Generating ebuild for AI::Genetic::Pro * Ebuild generated for AI-Genetic-Pro >>> Creating Manifest for /var/lib/cpan/perl-gcpan/AI-Genetic-Pro These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/GD-2.49 [ebuild N ] perl-gcpan/Struct-Compare-1.0.1 [ebuild N ] perl-gcpan/Tie-Array-Packed-0.11 [ebuild N ] perl-gcpan/Class-Accessor-0.34 [ebuild N ] perl-gcpan/Clone-0.34 [ebuild N ] perl-gcpan/Math-Random-0.71 [ebuild N ] perl-gcpan/List-MoreUtils-0.33 [ebuild N ] perl-gcpan/UNIVERSAL-require-0.13 [ebuild N ] perl-gcpan/Exporter-Lite-0.02 [ebuild R ] dev-perl/List-MoreUtils-0.330.0 [ebuild R ] dev-perl/Math-Random-0.710.0 [ebuild R ] dev-perl/Class-Accessor-0.340.0 [ebuild R ] dev-perl/UNIVERSAL-require-0.130.0 [ebuild R ] dev-perl/Exporter-Lite-0.20.0 [ebuild R ] dev-perl/Clone-0.340.0 [ebuild R ] dev-perl/GD-2.460.0 [ebuild N ] perl-gcpan/Class-Accessor-Fast-XS-0.04 [ebuild N ] perl-gcpan/GDTextUtil-0.86 [ebuild R ] dev-perl/GDTextUtil-0.860.0 [ebuild N ] perl-gcpan/GDGraph-1.44 [ebuild R ] dev-perl/GDGraph-1.440.0 [ebuild N ] perl-gcpan/AI-Genetic-Pro-0.401 Beside the fact that emerge could not download Struct-Compare-1.0.tar.gz, it want to reinstall GD, Class-Accessor, Clone, Math-Random, List-MoreUtils, UNIVERSAL-require and Exporter-Lite from CPAN, which are already installed from the portage tree. I tried to install Cv: root@impala:/usr/share/gnome/apps(101)# rm -r /var/lib/cpan/perl-gcpan/* root@impala:/usr/share/gnome/apps(102)# qlist -Iv perl-gcpan root@impala:/usr/share/gnome/apps(104)# g-cpan -i Cv 2>&1 | tee g-cpan-i_Cv.log -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Wed, 08 May 2013 08:07:30 GMT CPAN: LWP::UserAgent loaded ok (v6.05) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP: http://search.cpan.org/CPAN/authors/01mailrc.txt.gz Reading '/tmp/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.06) ............................................................................DONE Fetching with LWP: http://search.cpan.org/CPAN/modules/02packages.details.txt.gz ... * Generating ebuild for Cv Use of uninitialized value $eb in substitution (s///) at /usr/bin/g-cpan line 899, <DATA> line 3383. Use of uninitialized value $eb in pattern match (m//) at /usr/bin/g-cpan line 902, <DATA> line 3383. Use of uninitialized value $eb in split at /usr/bin/g-cpan line 907, <DATA> line 3383. Use of uninitialized value $eb_version in int at /usr/bin/g-cpan line 780, <DATA> line 3383. * Ebuild generated for Cv >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Cv Calculating dependencies [ Results for search key : Test-Number-Delta ] [ Applications found : 2 ] * dev-perl/Test-Number-Delta Latest version available: 1.30.0 Latest version installed: [ Not Installed ] Size of files: 18 kB Homepage: http://search.cpan.org/dist/Test-Number-Delta/ Description: Compare the difference between numbers against a given tolerance License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/Test-Number-Delta Latest version available: 1.03 Latest version installed: [ Not Installed ] Size of files: 18 kB Homepage: http://search.cpan.org/dist/Test-Number-Delta/ Description: Test absolute difference between numbers License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "Test-Number-Delta" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. ... done! Created attachment 347860 [details]
g-cpan-i_Cv.log
(In reply to comment #13) > Strange, because for me it not generate dev-perl/PadWalker dependency > neither. > > Could you please provide full log (as attach or link to some copy-paste > site)? > But be sure what you do full cleanup from old ebuilds before. Privet Sergiy, maybe I did not correctly use your patches. How can I check this? I have: root@impala:/usr/share/gnome/apps(105)# qlist -v g-cpan /usr/share/man/man1/g-cpan.1.bz2 /usr/share/doc/g-cpan-0.16.4-r4/ChangeLog.bz2 /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo.pm /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/CPAN.pm /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/Portage.pm /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/UI/Console.pm /usr/bin/g-cpan /var/tmp/g-cpan/.keep_app-portage_g-cpan-0 /var/log/g-cpan/.keep_app-portage_g-cpan-0 root@impala:/usr/share/gnome/apps(109)# ll /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo.pm /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo /usr/bin/g-cpan -r-xr-xr-x 1 root root 41298 May 8 12:09 /usr/bin/g-cpan* -r--r--r-- 1 root root 2510 May 8 12:09 /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo.pm /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo: total 48 -r--r--r-- 1 root root 21165 May 8 12:09 CPAN.pm -r--r--r-- 1 root root 17699 May 8 12:09 Portage.pm drwxr-xr-x 2 root root 4096 May 8 12:09 UI/ Created attachment 347862 [details] g-cpan-i_Cv.log with /etc/make.globals Maybe the missing /etc/make.globals link (see Bug 465840 and Bug 432992) was the reason for some issues. At least after creating this link 'g-cpan -i Cv' worked. root@impala:/usr/share/gnome/apps(114)# qlist -Iv perl-gcpan root@impala:/usr/share/gnome/apps(115)# rm -r /var/lib/cpan/perl-gcpan/* root@impala:/usr/share/gnome/apps(116)# g-cpan -i Cv 2>&1 | tee g-cpan-i_Cv.logroot@impala:/root(123)# ll /etc/make.globals lrwxrwxrwx 1 root root 38 May 9 18:07 /etc/make.globals -> /usr/share/portage/config/make.globals root@impala:/root(124)# qlist -Iv Cv perl-gcpan/Cv-0.27 root@impala:/root(125)# qlist -Iv perl-gcpan perl-gcpan/Cv-0.27 (In reply to Juergen Rose from comment #18) > Created attachment 347862 [details] > g-cpan-i_Cv.log with /etc/make.globals > > Maybe the missing /etc/make.globals link (see Bug 465840 and Bug 432992) was > the reason for some issues. At least after creating this link 'g-cpan -i Cv' > worked. > > > root@impala:/usr/share/gnome/apps(114)# qlist -Iv perl-gcpan > root@impala:/usr/share/gnome/apps(115)# rm -r /var/lib/cpan/perl-gcpan/* > root@impala:/usr/share/gnome/apps(116)# g-cpan -i Cv 2>&1 | tee > g-cpan-i_Cv.logroot@impala:/root(123)# ll /etc/make.globals > lrwxrwxrwx 1 root root 38 May 9 18:07 /etc/make.globals -> > /usr/share/portage/config/make.globals > root@impala:/root(124)# qlist -Iv Cv > perl-gcpan/Cv-0.27 > root@impala:/root(125)# qlist -Iv perl-gcpan > perl-gcpan/Cv-0.27 The missing missing /etc/make.globals link was not the real reason. Now 'g-cpan -i Cv' with perl-5.18.2-r1 and g-cpan-0.16.5 just generated the same errors. First it generated the /var/lib/cpan/perl-gcpan/Cv /var/lib/cpan/perl-gcpan/Test-Exception /var/lib/cpan/perl-gcpan/Sub-Uplevel directories, instead of using the dev-perl/Sub-Uplevel and dev-perl/Test-Exception packages and then it failed due to ambiguous Sub-Uplevel packages: root@caiman:/root(20)# qlist -Iv g-cpan app-portage/g-cpan-0.16.5 root@caiman:/root(21)# qlist -Iv dev-lang/perl dev-lang/perl-5.18.2-r1 root@caiman:/root(22)# qlist -Iv perl-gcpan/Cv root@caiman:/root(23)# ll /etc/make.globals lrwxrwxrwx 1 root root 38 Jun 19 2013 /etc/make.globals -> /usr/share/portage/config/make.globals root@caiman:/root(24)# g-cpan -i Cv 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. -CPAN: Storable loaded ok (v2.45) Reading '/tmp/.cpan/Metadata' Database was generated on Thu, 17 Jul 2014 10:29:02 GMT |CPAN: LWP::UserAgent loaded ok (v6.05) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: http://search.cpan.org/CPAN/authors/id/Y/YU/YUTA/Cv-0.29.tar.gz ... >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Sub-Uplevel 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. * Module::Build is part of the core perl install * Test::Builder is part of the core perl install * Generating ebuild for Test::Exception * Ebuild generated for Test-Exception >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Test-Exception 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. 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 $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. * Ebuild already exists for Test-Number-Delta (perl-gcpan/Test-Number-Delta) * ExtUtils::MM_Cygwin is part of the core perl install * Ebuild already exists for ExtUtils-PkgConfig (dev-perl/extutils-pkgconfig) * Skipping ExtUtils::MakeMaker dependency * Generating ebuild for Cv Use of uninitialized value $eb in substitution (s///) at /usr/bin/g-cpan line 899, <DATA> line 2151. Use of uninitialized value $eb in pattern match (m//) at /usr/bin/g-cpan line 902, <DATA> line 2151. Use of uninitialized value $eb in split at /usr/bin/g-cpan line 907, <DATA> line 2151. Use of uninitialized value $eb_version in int at /usr/bin/g-cpan line 780, <DATA> line 2151. * Ebuild generated for Cv >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Cv * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies - [ Results for search key : Sub-Uplevel ] [ Applications found : 2 ] * dev-perl/Sub-Uplevel Latest version available: 0.240.0 Latest version installed: [ Not Installed ] Size of files: 22 kB Homepage: http://search.cpan.org/dist/Sub-Uplevel/ Description: Apparently run a function in a higher stack frame License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/Sub-Uplevel Latest version available: 0.24 Latest version installed: [ Not Installed ] Size of files: 22 kB Homepage: http://search.cpan.org/dist/Sub-Uplevel/ Description: apparently run a function in a higher stack frame License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "Sub-Uplevel" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. ... done! Perl packages, which fails to install with g-cpan-0.16.5: ---------------------+--------------------------------------------------- cpan pkg | cpan pkg which is tried to install as dependency | or other error ---------------------+--------------------------------------------------- Cv | Test-Exception-0.32 Device-Arduino-LCD | Device-SerialPort-1.04, Class-MethodMaker-2.21 HTML-SimpleLinkExtor | Business-ISBN-Data-2.07, generates endless loop Imager | Parse-RecDescent-1.967009 Math-GSL | Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.18.2/Gentoo/CPAN.pm line 185 RRDTool-Creator | Log-Log4perl-1.44 RRDTool-OO | Log-Log4perl-1.44 Statistics-Basic | Number-Format-1.73 Test-Benchmark | Test-Tester-0.109 Tk-TIFF | Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.18.2/Gentoo/CPAN.pm line 185 ---------------------+--------------------------------------------------- The following packages can be installed with g-cpan: Algorithm-Cluster Algorithm-ClusterPoints Algorithm-DistanceMatrix Algorithm-Permute Chart-Graph GD-Dashboard Graphics-GnuplotIF LaTeX-Writer-Simple Math-Function-Roots String-Random Term-Gnuplot Tk-FileDialog Tk-Gauge Tk-LCD Tk-MinMaxScale Tk-WaitBox Current status for =app-portage/g-cpan-9999. It will be 0.16.7 soon. ---------------------+--------------------------------------------------- cpan pkg | current status ---------------------+--------------------------------------------------- Cv | * Ebuild already exists for Test-Exception (dev-perl/Test-Exception) Device-Arduino-LCD | * Ebuild already exists for Device-SerialPort (dev-perl/Device-SerialPort), Ebuild already exists for Class-MethodMaker (dev-perl/Class-MethodMaker) HTML-SimpleLinkExtor | no Business-ISBN-Data in deps, all going fine Imager | * Ebuild already exists for Parse-RecDescent (dev-perl/Parse-RecDescent) Math-GSL | * Ebuild generated for Math-GSL RRDTool-Creator | * Ebuild already exists for Log-Log4perl (dev-perl/Log-Log4perl) RRDTool-OO | * Ebuild already exists for Log-Log4perl (dev-perl/Log-Log4perl) Statistics-Basic | * Ebuild already exists for Number-Format (dev-perl/Number-Format) Test-Benchmark | no Test-Tester in deps at the moment Tk-TIFF | * Ebuild generated for Tk-TIFF ---------------------+--------------------------------------------------- Please check from your side. If you have other issues please open bug reports on https://github.com/gentoo-perl/g-cpan/issues Other issue now: ---------------------+--------------------------------------------------- Cv | Can't link/include C library 'opencv_core', aborting. Imager | Libraries *not* found: FT1 Win32 ---------------------+--------------------------------------------------- Seem like we need to detect required libraries in some way, but this is another story. (In reply to Sergiy Borodych from comment #21) > Current status for =app-portage/g-cpan-9999. > It will be 0.16.7 soon. > > ---------------------+--------------------------------------------------- > cpan pkg | current status > ---------------------+--------------------------------------------------- > Cv | * Ebuild already exists for Test-Exception > (dev-perl/Test-Exception) > Device-Arduino-LCD | * Ebuild already exists for Device-SerialPort > (dev-perl/Device-SerialPort), Ebuild already exists for Class-MethodMaker > (dev-perl/Class-MethodMaker) > HTML-SimpleLinkExtor | no Business-ISBN-Data in deps, all going fine > Imager | * Ebuild already exists for Parse-RecDescent > (dev-perl/Parse-RecDescent) > Math-GSL | * Ebuild generated for Math-GSL > RRDTool-Creator | * Ebuild already exists for Log-Log4perl > (dev-perl/Log-Log4perl) > RRDTool-OO | * Ebuild already exists for Log-Log4perl > (dev-perl/Log-Log4perl) > Statistics-Basic | * Ebuild already exists for Number-Format > (dev-perl/Number-Format) > Test-Benchmark | no Test-Tester in deps at the moment > Tk-TIFF | * Ebuild generated for Tk-TIFF > ---------------------+--------------------------------------------------- > > Please check from your side. > If you have other issues please open bug reports on > https://github.com/gentoo-perl/g-cpan/issues > > > Other issue now: > ---------------------+--------------------------------------------------- > Cv | Can't link/include C library 'opencv_core', aborting. > Imager | Libraries *not* found: FT1 Win32 > ---------------------+--------------------------------------------------- > > Seem like we need to detect required libraries in some way, but this is > another story. 'g-cpan -i Cv' now with g-cpan-0.16.6 fails here mostly as before with: * Ebuild generated for Cv >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Cv Calculating dependencies | [ Results for search key : Sub-Uplevel ] * dev-perl/Sub-Uplevel Latest version available: 0.250.0 Latest version installed: [ Not Installed ] Size of files: 27 KiB Homepage: http://search.cpan.org/dist/Sub-Uplevel/ Description: Apparently run a function in a higher stack frame License: || ( Artistic GPL-1+ ) * perl-gcpan/Sub-Uplevel Latest version available: 0.25 Latest version installed: [ Not Installed ] Size of files: 27 KiB Homepage: http://search.cpan.org/dist/Sub-Uplevel/ Description: apparently run a function in a higher stack frame License: || ( Artistic GPL-1 GPL-2 GPL-3 ) [ Applications found : 4 ] !!! The short ebuild name "Sub-Uplevel" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. ... done! root@lynx:/root(30)# qlist -Iv g-cpan app-portage/g-cpan-0.16.6 In such cases you need to remove old perl-gcpan packages (whole package dir) and try again. Like: rm -rf /var/lib/cpan/perl-gcpan/Sub-Uplevel/ It might happens from time to time, as packages add/remove/move from/to portage. Also your current issue maybe due to old g-cpan bugs... (In reply to Sergiy Borodych from comment #23) > In such cases you need to remove old perl-gcpan packages (whole package dir) > and try again. > Like: rm -rf /var/lib/cpan/perl-gcpan/Sub-Uplevel/ > > It might happens from time to time, as packages add/remove/move from/to > portage. > Also your current issue maybe due to old g-cpan bugs... Removing of Subdirectories of /var/lib/cpan/perl-gcpan/ seems not to help for me. E.g., after removing the subdirectories, which was created during my last attempt to install g-cpan/Cv, I have now: root@lynx:/root(84)# ll /var/lib/cpan/perl-gcpan/ total 44 drwxr-xr-x 3 root root 4096 Sep 21 2014 Algorithm-Cluster/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Algorithm-Permute/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Chart-Graph/ drwxr-xr-x 3 root root 4096 Sep 21 2014 GD-Dashboard/ drwxr-xr-x 3 root root 4096 Sep 21 2014 LaTeX-Writer-Simple/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Math-Function-Roots/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Term-Gnuplot/ drwxr-xr-x 3 root root 4096 Jul 25 2014 Text-SimpleTable/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-FileDialog/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-LCD/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-WaitBox/ I now try again to install Cv: root@lynx:/root(85)# g-cpan -iv Cv * Getting CPAN Info for Cv -Reading '/tmp/.cpan/Metadata' Database was generated on Fri, 06 May 2016 18:53:52 GMT * Scanning /var/lib/layman/activehome for Cv * Scanning /var/lib/cpan for Cv * Scanning /usr/local/portage for Cv * Scanning /var/lib/layman/sunrise for Cv * Scanning /var/lib/layman/science for Cv * Scanning /var/lib/layman/tlp for Cv * Scanning /var/lib/layman/x11 for Cv * Scanning /var/lib/layman/ago for Cv * Scanning /var/lib/g-octave for Cv * Scanning /var/lib/layman/sage-on-gentoo for Cv |Checksum for /tmp/.cpan/sources/authors/id/Y/YU/YUTA/Cv-0.29.tar.gz ok ./tools/dumpconst.pl -v -o a.pm /tmp/.cpan/build/Cv-0.29-LtD_cF/lib/Cv /usr/include/ find: ‘opencv*’: No such file or directory h2ph -d ./tmp opencv/cvwimage.h mkdir ./tmp mkdir ./tmp/opencv Destination directory /usr/local/lib64/perl5/5.22.2/x86_64-linux-thread-multi doesn't exist or isn't a directory h2ph -d ./tmp opencv/cvaux.hpp Destination directory /usr/local/lib64/perl5/5.22.2/x86_64-linux-thread-multi doesn't exist or isn't a directory h2ph -d ./tmp opencv/cv.h Destination directory /usr/local/lib64/perl5/5.22.2/x86_64-linux-thread-multi doesn't exist or isn't a directory ... * Test::Builder is part of the core perl install (located: /usr/lib64/perl5/5.22.2/Test/Builder.pm) * Checking on dependency Sub::Uplevel for Test::Exception * Scanning /var/lib/layman/activehome for Sub-Uplevel * Scanning /var/lib/cpan for Sub-Uplevel ... * Checking on dependency Test::Harness for Test::Exception * Test::Harness is part of the core perl install (located: /usr/lib64/perl5/5.22.2/Test/Harness.pm) * Checking on dependency overload for Test::Exception * overload is part of the core perl install (located: /usr/lib64/perl5/5.22.2/overload.pm) * Skipping ExtUtils::MakeMaker dependency * Create directory '/var/lib/cpan/perl-gcpan/Test-Exception' * Create directory '/var/lib/cpan/perl-gcpan/Test-Exception/files' ... * Ebuild already exists for ExtUtils-PkgConfig (dev-perl/extutils-pkgconfig) * Checking on dependency Test::Number::Delta for Cv * Scanning /var/lib/layman/activehome for Test-Number-Delta ... * Ebuild generated for Cv >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Cv * Calling emerge for Sub-Uplevel Test-Exception Test-Number-Delta Cv * Calling: emerge Sub-Uplevel Test-Exception Test-Number-Delta Cv ... So g-cpan installs perl-gcpan/Test-Number-Delta-1.06, perl-gcpan/Sub-Uplevel-0.25 and perl-gcpan/Test-Exception-0.43 not realising, that there are dev-perl-ebuilds for the same packages: Sub-Uplevel-0.250.0, Test-Exception-0.430.0 and Test-Number-Delta-1.60.0. Now I have under /var/lib/cpan/perl-gcpan/: root@lynx:/root(7)# ll -t /var/lib/cpan/perl-gcpan/ total 60 drwxr-xr-x 3 root root 4096 May 7 15:15 Cv/ drwxr-xr-x 3 root root 4096 May 7 15:15 Test-Number-Delta/ drwxr-xr-x 3 root root 4096 May 7 15:14 Test-Exception/ drwxr-xr-x 3 root root 4096 May 7 15:14 Sub-Uplevel/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-FileDialog/ drwxr-xr-x 3 root root 4096 Sep 21 2014 LaTeX-Writer-Simple/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Chart-Graph/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-WaitBox/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Math-Function-Roots/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Tk-LCD/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Term-Gnuplot/ drwxr-xr-x 3 root root 4096 Sep 21 2014 GD-Dashboard/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Algorithm-Permute/ drwxr-xr-x 3 root root 4096 Sep 21 2014 Algorithm-Cluster/ drwxr-xr-x 3 root root 4096 Jul 25 2014 Text-SimpleTable/ I delete the g-cpan-packages installed depending on Cv and als remove again the directories created by Cv: root@lynx:/root(8)# emerge -C Test-Number-Delta Sub-Uplevel Test-Exception root@lynx:/root(9)# rm -r /var/lib/cpan/perl-gcpan/Cv /var/lib/cpan/perl-gcpan/Test-Number-Delta/ /var/lib/cpan/perl-gcpan/Test-Exception/ /var/lib/cpan/perl-gcpan/Sub-Uplevel/ I try now to install Tk-Gauge with g-cpan, which fails again. G-cpan tries to install g-cpan/Tk-804.033 not realizing, that already dev-perl/Tk-804.33.0 is installed resulting in a file collision. root@lynx:/root(10)# g-cpan -iv Tk-Gauge * Getting CPAN Info for Tk::Gauge -Reading '/tmp/.cpan/Metadata' Database was generated on Fri, 06 May 2016 18:53:52 GMT * Scanning /var/lib/layman/science for Tk-Gauge * Scanning /var/lib/g-octave for Tk-Gauge * Scanning /var/lib/layman/ago for Tk-Gauge * Scanning /usr/local/portage for Tk-Gauge * Scanning /var/lib/layman/x11 for Tk-Gauge * Scanning /var/lib/layman/sunrise for Tk-Gauge * Scanning /var/lib/cpan for Tk-Gauge * Scanning /var/lib/layman/tlp for Tk-Gauge * Scanning /var/lib/layman/sage-on-gentoo for Tk-Gauge * Scanning /var/lib/layman/activehome for Tk-Gauge |Checksum for /tmp/.cpan/sources/authors/id/L/LU/LUSOL/Tk-Gauge-0.3.tar.gz ok /tmp/.cpan/build/Tk-Gauge-0.3-dX9QLe does not start with /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi i.e. building outside Tk itself Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Tk::Gauge Writing MYMETA.yml and MYMETA.json * Checking on dependency Tk for Tk::Gauge ... >>> Installing (1 of 3) perl-gcpan/Tk-804.033::g-cpan * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq ... * Detected file collision(s): * * /usr/share/man/man1/widget.1.bz2 * /usr/share/man/man1/ptked.1.bz2 ... * /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Tk.pm * /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Tk.pod ... >> Failed to install perl-gcpan/Tk-804.033, Log file: >>> '/var/tmp/portage/perl-gcpan/Tk-804.033/temp/build.log' * GNU info directory index is up-to-date. * Cleaning temporary space root@lynx:/root(11)# qlist -Iv Tk dev-perl/Tk-804.33.0 dev-perl/Tk-JPEG-Lite-2.15.0 perl-gcpan/Tk-FileDialog-1.3 perl-gcpan/Tk-LCD-1.3 perl-gcpan/Tk-WaitBox-1.3 By the I am using now app-portage/g-cpan-0.16.7. Do you have latest portage tree? synced? Please add the full log for the last case. Because I can't reproduce it. $g-cpan -ipv Tk-Gauge ... * Checking on dependency Tk for Tk::Gauge ... * Scanning /usr/portage for Tk * Found ebuild for CPAN name Tk * Ebuild already exists for Tk (dev-lang/tk) $ ack DEPEND Tk-Gauge-0.3.ebuild DEPEND="dev-lang/tk I see another issue here. Seems like we should depend on dev-perl/Tk instead of dev-lang/tk. Right? But this is another bug. I will add it to github issue list. (In reply to Sergiy Borodych from comment #25) > Do you have latest portage tree? synced? > > Please add the full log for the last case. > Because I can't reproduce it. > > $g-cpan -ipv Tk-Gauge > ... > * Checking on dependency Tk for Tk::Gauge > ... > * Scanning /usr/portage for Tk > * Found ebuild for CPAN name Tk > * Ebuild already exists for Tk (dev-lang/tk) > > $ ack DEPEND Tk-Gauge-0.3.ebuild > DEPEND="dev-lang/tk Please re-open if you still have the issue. For other kind of issues please open new bugs. |