Subject: pkg/14907: Many Perl packages fail to build on NetBSD-m68k
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/11/2001 00:34:45
>Number:         14907
>Category:       pkg
>Synopsis:       Many Perl packages fail to build on NetBSD-(mac68k|amiga)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 10 21:35:01 PST 2001
>Originator:     John Klos
>Release:        NetBSD 1.5.1
Sixgirls Computing Labs
System: NetBSD reva 1.5.2 NetBSD 1.5.2 (REVA) #0: Sun Sep 16 14:41:40 EDT 2001 jean@reva:/usr/src/sys/arch/amiga/compile/REVA amiga
System: NetBSD xira 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (XIRA) #0: Mon Oct 22 07:32:01 EDT 2001     root@indy:/home/src/sys/arch/mac68k/compile/XIRA mac68k

Many Perl packages fail to build. For example, package p5-DBI:
LD_RUN_PATH="" ld  -Bshareable  -R/usr/local/lib -L/usr/pkgsrc/databases/p5-DBI/work/.buildlink/lib  -Wl,-R/usr/local/lib DBI.o  -o blib/arch/auto/DBI/   -L/usr/local/lib/perl5/5.6.1/m68k-netbsd/CORE -Wl,-R/usr/local/lib/perl5/5.6.1/m68k-netbsd/CORE -lperl
ld: invalid command option `-Wl,-R/usr/local/lib'
*** Error code 1


cd /sur/pkgsrc/databases/p5-DBI && make
If the Makefile.PL is run manually, the build and install will work.