From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaud B Subject: Re: Trying to define a package Date: Tue, 3 Apr 2018 19:14:34 +0200 Message-ID: References: <878ta5r8kw.fsf@gmail.com> <87woxpd1k9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="089e0823d3e4382bc70568f4d7b6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3PW9-0008Tm-SV for help-guix@gnu.org; Tue, 03 Apr 2018 13:14:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3PW8-000679-7j for help-guix@gnu.org; Tue, 03 Apr 2018 13:14:45 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:45590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3PW7-00061Z-Pn for help-guix@gnu.org; Tue, 03 Apr 2018 13:14:44 -0400 Received: by mail-lf0-x22a.google.com with SMTP id q5-v6so21275870lff.12 for ; Tue, 03 Apr 2018 10:14:37 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --089e0823d3e4382bc70568f4d7b6 Content-Type: multipart/alternative; boundary="089e0823d3e4382bc40568f4d7b4" --089e0823d3e4382bc40568f4d7b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone, Well I'm happy to report that thanks to your advice I made some progress. Using the scm file attached and the command : *guix build -L /home/arnaud/guix_packages/gnu/packages/ -K -f freefilesync.scm* the build process starts as it should, the zip file is downloaded, checked and unziped as needed, and the cpp files compile normally. It stops at the configure script stage, apparently not finding the configure command. H =E2=80=8Bere is the relevant part : *phase `unpack' succeeded after 0.3 secondsstarting phase `patch-usr-bin-file'phase `patch-usr-bin-file' succeeded after 0.0 secondsstarting phase `patch-source-shebangs'phase `patch-source-shebangs' succeeded after 0.2 secondsstarting phase `configure'source directory: "/tmp/guix-build-freefilesync-9.9.drv-0/source" (relative from build: ".")build directory: "/tmp/guix-build-freefilesync-9.9.drv-0/source"configure flags: ("CONFIG_SHELL=3D/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4= .4.12/bin/bash" "SHELL=3D/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bi= n/bash" "--prefix=3D/gnu/store/v07x6jfph9yy7bf54ibdb9z08snjn6lh-freefilesync-9.9" "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu") /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash: ./configure: No such file or directory phase `configure' failed after 0.0 secondsnote: keeping build directory `/tmp/guix-build-freefilesync-9.9.drv-1'builder for `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed with exit code 1@ build-failed /gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv - 1 builder for `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed* This is surprising to me as, according to the manual = , configure is part of the usual set of tools found in the gnu build system. Let met quote : *"The (...) gnu-build-system represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual ./configure && make && make check && make install command sequence."* I checked that bash, bash-minimal, bash-completion are all found in the store (actually in 3 differents versions after guix puil I guess). So again I rely on your knowledge, hoping to get through eventually. Many thanks in advance Arnaud PS : I reworded the package name and description as per the guidelines. 2018-04-02 21:53 GMT+02:00 Arnaud B : > =E2=80=8BHello Pierre and Oleg > > Thanks a lot for the detailed and helpful answers, I will do accordingly > tomorrow night after work and report. > Cheers > > --089e0823d3e4382bc40568f4d7b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hel= lo everyone,

Well I'm happy to report that thanks to your advice I made some p= rogress. Using the scm file attached and the command :
guix build -L /home/arnaud/guix_packages/gnu/packages/ -K -f freefilesy= nc.scm
the build process starts as it should, the zip file is= downloaded, checked and unziped as needed, and the cpp files compile norma= lly.
It sto= ps at the configure script stage, apparently not finding the configure comm= and.
H
=E2=80=8Bere is the relevant part :
phase `unpack' succeeded after 0.3 s= econds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-f= ile' succeeded after 0.0 seconds
starting phase `patch-source-sheban= gs'
phase `patch-source-shebangs' succeeded after 0.2 secondsstarting phase `configure'
source directory: "/tmp/guix-build-= freefilesync-9.9.drv-0/source" (relative from build: ".")build directory: "/tmp/guix-build-freefilesync-9.9.drv-0/source"=
configure flags: ("CONFIG_SHELL=3D/gnu/store/icz3hd36aqpjz5slyp4hh= r8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "SHELL=3D/gnu/store/icz= 3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "--pr= efix=3D/gnu/store/v07x6jfph9yy7bf54ibdb9z08snjn6lh-freefilesync-9.9" &= quot;--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu&q= uot;)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-mi= nimal-4.4.12/bin/bash: ./configure: No such file or directory=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
phase `configure' failed af= ter 0.0 seconds
note: keeping build directory `/tmp/guix-build-freefiles= ync-9.9.drv-1'
builder for `/gnu/store/r13m30fdxvxindynh4161ca498lj3= y09-freefilesync-9.9.drv' failed with exit code 1
@ build-failed /gn= u/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv - 1 builder f= or `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' f= ailed with exit code 1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
g= uix build: error: build failed: build of `/gnu/store/r13m30fdxvxindynh4161c= a498lj3y09-freefilesync-9.9.drv' failed

=
This is surprising t= o me as, according to the manual, configure is part of the u= sual set of tools found in the gnu build system. Let met quote :
"The (...) gnu-build-system represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual ./configure &&= ; make && make check && make install command sequence.= "
I checked that bash, bash-minimal, bash-completion are all found in = the store (actually in 3 differents versions after guix puil I guess).
<= /div>

So again I = rely on your knowledge, hoping to get through eventually.

Many thanks in advance

Arnaud
PS : I r= eworded the package name and description as per the guidelines.

=

2018-04-02 21:53 = GMT+02:00 Arnaud B <arnaud.beaudhuin@gmail.com>:
=E2=80=8BHello Pierre and Ol= eg

Than= ks a lot for the detailed and helpful answers, I will do accordingly tomorr= ow night after work and report.
Cheers


--089e0823d3e4382bc40568f4d7b4-- --089e0823d3e4382bc70568f4d7b6 Content-Type: text/x-scheme; charset="US-ASCII"; name="freefilesync.scm" Content-Disposition: attachment; filename="freefilesync.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jfjx6nu40 KHVzZS1tb2R1bGVzCiAgKGd1aXgpCiAgKGd1aXggcGFja2FnZXMpCiAgKGd1aXggZG93bmxvYWQp CiAgKGd1aXggYnVpbGQtc3lzdGVtIGdudSkKICAoZ3VpeCBsaWNlbnNlcykKICAoZ251IHBhY2th Z2VzIGNvbXByZXNzaW9uKSkKCihwYWNrYWdlCiAobmFtZSAiZnJlZWZpbGVzeW5jIikKICh2ZXJz aW9uICI5LjkiKQogKHNvdXJjZSAob3JpZ2luCgkgIChtZXRob2QgdXJsLWZldGNoL3ppcGJvbWIp CgkgICh1cmkgImh0dHBzOi8vd3d3LmZyZWVmaWxlc3luYy5vcmcvZG93bmxvYWQvRnJlZUZpbGVT eW5jXzkuOV9Tb3VyY2UuemlwIikKCSAgKHNoYTI1NgoJICAgKGJhc2UzMgoJICAgICIwdzU5cDV3 a2F6cm15aDlucTAyd2NwcTRpY2I4azh3MTJmMW1ibTZhOW1iYmFrNGQ3dmEzIikpKSkKIChidWls ZC1zeXN0ZW0gZ251LWJ1aWxkLXN5c3RlbSkKIChuYXRpdmUta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