From nobody@FreeBSD.org  Thu Aug  5 12:05:12 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 30F50106567A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2010 12:05:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1E8FE8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2010 12:05:12 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o75C5BRM094290
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Aug 2010 12:05:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o75C5B5A094289;
	Thu, 5 Aug 2010 12:05:11 GMT
	(envelope-from nobody)
Message-Id: <201008051205.o75C5B5A094289@www.freebsd.org>
Date: Thu, 5 Aug 2010 12:05:11 GMT
From: Kalten <kalten@gmx.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/perl5.12 (and textproc/p5-XML-LibXML) @INC not propperly set since perl5.10
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149317
>Category:       ports
>Synopsis:       lang/perl5.12 (and textproc/p5-XML-LibXML) @INC not propperly set since perl5.10
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 05 12:10:09 UTC 2010
>Closed-Date:    Sun Oct 10 07:01:13 UTC 2010
>Last-Modified:  Sun Oct 10 07:01:13 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->skv 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Aug 5 12:10:24 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149317 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun Oct 10 07:01:06 UTC 2010 
State-Changed-Why:  
You did not run the perl-after-upgrade script 


Responsible-Changed-From-To: skv->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Oct 10 07:01:06 UTC 2010 
Responsible-Changed-Why:  
You did not run the perl-after-upgrade script 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149317 
>Unformatted:
