Date: Thu, 5 Aug 2010 12:05:11 GMT From: Kalten <kalten@gmx.at> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/149317: lang/perl5.12 (and textproc/p5-XML-LibXML) @INC not propperly set since perl5.10 Message-ID: <201008051205.o75C5B5A094289@www.freebsd.org> Resent-Message-ID: <201008051210.o75CA90c037216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149317 >Category: ports >Synopsis: lang/perl5.12 (and textproc/p5-XML-LibXML) @INC not propperly set since perl5.10 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 05 12:10:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kalten >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD freeGutrun.Walhalla.Leben 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Updated from lang/perl5.10 to lang/perl5.12 using portmaster as told in /usr/ports/UPDATING at 20100715. At compiling textproc/p5-XML-LibXML/ it was not able to find XML/SAX.pm. That is clear, as it is not located in the @INC path: that fits only the old structure of perl5.10. It seems that: in perl5.10 it was /usr/local/lib/perl5/site_perl/5.10.1/XML/SAX.pm in perl5.12. it is /usr/local/lib/perl5/site_perl/5.12.1/mach/XML/LibXML/SAX.pm Maybe add ${LOCALBASE}/lib/perl5/site_perl/5.12.1/mach/XML/LibXML to @INC? (I did not figure out how to do this) I suppose, this problem of changed directory-structure hits many perl-ports. ---SCHNIPP--- compile-error: ===> Checking if textproc/p5-XML-LibXML already installed Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Can't locate XML/SAX.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.12.1 /usr/local/lib/perl5/5.12.1/BSDPAN /usr/local/lib/perl5/site_perl/5.12.1/mach /usr/local/lib/perl5/site_perl/5.12.1 /usr/local/lib/perl5/5.12.1/mach /usr/local/lib/perl5/5.12.1 .). BEGIN failed--compilation aborted. *** Error code 2 Stop in /usr/ports/textproc/p5-XML-LibXML/work/XML-LibXML-1.70. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-LibXML. ---schnapp--- >How-To-Repeat: compile >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008051205.o75C5B5A094289>