unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Re: Submitting Patch File for r-catdap Package Description for CRAN package
       [not found]     ` <87vadpb0h7.fsf@elephly.net>
@ 2018-03-22 13:35       ` Sahithi Yarlagadda
  2018-03-22 14:11         ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 13:35 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 30885, help-guix

Hi

I made changes to gnu/packages/cran.scm file and tried to build by
cloning the source and then

./bootstrap

./configure --localstatedir=/var

make

and then did this

./pre-inst-env guix build r-catdap

Got this error while building the package

starting phase `install'
* installing *source* package ?catdap? ...
** package ?catdap? successfully unpacked and MD5 sums checked
** libs
gfortran   -fpic  -g -O2  -c catdap1f.f -o catdap1f.o
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash:
gfortran: command not found
make: ***
[/gnu/store/af15vbzfw211mh278h3n2lbfrpxkps14-r-minimal-3.4.3/lib/R/etc/Makeconf:182:
catdap1f.o] Error 127
ERROR: compilation failed for package ?catdap?
* removing
?/gnu/store/amhlp36iaihivvcb1qddrbm8jfn55nyw-r-catdap-1.3.4/site-library/catdap?
phase `install' failed after 0.4 seconds
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
@ build-failed
/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv - 1
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
guix build: error: build failed: build of
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed

Please help me resolve this.


On Thursday 22 March 2018 02:38 AM, Ricardo Wurmus wrote:
> Hi Sahithi,
>
>> I resending the patch. Bear with my mistakes, im learning things.
>> Hopefully Ill make sure my next patch would be perfect.
> Thank you for persevering :)
>
> This looks a lot better, but I’ve just tried to build it and failed.
> Have you tried building the package?
>
> Looking at the error message can you figure out what might be wrong
> here?
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>

-- 
Regards
Sahithi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Submitting Patch File for r-catdap Package Description for CRAN package
  2018-03-22 13:35       ` Submitting Patch File for r-catdap Package Description for CRAN package Sahithi Yarlagadda
@ 2018-03-22 14:11         ` Ricardo Wurmus
  2018-03-22 15:48           ` Sahithi Yarlagadda
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2018-03-22 14:11 UTC (permalink / raw)
  To: Sahithi Yarlagadda; +Cc: 30885, help-guix


Hi Sahithi,

> ./pre-inst-env guix build r-catdap
>
> Got this error while building the package
>
> starting phase `install'
> * installing *source* package ?catdap? ...
> ** package ?catdap? successfully unpacked and MD5 sums checked
> ** libs
> gfortran -fpic -g -O2 -c catdap1f.f -o catdap1f.o
> /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash:
> gfortran: command not found

It says that it couldn’t find gfortran.  That’s because the package
definition does not include gfortran among its (native-)inputs.

Try adding it.  Hint: there are other packages in cran.scm that use
gfortran.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Submitting Patch File for r-catdap Package Description for CRAN package
  2018-03-22 14:11         ` Ricardo Wurmus
@ 2018-03-22 15:48           ` Sahithi Yarlagadda
  2018-03-23 20:06             ` Sahithi Yarlagadda
  0 siblings, 1 reply; 4+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 15:48 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 30885, help-guix

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

Hi Ricardo

The build was success after adding native input as gfortran.
Unfortunately it was not listed in the project website

https://cran.r-project.org/web/packages/catdap/


I am submitting the patch.



On Thursday 22 March 2018 07:41 PM, Ricardo Wurmus wrote:
> Hi Sahithi,
>
>> ./pre-inst-env guix build r-catdap
>>
>> Got this error while building the package
>>
>> starting phase `install'
>> * installing *source* package ?catdap? ...
>> ** package ?catdap? successfully unpacked and MD5 sums checked
>> ** libs
>> gfortran -fpic -g -O2 -c catdap1f.f -o catdap1f.o
>> /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash:
>> gfortran: command not found
> It says that it couldn’t find gfortran.  That’s because the package
> definition does not include gfortran among its (native-)inputs.
>
> Try adding it.  Hint: there are other packages in cran.scm that use
> gfortran.
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>

-- 
Regards
Sahithi


[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]

From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
Date: Thu, 22 Mar 2018 21:07:34 +0530
Subject: [PATCH] gnu: Add r-catdap.

