From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: tree doesn't get called Date: Fri, 5 May 2017 17:50:53 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c2486b94838054ec8da80 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6fVP-0007nH-VE for help-guix@gnu.org; Fri, 05 May 2017 11:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6fVP-0001af-77 for help-guix@gnu.org; Fri, 05 May 2017 11:50:56 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6fVP-0001aO-00 for help-guix@gnu.org; Fri, 05 May 2017 11:50:55 -0400 Received: by mail-wm0-x22d.google.com with SMTP id w64so27614880wma.0 for ; Fri, 05 May 2017 08:50:54 -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 --f403045c2486b94838054ec8da80 Content-Type: text/plain; charset=UTF-8 stranded as usual. So here's the package http://paste.lisp.org/display/345871 What is wrong with it ? The build fails, the build folder (kept in /tmp) is empty Further, when I attempt to call tree, tree doesn't get called Thanks in advance --f403045c2486b94838054ec8da80 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
stranded as usual.

S= o here's the package
http://paste.lisp.org/display/345871

What is wrong with = it ?

The build fails, the build folder (kept in /tmp) is empty=

Further, when I attempt to call tree, tree doesn't get ca= lled

Thanks in advance

--f403045c2486b94838054ec8da80-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: tree doesn't get called Date: Fri, 5 May 2017 17:24:59 -0500 Message-ID: <20170505172459.158487fc@openmailbox.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6lex-0003ME-67 for help-guix@gnu.org; Fri, 05 May 2017 18:25:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6leu-00030v-2C for help-guix@gnu.org; Fri, 05 May 2017 18:25:11 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:60929 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6let-0002tf-QV for help-guix@gnu.org; Fri, 05 May 2017 18:25:07 -0400 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: Catonano Cc: help-guix On Fri, 5 May 2017 17:50:53 +0200 Catonano wrote: > stranded as usual. > > So here's the package > http://paste.lisp.org/display/345871 > > What is wrong with it ? > > The build fails, the build folder (kept in /tmp) is empty > > Further, when I attempt to call tree, tree doesn't get called trivial-build-system requires you to do a lot manually. In this case '(zero? (system* "tree"))' fails because it's not found in $PATH. And the build folder is empty because the builder doesn't put anything there! :) Since you're working from a git checkout here, you could probably copy/compile things directly from the source checkout to 'out'. Hope that helps, `~Eric From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Mon, 8 May 2017 07:02:29 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c189864d7db054efc2500 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7aoa-0007T2-Rx for help-guix@gnu.org; Mon, 08 May 2017 01:02:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7aoZ-00009O-EZ for help-guix@gnu.org; Mon, 08 May 2017 01:02:32 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:37297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7aoZ-000092-5q for help-guix@gnu.org; Mon, 08 May 2017 01:02:31 -0400 Received: by mail-wm0-x233.google.com with SMTP id m123so51550898wma.0 for ; Sun, 07 May 2017 22:02:30 -0700 (PDT) In-Reply-To: <20170505172459.158487fc@openmailbox.org> 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: Eric Bavier Cc: help-guix --f403045c189864d7db054efc2500 Content-Type: text/plain; charset=UTF-8 Eric, 2017-05-06 0:24 GMT+02:00 Eric Bavier : > On Fri, 5 May 2017 17:50:53 +0200 > Catonano wrote: > > > stranded as usual. > > > > So here's the package > > http://paste.lisp.org/display/345871 > > > > What is wrong with it ? > > > > The build fails, the build folder (kept in /tmp) is empty > > > > Further, when I attempt to call tree, tree doesn't get called > > trivial-build-system requires you to do a lot manually. In this case > '(zero? (system* "tree"))' fails because it's not found in $PATH. > > And the build folder is empty because the builder doesn't put anything > there! :) Since you're working from a git checkout here, you could > probably copy/compile things directly from the source checkout to 'out'. > > Hope that helps, > `~Eric > > Thank you so much or your help Would you mind to take a look at this new version ? http://paste.lisp.org/display/346142 The (copy-file file dest-file) piece fails with ... In unknown file: ?: 0 [copy-file "include.scm" ...] ERROR: In procedure copy-file: ERROR: In procedure copy-file: No such file or directory But as you can see on te "tree" output, include.scm is there indeed Thanks in advance --f403045c189864d7db054efc2500 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Eric,

2017-05-06 0:24 GMT+02:00 Eric Bavier <<= a href=3D"mailto:ericbavier@openmailbox.org" target=3D"_blank">ericbavier@o= penmailbox.org>:
On Fri, 5 May 2017 17:50:53 +0200
Catonano <catonano@gmail.com&g= t; wrote:

> stranded as usual.
>
> So here's the package
> http://paste.lisp.org/display/345871
>
> What is wrong with it ?
>
> The build fails, the build folder (kept in /tmp) is empty
>
> Further, when I attempt to call tree, tree doesn't get called

trivial-build-system requires you to do a lot manually.=C2=A0 In thi= s case
'(zero? (system* "tree"))' fails because it's not fou= nd in $PATH.

And the build folder is empty because the builder doesn't put anything<= br> there! :)=C2=A0 Since you're working from a git checkout here, you coul= d
probably copy/compile things directly from the source checkout to 'out&= #39;.

