GNU bug report logs - #55377
[PATCH] gnu: recutils: Make it cross-compilable.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Maxime Devos <maximedevos@HIDDEN>; Keywords: moreinfo patch; dated Wed, 11 May 2022 21:27:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Maxime Devos <maximedevos@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 55377 <at> debbugs.gnu.org:


Received: (at 55377) by debbugs.gnu.org; 12 May 2022 07:07:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 12 03:07:57 2022
Received: from localhost ([127.0.0.1]:39335 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1np2vV-0001GF-Bw
	for submit <at> debbugs.gnu.org; Thu, 12 May 2022 03:07:57 -0400
Received: from andre.telenet-ops.be ([195.130.132.53]:34946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1np2vT-0001Fx-Pt
 for 55377 <at> debbugs.gnu.org; Thu, 12 May 2022 03:07:56 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by andre.telenet-ops.be with bizsmtp
 id Vj7t2700G4UW6Th01j7tUV; Thu, 12 May 2022 09:07:53 +0200
Message-ID: <9c0ce674d842fc9c5f8ec2895797b2d1164b08be.camel@HIDDEN>
Subject: Re: [bug#55377] [PATCH] gnu: recutils: Make it cross-compilable.
From: Maxime Devos <maximedevos@HIDDEN>
To: 55377 <at> debbugs.gnu.org
Date: Thu, 12 May 2022 09:07:46 +0200
In-Reply-To: <bccc99666315ff908c93a4cedb128002bfcec9cb.camel@HIDDEN>
References: <bccc99666315ff908c93a4cedb128002bfcec9cb.camel@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-UP0L+kFPZjttXbVc3WkZ"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1652339273; bh=+MR4xPjZOfI3CDYeTJxgnCqwrNAZ8Z7MiZV0HBNn8eg=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=TLjC01Tets7UEDP9P41/2L7xLBrOGMEJvgkbGNP/hQwViwVeqJgt2ZPKcq+WqNvMU
 oVvXPmcbtuI1cXulMIETOxaEXW4/wulBi5gCiy+AYx5fVOEGAo7P/OAlMX2V72sRiZ
 XsMeFlq/a/vbRxNYZMfXaZOkLCs7G3hZdxMZLTejASyx+rlNVQHvAnSv9VhuzxCqoZ
 xZrt8sJ2KOfrk3+iMO6CtyK0b3tTptaPTPccbDBmusk58rgItXIbw7acLk1LgVaWWm
 BS1CRoPOF1dXJnxRGPZLwbN4zG2nnQxouhqwUhyck1FcEIoNbzKQ+DYdhhPOYSxf7O
 6/PypoVqVxjnw==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55377
Cc: control <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--=-UP0L+kFPZjttXbVc3WkZ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

tags 55377 + moreinfo
thanks

Maxime Devos schreef op wo 11-05-2022 om 23:25 [+0200]:
> TBD:
>=20
> =C2=A0 * [ ] Commit message
> =C2=A0 * [ ] Testing beyond =E2=80=98it builds=E2=80=99
> =C2=A0 * [ ] Proper usage of "git format-patch"
> =C2=A0 * [ ] 'guix style'
> =C2=A0 * [ ] "guix refresh --list-dependents" and such

Needs a rebase because of
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Db4c9a3d23b06d9441e=
96938b45fbf6669685955d>.
Still, a bash:include in native-inputs doesn't seem correct to me even
if it happens to work here -- e.g., what if the include headers are
architecture-dependent?

Greetings,
Maxime.

--=-UP0L+kFPZjttXbVc3WkZ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnyyQhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kh0AQCRIyLFiCXNgm2nEvnEOM4q8uBv
AVcNRx/l5ruf58ZBUQEAwsAteDZQzLeMk0EbmQ5kh78fMWQ4VF5M+QT0NgzqCAk=
=+GZT
-----END PGP SIGNATURE-----

--=-UP0L+kFPZjttXbVc3WkZ--





Information forwarded to guix-patches@HIDDEN:
bug#55377; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 May 2022 21:26:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 11 17:26:05 2022
Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1notqP-00054A-Hp
	for submit <at> debbugs.gnu.org; Wed, 11 May 2022 17:26:05 -0400
Received: from lists.gnu.org ([209.51.188.17]:57668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1notqN-000541-Ux
 for submit <at> debbugs.gnu.org; Wed, 11 May 2022 17:26:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42742)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1notqM-0001Io-1S
 for guix-patches@HIDDEN; Wed, 11 May 2022 17:26:03 -0400
Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:49286)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1notqJ-0001j2-AB
 for guix-patches@HIDDEN; Wed, 11 May 2022 17:26:00 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by baptiste.telenet-ops.be with bizsmtp
 id VZRv270064UW6Th01ZRvaZ; Wed, 11 May 2022 23:25:55 +0200
Message-ID: <bccc99666315ff908c93a4cedb128002bfcec9cb.camel@HIDDEN>
Subject: [PATCH] gnu: recutils: Make it cross-compilable.
From: Maxime Devos <maximedevos@HIDDEN>
To: guix-patches@HIDDEN
Date: Wed, 11 May 2022 23:25:50 +0200
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-bsApsV+TdnsIzkYbF4OJ"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1652304355; bh=4QQZq0oPI/aiOhKIvBx4c7TJYt5UclRayOIRYBmDzhk=;
 h=Subject:From:To:Date;
 b=htbJjx3s7zftGj1gbuWY/SPB9Em8+SQcO8t6sMgvyG10RctLXWlhwzA2BmYxG3oIj
 dNp9k/g2HZvNtXlNYFUA40iw9ITf3NhS4xf4F7lc5ALjx+CN9qg5B5ecCm6wQvuT1L
 AmHx9pmIKiAbOH219Jdtmut+3xDemumZ1dYvmPQTo+8cxhips/2IlhBaW5/Enzvu1b
 bke8WBMwd/AShCMXx0E4DYPjsrrvvwcCjNq2yXBYL0KZxLASSm2zxKS07xswuJ/Bk1
 lz2QBz1f9VdHHIixqQYBDgkYPtWeRNeQoDa61Xjr9cHTP+3J5heVaRjsAQGkb+/GuB
 5uNeY2Lr7uzmg==
Received-SPF: pass client-ip=2a02:1800:120:4::f00:13;
 envelope-from=maximedevos@HIDDEN; helo=baptiste.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-bsApsV+TdnsIzkYbF4OJ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

TBD:

  * [ ] Commit message
  * [ ] Testing beyond =E2=80=98it builds=E2=80=99
  * [ ] Proper usage of "git format-patch"
  * [ ] 'guix style'
  * [ ] "guix refresh --list-dependents" and such

Just sending it now such that it doesn't disappear, intend to make it a
proper patch submission later ...

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 4472677ab3..ffadb1312b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1569,18 +1569,17 @@ (define-public recutils
               =20
"14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz"))))
     (build-system gnu-build-system)
