Subject: pkg/19174: www/ap-perl build failure on Darwin
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 11/26/2002 17:17:56
>Number:         19174
>Category:       pkg
>Synopsis:       www/ap-perl build failure on Darwin
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 22:18:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        Darwin 6.2
>Organization:
>Environment:
System: Darwin max 6.2 Darwin Kernel Version 6.2: Tue Nov  5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC  Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
www/ap-perl fails to build on Darwin because an illegal combination of
arguments are passed to ld when linking libperl.so.

===> Building for ap-perl-1.25nb1
(cd ./apaci && PERL5LIB=/Volumes/ufs/tmp/www/ap-perl/work.Darwin-6.2-powerpc/mod_perl-1.25/lib bmake)

[...]

cc -flat_namespace -bundle -undefined suppress -L/usr/pkg/lib -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo  Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.lo  -flat_namespace -L/usr/pkg/lib /usr/pkg/lib/perl5/5.8.0/darwin/auto/DynaLoader/DynaLoader.a -L/usr/pkg/lib/perl5/5.8.0/darwin/CORE -lperl -lm -lc
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
*** Error code 1

These arguments are specified in perl's Config.pm.

>How-To-Repeat:
cd www/ap-perl; make

>Fix:

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