Hope that helps,
`~Eric



Thank you so mu= ch or your help

Would you mind to t= ake a look at this new version ?

http://paste.lisp.org/display/346142

The
(copy-file file
           dest-file)

piece fails with

...
In unknown file:<= br> ?: 0 [copy-file "include.scm" ...]

ERROR: In procedu= re copy-file:
ERROR: In procedure copy-file: No such file or directory
But=
 as you can see on te "tree" output, include.scm is there indeed<=
br>
Tha=
nks in advance
<= /span>
--f403045c189864d7db054efc2500-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Mon, 08 May 2017 08:08:45 +0200 Message-ID: <87y3u7khhu.fsf@elephly.net> References: <20170505172459.158487fc@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7br1-0002AN-U2 for help-guix@gnu.org; Mon, 08 May 2017 02:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7bqy-0006nS-Q4 for help-guix@gnu.org; Mon, 08 May 2017 02:09:07 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7bqy-0006nG-J2 for help-guix@gnu.org; Mon, 08 May 2017 02:09:04 -0400 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: Catonano Cc: help-guix Catonano writes: > Would you mind to take a look at this new version ? > > http://paste.lisp.org/display/346142 > > The > > (copy-file file > dest-file) > > piece fails with > > ... > In unknown file: > ?: 0 [copy-file "include.scm" ...] > > ERROR: In procedure copy-file: > ERROR: In procedure copy-file: No such file or directory > > But as you can see on te "tree" output, include.scm is there indeed It looks like you first need to create the target directory (with “mkdir-p”). BTW: instead of an explicit list for scm-files you could use this: (find-files "." "\\.scm$") -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: tree doesn't get called Date: Mon, 08 May 2017 03:34:07 -0400 Message-ID: <87fugfn6og.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7dBk-0003f0-0L for help-guix@gnu.org; Mon, 08 May 2017 03:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7dBg-0005NE-1a for help-guix@gnu.org; Mon, 08 May 2017 03:34:35 -0400 Received: from world.peace.net ([50.252.239.5]:50138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7dBf-0005LP-Tx for help-guix@gnu.org; Mon, 08 May 2017 03:34:31 -0400 In-Reply-To: (catonano@gmail.com's message of "Fri, 5 May 2017 17:50:53 +0200") 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: Catonano Cc: help-guix Catonano writes: > So here's the package > http://paste.lisp.org/display/345871 > > What is wrong with it ? Please always include the relevant code snippets in the email itself, rather than using a paste site. Paste sites are useful for contexts such as IRC where pasting more than a few lines is inconvenient and generally frowned upon, and where the discussions are ephemeral. On the other hand, these email lists are archived and we would like the archives to be comprehensible to future readers. That will not be possible for the emails in this thread after the code under discussion has been deleted from the paste site, or the paste site goes offline. There are also privacy implications to forcing the readers of your email to click on a link, thus creating network traffic and a log on someone's server, in order to see the core content of your message. What do you think? Regards, Mark From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Mon, 8 May 2017 19:14:24 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1981f2fa6480054f065e05 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7mEu-00028T-43 for help-guix@gnu.org; Mon, 08 May 2017 13:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7mEs-00060F-SV for help-guix@gnu.org; Mon, 08 May 2017 13:14:28 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7mEs-0005zz-HN for help-guix@gnu.org; Mon, 08 May 2017 13:14:26 -0400 Received: by mail-wm0-x22d.google.com with SMTP id 142so72554568wma.1 for ; Mon, 08 May 2017 10:14:26 -0700 (PDT) In-Reply-To: <87y3u7khhu.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix --94eb2c1981f2fa6480054f065e05 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-05-08 8:08 GMT+02:00 Ricardo Wurmus : > > > It looks like you first need to create the target directory (with > =E2=80=9Cmkdir-p=E2=80=9D). > wonderful, thanks > > BTW: instead of an explicit list for scm-files you could use this: > > (find-files "." "\\.scm$") > Thanks, Ricardo. This is the new error ice-9/eval.scm:386:9: In procedure eval: ice-9/eval.scm:386:9: Throw to key `match-error' with args `("match" "no matching pattern" ("" "/include" "scm"))'. I guess the culprit is this (for-each (lambda (file) (let* ((dest-file ...) (go-file (match (string-split file #\.) ((base _) (string-append module-dir "/" base ".go")))))...))) The first file processed is "include.scm" I'm not sure what "no matching pattern" means The spliitting in "include" and "scm" seems corretc (where does that slash come from ?) And i I switch back to the explicit list of files, I get: wrote `/gnu/store/mdirmfqcs2cadk8ram89j7i0z9zlrqvb-guile-miniadapton-master/share= /guile/site/2.2/include.go' So the first file ("include.scm") gets correctly written But then: Backtrace: In ice-9/boot-9.scm: 160: 16 [catch #t # ...] In unknown file: ?: 15 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 14 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 13 [eval # #] In ice-9/boot-9.scm: 2412: 12 [save-module-excursion #] 4089: 11 [#] 1734: 10 [%start-stack load-stack #] 1739: 9 [#] In unknown file: ?: 8 [primitive-load "/gnu/store/a0z8jd9sxxi6gnip6sfhrm3i06s6c9vv-guile-miniadapton-master-guile= -builder"] In ice-9/eval.scm: 387: 7 [eval # ()] In srfi/srfi-1.scm: 827: 6 [every1 # ...] In /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-bu= ild-system.scm: 653: 5 [# #] In ice-9/eval.scm: 432: 4 [eval # #] In ice-9/boot-9.scm: 778: 3 [for-each # #] In ice-9/eval.scm: 399: 2 [eval # #] 387: 1 [eval # #] In unknown file: ?: 0 [0 0] ERROR: In procedure 0: ERROR: Wrong type to apply: 0 what does this error message mean ? Why the second file causes an error ? Maybe I'm being petty, I'm sorry I'm just a bit confused --94eb2c1981f2fa6480054f065e05 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-05-08 8:08 GMT+02:00 Ricardo Wurmus <rekado@elephly= .net>:


It looks like you first need to create the target directory (with =E2=80=9Cmkdir-p=E2=80=9D).

wonderful, = thanks
=C2=A0

BTW: instead of an explicit list for scm-files you could use this:

=C2=A0 =C2=A0 (find-files "." "\\.scm$")

Thanks, Ricardo.

This is the new error

ice-9/eval.scm:386:9: In proc= edure eval:
ice-9/eval.scm:386:9: Throw to key `match-error' with ar= gs `("match" "no matching pattern" ("" "= /include" "scm"))'.


I guess the culprit is this


(for-each (lambda (file)
= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (let* ((dest-file ...)
=C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (go-file (match (string-split fil= e #\.)
=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 ((base _)
=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 (string-append= module-dir "/" base ".go")))))...)))

The first file processed is "include.scm"<= br>
I'm not sure what "no matc= hing pattern" means
The spliitting= in "include" and "scm" seems corretc (where does that = slash come from ?)

And i I switch b= ack to the explicit list of files, I get:

wrote `/gnu/store/mdirmfqc= s2cadk8ram89j7i0z9zlrqvb-guile-miniadapton-master/share/guile/site/2.2/incl= ude.go'

So the first file (&quo= t;include.scm") gets correctly written

But then:

Backtrace:
In ice-9/boot-9.scm:
=C2=A0160: = 16 [catch #t #<catch-closure 8c5dc0> ...]
In unknown file:
=C2= =A0=C2=A0 ?: 15 [apply-smob/1 #<catch-closure 8c5dc0>]
In ice-9/bo= ot-9.scm:
=C2=A0 66: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.= scm:
=C2=A0432: 13 [eval # #]
In ice-9/boot-9.scm:
2412: 12 [save-= module-excursion #<procedure 8e6840 at ice-9/boot-9.scm:4084:3 ()>]4089: 11 [#<procedure 8e6840 at ice-9/boot-9.scm:4084:3 ()>]
173= 4: 10 [%start-stack load-stack #<procedure 8f6e20 at ice-9/boot-9.scm:40= 80:10 ()>]
1739: 9 [#<procedure 8f8960 ()>]
In unknown file:=
=C2=A0=C2=A0 ?: 8 [primitive-load "/gnu/store/a0z8jd9sxxi6gnip6sfh= rm3i06s6c9vv-guile-miniadapton-master-guile-builder"]
In ice-9/eval= .scm:
=C2=A0387: 7 [eval # ()]
In srfi/srfi-1.scm:
=C2=A0827: 6 [e= very1 #<procedure c7d2e0 at /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-= module-import/guix/build/gnu-build-system.scm:649:9 (expr)> ...]
In /= gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-bui= ld-system.scm:
=C2=A0653: 5 [#<procedure c7d2e0 at /gnu/store/a42pfdz= 8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-build-system.scm:649= :9 (expr)> #]
In ice-9/eval.scm:
=C2=A0432: 4 [eval # #]
In ice= -9/boot-9.scm:
=C2=A0778: 3 [for-each #<procedure ecda50 at ice-9/eva= l.scm:416:20 (a)> #]
In ice-9/eval.scm:
=C2=A0399: 2 [eval # #]=C2=A0387: 1 [eval # #]
In unknown file:
=C2=A0=C2=A0 ?: 0 [0 0]
=
ERROR: In procedure 0:
ERROR: Wrong type to apply: 0


what does this error message mean ?

Why the second file causes an error ?

=
Maybe I'm being petty, I'm sorry
I'm just a bit confused
--94eb2c1981f2fa6480054f065e05-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Mon, 8 May 2017 19:28:57 +0200 Message-ID: References: <87fugfn6og.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c2d4c04cb22054f069358 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7mSz-0007eC-3c for help-guix@gnu.org; Mon, 08 May 2017 13:29:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7mSx-0002OM-R3 for help-guix@gnu.org; Mon, 08 May 2017 13:29:01 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:35364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7mSx-0002O4-HK for help-guix@gnu.org; Mon, 08 May 2017 13:28:59 -0400 Received: by mail-wm0-x232.google.com with SMTP id b84so62852562wmh.0 for ; Mon, 08 May 2017 10:28:59 -0700 (PDT) In-Reply-To: <87fugfn6og.fsf@netris.org> 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: Mark H Weaver Cc: help-guix --f403045c2d4c04cb22054f069358 Content-Type: text/plain; charset=UTF-8 Mark, 2017-05-08 9:34 GMT+02:00 Mark H Weaver : > Catonano writes: > > So here's the package > > http://paste.lisp.org/display/345871 > > > > What is wrong with it ? > > Please always include the relevant code snippets in the email itself, > rather than using a paste site. Paste sites are useful for contexts > such as IRC where pasting more than a few lines is inconvenient and > generally frowned upon, and where the discussions are ephemeral. > > On the other hand, these email lists are archived and we would like the > archives to be comprehensible to future readers. That will not be > possible for the emails in this thread after the code under discussion > has been deleted from the paste site, or the paste site goes offline. > > There are also privacy implications to forcing the readers of your email > to click on a link, thus creating network traffic and a log on someone's > server, in order to see the core content of your message. > > What do you think? > I'm ready to adhere to any guidelines set set by the community I have no problem in pasting pieces of code directly in the emails body I just hadn't considered the concerns you are raising In fact, I'd paste code even on IRC channels, I don't do so because I have been requested to abstain from pasting code in chat channels in the past But I don't understand the reason why that is not desirable, inconvenient and frown upon. I just adhere to a costme that seems to be common and widely accepted, or even assumed. I can do te same for mailing lists of course. I just thought the set of assumptions was the same So I will follow your lead in the future, I have begun already ! In this same thread I reported errors and pieces of code pasting the wole thing in the email body It's even more practical, like this ! --f403045c2d4c04cb22054f069358 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Mark,

2017-05-08 9:34 GMT+02:00 Mark H Weaver <= ;mhw@netris.org>= :
Catonano <catonano@gmail.com> writes:
> So here's the package
> http://paste.lisp.org/display/345871
>
> What is wrong with it ?

Please always include the relevant code snippets in the email itself= ,
rather than using a paste site.=C2=A0 Paste sites are useful for contexts such as IRC where pasting more than a few lines is inconvenient and
generally frowned upon, and where the discussions are ephemeral.

On the other hand, these email lists are archived and we would like the
archives to be comprehensible to future readers.=C2=A0 That will not be
possible for the emails in this thread after the code under discussion
has been deleted from the paste site, or the paste site goes offline.

There are also privacy implications to forcing the readers of your email to click on a link, thus creating network traffic and a log on someone'= s
server, in order to see the core content of your message.

What do you think?

I'm ready to adh= ere to any guidelines set set by the community

I have no = problem in pasting pieces of code directly in the emails body

I just hadn't considered the concerns you are raising
In fact, I'd paste code even on IRC channels, I don= 9;t do so because I have been requested to abstain from pasting code in cha= t channels in the past

But I don't understand the reason w= hy that is not desirable, inconvenient and frown upon.

I just adhere to a costme that seems to be common and w= idely accepted, or even assumed.

I = can do te same for mailing lists of course. I just thought the set of assum= ptions was the same

So I will= follow your lead in the future, I have begun already !

In this same thread I reported errors and pieces of co= de pasting the wole thing in the email body

It's even more practical, like this !
--f403045c2d4c04cb22054f069358-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Mon, 8 May 2017 19:45:08 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0de2ccdb0234054f06cc60 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7mid-0005xI-SU for help-guix@gnu.org; Mon, 08 May 2017 13:45:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7mic-0006uG-9o for help-guix@gnu.org; Mon, 08 May 2017 13:45:11 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7mib-0006ti-W4 for help-guix@gnu.org; Mon, 08 May 2017 13:45:10 -0400 Received: by mail-wm0-x236.google.com with SMTP id b84so63359896wmh.0 for ; Mon, 08 May 2017 10:45:09 -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: Ricardo Wurmus Cc: help-guix --94eb2c0de2ccdb0234054f06cc60 Content-Type: text/plain; charset=UTF-8 just for reference, this is the whole text (define-public guile-miniadapton (package (name "guile-miniadapton") (version "master") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fisherdj/miniAdapton") (commit "1b5749422304567c96ac5367f2221dda9eff5880"))) (file-name (string-append name "-" version "-checkout")) (sha256 (base32 "09q51zkw2fypad5xixskfzw2cjhjgs5cswdp3i7cpp651rb3zndh")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build utils) (ice-9 match) (ice-9 popen) (ice-9 rdelim) (guix build gnu-build-system)) #:phases (modify-phases %standard-phases (delete 'configure) (delete 'build) (delete 'check) (replace 'install (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (effective (read-line (open-pipe* OPEN_READ "guile" "-c" "(display (effective-version))"))) (zero? (system* "tree")) (module-dir (string-append out "/share/guile/site/" effective)) (source (assoc-ref inputs "source")) ;;(scm-files (find-files "." "\\.scm$")) (scm-files '("include.scm" "microadapton.scm" "microadapton-impl.scm" "microadapton-types.scm" "memoization.scm" "memoization-impl.scm" "miniadapton.scm" "miniadapton-impl.scm" "set.scm" "set-impl.scm")) (guild (string-append (assoc-ref %build-inputs "guile") "/bin/guild"))) ;; Make installation directories. ;;(mkdir-p (string-append module-dir "source")) (mkdir-p module-dir) ;; Compile .scm files and install. (setenv "GUILE_AUTO_COMPILE" "0") (for-each (lambda (file) (let* ((dest-file (string-append module-dir "/" file)) (go-file (match (string-split file #\.) ((base _) (string-append module-dir "/" base ".go"))))) ;; Install source module. (copy-file file dest-file) ;; Install compiled module. (unless (zero? (system* guild "compile" "-L" (getcwd) "-o" go-file file)) (error (format #f "Failed to compile ~s to ~s!" file dest-file))))) scm-files) #t)))))) (inputs `(("guile" ,guile-2.2))) (native-inputs `(("tree" ,tree))) (home-page "https://github.com/fisherdj/miniAdapton") (synopsis "a minimal implementation of incremental computation in (Guile) Scheme") (description "a complete Scheme implementation of miniAdapton, which implements the core functionality of the Adapton system for incremental computation (also known as self-adjusting computation). Like Adapton, miniAdapton allows programmers to safely combine mutation and memoization. miniAdapton is built on top of an even simpler system, microAdapton. Both miniAdapton and microAdapton are designed to be easy to understand, extend, and port to host languages other than Scheme.") (license license:expat))) --94eb2c0de2ccdb0234054f06cc60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+anVzdCBmb3IgcmVmZXJlbmNlLCB0aGlzIGlzIHRoZSB3aG9sZSB0ZXh0 PGJyPjxicj4oZGVmaW5lLXB1YmxpYyBndWlsZS1taW5pYWRhcHRvbjxicj7CoCAocGFja2FnZTxi cj7CoMKgwqAgKG5hbWUgJnF1b3Q7Z3VpbGUtbWluaWFkYXB0b24mcXVvdDspPGJyPsKgwqDCoCAo dmVyc2lvb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3VhZ2VzIG90aGVyIHRoYW4gU2NoZW1lLiZxdW90Oyk8YnI+wqAgKGxpY2Vu c2UgbGljZW5zZTpleHBhdCkpKTxicj48YnI+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxicj48 YnI+PC9kaXY+PC9kaXY+DQo= --94eb2c0de2ccdb0234054f06cc60-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Mon, 08 May 2017 19:58:19 +0200 Message-ID: <8760hbjkn8.fsf@elephly.net> References: <87fugfn6og.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7mvc-0004ml-MG for help-guix@gnu.org; Mon, 08 May 2017 13:58:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7mvX-0002zx-MA for help-guix@gnu.org; Mon, 08 May 2017 13:58:36 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7mvX-0002y7-FH for help-guix@gnu.org; Mon, 08 May 2017 13:58:31 -0400 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: Catonano Cc: Mark H Weaver , help-guix Catonano writes: > In fact, I'd paste code even on IRC channels, I don't do so because I have > been requested to abstain from pasting code in chat channels in the past > > But I don't understand the reason why that is not desirable, inconvenient > and frown upon. IRC is for real-time conversations, and pasting many lines of code there makes it hard to converse. A channel can be very crowded even without pasting code snippets, so it’s best to keep excess text to a minimum. I guess that’s why it’s customary on IRC to paste code elsewhere and just link to it. For mails it’s fine (and desirable) to include code snippets inline or as attachments. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Mon, 08 May 2017 22:19:23 +0200 Message-ID: <874lwvje44.fsf@elephly.net> References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7p83-0001sD-WF for help-guix@gnu.org; Mon, 08 May 2017 16:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7p7z-000472-5Y for help-guix@gnu.org; Mon, 08 May 2017 16:19:35 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7p7y-00046i-Ts for help-guix@gnu.org; Mon, 08 May 2017 16:19:31 -0400 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: Catonano Cc: help-guix Here’s a version that works for me: --8<---------------cut here---------------start------------->8--- (define-public guile-miniadapton (let ((commit "1b5749422304567c96ac5367f2221dda9eff5880") (revision "1")) (package (name "guile-miniadapton") (version (string-append "0-" revision "." (string-take commit 9))) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fisherdj/miniAdapton.git") (commit commit))) (file-name (string-append name "-" version "-checkout")) (sha256 (base32 "09q51zkw2fypad5xixskfzw2cjhjgs5cswdp3i7cpp651rb3zndh")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build utils) (ice-9 popen) (ice-9 rdelim) (srfi srfi-1) (guix build gnu-build-system)) #:tests? #f ; there is no test target #:phases (modify-phases %standard-phases (delete 'configure) (delete 'build) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((cwd (getcwd)) (scm-files (find-files "." "\\.scm$")) (effective (read-line (open-pipe* OPEN_READ "guile" "-c" "(display (effective-version))"))) (module-dir (string-append (assoc-ref outputs "out") "/share/guile/site/" effective))) ;; Make installation directories. (mkdir-p module-dir) (setenv "GUILE_AUTO_COMPILE" "0") ;; Compile .scm files and install. (every (lambda (file) (let ((go-file (string-append module-dir "/" (basename file ".scm") ".go"))) ;; Install source module. (install-file file module-dir) ;; Compile and install module. (zero? (system* "guild" "compile" "-L" cwd "-o" go-file file)))) scm-files))))))) (inputs `(("guile" ,guile-2.2))) (home-page "https://github.com/fisherdj/miniAdapton") (synopsis "Minimal implementation of incremental computation in Guile Scheme") (description "This package provides a complete Scheme implementation of miniAdapton, which implements the core functionality of the Adapton system for incremental computation (also known as self-adjusting computation). Like Adapton, miniAdapton allows programmers to safely combine mutation and memoization. miniAdapton is built on top of an even simpler system, microAdapton. Both miniAdapton and microAdapton are designed to be easy to understand, extend, and port to host languages other than Scheme.") (license license:expat)))) --8<---------------cut here---------------end--------------->8--- If you have any questions about this just ask! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Tue, 9 May 2017 17:41:20 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c1898f6bee6054f192fe9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d87GN-0005ZG-DM for help-guix@gnu.org; Tue, 09 May 2017 11:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d87GM-0007X4-NB for help-guix@gnu.org; Tue, 09 May 2017 11:41:23 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:33694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d87GM-0007VU-ES for help-guix@gnu.org; Tue, 09 May 2017 11:41:22 -0400 Received: by mail-wr0-x234.google.com with SMTP id w50so4443858wrc.0 for ; Tue, 09 May 2017 08:41:22 -0700 (PDT) In-Reply-To: <874lwvje44.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix --f403045c1898f6bee6054f192fe9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ricardo, 2017-05-08 22:19 GMT+02:00 Ricardo Wurmus : > > Here=E2=80=99s a version that works for me: > > > ;; Compile .scm files and install. > (every (lambda (file) > (let ((go-file (string-append module-dir "/" > (basename file > ".scm") ".go"))) > ;; Install source module. > (install-file file module-dir) > ;; Compile and install module. > (zero? (system* "guild" "compile" "-L" cwd > "-o" go-file file)))) > The differences with my version is that you use install-file insted of copy-file and you pass the -L (cwd) switch to guild I wonder what was causing my issue ? > If you have any questions about this just ask! > > Thank you so much or your help I appreciate it --f403045c1898f6bee6054f192fe9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ricardo,

2017-05-08 22:19 GMT+02:00 Ricardo Wurmus <= ;rekado@elephly.net= >:

Here=E2=80=99s a version that works for me:


=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; Compile .s= cm files and install.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(every= (lambda (file)
=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 (let ((go-file (string-append module-dir "/" =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 (basename file ".scm&= quot;) ".go")))
=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 ;; Install source module.
=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 (install-file file module-dir)
=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 ;; Compile and install module.
=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 (zero? (system* "guild" "compile&qu= ot; "-L" cwd
=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 "-o" go-file file))))

= The differences with my version is that you use install-file insted of copy= -file=C2=A0 and you pass the -L (cwd) switch to guild

I w= onder what was causing my issue ?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
If you have any questions about this just ask!

<= br>
Thank you so much or your help

I appreciate= it
--f403045c1898f6bee6054f192fe9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Tue, 9 May 2017 17:43:38 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c2d4c2e0eff054f1938e8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d87Ib-00063d-0G for help-guix@gnu.org; Tue, 09 May 2017 11:43:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d87Ia-0000vL-6H for help-guix@gnu.org; Tue, 09 May 2017 11:43:41 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:36744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d87IZ-0000uo-Ve for help-guix@gnu.org; Tue, 09 May 2017 11:43:40 -0400 Received: by mail-wr0-x22c.google.com with SMTP id l50so4356029wrc.3 for ; Tue, 09 May 2017 08:43:39 -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: Ricardo Wurmus Cc: help-guix --f403045c2d4c2e0eff054f1938e8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I forgot: the linter crashes, but not only on guile-miniadapton. Also on guile-irregex that was already there It might be something in the maser branch or something in my setup. I updated my system recently and I still don't know what is going on. Well, I know what is going on less than usual ;-) Thanks again ! Backtrace:uile-irregex@0.9.6 [cve]... 9 (primitive-load "/home/catonano/projects/readxl/scripts=E2=80= =A6") In guix/ui.scm: 1255:8 8 (run-guix-command _ . _) In srfi/srfi-1.scm: 640:9 7 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 982:4 6 (run-checkers _ _) In srfi/srfi-1.scm: 640:9 5 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 805:4 4 (check-vulnerabilities _) 800:9 3 (_ _) In unknown file: 2 (force #) In guix/scripts/lint.scm: 789:24 1 (_) In ice-9/boot-9.scm: 837:9 0 (catch srfi-34 # =E2=80=A6) ice-9/boot-9.scm:837:9: In procedure catch: ice-9/boot-9.scm:837:9: Wrong type to apply: # --f403045c2d4c2e0eff054f1938e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I forgot: the linter crashes, but not only = on guile-miniadapton. Also on guile-irregex that was already there

<= /div>It might be something in the maser branch or something in my setup. I = updated my system recently and I still don't know what is going on.
=
Well, I know what is going on less than usual ;-)

Th= anks again !

Backtrace:uile-irregex@0.9.6 [cve]...
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 9 (primitive-load "/h= ome/catonano/projects/readxl/scripts=E2=80=A6")
In guix/ui.scm:
= =C2=A0=C2=A0 1255:8=C2=A0 8 (run-guix-command _ . _)
In srfi/srfi-1.scm:=
=C2=A0=C2=A0=C2=A0 640:9=C2=A0 7 (for-each #<procedure 2082120 at gu= ix/scripts/lint.scm=E2=80=A6> =E2=80=A6)
In guix/scripts/lint.scm:=C2=A0=C2=A0=C2=A0 982:4=C2=A0 6 (run-checkers _ _)
In srfi/srfi-1.scm:=
=C2=A0=C2=A0=C2=A0 640:9=C2=A0 5 (for-each #<procedure 33626c0 at gu= ix/scripts/lint.scm=E2=80=A6> =E2=80=A6)
In guix/scripts/lint.scm:=C2=A0=C2=A0=C2=A0 805:4=C2=A0 4 (check-vulnerabilities _)
=C2=A0=C2=A0= =C2=A0 800:9=C2=A0 3 (_ _)
In unknown file:
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2 (force #<promise #<procedure 7= fd838ecbf88 at guix/scrip=E2=80=A6>)
In guix/scripts/lint.scm:
=C2= =A0=C2=A0 789:24=C2=A0 1 (_)
In ice-9/boot-9.scm:
=C2=A0=C2=A0=C2=A0 = 837:9=C2=A0 0 (catch srfi-34 #<procedure 7fd838ed73a8 at guix/script=E2= =80=A6> =E2=80=A6)

ice-9/boot-9.scm:837:9: In procedure catch:ice-9/boot-9.scm:837:9: Wrong type to apply: #<unknown-type (0x24f . 0x= 7fd83aa8ae08) @ 0x7fd83b040318>


--f403045c2d4c2e0eff054f1938e8-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Tue, 09 May 2017 19:20:40 +0200 Message-ID: <87pofihrpz.fsf@elephly.net> References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d88og-00065z-Bp for help-guix@gnu.org; Tue, 09 May 2017 13:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d88oc-0003b0-Us for help-guix@gnu.org; Tue, 09 May 2017 13:20:54 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d88oc-0003ao-MF for help-guix@gnu.org; Tue, 09 May 2017 13:20:50 -0400 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: Catonano Cc: help-guix Catonano writes: >> Here’s a version that works for me: >> >> >> ;; Compile .scm files and install. >> (every (lambda (file) >> (let ((go-file (string-append module-dir "/" >> (basename file >> ".scm") ".go"))) >> ;; Install source module. >> (install-file file module-dir) >> ;; Compile and install module. >> (zero? (system* "guild" "compile" "-L" cwd >> "-o" go-file file)))) >> > > The differences with my version is that you use install-file insted of > copy-file and you pass the -L (cwd) switch to guild These were mostly cosmetic changes. I evaluate “(getcwd)” once and bind it to “cwd” instead of evaluating it again and again for each file. This is not what fixed the crash. “install-file” only takes a file and a directory, unlike “copy-file” which takes a source file name and a target file name. I did this just to simplify the code. > I wonder what was causing my issue ? Another difference is that I’m using “basename”. Your use of “match” didn’t work, because the match pattern wasn’t correct for the “find-files” case. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Tue, 9 May 2017 20:12:35 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> <87pofihrpz.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f4030438914cde7d76054f1b4c43 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d89ck-0006fa-Bc for help-guix@gnu.org; Tue, 09 May 2017 14:12:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d89cj-0006IE-8A for help-guix@gnu.org; Tue, 09 May 2017 14:12:38 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:35530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d89ci-0006Gq-Uy for help-guix@gnu.org; Tue, 09 May 2017 14:12:37 -0400 Received: by mail-wr0-x22f.google.com with SMTP id z52so10278128wrc.2 for ; Tue, 09 May 2017 11:12:36 -0700 (PDT) In-Reply-To: <87pofihrpz.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix --f4030438914cde7d76054f1b4c43 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-05-09 19:20 GMT+02:00 Ricardo Wurmus : > > Catonano writes: > > >> Here=E2=80=99s a version that works for me: > >> > >> > >> ;; Compile .scm files and install. > >> (every (lambda (file) > >> (let ((go-file (string-append module-dir "/" > >> (basename file > >> ".scm") ".go"))) > >> ;; Install source module. > >> (install-file file module-dir) > >> ;; Compile and install module. > >> (zero? (system* "guild" "compile" "-L" cwd > >> "-o" go-file file)))) > >> > > > > The differences with my version is that you use install-file insted of > > copy-file and you pass the -L (cwd) switch to guild > > These were mostly cosmetic changes. I evaluate =E2=80=9C(getcwd)=E2=80= =9D once and bind > it to =E2=80=9Ccwd=E2=80=9D instead of evaluating it again and again for = each file. > Yes I get that, I wrote "-L (cwd)" ust for brevity ;-) > This is not what fixed the crash. > mmm ok > > =E2=80=9Cinstall-file=E2=80=9D only takes a file and a directory, unlike = =E2=80=9Ccopy-file=E2=80=9D > which takes a source file name and a target file name. I did this just > to simplify the code. > > > I wonder what was causing my issue ? > > Another difference is that I=E2=80=99m using =E2=80=9Cbasename=E2=80=9D. = Your use of =E2=80=9Cmatch=E2=80=9D > didn=E2=80=99t work, because the match pattern wasn=E2=80=99t correct for= the > =E2=80=9Cfind-files=E2=80=9D case. > My use of match didn't work, but it hanged also when I used an explicit lis= t Admittedly I had probably messed up the call to basename Oh well Thanks anyway --f4030438914cde7d76054f1b4c43 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2017-05-09 19:20 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>= :

Catonano <catonano@gmail.com&g= t; writes:

>> Here=E2=80=99s a version that works for me:
>>
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; C= ompile .scm files and install.
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (eve= ry (lambda (file)
>>=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(let ((go-file (string-append module-dir &qu= ot;/"
>>=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(basename fil= e
>> ".scm") ".go")))
>>=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;; Install source module.
>>=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(install-file file module-dir)
>>=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;; Compile and install module.
>>=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(zero? (system* "guild" &qu= ot;compile" "-L" cwd
>>=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"-o" go-file file))))
>>
>
> The differences with my version is that you use install-file insted of=
> copy-file=C2=A0 and you pass the -L (cwd) switch to guild

These were mostly cosmetic changes.=C2=A0 I evaluate =E2=80=9C(getcw= d)=E2=80=9D once and bind
it to =E2=80=9Ccwd=E2=80=9D instead of evaluating it again and again for ea= ch file.

Yes I get that, I wrote "-L (cwd)&quo= t; ust for brevity ;-)
=C2=A0
This is not what fixed the crash.

= mmm ok
=C2=A0

=E2=80=9Cinstall-file=E2=80=9D only takes a file and a directory, unlike = =E2=80=9Ccopy-file=E2=80=9D
which takes a source file name and a target file name.=C2=A0 I did this jus= t
to simplify the code.

> I wonder what was causing my issue ?

Another difference is that I=E2=80=99m using =E2=80=9Cbasename=E2=80= =9D.=C2=A0 Your use of =E2=80=9Cmatch=E2=80=9D
didn=E2=80=99t work, because the match pattern wasn=E2=80=99t correct for t= he
=E2=80=9Cfind-files=E2=80=9D case.

My use of match did= n't work, but it hanged also when I used an explicit list

=
Admittedly I had probably messed up the call to = basename

Oh well

Thanks anyway
--f4030438914cde7d76054f1b4c43-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Wed, 10 May 2017 21:51:13 +0200 Message-ID: <878tm4h4ni.fsf@elephly.net> References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8Xdt-00043W-LG for help-guix@gnu.org; Wed, 10 May 2017 15:51:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8Xdp-0001oW-Kw for help-guix@gnu.org; Wed, 10 May 2017 15:51:25 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d8Xdp-0001oQ-CA for help-guix@gnu.org; Wed, 10 May 2017 15:51:21 -0400 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: Catonano Cc: help-guix Catonano writes: > I forgot: the linter crashes, but not only on guile-miniadapton. Also on > guile-irregex that was already there […] > Backtrace:uile-irregex@0.9.6 [cve]... > 9 (primitive-load > "/home/catonano/projects/readxl/scripts…") That’s suspicous… > In guix/ui.scm: > 1255:8 8 (run-guix-command _ . _) > In srfi/srfi-1.scm: > 640:9 7 (for-each # …) > In guix/scripts/lint.scm: > 982:4 6 (run-checkers _ _) > In srfi/srfi-1.scm: > 640:9 5 (for-each # …) > In guix/scripts/lint.scm: > 805:4 4 (check-vulnerabilities _) > 800:9 3 (_ _) > In unknown file: > 2 (force #) > In guix/scripts/lint.scm: > 789:24 1 (_) > In ice-9/boot-9.scm: > 837:9 0 (catch srfi-34 # …) > > ice-9/boot-9.scm:837:9: In procedure catch: > ice-9/boot-9.scm:837:9: Wrong type to apply: # 0x7fd83aa8ae08) @ 0x7fd83b040318> I cannot reproduce this running “./pre-inst-env guix lint guile-irregex” on master. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Thu, 11 May 2017 06:20:27 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> <878tm4h4ni.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0de2cc9c2720054f37e820 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8faY-00020y-5w for help-guix@gnu.org; Thu, 11 May 2017 00:20:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8faX-00066B-B9 for help-guix@gnu.org; Thu, 11 May 2017 00:20:30 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:35463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8faX-00064O-5L for help-guix@gnu.org; Thu, 11 May 2017 00:20:29 -0400 Received: by mail-wm0-x235.google.com with SMTP id b84so26080760wmh.0 for ; Wed, 10 May 2017 21:20:28 -0700 (PDT) In-Reply-To: <878tm4h4ni.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix --94eb2c0de2cc9c2720054f37e820 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-05-10 21:51 GMT+02:00 Ricardo Wurmus : > > I cannot reproduce this running =E2=80=9C./pre-inst-env guix lint guile-i= rregex=E2=80=9D > on master. > So it must be my setup. Interestingly, this happens also in the other master folder that I keep We'll see Thanks or checking ! --94eb2c0de2cc9c2720054f37e820 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-05-10 21:51 GMT+02:00 Ricardo Wurmus <rekado@elephl= y.net>:

I cannot rep= roduce this running =E2=80=9C./pre-inst-env guix lint guile-irregex=E2=80= =9D
on master.

So it must be my setup.

= Interestingly, this happens also in the other master folder that I keep
=
We'll see

Thanks or checking !

--94eb2c0de2cc9c2720054f37e820--