From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QKeaKG2uRGKjqAAAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 21:24:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AGRNIW2uRGIndgAAG6o9tA (envelope-from ) for ; Wed, 30 Mar 2022 21:24:29 +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 50B20386FA for ; Wed, 30 Mar 2022 21:24:29 +0200 (CEST) Received: from localhost ([::1]:44404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZdvg-0006kT-DL for larch@yhetil.org; Wed, 30 Mar 2022 15:24:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZdvV-0006jb-F6 for guix-devel@gnu.org; Wed, 30 Mar 2022 15:24:17 -0400 Received: from [2a02:1800:120:4::f00:15] (port=37994 helo=andre.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 1nZdvT-0007Xw-58 for guix-devel@gnu.org; Wed, 30 Mar 2022 15:24:17 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id CjQA2700R4UW6Th01jQAmq; Wed, 30 Mar 2022 21:24:10 +0200 Message-ID: <0bf2fc29d29871346f726b721bc2ac934a7891ab.camel@telenet.be> Subject: Re: Autotools-generated 'configure' & 'Makefile.in' considered binaries? From: Maxime Devos To: Liliana Marie Prikler , guix-devel@gnu.org Date: Wed, 30 Mar 2022 21:24:05 +0200 In-Reply-To: References: <9c2ca57d59672fc4f9ebc0230b08d8953030a456.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9ynmRlyhuv0So/0e60HV" 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=1648668250; bh=01g98o/spFEr+XRL4FxTW82p8ZP0zixTDTct0mKFLCk=; h=Subject:From:To:Date:In-Reply-To:References; b=GZ5ysblTTiDA28ocqf7tMi+DL99szpw9gjpFPta6zWYAP+qswdhrv9eye2G5etvhj ZfrtYE6JEiY8rB+yafxzm2h/q0ltpcIPNvvaG0VcHhKN0if2MopXWQWRUNMfqXbrpQ qmu6L/7GjW06QZFKMYuC4Uzi1cmmNuGOVli+dnomT/5oFJG3T9UsP2QouQn6yeRRrA Mc+z/D8eUbyekzpL2QJVXoq7AgsJP3ZRsirtbFKbGJUZgqvVS3FZj0lZe2Yqk/61ku p/fShJo63nfORfAMuHgrNwsQS68873q1u8EMgyZXG57KP31EjcYv6o6ahZlCS6et7F ZgstrTCNN1huw== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:120:4::f00:15 (failed) Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.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=1648668269; 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=01g98o/spFEr+XRL4FxTW82p8ZP0zixTDTct0mKFLCk=; b=ZWkH8rcabglT11uBbmb5tZA3HvNm50kk9Iz8EXv7/sP3i2Z3odEuGpmwCg0+xidS3x9zBk 7nJkQm8VOvBuDwOed9v7OW7CKn2Z1npt63qGwZtLw4i+2dQRYmzzx3pjQxq7pKO45/uBug ZlBpEZDTIoGzt+eTpUESFWGWFxMKbmu2PkKpKEsLj7hNPKXcRCERbVw0afS3p5cdq6OVD+ VD2criTOrymlvGy8fkPkLFJE+ke/6dFiHj/rjMAQ3niaf010cFqu4ihv5Li3vj/rvn/gbg JfZNPx/9Ha6Z/ogaKlrnCXtqvzksS9WsBhXqy3ThMqfoy57yehsGbSwMk4MJEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648668269; a=rsa-sha256; cv=none; b=bPLjqiJ98S+mMC/o2f1T7C5A7Y4h1A/8IrekFjjpUfMmsudZTp3DkQtKgcoBNVDdLIYH7S Wf9k/wqjKktZudxJmkH37Rb9sSam8e+T8JsOK/j+oUn1Zfm3BL3iQGH8GgRh/7nk03dBzg orXhg9r2GDZ3azsEdFD7kpP5a4rDYRHCxQOfcmP7g392qQx2aXw/3QEmveK2V/2ifKfFJ8 QxYSAtkXp+RnReHPRIEbrlp7tdfjJDqvCs+FQQ3QgHUcf8aBAdpbFcV8TrcJ3HvxL3wHjd t0U/lvoXXoTRywn1nW1QQS9iBzrePUg0gpPBN3BsoUntWWky1xAo+f1Kg11e+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=GZ5ysblT; 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: -8.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=GZ5ysblT; 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: 50B20386FA X-Spam-Score: -8.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: hIxHzXrsJOqv --=-9ynmRlyhuv0So/0e60HV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler schreef op wo 30-03-2022 om 20:55 [+0200]: > Note that many autotools-based packages already require the addition of > autoconf and friends due to being pulled from git.=C2=A0 That being said, > it's somewhat hard to argue for completely dropping them, because > a. simply matching files via ".in" suffix would be error-prone > b. autoreconf should regenerate these files regardless > Therefore, my counter-proposal would be to just simply always run the > bootstrap script or autoreconf, even if the respective files are > tarballed, as well as adding autoconf and automake to the implicit > native inputs of gnu build system. 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 'find-generated- autotools-fies=E2=80=99or something. Adding autoconf & automake seems a bit much to me (gnu-build-system is not necessarily autotools-build-system, the exact required version of autoconf & automake can vary), but otherwise your proposal seems good to me. > > For some =E2=80=98early=E2=80=99 packages (gcc, glibc, binutils, ...), = there's a > > circularity problem > The obvious solution to which would be to implement m4 in mes :) >=20 > > [B]uilding 'configure' and 'Makefile.in' from source might not always > > be possible, but WDYT of building 'configure' & 'Makefile.in' from > > source for packages where it does not result in bootstrapping > > problems? > See above, but to reiterate, I'm generally in favor. >=20 > Regarding tooling support, I think autotools should have an option to > build a non-bootstrapped dist tarball.=C2=A0 If more upstreams produced s= uch > stripped tarballs, we wouldn't even be having that debate. Yes, would be nice if upstreams could choose to opt-out. Or maybe opt- in instead. Greetings, Maxime. --=-9ynmRlyhuv0So/0e60HV 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+4iGRcl7gUCYkSuVRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iPJAP4kg61VAhEo/2qZXGVRvYew652d YHWmk3M776VQEGDIvAEA7H4ExH4mjOkP81SvMM/jO+6Z3wcTjEOs3rt0DjMioQs= =mI7O -----END PGP SIGNATURE----- --=-9ynmRlyhuv0So/0e60HV--