Subject: pkg/28371: math/py-rpy can't find R
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 11/20/2004 23:35:00
>Number:         28371
>Category:       pkg
>Synopsis:       math/py-rpy can't find R
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 20 23:35:00 +0000 2004
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -O2 -mieee -I/usr/pkg/include/python2.3 -I/usr/pkg/include -I/usr/pkg/include/python2.3 -I/usr/pkg/include -fPIC -DPRE_2_2 -DR_HOME="/usr/pkg/lib/R" -DWITH_NUMERIC -I/usr/pkg/lib/R/include -Isrc -I/usr/pkg/include/python2.3 -c src/R_eval.c -o build/temp.netbsd-1.6.2-alpha-2.3/src/R_eval.o -shared
/usr/src/sys/pkgsrc/math/py-rpy/work/.buildlink/include/python2.3/Numeric/arrayobject.h:287: warning: `PyArray_API' defined but not used
cc -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python2.3/config -Wl,-R/usr/pkg/lib/python2.3/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -mieee -I/usr/pkg/include/python2.3 -I/usr/pkg/include -I/usr/pkg/include/python2.3 -I/usr/pkg/include build/temp.netbsd-1.6.2-alpha-2.3/src/rpymodule.o build/temp.netbsd-1.6.2-alpha-2.3/src/R_eval.o build/temp.netbsd-1.6.2-alpha-2.3/src/io.o build/temp.netbsd-1.6.2-alpha-2.3/src/setenv.o -L/usr/pkg/lib/R/bin -Wl,-R/usr/pkg/lib/R/bin -lR -o build/lib.netbsd-1.6.2-alpha-2.3/_rpymodule.so -L/usr/pkg/lib/python2.3/config -Wl,-R/usr/pkg/lib/python2.3/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
/usr/bin/ld: cannot find -lR
collect2: ld returned 1 exit status
error: command 'cc' failed with exit status 1

>How-To-Repeat:
	make math/py-rpy in pkgsrc-current
>Fix: