* [gentoo-user] Problems with g-cpan
@ 2016-04-04 19:56 Dan Johansson
0 siblings, 0 replies; only message in thread
From: Dan Johansson @ 2016-04-04 19:56 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 4075 bytes --]
I am having a interesting problem with g-cpan.
While trying to "emerge" the perl-module Nagios::Object using g-cpan
(g-cpan --debug --verbose --install Nagios::Object) I can see that
g-cpan downloads the correct version of Nagios::Object from CPAN:
----------------------------8<-----------------------------
In main::generatePackageInfo (/usr/bin/g-cpan:622):
$VAR1 = bless( {
'cpan' => {
'nagios::object' => {
'name' =>
'Nagios::Object',
'description' => 'No
description available',
'portage_name' =>
'Nagios-Object',
'version' => '47',
'portage_version' =>
'0.21.20',
'src_uri' =>
'D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz'
}
},
'portage_bases' => {
'/usr/portage' => 1
},
'DEBUG' => undef,
'portage' => {
'nagios-object' => {},
'nagios::object' => {}
},
'packagelist' => [],
'modules' => {},
'sources' => '/usr/portage/distfiles',
'portage_categories' => [
'dev-perl',
'perl-core',
'perl-gcpan',
'dev-lang'
],
'cpan_reload' => undef
}, 'Gentoo' );
|CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.064)
Checksum for
/var/tmp/g-cpan/.cpan/sources/authors/id/D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz
ok
CPAN: Archive::Tar loaded ok (v1.96)
----------------------------8<-----------------------------
Please note that version above says '47' and not 0.21.20, this is
consisten with CPAN
(http://search.cpan.org/dist/Nagios-Object/lib/Nagios/Object.pm)
After downloading and unpacking the tar-file the "ebuild" is created:
----------------------------8<-----------------------------
* Create directory '/var/tmp/g-cpan/perl-gcpan/Nagios-Object'
* Create directory '/var/tmp/g-cpan/perl-gcpan/Nagios-Object/files'
* Generating ebuild for Nagios::Object
* Scanning /usr/portage for list-compare
* Scanning /usr/portage for test-exception
* Scanning /usr/portage for test-nowarnings
* Copying
/var/tmp/g-cpan/.cpan/sources/authors/id/D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz
to /usr/portage/distfiles
* Ebuild generated for Nagios-Object
----------------------------8<-----------------------------
BUT, when portage tries to emerge this "ebuild" it tries to download a
'47' version, which of-cause does not exist.
----------------------------8<-----------------------------
>>> Downloading
'http://distfiles.gentoo.org/distfiles/Nagios-Object-47.tar.gz'
--2016-04-04 21:42:24--
http://distfiles.gentoo.org/distfiles/Nagios-Object-47.tar.gz
Connecting to xxxxx.dmj.nu|192.168.55.55|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2016-04-04 21:42:24 ERROR 404: Not Found.
----------------------------8<-----------------------------
(in /usr/portage/distfiles/ there is a Nagios-Object-0.21.20.tar.gz file).
How can I convince g-cpan to use the 0.21.20 version and not '47'?
Or make g-cpan NOT to clean its temporarily created ebuild (so I can
modify it by hand)?
Regards.
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4153 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-04 19:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 19:56 [gentoo-user] Problems with g-cpan Dan Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox