Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2012 18:55:32 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        perl@FreeBSD.org, barbara.xxx1975@libero.it, freebsd-ports@FreeBSD.org
Subject:   Re: textproc/p5-XML-SAX: prerequisite XML::SAX::Base 1.05 not found
Message-ID:  <4FAA9374.2050000@FreeBSD.org>
In-Reply-To: <4FAA0BD1.8040005@gwdg.de>
References:  <4FAA0BD1.8040005@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
on 09/05/2012 09:16 Rainer Hurling said the following:
> When I try to update textproc/p5-XML-SAX I get the following warning:
> 
> portmaster p5-XML-SAX-0.96
> ===>>> Currently installed version: p5-XML-SAX-0.96
> ===>>> Port directory: /usr/ports/textproc/p5-XML-SAX
> ===>>> Gathering distinfo list for installed ports
> ===>>> Launching 'make checksum' for textproc/p5-XML-SAX in background
> ===>>> Gathering dependency list for textproc/p5-XML-SAX from ports
> ===>>> Initial dependency check complete for textproc/p5-XML-SAX
> ===>>> Starting build for textproc/p5-XML-SAX <<<===
> ===>>> All dependencies are up to date
> ===>  Cleaning for p5-XML-SAX-0.99
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for p5-XML-SAX-0.99
> => SHA256 Checksum OK for XML-SAX-0.99.tar.gz.
> ===>   p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.2 - found
> ===>  Patching for p5-XML-SAX-0.99
> ===>   p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.2 - found
> ===>   p5-XML-SAX-0.99 depends on package: p5-XML-NamespaceSupport>=0.03 - found
> ===>   p5-XML-SAX-0.99 depends on package: p5-XML-SAX-Base>=1.05 - found
> ===>   p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.2 - found
> ===>  Configuring for p5-XML-SAX-0.99
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite XML::SAX::Base 1.05 not found. We have 1.04.
> Do you want XML::SAX to alter ParserDetails.ini? [Y]
> 
> 
> Accepting this choice it contiues with a failure:
> 
> Writing Makefile for XML::SAX
> Writing MYMETA.yml
> ===>  Building for p5-XML-SAX-0.99
> cp SAX/PurePerl/Exception.pm blib/lib/XML/SAX/PurePerl/Exception.pm
> cp SAX/PurePerl/UnicodeExt.pm blib/lib/XML/SAX/PurePerl/UnicodeExt.pm
> cp SAX/ParserFactory.pm blib/lib/XML/SAX/ParserFactory.pm
> cp SAX/PurePerl/NoUnicodeExt.pm blib/lib/XML/SAX/PurePerl/NoUnicodeExt.pm
> cp SAX/PurePerl/DocType.pm blib/lib/XML/SAX/PurePerl/DocType.pm
> cp SAX/PurePerl/Reader/UnicodeExt.pm blib/lib/XML/SAX/PurePerl/Reader/UnicodeExt.pm
> cp SAX/DocumentLocator.pm blib/lib/XML/SAX/DocumentLocator.pm
> cp SAX/PurePerl/Reader/Stream.pm blib/lib/XML/SAX/PurePerl/Reader/Stream.pm
> cp SAX/PurePerl/EncodingDetect.pm blib/lib/XML/SAX/PurePerl/EncodingDetect.pm
> cp SAX.pm blib/lib/XML/SAX.pm
> cp SAX/PurePerl/DebugHandler.pm blib/lib/XML/SAX/PurePerl/DebugHandler.pm
> cp SAX/PurePerl/Productions.pm blib/lib/XML/SAX/PurePerl/Productions.pm
> cp SAX/PurePerl/XMLDecl.pm blib/lib/XML/SAX/PurePerl/XMLDecl.pm
> cp SAX/PurePerl/Reader/NoUnicodeExt.pm
> blib/lib/XML/SAX/PurePerl/Reader/NoUnicodeExt.pm
> cp SAX/PurePerl/Reader/String.pm blib/lib/XML/SAX/PurePerl/Reader/String.pm
> cp SAX/PurePerl/Reader/URI.pm blib/lib/XML/SAX/PurePerl/Reader/URI.pm
> cp SAX/PurePerl/DTDDecls.pm blib/lib/XML/SAX/PurePerl/DTDDecls.pm
> cp SAX/Intro.pod blib/lib/XML/SAX/Intro.pod
> cp SAX/PurePerl.pm blib/lib/XML/SAX/PurePerl.pm
> cp SAX/PurePerl/Reader.pm blib/lib/XML/SAX/PurePerl/Reader.pm
> Manifying blib/man3/XML::SAX::DocumentLocator.3
> Manifying blib/man3/XML::SAX.3
> Manifying blib/man3/XML::SAX::Intro.3
> Manifying blib/man3/XML::SAX::PurePerl.3
> Manifying blib/man3/XML::SAX::ParserFactory.3
> Manifying blib/man3/XML::SAX::PurePerl::Reader.3
> ===>>> Creating a backup package for old version p5-XML-SAX-0.96
> pkg_delete: '/usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/ParserDetails.ini'
> fails original MD5 checksum - deleted anyway.
> ===>  Installing for p5-XML-SAX-0.99
> ===>   Generating temporary packing list
> ===>  Checking if textproc/p5-XML-SAX already installed
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/ParserFactory.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/DocumentLocator.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/Intro.pod
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Exception.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/UnicodeExt.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/NoUnicodeExt.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DocType.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/EncodingDetect.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DebugHandler.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Productions.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/XMLDecl.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DTDDecls.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader.pm
> Installing
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader/UnicodeExt.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader/Stream.pm
> Installing
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader/NoUnicodeExt.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader/String.pm
> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Reader/URI.pm
> Can't locate XML/SAX/Exception.pm in @INC (@INC contains:
> /usr/local/lib/perl5/5.14.2/BSDPAN /usr/local/lib/perl5/site_perl/5.14.2/mach
> /usr/local/lib/perl5/site_perl/5.14.2 /usr/local/lib/perl5/5.14.2/mach
> /usr/local/lib/perl5/5.14.2 .) at
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/ParserFactory.pm line 12.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/ParserFactory.pm line 12.
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX.pm line 18.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX.pm line 18.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> *** [install_sax_pureperl] Error code 2
> Stop in /usr/ports/textproc/p5-XML-SAX/work/XML-SAX-0.99.
> *** [do-install] Error code 1
> Stop in /usr/ports/textproc/p5-XML-SAX.
> ===>>> A backup package for p5-XML-SAX-0.96 should
>        be located in /usr/ports/packages/portmaster-backup
> ===>>> Installation of p5-XML-SAX-0.99 (textproc/p5-XML-SAX) failed
> ===>>> Aborting update
> Terminated
> ===>>> You can restart from the point of failure with this command line:
>        portmaster <flags> textproc/p5-XML-SAX
> 
> 
> It seems that ParserFactory.pm (line 12) wants to use XML::SAX::Exception, but
> there is no ParserDetails anymore (just deleted before ...).
> 
> This happens on several boxes with recent 10.0-CURRENT (amd64). Does anyone else
> see this behaviour?
>
> Any help is appreciated.

I think that p5-XML-SAX-Base has to be removed before installing (maybe even
building)  p5-XML-SAX-0.99.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FAA9374.2050000>