Subject: pkg/24531: perl-based packages not finding files
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 02/22/2004 22:26:57
>Number:         24531
>Category:       pkg
>Synopsis:       perl-based packages not finding files
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 22 22:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        
>Organization:
>Environment:
Darwin Gizmobook.local 7.2.0 Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:
===> Building for p5-MIME-Base64-2.23
gcc -c    -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -
I/usr/pkg//include -O2 -I/usr/pkg//include  -no-cpp-precomp -I/usr/pkg//include 
   -DVERSION=\"2.23\"  -DXS_VERSION=\"2.23\"  "-I/usr/pkg/lib/perl5/5.8.3/darwin
-2level/CORE"   Base64.c
Base64.xs:31:20: EXTERN.h: No such file or directory
Base64.xs:32:18: perl.h: No such file or directory
Base64.xs:33:18: XSUB.h: No such file or directory
Base64.xs:39:28: patchlevel.h: No such file or directory
Base64.xs:41:52: could_not_find_Perl_patchlevel.h: No such file or directory
Base64.c:117: warning: parameter names (without types) in function declaration
Base64.c:117: warning: data definition has no type or storage class
Base64.c: In function `XS':
[...]

(Gizmobook) /usr/pkg> find . -name perl.h -print
./lib/perl5/5.8.1/darwin-2level/CORE/perl.h
./lib/perl5/5.8.3/darwin-2level/CORE/perl.h
(Gizmobook) /usr/pkg> find . -name EXTERN.h -print
./lib/perl5/5.8.1/darwin-2level/CORE/EXTERN.h
./lib/perl5/5.8.3/darwin-2level/CORE/EXTERN.h

>How-To-Repeat:
get and try to build any p5-* package, such as spamassassin
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: