From roberto@eurocontrol.fr  Thu Dec  5 06:36:16 2002
Return-Path: <roberto@eurocontrol.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 94DFE37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Dec 2002 06:36:16 -0800 (PST)
Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 83C7A43E9C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Dec 2002 06:36:15 -0800 (PST)
	(envelope-from roberto@eurocontrol.fr)
Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.51.214])
	by matrix.eurocontrol.fr (Postfix/TLS) with ESMTP id 2876B4A9DB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Dec 2002 15:36:08 +0100 (MET)
Received: by caerdonn.eurocontrol.fr (Postfix/TLS, from userid 1193)
	id 7152E3C24; Thu,  5 Dec 2002 15:36:07 +0100 (CET)
Message-Id: <20021205143607.7152E3C24@caerdonn.eurocontrol.fr>
Date: Thu,  5 Dec 2002 15:36:07 +0100 (CET)
From: Ollivier Robert <roberto@eurocontrol.fr>
Reply-To: Ollivier Robert <roberto@eurocontrol.fr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Perl port is broken for BSDPAN
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46010
>Category:       ports
>Synopsis:       Perl port is broken for BSDPAN
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 06:40:01 PST 2002
>Closed-Date:    Thu Dec 05 16:42:36 CET 2002
>Last-Modified:  Thu Dec 05 16:42:36 CET 2002
>Originator:     Ollivier Robert
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Usenet Canal Historique
>Environment:
System: FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Nov 4 16:14:25 CET 2002 root@caerdonn.eurocontrol.fr:/src/obj/src/src/sys/tCAERDONN i386

    FreeBSD 5.0-CURRENT, up-to-date with respect to ports.
	
>Description:
	
    When trying to install the FreeBSD specific BSDPAN bundle during the
    installation of Perl-5.6.1_11., the wrong directories are created
    leading to perl being confused during installation.

    The line below marked with <<<<<<<< is wrong and creates a directory named
    Override.pm leading to the error message.
...
===>   Generating temporary packing list
install  -o root -g wheel -m 555 /src/ports/lang/perl5/work/use.perl /usr/local/bin/use.perl
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/.
install  -o root -g wheel -m 444  /src/ports/lang/perl5/work/BSDPAN-5.6.1/BSDPAN.pm /usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN/Override.pm <<<<<<<<<<
install  -o root -g wheel -m 444  /src/ports/lang/perl5/work/BSDPAN-5.6.1/BSDPAN/Override.pm /usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN/Override.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/.
install  -o root -g wheel -m 444  /src/ports/lang/perl5/work/BSDPAN-5.6.1/Config.pm /usr/local/lib/perl5/5.6.1/BSDPAN/Config.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/MM_Unix.pm
install  -o root -g wheel -m 444  /src/ports/lang/perl5/work/BSDPAN-5.6.1/ExtUtils/MM_Unix.pm /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/MM_Unix.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/Packlist.pm
install  -o root -g wheel -m 444  /src/ports/lang/perl5/work/BSDPAN-5.6.1/ExtUtils/Packlist.pm /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/Packlist.pm
Unrecognized character \x8E at /usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN/Override.pm line 1.
Compilation failed in require at /usr/local/lib/perl5/5.6.1/BSDPAN/Config.pm line 37.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.6.1/BSDPAN/Config.pm line 37.
Compilation failed in require at /usr/local/bin/h2ph line 7.
BEGIN failed--compilation aborted at /usr/local/bin/h2ph line 7.
*** Error code 255

>How-To-Repeat:
	Install the lang/perl5 port.

>Fix:

	To be done in Makefile but I'm not a make guru.



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Thu Dec 5 16:40:27 CET 2002 
State-Changed-Why:  
A split of src/usr.bin/make/var.c into var.c and var_modify.c is a 
culprit.  The problem was corrected in revision 1.2 of 
src/usr.bin/make/var_modify.c: 

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/make/var_modify.c 

So you'll have to update your sources and to rebuild at least 
/usr/bin/make. 


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