From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 09:15:19 2020 Received: (at submit) by debbugs.gnu.org; 15 May 2020 13:15:19 +0000 Received: from localhost ([127.0.0.1]:36231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZaBH-0003pO-G2 for submit@debbugs.gnu.org; Fri, 15 May 2020 09:15:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:41298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZUH-0002mJ-5L for submit@debbugs.gnu.org; Fri, 15 May 2020 08:30:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZZUG-00054h-68 for guix-patches@gnu.org; Fri, 15 May 2020 08:30:48 -0400 Received: from aibo.runbox.com ([91.220.196.211]:47242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZZUB-00055B-I2 for guix-patches@gnu.org; Fri, 15 May 2020 08:30:47 -0400 Received: from [10.9.9.202] (helo=mailfront20.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jZZU6-0007jD-RW for guix-patches@gnu.org; Fri, 15 May 2020 14:30:39 +0200 Received: by mailfront20.runbox with esmtpsa [Authenticated alias (924257)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jZZTw-00071z-VG for guix-patches@gnu.org; Fri, 15 May 2020 14:30:29 +0200 Date: Fri, 15 May 2020 14:30:27 +0200 From: Nikita Gillmann To: guix-patches@gnu.org Subject: check for argp header Message-ID: <20200515123016.gmeicqvo67qrqpuh@hex> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="kztp33lsecybjftm" Content-Disposition: inline Received-SPF: pass client-ip=91.220.196.211; envelope-from=nikita@n0.is; helo=aibo.runbox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 08:30:39 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 May 2020 09:15:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --kztp33lsecybjftm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi, as mentioned in IRC I have begun porting Guix to NetBSD (with the path taken not yet decided upon, just plain building guix itself for now). Glibc provides argp. Arguably we don't have to check for argp because Guix targets glibc. But I am quiete certain that there will be people who will attempt to do what I am doing and run into this. I haven't tested this, but semantically it should check out. I don't know how much changed in guix's bootstrap but configure.ac should still be the right place for this patch. --kztp33lsecybjftm Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-configure-check-for-arpg-header-as-required-by-nix.patch" Content-Transfer-Encoding: quoted-printable =46rom eb8214d2cd6b2170f6e05b89dbd8e47e1f0f4326 Mon Sep 17 00:00:00 2001 =46rom: nikita Date: Fri, 15 May 2020 14:23:48 +0200 Subject: [PATCH] configure: check for arpg header as required by nix. This is provided by glibc, porting to a platform without glibc revealed this lack of check. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0a20b476eb..174633785a 100644 --- a/configure.ac +++ b/configure.ac @@ -266,6 +266,9 @@ else fi AC_SUBST([LIBLZ]) =20 +# check for standard headers, required in Nix daemon +AC_CHECK_HEADERS([argp.h]) + dnl Check for Guile-SSH, for the (guix ssh) module. GUIX_CHECK_GUILE_SSH AM_CONDITIONAL([HAVE_GUILE_SSH], --=20 2.25.2 --kztp33lsecybjftm--