From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KB+gHcWMRWJU1gAAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 13:13:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KPcLG8WMRWLRGAAA9RJhRA (envelope-from ) for ; Thu, 31 Mar 2022 13:13:09 +0200 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 4964DD099 for ; Thu, 31 Mar 2022 13:13:09 +0200 (CEST) Received: from localhost ([::1]:39160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZsjk-0003oe-Gk for larch@yhetil.org; Thu, 31 Mar 2022 07:13:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZshF-0000QS-IS for guix-devel@gnu.org; Thu, 31 Mar 2022 07:10:34 -0400 Received: from [2a02:1800:110:4::f00:1a] (port=37772 helo=albert.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZshA-0003Bz-5X for guix-devel@gnu.org; Thu, 31 Mar 2022 07:10:33 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id CzAN2700E4UW6Th06zANll; Thu, 31 Mar 2022 13:10:22 +0200 Message-ID: Subject: Re: Autotools-generated 'configure' & 'Makefile.in' considered binaries? From: Maxime Devos To: Liliana Marie Prikler , guix-devel@gnu.org Date: Thu, 31 Mar 2022 13:10:17 +0200 In-Reply-To: References: <9c2ca57d59672fc4f9ebc0230b08d8953030a456.camel@telenet.be> <0bf2fc29d29871346f726b721bc2ac934a7891ab.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aToVys20rRSOVu4gKJls" 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=1648725022; bh=KGA0j3eaXTorgLws0gM5WiBQjl5FcEocsCretm1v6Ik=; h=Subject:From:To:Date:In-Reply-To:References; b=ENhvqH2AApeRfoKQSUFXD96iA5AiRX/FrykZYxSV30iO47rIIR3MQBs2S4jlKBBgV UyIyIUFrqxJTINhlWMRsa2qT1Sowkse9AWBLDouCG9mF5mUNzJ2uipzLuubaR1uYgM 4esYJOkZeValRhB/ZZtRGHg8CIg19qQqXxrXvgu1rEzfYGB06kMDRF7LB3xYM8Nxcs Rpp94zGyrDQcQD2LU+q3aAhq4TBBAsnORpE9M+ZyItwV4hEwBzBPuwKyNQGrBYcSX0 xyLKzzjhiNuN9FwyLL+23BLT3LdS8j2CoFymCwjtxf1WBw+c4rqPaNHFG6HIX6UCLb qYBjTlGD4MejQ== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:1a (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648725189; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KGA0j3eaXTorgLws0gM5WiBQjl5FcEocsCretm1v6Ik=; b=B4rt8PtP7Zks5ufOZIm9KZN2d7FUFR6r+pBGwAvrD0CIz22rfd3jVBwcMyr2OkWR6I85+e F/rcjA4Qj7UtcBg2CXlCBYXex1zH4f/1177V2ghXAIMm7IqGlYOqHSrTybCyZVoC55XdKA 9+aU2YoxXcU6iESZJQi6rhcIsEpu+T3AmQ2FlngI7eu6lGVJLT2nn/pXGSjAvGvKc195jV +qXFJ8hwwy1NHMbh4cQcGvw/jVd1qmS6BDnZtzNeesENyRssGBBqknppbWVtR4dWOpAb3U ZYQY5bBLeGita4exOzeeUud0Qe3GmaOVQyiii8RKrlFZ4+ClXFG4++zExC8aBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648725189; a=rsa-sha256; cv=none; b=fGEKXjd+1dDXtzjs1sqIUmC4+HAUSsIfk0VMSW0JrZq1fvr0vtMX+0TjNMGA5/CwLjirUk ykAsytlzc2Wm0ji0X0mVdomcBlDD89dosFEJyjl8bHKqU5j75or0mk9Ezljpv+fKS4BoA1 IxDsT2/cMbwcg6CoxJF0By51B6cMwKoTPAxqXxeBqpCQhS4EGlksQI97tu80Us+G6ibTEE BBxyn6KhY2ZIpl5IhZDeXW/4+Yr0XuAPcPbotA0Qe0t1e+o1FNzHrfFfoWHIkpPDUriF+w hYLImoSpp6k3f6PTtJ0KEmRGYut9b261oA3edsAYdmjRbhDJ0Pb53ki73Ps5Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=ENhvqH2A; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -10.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=ENhvqH2A; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4964DD099 X-Spam-Score: -10.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: J1Od0hH7Gpcw --=-aToVys20rRSOVu4gKJls Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler schreef op do 31-03-2022 om 06:22 [+0200]: > > It should be possible to look for =E2=80=98# Generated by GNU Autoconf= =E2=80=99 and > > =E2=80=98# Makefile.in generated by automake=E2=80=99 lines in some 'fi= nd- > > generated-autotools-fies=E2=80=99or something. > I don't think that will work correctly.=C2=A0 Case in point: pre-inst-env > in the Guix source tree. I don't see the problem. "guix build guix" would basically do: 1. unpack the tarball / copy the git checkout (which, if I'm not mistaken, does not contain pre-inst-env). 2. (if not already done in a snippet): Find the 'Makefile.in' and 'configure', by looking at the file name + "Generated by ..." lines. The build-aux/pre-inst-env.in is left intact, as it is not named 'configure' or 'Makefile.in' (and additionally, it does not contain the "Generated by" string. 3. Run ./bootstrap 4. Run ./configure --localstatedir=3D/var --prefix=3D... (which creates 'pre-inst-env') 5. Run "make" and "make install" 6. Success! What would not work correctly here? Greetings, Maxime. --=-aToVys20rRSOVu4gKJls 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+4iGRcl7gUCYkWMGRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hmkAQCRfYecsi9Z/nGsMYTHrSFrQ1X9 w4bVir4MGQDRb1pr5QD/aPddI9VlinpSAQWmiMKnkRd7XlNus3fk8QqplMqdHws= =erRR -----END PGP SIGNATURE----- --=-aToVys20rRSOVu4gKJls--