From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez0iI-0000zI-JE for guix-patches@gnu.org; Thu, 22 Mar 2018 09:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez0iE-0008VZ-Jr for guix-patches@gnu.org; Thu, 22 Mar 2018 09:57:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ez0iE-0008VR-Fw for guix-patches@gnu.org; Thu, 22 Mar 2018 09:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ez0iE-0002IO-8K for guix-patches@gnu.org; Thu, 22 Mar 2018 09:57:02 -0400 Subject: [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez0hV-0000PT-Ba for guix-patches@gnu.org; Thu, 22 Mar 2018 09:56:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez0hR-0007xn-CI for guix-patches@gnu.org; Thu, 22 Mar 2018 09:56:17 -0400 Received: from lepiller.eu ([89.234.186.109]:43758) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ez0hR-0007to-24 for guix-patches@gnu.org; Thu, 22 Mar 2018 09:56:13 -0400 Received: from webmail.lepiller.eu (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 3ec2947a (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 22 Mar 2018 13:58:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 22 Mar 2018 14:56:06 +0100 From: julien lepiller In-Reply-To: <29772016-b5e2-f276-e58d-a6e0ba98b409@swecha.net> References: <87d0zyc4v8.fsf@elephly.net> <1262bbc6-6b7c-fd72-5b34-06dc3e928ebd@swecha.net> <87vadpb0h7.fsf@elephly.net> <29772016-b5e2-f276-e58d-a6e0ba98b409@swecha.net> Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30885@debbugs.gnu.org Hi Sahithi, Le 2018-03-22 14:35, Sahithi Yarlagadda a écrit : > 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 Well done :) > > 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 ^^^^ This error comes from the build itself and tells you that gfortran is not present in the build environment. Although I don't know why the error happens only in the install phase, you probably need to add gfortran in the list of native-inputs (native-inputs because gfortran is a compiler and is (I think) not required at runtime). > 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 >> >> >>