From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EHk3Oqucvl4FNQAA0tVLHw (envelope-from ) for ; Fri, 15 May 2020 13:44:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KHrmNaucvl4ZYAAAbx9fmQ (envelope-from ) for ; Fri, 15 May 2020 13:44:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5767B940A38 for ; Fri, 15 May 2020 13:44:11 +0000 (UTC) Received: from localhost ([::1]:35826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZadF-0007Gt-6A for larch@yhetil.org; Fri, 15 May 2020 09:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZaC2-0000xx-Ud for guix-patches@gnu.org; Fri, 15 May 2020 09:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZaC2-0000oJ-KD for guix-patches@gnu.org; Fri, 15 May 2020 09:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZaC2-0003rR-Dr for guix-patches@gnu.org; Fri, 15 May 2020 09:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41286] check for argp header Resent-From: Nikita Gillmann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 13:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41286@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158954851914729 (code B ref -1); Fri, 15 May 2020 13:16:02 +0000 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 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-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 X-Spam-Score: -2.6 (--) X-Mailman-Approved-At: Fri, 15 May 2020 09:44:02 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=n0.is (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.59 X-TUID: +fB32VcX3Y0v --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--