From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amirouche Boubekki Subject: Re: [PATCH] Add scheme-bytestructures Date: Thu, 20 Oct 2016 16:03:37 +0000 Message-ID: References: <87fuo4hz3c.fsf@openmailbox.org> <8760p0gcer.fsf@gnu.org> <877f95ivf9.fsf@gnu.org> <878ttjaznn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a114d4b9c3819df053f4e12f8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxFp2-0002mn-6b for guix-devel@gnu.org; Thu, 20 Oct 2016 12:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxFoy-0004T8-61 for guix-devel@gnu.org; Thu, 20 Oct 2016 12:04:00 -0400 In-Reply-To: <878ttjaznn.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel --001a114d4b9c3819df053f4e12f8 Content-Type: multipart/alternative; boundary=001a114d4b9c3819d9053f4e12f6 --001a114d4b9c3819d9053f4e12f6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Oct 20, 2016 at 4:00 PM Ludovic Court=C3=A8s wrote: > Hello, > > Amirouche Boubekki skribis: > > > find-files does the right thing, there is no need to filter what it > returns. > > From ea88bf4b53a63ba0d54f71622d055c32cd7e346e Mon Sep 17 00:00:00 2001 > > From: Amirouche > > Date: Sun, 9 Oct 2016 12:31:20 +0200 > > Subject: [PATCH] gnu: Add guile-bytestructures > > > > * gnu/packages/guile.scm (guile-bytestructures): New variable. > > I had to make these extra modifications (the package you sent built but > the result was a bunch of empty directories because =E2=80=98find-files= =E2=80=99 was > called from the wrong directory): > > > However, with those changes, I get: > > --8<---------------cut here---------------start------------->8--- > [...] > ERROR: In procedure scm-error: > ERROR: Failed to compile "bytestructures/r7/base.scm" to > "/gnu/store/m0lqx4wli55dfj45nsjhlhlvgql1p974-guile-bytestructures-2016072= 6.53127f6/share/guile/site/2.0/bytestructures/r7/base.go"! > --8<---------------cut here---------------end--------------->8--- > > Could you look into it and submit and updated patch? > It was the r7 files that could not be compiled. I filtered them. --001a114d4b9c3819d9053f4e12f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Oct 20, 2016 at 4:00 PM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hello,

Amirouche Boubekki <amirouche.boubekki@gmail.com> skri= bis:

> find-files does the right thing, there is no need to filter what it re= turns.
> From ea88bf4b53a63ba0d54f71622d055c32cd7e346e Mon Sep 17 00:00:00 2001=
> From: Amirouche <amirouche@hypermove.net>
> Date: Sun, 9 Oct 2016 12:31:20 +0200
> Subject: [PATCH] gnu: Add guile-bytestructures
>
> * gnu/packages/guile.scm (guile-bytestructures): New variable.

I had to make these extra modifications (the package you sent built but
the result was a bunch of empty directories because =E2=80=98find-files=E2= =80=99 was
called from the wrong directory):


However, with those changes, I get:

--8<---------------cut here---------------start------------->8---

[...]
=C2=A0
ERROR: In procedure scm-error:
ERROR: Failed to compile "bytestructures/r7/base.scm" to "/g= nu/store/m0lqx4wli55dfj45nsjhlhlvgql1p974-guile-bytestructures-20160726.531= 27f6/share/guile/site/2.0/bytestructures/r7/base.go"!
--8<---------------cut here---------------end--------------->8---

Could you look into it and submit and updated patch?

It was the r7 files that could not be com= piled. I filtered them.
--001a114d4b9c3819d9053f4e12f6-- --001a114d4b9c3819df053f4e12f8 Content-Type: text/x-patch; charset=US-ASCII; name="0001-gnu-Add-guile-bytestructures.patch" Content-Disposition: attachment; filename="0001-gnu-Add-guile-bytestructures.patch" Content-Transfer-Encoding: base64 Content-ID: <157e2d28bd7b323a2d21> X-Attachment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oYnVpbGQtc3lzdGVtIHRyaXZpYWwtYnVpbGQtc3lzdGVtKQorICAg IChhcmd1bWVudHMKKyAgICAgYCgjOm1vZHVsZXMgKChndWl4IGJ1aWxkIHV0aWxzKSkKKyAgICAg ICAjOmJ1aWxkZXIKKyAgICAgICAoYmVnaW4KKyAgICAgICAgICh1c2UtbW9kdWxlcyAoZ3VpeCBi dWlsZCB1dGlscykKKyAgICAgICAgICAgICAgICAgICAgICAoaWNlLTkgbWF0Y2gpCisgICAgICAg ICAgICAgICAgICAgICAgKGljZS05IHBvcGVuKQorICAgICAgICAgICAgICAgICAgICAgIChpY2Ut OSByZGVsaW0pKQorICAgICAgICAgKGxldCogKChvdXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0 IikpCisgICAgICAgICAgICAgICAgKGd1aWxlIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiZ3Vp bGUiKSkKKyAgICAgICAgICAgICAgICAoZWZmZWN0aXZlIChyZWFkLWxpbmUKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAob3Blbi1waXBlKiBPUEVOX1JFQUQKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoc3RyaW5nLWFwcGVuZCBndWlsZSAiL2Jpbi9ndWlsZSIp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi1jIiAiKGRpc3BsYXkg KGVmZmVjdGl2ZS12ZXJzaW9uKSkiKSkpCisgICAgICAgICAgICAgICAgKG1vZHVsZS1kaXIgKHN0 cmluZy1hcHBlbmQgb3V0ICIvc2hhcmUvZ3VpbGUvc2l0ZS8iCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgZWZmZWN0aXZlKSkKKyAgICAgICAgICAgICAgICAoc291 cmNlIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAic291cmNlIikpCisgICAgICAgICAgICAgICAg KGRvYyAoc3RyaW5nLWFwcGVuZCBvdXQgIi9zaGFyZS9kb2Mvc2NoZW1lLWJ5dGVzdHJ1Y3R1cmVz IikpCisgICAgICAgICAgICAgICAgKHNjbS1maWxlcyAoZmlsdGVyIChsYW1iZGEgKHBhdGgpCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG5vdCAoc3RyaW5nLXByZWZpeD8g ImJ5dGVzdHJ1Y3R1cmVzL3I3IiBwYXRoKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICh3aXRoLWRpcmVjdG9yeS1leGN1cnNpb24gc291cmNlCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgKGZpbmQtZmlsZXMgImJ5dGVzdHJ1Y3R1cmVzIiAiXFwuc2Nt JCIpKSkpCisgICAgICAgICAgICAgICAgKGd1aWxkIChzdHJpbmctYXBwZW5kIChhc3NvYy1yZWYg JWJ1aWxkLWlucHV0cyAiZ3VpbGUiKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAiL2Jpbi9ndWlsZCIpKSkKKyAgICAgICAgICAgOzsgTWFrZSBpbnN0YWxsYXRpb24gZGly ZWN0b3JpZXMuCisgICAgICAgICAgIChta2Rpci1wIGRvYykKKworICAgICAgICAgICA7OyBDb21w aWxlIC5zY20gZmlsZXMgYW5kIGluc3RhbGwuCisgICAgICAgICAgIChjaGRpciBzb3VyY2UpCisg ICAgICAgICAgIChzZXRlbnYgIkdVSUxFX0FVVE9fQ09NUElMRSIgIjAiKQorICAgICAgICAgICAo Zm9yLWVhY2ggKGxhbWJkYSAoZmlsZSkKKyAgICAgICAgICAgICAgICAgICAgICAgKGxldCogKChk ZXN0LWZpbGUgKHN0cmluZy1hcHBlbmQgbW9kdWxlLWRpciAiLyIKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsZSkpCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAoZ28tZmlsZSAoc3RyaW5nLWFwcGVuZCBtb2R1bGUtZGlyICIv IgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg KHN1YnN0cmluZyBmaWxlIDAKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1yaW5kZXggZmlsZSAjXC4pKQorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi5nbyIp KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJbnN0YWxsIHNvdXJjZSBtb2R1bGUuCisg ICAgICAgICAgICAgICAgICAgICAgICAgKG1rZGlyLXAgKGRpcm5hbWUgZGVzdC1maWxlKSkKKyAg ICAgICAgICAgICAgICAgICAgICAgICAoY29weS1maWxlIGZpbGUgZGVzdC1maWxlKQorCisgICAg ICAgICAgICAgICAgICAgICAgICAgOzsgSW5zdGFsbCBjb21waWxlZCBtb2R1bGUuCisgICAgICAg ICAgICAgICAgICAgICAgICAgKG1rZGlyLXAgKGRpcm5hbWUgZ28tZmlsZSkpCisgICAgICAgICAg ICAgICAgICAgICAgICAgKHVubGVzcyAoemVybz8gKHN5c3RlbSogZ3VpbGQgImNvbXBpbGUiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi1MIiBzb3Vy Y2UKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiLW8i IGdvLWZpbGUKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBmaWxlKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgIChlcnJvciAoZm9ybWF0ICNmICJG YWlsZWQgdG8gY29tcGlsZSB+cyB0byB+cyEiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBmaWxlIGdvLWZpbGUpKSkpKQorICAgICAgIC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