=20
-    (arguments '(#:configure-flags
-                 (list (string-append "--with-bash-headers=3D"
-                                      (assoc-ref %build-inputs
"bash:include")
-                                      "/include/bash"))))
-
+    (arguments
+      (list #:configure-flags
+            #~(list (string-append "--with-bash-headers=3D"
+                                    (search-input-directory %build-
inputs "/include/bash")))))
     (native-inputs `(("bc" ,bc)
-                     ("bash:include" ,bash "include")
                      ("check" ,check-0.14)
                      ("pkg-config" ,pkg-config)))
=20
     ;; TODO: Add more optional inputs.
-    (inputs `(("curl" ,curl)
+    (inputs `(("bash:include" ,bash "include")
+              ("curl" ,curl)
               ("libgcrypt" ,libgcrypt)
               ("libuuid" ,util-linux "lib")))
     (synopsis "Manipulate plain text files as databases")


--=-bsApsV+TdnsIzkYbF4OJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnwp3hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iP2AQC2ukXXMQVhbUJXFAhqeBu+2qsZ
miHbK2RMPGHaI+8IIAD/aMNABY4nbV4Od3yZxzVwKn38NBln5G7x1VtjNnIhuwo=
=rgKO
-----END PGP SIGNATURE-----

--=-bsApsV+TdnsIzkYbF4OJ--





Acknowledgement sent to Maxime Devos <maximedevos@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#55377; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 12 May 2022 07:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.