Date: Wed, 9 May 2012 09:26:19 -0700 From: Kevin Oberman <kob6558@gmail.com> To: Andriy Gapon <avg@freebsd.org> Cc: perl@freebsd.org, Rainer Hurling <rhurlin@gwdg.de>, barbara.xxx1975@libero.it, freebsd-ports@freebsd.org Subject: Re: textproc/p5-XML-SAX: prerequisite XML::SAX::Base 1.05 not found Message-ID: <CAN6yY1sVN72LgYCoR36Ys58VWXkBXaW=WitXsdrGtp6XiJpqkQ@mail.gmail.com> In-Reply-To: <4FAA9374.2050000@FreeBSD.org> References: <4FAA0BD1.8040005@gwdg.de> <4FAA9374.2050000@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 9, 2012 at 8:55 AM, Andriy Gapon <avg@freebsd.org> wrote: > 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 >> =3D=3D=3D>>> Currently installed version: p5-XML-SAX-0.96 >> =3D=3D=3D>>> Port directory: /usr/ports/textproc/p5-XML-SAX >> =3D=3D=3D>>> Gathering distinfo list for installed ports >> =3D=3D=3D>>> Launching 'make checksum' for textproc/p5-XML-SAX in backgr= ound >> =3D=3D=3D>>> Gathering dependency list for textproc/p5-XML-SAX from port= s >> =3D=3D=3D>>> Initial dependency check complete for textproc/p5-XML-SAX >> =3D=3D=3D>>> Starting build for textproc/p5-XML-SAX <<<=3D=3D=3D >> =3D=3D=3D>>> All dependencies are up to date >> =3D=3D=3D> =A0Cleaning for p5-XML-SAX-0.99 >> =3D=3D=3D> =A0License check disabled, port has not defined LICENSE >> =3D=3D=3D> =A0Extracting for p5-XML-SAX-0.99 >> =3D> SHA256 Checksum OK for XML-SAX-0.99.tar.gz. >> =3D=3D=3D> =A0 p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.= 2 - found >> =3D=3D=3D> =A0Patching for p5-XML-SAX-0.99 >> =3D=3D=3D> =A0 p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.= 2 - found >> =3D=3D=3D> =A0 p5-XML-SAX-0.99 depends on package: p5-XML-NamespaceSuppo= rt>=3D0.03 - found >> =3D=3D=3D> =A0 p5-XML-SAX-0.99 depends on package: p5-XML-SAX-Base>=3D1.= 05 - found >> =3D=3D=3D> =A0 p5-XML-SAX-0.99 depends on file: /usr/local/bin/perl5.14.= 2 - found >> =3D=3D=3D> =A0Configuring 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 >> =3D=3D=3D> =A0Building 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.p= m >> cp SAX/PurePerl/DocType.pm blib/lib/XML/SAX/PurePerl/DocType.pm >> cp SAX/PurePerl/Reader/UnicodeExt.pm blib/lib/XML/SAX/PurePerl/Reader/Un= icodeExt.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/EncodingDete= ct.pm >> cp SAX.pm blib/lib/XML/SAX.pm >> cp SAX/PurePerl/DebugHandler.pm blib/lib/XML/SAX/PurePerl/DebugHandler.p= m >> 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 >> =3D=3D=3D>>> 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. >> =3D=3D=3D> =A0Installing for p5-XML-SAX-0.99 >> =3D=3D=3D> =A0 Generating temporary packing list >> =3D=3D=3D> =A0Checking 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.p= m >> 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/Except= ion.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Unicod= eExt.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/NoUnic= odeExt.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DocTyp= e.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Encodi= ngDetect.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DebugH= andler.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/Produc= tions.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/XMLDec= l.pm >> Installing /usr/local/lib/perl5/site_perl/5.14.2/XML/SAX/PurePerl/DTDDec= ls.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/NoUnicodeE= xt.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. >> =3D=3D=3D>>> A backup package for p5-XML-SAX-0.96 should >> =A0 =A0 =A0 =A0be located in /usr/ports/packages/portmaster-backup >> =3D=3D=3D>>> Installation of p5-XML-SAX-0.99 (textproc/p5-XML-SAX) faile= d >> =3D=3D=3D>>> Aborting update >> Terminated >> =3D=3D=3D>>> You can restart from the point of failure with this command= line: >> =A0 =A0 =A0 =A0portmaster <flags> textproc/p5-XML-SAX >> >> >> It seems that ParserFactory.pm (line 12) wants to use XML::SAX::Exceptio= n, but >> there is no ParserDetails anymore (just deleted before ...). >> >> This happens on several boxes with recent 10.0-CURRENT (amd64). Does any= one else >> see this behaviour? >> >> Any help is appreciated. > > I think that p5-XML-SAX-Base has to be removed before installing (maybe e= ven > building) =A0p5-XML-SAX-0.99. I did a "pkg_delete p5-XML-SAX-Base-\*" followed by "portmaster p5-XML-SAX-Base" and "portmaster p5-XML-SAX". Once I did that, everything went fine. (In theaory I could have deleted p5-XML-SAX-Base and then installed both p5-XML-SAX-Base and p5-XML-SAX in a single portmaster run, but I didn't do it that way, so I can't promise that it will work. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sVN72LgYCoR36Ys58VWXkBXaW=WitXsdrGtp6XiJpqkQ>