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-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 16 13:22:53 2020 Received: (at 41286) by debbugs.gnu.org; 16 May 2020 17:22:53 +0000 Received: from localhost ([127.0.0.1]:41669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja0WT-00050K-Hq for submit@debbugs.gnu.org; Sat, 16 May 2020 13:22:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja0WR-000505-Rp for 41286@debbugs.gnu.org; Sat, 16 May 2020 13:22:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44915) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja0WL-00021h-N2; Sat, 16 May 2020 13:22:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34206 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ja0WL-0001dw-B7; Sat, 16 May 2020 13:22:45 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nikita Gillmann Subject: Re: [bug#41286] check for argp header References: <20200515123016.gmeicqvo67qrqpuh@hex> Date: Sat, 16 May 2020 19:22:43 +0200 In-Reply-To: <20200515123016.gmeicqvo67qrqpuh@hex> (Nikita Gillmann's message of "Fri, 15 May 2020 14:30:27 +0200") Message-ID: <87ftbzrdzw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41286 Cc: 41286@debbugs.gnu.org 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: -3.3 (---) Hi Nikita, Nikita Gillmann skribis: > 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. Guix targets glibc-based systems, so as you write, it=E2=80=99s reasonable = to assume argp is present. Also, using AC_CHECK_HEADERS doesn=E2=80=99t achieve anything: it only defi= nes =E2=80=98HAVE_ARGP_H=E2=80=99 to zero or one. Last, I don=E2=80=99t want to discourage anyone from porting, but I also wa= nt to be clear about what it entails. I=E2=80=99m strongly in favor of supporting only glibc because: (1) after all, it=E2=80=99s about GNU as a system, and = (2) my experience with Nixpkgs is that supporting multiple C libraries is just too much work to maintain good support. Thus I=E2=80=99m closing for now. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 16 13:23:04 2020 Received: (at control) by debbugs.gnu.org; 16 May 2020 17:23:04 +0000 Received: from localhost ([127.0.0.1]:41673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja0Wd-00051U-RB for submit@debbugs.gnu.org; Sat, 16 May 2020 13:23:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja0Wc-00050Y-31 for control@debbugs.gnu.org; Sat, 16 May 2020 13:23:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44916) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja0WW-00022H-Sa for control@debbugs.gnu.org; Sat, 16 May 2020 13:22:56 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34306 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ja0WW-0001e1-HN for control@debbugs.gnu.org; Sat, 16 May 2020 13:22:56 -0400 Date: Sat, 16 May 2020 19:22:55 +0200 Message-Id: <87eerjrdzk.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #41286 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 41286 wontfix close 41286 quit From unknown Mon Aug 11 12:54:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 Jun 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator