Subject: pkg/10402: math/R fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 06/20/2000 06:17:14
>Number: 10402
>Category: pkg
>Synopsis: math/R fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 20 06:18:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: dan mcmahill
>Release: 1.4.2<NetBSD-current source date>
>Organization:
>Environment:
System: NetBSD cowboy-burt 1.4.1 NetBSD 1.4.1 (COWBOY-BURT) #1: Sat Oct 2 21:08:08 EDT 1999 dan@cowboy-burt:/amd/dinah-moe/export/src/sys/arch/sparc/compile/COWBOY-BURT sparc
>Description:
math/R fails to build on a.out systems. I've tried both
PKG_FC=f77
and
PKG_FC=f2c-f77
in /etc/mk.conf and get the same result either way. I've had the problem both
on 1.4.2 sparc (a.out) and 1.4.2 i386 (a.out), but it seems to build on 1.4.2
pmax (ELF).
the place it fails at is:
cc -Bshareable -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o ctest.so alnorm.o ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/libexec -lg2c -lm
ansari.o: Undefined symbol `_Rf_error' referenced from text segment
ansari.o: Undefined symbol `_R_chk_calloc' referenced from text segment
ansari.o: Undefined symbol `_R_chk_calloc' referenced from text segment
ansari.o: Undefined symbol `_R_chk_free' referenced from text segment
ansari.o: Undefined symbol `_R_chk_free' referenced from text segment
ansari.o: Undefined symbol `_R_chk_calloc' referenced from text segment
ansari.o: Undefined symbol `_Rf_choose' referenced from text segment
ansari.o: Undefined symbol `_Rf_choose' referenced from text segment
fexact.o: Undefined symbol `_R_chk_calloc' referenced from text segment
fexact.o: Undefined symbol `_R_chk_free' referenced from text segment
fexact.o: Undefined symbol `_Rf_error' referenced from text segment
kendall.o: Undefined symbol `_Rf_error' referenced from text segment
kendall.o: Undefined symbol `_Rf_sign' referenced from text segment
kendall.o: Undefined symbol `_Rf_sign' referenced from text segment
kendall.o: Undefined symbol `_R_chk_calloc' referenced from text segment
kendall.o: Undefined symbol `_R_chk_calloc' referenced from text segment
kendall.o: Undefined symbol `_Rf_gammafn' referenced from text segment
kendall.o: Undefined symbol `_R_chk_calloc' referenced from text segment
kendall.o: Undefined symbol `_Rf_gammafn' referenced from text segment
swilk.o: Undefined symbol `_Rf_qnorm5' referenced from text segment
swilk.o: Undefined symbol `_Rf_sign' referenced from text segment
swilk.o: Undefined symbol `_Rf_sign' referenced from text segment
swilk.o: Undefined symbol `_Rf_pnorm5' referenced from text segment
collect2: ld returned 1 exit status
cc: file path prefix `shareable' never used
gmake[4]: *** [ctest.so] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/math/R/work.i386/R-1.0.1/src/library/ctest/src'
for a complete log see
http://www-mtl.mit.edu/~mcmahill/netbsd/pkgstat/2000-06-16-sparc/math/R/.broken.sparc-1.4.2_noyce
>How-To-Repeat:
cd /usr/pkgsrc/math/R && make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: