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

Bug 578678

Summary: app-portage/g-cpan-0.16.6 - does not find dev-perl/perl-tk
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: perl, Sergiy.Borodych
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2016-03-31 12:41:36 UTC
'g-cpan -i Tk-MinMaxScale' fails with 
...
Writing Makefile for Tk::MinMaxScale
Writing MYMETA.yml and MYMETA.json
 * Ebuild already exists for Tk (dev-perl/perl-tk)
 * Generating ebuild for Tk::MinMaxScale
Use of uninitialized value $eb in substitution (s///) at /usr/bin/g-cpan line 897, <DATA> line 507.
Use of uninitialized value $eb in pattern match (m//) at /usr/bin/g-cpan line 900, <DATA> line 507.
Use of uninitialized value $eb in split at /usr/bin/g-cpan line 905, <DATA> line 507.
 * Ebuild generated for Tk-MinMaxScale
>>> Creating Manifest for /var/lib/cpan/perl-gcpan/Tk-MinMaxScale
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-perl/perl-tk".
(dependency required by "perl-gcpan/Tk-MinMaxScale-0.12::g-cpan" [ebuild])
(dependency required by "Tk-MinMaxScale" [argument])


'g-cpan -i Tk-Gauge' fails as well:
...
root@cheetahnew:/root(82)# g-cpan -i Tk-Gauge
-Reading '/tmp/.cpan/Metadata'
  Database was generated on Thu, 31 Mar 2016 11:17:02 GMT
|Fetching with LWP:
http://search.cpan.org/CPAN/authors/id/L/LU/LUSOL/Tk-Gauge-0.3.tar.gz
Fetching with LWP:
http://search.cpan.org/CPAN/authors/id/L/LU/LUSOL/CHECKSUMS
Checksum for /tmp/.cpan/sources/authors/id/L/LU/LUSOL/Tk-Gauge-0.3.tar.gz ok
/tmp/.cpan/build/Tk-Gauge-0.3-4GBeaK does not start with /usr/lib64/perl5/vendor_perl/5.22.1/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
 * Ebuild already exists for Tk (dev-perl/perl-tk)
 * Generating ebuild for Tk::Gauge
Use of uninitialized value $eb in substitution (s///) at /usr/bin/g-cpan line 897, <DATA> line 507.
Use of uninitialized value $eb in pattern match (m//) at /usr/bin/g-cpan line 900, <DATA> line 507.
Use of uninitialized value $eb in split at /usr/bin/g-cpan line 905, <DATA> line 507.
Use of uninitialized value $eb_version in int at /usr/bin/g-cpan line 778, <DATA> line 507.
 * Ebuild generated for Tk-Gauge
>>> Creating Manifest for /var/lib/cpan/perl-gcpan/Tk-Gauge
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-perl/perl-tk".
(dependency required by "perl-gcpan/Tk-Gauge-0.3::g-cpan" [ebuild])
(dependency required by "Tk-Gauge" [argument])
Comment 1 Sergiy Borodych 2016-04-06 07:51:03 UTC
Were was a huge move(rename) for perl packages in 1Q-2016, to use proper names.
And this is a good update :)
But we need to keep a list of 'non-proper' names up-to-date, in g-cpan (Gentoo::Portage).
I will care about it.
Comment 2 Sergiy Borodych 2016-05-12 09:24:54 UTC
At the moment bug should go away.
Please test on 0.16.7.