Perl Problem After Upgrade to 5.12.4

Tim Daneliuk tundra at tundraware.com
Fri Jul 8 13:13:05 UTC 2011


On 7/8/2011 6:52 AM, Jerry said this:
> On Fri, 08 Jul 2011 13:00:24 +0200
> SoCruel.NU FreeBSD Questions Mailbox articulated:
> 
>> On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote:
>>> Ideas anyone?
>>>
>>> I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 
>>> and
>>> get this  (I DID run perl-after-upgrade prior to this):
>>>
>>> ===>   p5-Encode-Detect-1.01 depends on file:
>>> /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found
>>> ===>    Verifying install for
>>> /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in
>>> /usr/ports/devel/p5-Module-Build
>>> ===>  License check disabled, port has not defined LICENSE
>>> ===>  Extracting for p5-Module-Build-0.3800_1
>>> => SHA256 Checksum OK for Module-Build-0.3800.tar.gz.
>>> ===>   p5-Module-Build-0.3800_1 depends on file:
>>> /usr/local/bin/perl5.12.4 - found
>>> ===>  Patching for p5-Module-Build-0.3800_1
>>> ===>   p5-Module-Build-0.3800_1 depends on file:
>>> /usr/local/bin/perl5.12.4 - found
>>> ===>   p5-Module-Build-0.3800_1 depends on package:
>>> p5-CPAN-Meta>=2.110420 - found
>>> ===>   p5-Module-Build-0.3800_1 depends on package:
>>> p5-Module-Metadata>=1.000002 - found
>>> ===>   p5-Module-Build-0.3800_1 depends on package:
>>> p5-Parse-CPAN-Meta>=1.44.01 - found
>>> ===>   p5-Module-Build-0.3800_1 depends on package:
>>> p5-Perl-OSType>=1.000 - found
>>> ===>   p5-Module-Build-0.3800_1 depends on package:
>>> p5-version>=0.87 
>>> - found
>>> ===>   p5-Module-Build-0.3800_1 depends on file:
>>> /usr/local/bin/perl5.12.4 - found
>>> ===>  Configuring for p5-Module-Build-0.3800_1
>>> *** BOOTSTRAPPING Perl::OSType ***
>>> *** BOOTSTRAPPING version ***
>>> *** BOOTSTRAPPING Module::Metadata ***
>>> Checking prerequisites...
>>>   requires:
>>>     !  CPAN::Meta is not installed
>>>   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.3800'
>>> Copied META.yml to MYMETA.yml for bootstrapping
>>>
>>> These additional prerequisites must be installed:
>>>   requires:
>>>     ! Perl::OSType (we need version 1.00)
>>>     ! version (we need version 0.87)
>>>     ! Module::Metadata (we need version 1.000002)
>>> ===>  Building for p5-Module-Build-0.3800_1
>>> Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled
>>> lib /usr/local/lib/perl5/5.12.4/BSDPAN
>>> /usr/local/lib/perl5/site_perl/5.12.4/mach
>>> /usr/local/lib/perl5/site_perl/5.12.4 
>>> /usr/local/lib/perl5/5.12.4/mach
>>> /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13.
>>> BEGIN failed--compilation aborted at lib/Module/Build.pm line 13.
>>> Compilation failed in require at Build line 42.
>>> BEGIN failed--compilation aborted at Build line 42.
>>> *** Error code 2
>>>
>>> Stop in /usr1/ports/devel/p5-Module-Build.
>>> *** Error code 1
>>>
>>> Stop in /usr1/ports/converters/p5-Encode-Detect.
>>> *** Error code 1
>>>
>>> Stop in /usr1/ports/mail/p5-Mail-SpamAssassin.
>>> *** Error code 1
>>>
>>> Stop in /usr1/ports/mail/p5-Mail-SpamAssassi
>>
>> Hello Tim, list,
>>
>> I have the same problem on one of my boxes. Cannot upgrade 
>> p5-Module-Build-0.3800 port because of this.
> 
> Has anyone filed a PR against this problem?
> 

I was able to work around this by:

1) Uninstalling spamassassin and perl 5.12
2) Upgrading to perl 5.14
3) Running perl-after-upgrade
4) Reinstalling spamassassin

I still cannot build remmina.  There seems to be some hocus pocus having to do with missing
dependent perl XML parser libs.


Sigh.  I can't wait until the planet either: a) Migrates 100% to python or b) Learns to do
batteries included packaging like python.

-- 
------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com


More information about the freebsd-questions mailing list