From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaud B Subject: Trying to define a package Date: Mon, 2 Apr 2018 13:50:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="883d24f22960b9218b0568dc3284" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2xyy-0005Sv-Ji for help-guix@gnu.org; Mon, 02 Apr 2018 07:50:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2xyx-0005i2-6u for help-guix@gnu.org; Mon, 02 Apr 2018 07:50:40 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:54033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f2xyw-0005gp-Sh for help-guix@gnu.org; Mon, 02 Apr 2018 07:50:39 -0400 Received: by mail-wm0-x235.google.com with SMTP id p9so24765717wmc.3 for ; Mon, 02 Apr 2018 04:50:38 -0700 (PDT) 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 --883d24f22960b9218b0568dc3284 Content-Type: multipart/alternative; boundary="883d24f22960b921890568dc3282" --883d24f22960b921890568dc3282 Content-Type: text/plain; charset="UTF-8" Hello all, I'm trying to create a package definition, following mainly the manual pages : - Packaging Guidelines - Defining-Packages - and Debugging-Build-Failures In the attached .scm file, here is what I gathered it might look like as a first try. The thing is that I can not debug the build process, even though I use the --keep-failed option : I'm not getting a temp build directory (/tmp/guix-build-...) as I expect : arnaud@brix ~$ guix build -f /home/arnaud/freefilesync.scm --keep-failed guix build: error: #: not something we can build arnaud@brix ~$ cd /tmp/ babel-10188XJP/ guix-inst/ mozilla_arnaud0/ emacs-guix-101889w1/ icecat_arnaud/ .overlayfs-workdir/ .esd-1000/ .ICE-unix/ .X11-unix/ arnaud@brix ~$ One thing to add is that the downloaded source file is not tar.gz file format but zip file, perhaps that's part of the problem ? This is a GuixSD install with guix pull done yesterday. Thanks in advance Arnaud --883d24f22960b921890568dc3282 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hel= lo all,
I'm trying to create a package definition, following mainly the manual= pages :
- Packaging Guidelines
- = Defining-Packages

In the attached .scm file, here is what I gathered it might look lik= e as a first try.
The thing is that I can not debug the build process, even though I u= se the --keep-failed option : I'm not getting a temp build directory (/= tmp/guix-build-...) as I expect :
arnaud@brix ~$ guix build -f /home/ar= naud/freefilesync.scm --keep-failed
guix build: error: #<unspecified&= gt;: not something we can build
arnaud@brix ~$ cd /tmp/
babel-10188XJ= P/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 guix-inst/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mozilla_arnaud0/=C2=A0=C2=A0=C2=A0=C2=A0 emacs-guix-101889w1/ icecat_arnaud/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .o= verlayfs-workdir/=C2=A0
.esd-1000/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 .ICE-unix/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 .X11-unix/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0
arnaud@brix ~$
One thing to add is that the downloaded source f= ile is not tar.gz file format but zip file, perhaps that's part of the = problem ?
T= his is a GuixSD install with guix pull done yesterday.

Thanks in advance
Arnaud
--883d24f22960b921890568dc3282-- --883d24f22960b9218b0568dc3284 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_jfi6779a0 KGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBmcmVlZmlsZXN5bmMpCiAgIzp1c2UtbW9kdWxl IChndWl4IHBhY2thZ2VzKQogICM6dXNlLW1vZHVsZSAoZ3VpeCBkb3dubG9hZCkKICAjOnVzZS1t b2R1bGUgKGd1aXggYnVpbGQtc3lzdGVtIGdudSkKICAjOnVzZS1tb2R1bGUgKGd1aXggbGljZW5z ZXMpCiAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMgZ2F3aykpCgooZGVmaW5lLXB1YmxpYyBm cmVlZmlsZXN5bmMKICAocGFja2FnZQogICAgICAgICAgICAobmFtZSAiRnJlZUZpbGVTeW5jIikK ICAgICAgICAgICAgKHZlcnNpb24gIjkuOSIpCiAgICAgICAgICAgIChzb3VyY2UgKG9yaWdpbgog ICAgICAgICAgICAgICAgICAgICAgKG1ldGhvZCB1cmwtZmV0Y2gpCiAgICAgICAgICAgICAgICAg ICAgICAodXJpICJodHRwczovL3d3dy5mcmVlZmlsZXN5bmMub3JnL2Rvd25sb2FkL0ZyZWVGaWxl U3luY185LjlfU291cmNlLnppcCIpCgkJICAgICAgKHNoYTI1NgogICAgICAgICAgICAgICAgICAg ICAgICAgKGJhc2UzMgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIjB3NTlwNXdrYXpybXlo OW5xMDJ3Y3BxNGljYjhrOHcxMmYxbWJtNmE5bWJiYWs0ZDd2YTMiKSkpKQogICAgICAgICAgICAo YnVpbGQtc3lzdGVtIGdudS1idWlsZC1zeXN0ZW0pCiAgICAgICAgICAgIChzeW5vcHNpcyAiRnJl ZUZpbGVTeW5jLCBPcGVuIFNvdXJjZSBGaWxlIFN5bmNocm9uaXN6YXRpb24iKQogICAgICAgICAg ICAoZGVzY3JpcHRpb24gIm11bHRpcGxhdGZvcm0sIEMrKywgb3BlbiBzb3VyY2UgYnV0IGNvbWVz IHdpdGggbWFsd2FyZSBhY2NvcmRpbmcgdG8gc29tZSIpCiAgICAgICAgICAgIChob21lLXBhZ2Ug Imh0dHBzOi8vd3d3LmZyZWVmaWxlc3luYy5vcmcvIikKICAgICAgICAgICAgKGxpY2Vuc2UgZ3Bs MykpKQo= --883d24f22960b9218b0568dc3284--