NetBSD Problem Report #45404

From ryo_on@yk.rim.or.jp  Mon Sep 26 12:12:50 2011
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D3DD563C7BD
	for <gnats-bugs@gnats.netbsd.org>; Mon, 26 Sep 2011 12:12:50 +0000 (UTC)
Message-Id: <20110926121250.D3DD563C7BD@www.NetBSD.org>
Date: Mon, 26 Sep 2011 12:12:50 +0000 (UTC)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Please fix build of math/R-Rcmdr and add math/R-car
X-Send-Pr-Version: 3.95

>Number:         45404
>Category:       pkg
>Synopsis:       Please fix build of math/R-Rcmdr and add math/R-car
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 12:15:01 +0000 2011
>Closed-Date:    Mon Sep 26 19:46:20 +0000 2011
>Last-Modified:  Mon Sep 26 19:46:20 +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:/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
+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"


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 26 Sep 2011 12:36:46 +0000
Responsible-Changed-Why:
Looks good, please commit!


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45404 CVS commit: pkgsrc/math/R-Rcmdr
Date: Mon, 26 Sep 2011 19:36:54 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Mon Sep 26 19:36:54 UTC 2011

 Modified Files:
 	pkgsrc/math/R-Rcmdr: Makefile

 Log Message:
 Fix PR pkg/45404.
   Add dependency to math/R-car.
   Fix build.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/R-Rcmdr/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Mon, 26 Sep 2011 19:46:20 +0000
State-Changed-Why:
Committed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.