* gnu/packages/cran.scm (r-catdap): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 749eed8b5..c06417399 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3273,3 +3273,26 @@ those functions to be used with time series including specifications that may
 contain lags, diffs and missing values.")
     ;; Any GPL version.
     (license license:gpl2+)))
+
+(define-public r-catdap
+  (package
+    (name "r-catdap")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "catdap" version))
+       (sha256
+        (base32
+         "0i877l61f6c75pczi235rzci67w29zv1d7z5zn5p5ymndclvlpl2"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/catdap/")
+    (synopsis "Categorical data analysis program package")
+    (description
+     "This package provides functions for analyzing multivariate data.
+Dependencies of the distribution of the specified variable (response
+variable) to other variables (explanatory variables) are derived and
+evaluated by the @dfn{Akaike Information Criterion} (AIC).")
+     (license license:gpl2+)))
-- 
2.16.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Submitting Patch File for r-catdap Package Description for CRAN package
  2018-03-22 15:48           ` Sahithi Yarlagadda
@ 2018-03-23 20:06             ` Sahithi Yarlagadda
  0 siblings, 0 replies; 4+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-23 20:06 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 30885, help-guix

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

Hi

Submission of the patch was done. Can you merge this to the source. 


Regards

Sahithi


On Thursday 22 March 2018 09:18 PM, Sahithi Yarlagadda wrote:
> Hi Ricardo
>
> The build was success after adding native input as gfortran.
> Unfortunately it was not listed in the project website
>
> https://cran.r-project.org/web/packages/catdap/
>
>
> I am submitting the patch.
>
>
>
> On Thursday 22 March 2018 07:41 PM, Ricardo Wurmus wrote:
>> Hi Sahithi,
>>
>>> ./pre-inst-env guix build r-catdap
>>>
>>> Got this error while building the package
>>>
>>> starting phase `install'
>>> * installing *source* package ?catdap? ...
>>> ** package ?catdap? successfully unpacked and MD5 sums checked
>>> ** libs
>>> gfortran -fpic -g -O2 -c catdap1f.f -o catdap1f.o
>>> /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash:
>>> gfortran: command not found
>> It says that it couldn’t find gfortran.  That’s because the package
>> definition does not include gfortran among its (native-)inputs.
>>
>> Try adding it.  Hint: there are other packages in cran.scm that use
>> gfortran.
>>
>> --
>> Ricardo
>>
>> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
>> https://elephly.net
>>
>>
>>

-- 
Regards
Sahithi


[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]

From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
Date: Thu, 22 Mar 2018 21:07:34 +0530
Subject: [PATCH] gnu: Add r-catdap.

* gnu/packages/cran.scm (r-catdap): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 749eed8b5..c06417399 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3273,3 +3273,26 @@ those functions to be used with time series including specifications that may
 contain lags, diffs and missing values.")
     ;; Any GPL version.
     (license license:gpl2+)))
+
+(define-public r-catdap
+  (package
+    (name "r-catdap")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "catdap" version))
+       (sha256
+        (base32
+         "0i877l61f6c75pczi235rzci67w29zv1d7z5zn5p5ymndclvlpl2"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/catdap/")
+    (synopsis "Categorical data analysis program package")
+    (description
+     "This package provides functions for analyzing multivariate data.
+Dependencies of the distribution of the specified variable (response
+variable) to other variables (explanatory variables) are derived and
+evaluated by the @dfn{Akaike Information Criterion} (AIC).")
+     (license license:gpl2+)))
-- 
2.16.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-23 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b18b6d13-3a40-4417-097f-4d6564664e62@swecha.net>
     [not found] ` <87d0zyc4v8.fsf@elephly.net>
     [not found]   ` <1262bbc6-6b7c-fd72-5b34-06dc3e928ebd@swecha.net>
     [not found]     ` <87vadpb0h7.fsf@elephly.net>
2018-03-22 13:35       ` Submitting Patch File for r-catdap Package Description for CRAN package Sahithi Yarlagadda
2018-03-22 14:11         ` Ricardo Wurmus
2018-03-22 15:48           ` Sahithi Yarlagadda
2018-03-23 20:06             ` Sahithi Yarlagadda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).