From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SVBdR-0001Os-Ps for garchives@archives.gentoo.org; Fri, 18 May 2012 01:05:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26217E08AC; Fri, 18 May 2012 01:05:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A6D65E0812 for ; Fri, 18 May 2012 01:03:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 06A171B400A for ; Fri, 18 May 2012 01:03:44 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.451 X-Spam-Level: X-Spam-Status: No, score=-2.451 tagged_above=-999 required=5.5 tests=[AWL=-0.539, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id THTXgDsjmw1U for ; Fri, 18 May 2012 01:03:38 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96E7D1B4051 for ; Fri, 18 May 2012 01:03:35 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SVBbM-0006Zh-Ed for gentoo-user@gentoo.org; Fri, 18 May 2012 03:03:28 +0200 Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 May 2012 03:03:28 +0200 Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 May 2012 03:03:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: perl versioning problem, how to get beyond for @world Date: Thu, 17 May 2012 21:03:04 -0400 Organization: Still searching... Message-ID: <874nre712v.fsf@newsguy.com> References: <87pqa6pdyi.fsf@newsguy.com> <20120515012144.1d16fe44@khamul.example.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:AzxMFctG/KehVBId5oyfAZmqhfM= X-Archives-Salt: 37d12815-2dac-49aa-a5a6-47423fc82363 X-Archives-Hash: fc2d703a1dc4479a54e14daa1f4c4530 Alan McKinnon writes: [...] >> | Checking prerequisites... >> | build_requires: >> | ! Parse::CPAN::Meta (1.40) is installed, but we need version >= >> | 1.4401 >> | ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install >> the versions | of the modules indicated above before proceeding with >> this installation | >> | Could not create MYMETA files >> | Creating new 'Build' script for 'Module-Build' version '0.40' >> | Copied META.yml to MYMETA.yml for bootstrapping >> | >> | These additional prerequisites must be installed: >> | requires: >> | ! version (we need version 0.87) >> | >>> Source configured. >> | >>> Compiling source in >> | /var/tmp/portage/perl-core/Module-Build-0.400.0/work/Module-Build-0.40 ... >> | version version 0.87 required--this is only version 0.82 at >> | /usr/lib/perl5/vendor_perl/5.12.4/Module/Metadata >> | .pm line 20. >> | [...] >> `---- >> >> I can't really see what to do about this... >> >> What is installed is: >> >> ,---- >> | # eix -Ic|grep Parse.*Meta >> | [I] perl-core/Parse-CPAN-Meta (1.440.400@05/03/12): Parse META.yml >> and other | similar CPAN metadata files >> | [I] virtual/perl-Parse-CPAN-Meta (1.440.400@04/25/12): Virtual for >> Parse-CPAN-Meta `---- > > Perl and any package manager tend to make an ugly combination... > > Now, I've never seen this specific error before but it looks like perl > thinks your installed Parse-CPAN-Meta is still the old version 1.40. It > doesn't realize what portage did in the interim. > > Have a look in that ebuild and 1.440.400 and you'll see quite a > difference. Quite a difference in what? Or compared to what? > Does unmerging and remerging Parse-CPAN-Meta fix anything? I tried emerge -vC the core Parse-CPAN-Meta and the Virtual Parse-CPAN-Meta Then eix-sync, then emerge -vuD world When it gets to building `perl-core/Module-Build-0.400.0' The same failure happens: ,---- | [...] | Checking prerequisites... | build_requires: | ! Parse::CPAN::Meta (1.40) is installed, but we need version >= 1.4401 | | ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions | of the modules indicated above before proceeding with this installation | | Could not create MYMETA files | Creating new 'Build' script for 'Module-Build' version '0.40' | Copied META.yml to MYMETA.yml for bootstrapping | | These additional prerequisites must be installed: | requires: | ! version (we need version 0.87) | >>> Source configured. | [...] `---- emerge has installed two very different [...]//Parse/CPAN/Meta.pm ,---- | ls -l /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm \ | /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm | | [...]10522 Apr 25 20:49 /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm | [...] 7582 May 11 20:13 /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm `---- And they say very different things: >From /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm: [...] # Class structure require 5.004; require Exporter; $Parse::CPAN::Meta::VERSION = '1.40'; @Parse::CPAN::Meta::ISA = qw{ Exporter }; @Parse::CPAN::Meta::EXPORT_OK = qw{ Load LoadFile }; [...] >From /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm: # Class structure require 5.004; require Exporter; $Parse::CPAN::Meta::VERSION = '1.4404'; @Parse::CPAN::Meta::ISA = qw{ Exporter }; @Parse::CPAN::Meta::EXPORT_OK = qw{ Load LoadFile }; One looks for 1.40, the other for 1.4404 I don't know what the code does but, is this possibly the problem? If so its not at all clear what to do about it. qfile on /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm Shows it comes from the main perl installation: qfile /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm ,---- | dev-lang/perl (/usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm) `---- So that is from the main perl installation. Just renaming /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm to /usr/lib/perl5/5.12.4/Parse/CPAN/XMeta.pmX Causes a new miss match on version when building perl-core/Module-Build-0.400.0 ,---- | *** BOOTSTRAPPING version *** | Could not create MYMETA files | Creating new 'Build' script for 'Module-Build' version '0.40' | Copied META.yml to MYMETA.yml for bootstrapping | | These additional prerequisites must be installed: | requires: | ! version (we need version 0.87) | >>> Source configured. | >>> Compiling source in /var/tmp/portage/perl-core/Module-Build-0.400.0/work/Module-Build-0.40 ... | version version 0.87 required--this is only version 0.82 at /usr/lib/perl5/vendor_perl/5.12.4/Module/Metadata.pm line 20. `---- So it appears there is some deeper mangling somewhere.