From patchwork Wed May 11 21:25:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: M X-Patchwork-Id: 39210 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2797027BBEA; Wed, 11 May 2022 22:27:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B8F6827BBE9 for ; Wed, 11 May 2022 22:27:12 +0100 (BST) Received: from localhost ([::1]:48600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1notrS-0001Qd-4Q for patchwork@mira.cbaines.net; Wed, 11 May 2022 17:27:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1notrK-0001QS-F2 for guix-patches@gnu.org; Wed, 11 May 2022 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1notrK-0001mJ-4r for guix-patches@gnu.org; Wed, 11 May 2022 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1notrJ-00055b-W4 for guix-patches@gnu.org; Wed, 11 May 2022 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55377] [PATCH] gnu: recutils: Make it cross-compilable. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 May 2022 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55377 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55377@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165230436519482 (code B ref -1); Wed, 11 May 2022 21:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2022 21:26:05 +0000 Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1notqP-00054A-Hp for submit@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 ) id 1notqN-000541-Ux for submit@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 ) id 1notqM-0001Io-1S for guix-patches@gnu.org; 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 ) id 1notqJ-0001j2-AB for guix-patches@gnu.org; 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: From: Maxime Devos Date: Wed, 11 May 2022 23:25:50 +0200 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@telenet.be; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches TBD: * [ ] Commit message * [ ] Testing beyond ‘it builds’ * [ ] 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 ... ("libgcrypt" ,libgcrypt) ("libuuid" ,util-linux "lib"))) (synopsis "Manipulate plain text files as databases") 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 "14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz")))) (build-system gnu-build-system) - (arguments '(#:configure-flags - (list (string-append "--with-bash-headers=" - (assoc-ref %build-inputs "bash:include") - "/include/bash")))) - + (arguments + (list #:configure-flags + #~(list (string-append "--with-bash-headers=" + (search-input-directory %build- inputs "/include/bash"))))) (native-inputs `(("bc" ,bc) - ("bash:include" ,bash "include") ("check" ,check-0.14) ("pkg-config" ,pkg-config))) ;; TODO: Add more optional inputs. - (inputs `(("curl" ,curl) + (inputs `(("bash:include" ,bash "include") + ("curl" ,curl)