pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45404: Please fix build of math/R-Rcmdr and add math/R-car



>Number:         45404
>Category:       pkg
>Synopsis:       Please fix build of math/R-Rcmdr and add math/R-car
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 12:15:01 +0000 2011
>Originator:     Ryo ONODERA
>Release:        NetBSD 5.99.55
>Organization:
        
>Environment:
        
        
System: NetBSD hydrogen.elements.tetera.org 5.99.55 NetBSD 5.99.55 (LEAFGIRL7) 
#0: Fri Aug 19 17:16:41 JST 2011 
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/LEAFGIRL7
 i386
Architecture: i386
Machine: i386
>Description:
It seems that pkgsrc/math/R-Rcmdr needs R-car,
http://cran.r-project.org/web/packages/car/ .

Please import R-car, and add DEPENDS line to R-Rcmdr package.
        
>How-To-Repeat:
$ cd /usr/pkgsrc/math/R-Rcmdr
$ LANG=C make install
(snip)
===> Installing for R-Rcmdr-1.5.3
=> Generating pre-install file lists
=> Creating installation directories
R_LIBS= /usr/pkg/bin/R CMD INSTALL -l 
/usr/tmp/math/R-Rcmdr/work/.destdir/usr/pkg/lib/R/library 
/usr/tmp/math/R-Rcmdr/work/Rcmdr
ERROR: dependencies 'car' are not available for package 'Rcmdr'
* removing '/usr/tmp/math/R-Rcmdr/work/.destdir/usr/pkg/lib/R/library/Rcmdr'
*** Error code 1
        
>Fix:
        
diff -uprN /tmp/R-car/DESCR R-car/DESCR
--- /tmp/R-car/DESCR    1970-01-01 09:00:00.000000000 +0900
+++ R-car/DESCR 2011-09-26 20:20:52.000000000 +0900
@@ -0,0 +1,2 @@
+This package accompanies J. Fox and S. Weisberg, An R Companion to
+Applied Regression, Second Edition, Sage, 2011.
diff -uprN /tmp/R-car/Makefile R-car/Makefile
--- /tmp/R-car/Makefile 1970-01-01 09:00:00.000000000 +0900
+++ R-car/Makefile      2011-09-26 20:33:59.000000000 +0900
@@ -0,0 +1,18 @@
+# $NetBSD$
+#
+
+CATEGORIES=    math
+MASTER_SITES=  ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      ${R_HOMEPAGE_BASE}/car/
+COMMENT=       Accompanies An R Companion to Applied Regression, 2nd Edition
+
+R_PKGNAME=     car
+R_PKGVER=      2.0-11
+
+WRKSRC=                ${WRKDIR}/car
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff -uprN /tmp/R-car/distinfo R-car/distinfo
--- /tmp/R-car/distinfo 1970-01-01 09:00:00.000000000 +0900
+++ R-car/distinfo      2011-09-26 20:18:23.000000000 +0900
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (R/car_2.0-11.tar.gz) = bb016ef131b51a7f3bc6be71901f38d1f284dd23
+RMD160 (R/car_2.0-11.tar.gz) = 678bd31e82f3b93718442a8c8326ef7505f8c591
+Size (R/car_2.0-11.tar.gz) = 318150 bytes



For math/R-Rcmdr
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/R-Rcmdr/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile    11 Dec 2009 19:21:41 -0000      1.5
+++ Makefile    26 Sep 2011 12:03:07 -0000
@@ -10,5 +10,7 @@
 R_PKGNAME=     Rcmdr
 R_PKGVER=      1.5-3
 
+DEPENDS+=      R-car>=2.0:../../math/R-car
+
 .include "../../math/R/Makefile.extension"
 .include "../../mk/bsd.pkg.mk"


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index