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 0KVgODELRmKYswAAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 22:12:33 +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 eCffMDELRmKJKgAAG6o9tA (envelope-from ) for ; Thu, 31 Mar 2022 22:12:33 +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 754E83F8DC for ; Thu, 31 Mar 2022 22:12:33 +0200 (CEST) Received: from localhost ([::1]:59288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na19k-0006y7-Ip for larch@yhetil.org; Thu, 31 Mar 2022 16:12:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na19B-0006cd-2v for guix-devel@gnu.org; Thu, 31 Mar 2022 16:11:58 -0400 Received: from [2a00:1450:4864:20::544] (port=43681 helo=mail-ed1-x544.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na197-00012i-9y for guix-devel@gnu.org; Thu, 31 Mar 2022 16:11:55 -0400 Received: by mail-ed1-x544.google.com with SMTP id b24so566606edu.10 for ; Thu, 31 Mar 2022 13:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=NSGsvXdiNgT5sJOsTgd5OKAlE7fVUzzStGHZi/7wUdU=; b=XKRybaHf9FwX0AWsoVBzrOPlA0VGN78yDww7d7/q3No8pXWgDyvs+BAwUdcZ0pRkyq OdOeA4LIiyajgW00e6sC1DM0fqsQh8srjYbp6jJhPNfOj/vQ7NMp64IC3th81PP9J7IH AVcUoctnvi88YRdl1oK3Ch7KpP7kxYhLoep9CA0ueLR9Zp5k5D7ukZ+1INCYDEsl1nAk Xz9X29ScyMbpxoSpQGAI0CmTQ/yl8GpwGuuU7EO+SNxH+tcAxMdd3G3Y/c1lUBzUrWnw r77yZJ5l05tGHjYqqIrzOgk09HrpOGy0SZllr5x5014w1OQ00gywCkZdr5ros7qL8QBR JEVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=NSGsvXdiNgT5sJOsTgd5OKAlE7fVUzzStGHZi/7wUdU=; b=P0aKRWgVkS96jceoXOuIk9WTB5z+wTf89Dso39BFv2z4vcEvb0T2JH8nb4/Ztza58a pp8tmG7sYjl4F8RVfD+81bN2DZUWNIIvMwDVtG/ZkChJsiGimZNVx3l1vF92n8Fd/cTZ NTofmjKbCELc1z3NsRrlIVHhEXROGutnKriyfFNX7BeX6TkVI3HTtId616cyjeVbRi75 9E4cyAvMd52Xl1BLGEiQ7lC/5lAlrieTJQCxNz7j8zcDV79B1tE01wLsYGFBieORA7yp aMaNLozb36oCJsfweqT/1bas3z35fsVKsPZ5YQXxFH7j6H7fSPKLQJtSwypIXCZ2qKI9 Ap8A== X-Gm-Message-State: AOAM533NaQkRgGm2winkQuRUz8RgMNsD3okhE2Yj/bEeYN2CeZ0VvcGO qWXbFYHCAPQlw+z7Ep5FEi5nWR+frMM= X-Google-Smtp-Source: ABdhPJwbh7a4o3FkmHlovh25CLFzajwl2UPDRWRvsThYbY0ZVgFf5JouAJGVSr2sECAHRyTd4QP9Ww== X-Received: by 2002:a05:6402:1d51:b0:418:bd81:78b3 with SMTP id dz17-20020a0564021d5100b00418bd8178b3mr17478575edb.46.1648757511260; Thu, 31 Mar 2022 13:11:51 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id gj31-20020a170907741f00b006e126474c02sm158523ejc.90.2022.03.31.13.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Mar 2022 13:11:50 -0700 (PDT) Message-ID: <2b94091f95baf6dc8c1ad3ac8ee876e36381c5a7.camel@gmail.com> Subject: Re: Autotools-generated 'configure' & 'Makefile.in' considered binaries? From: Liliana Marie Prikler To: Maxime Devos , guix-devel@gnu.org Date: Thu, 31 Mar 2022 22:11:49 +0200 In-Reply-To: <158eba1d6ea26122d3797bcb70facbd2071bdd8d.camel@telenet.be> References: <9c2ca57d59672fc4f9ebc0230b08d8953030a456.camel@telenet.be> <0bf2fc29d29871346f726b721bc2ac934a7891ab.camel@telenet.be> <45f7d18c153ca819dcc135dedeb556ee5a88ade8.camel@gmail.com> <158eba1d6ea26122d3797bcb70facbd2071bdd8d.camel@telenet.be> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::544 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::544; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x544.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, 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=1648757553; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NSGsvXdiNgT5sJOsTgd5OKAlE7fVUzzStGHZi/7wUdU=; b=XUVopw/jVPqetgeAhXOnkQ1S1+mEz37R/A+0rOx9qPR45D5D4hoCtLe1BlCRnkwz3tXsnU IHeJdUYY/oh9SwbJ9s2oC6aCkmX/bkI4Xx6dSHkrhQUH0q2SUBBuvpXO1XGpMWi013ilfG JyBOUluAJSkWVyNrMC0y8DQNmI10RaQgzWCXJUYTEgYYj61HkBwm2KEZo+Ir3SoLokvyFq bhfyl+rCMxAZJuux4boNYy9kpe0sAmpLZHD845BmxtzZROFQ52dNnm6eKg5JIw3Lu02LOr 3ogvhi/IJFbgqkqfwqXEnDpIcUZYNnU19G59FJZ96tRDMUVb6BC10NeqKzAOEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648757553; a=rsa-sha256; cv=none; b=WVG6uFO6PH6pnjADeewQ/OBHCyh0BNfw15oHHjkepM6ZUO+gHeAHwxlkCLngoe1wC8o8Co QKxGJV3AonGkhKTXFdP51NXK5AQA4N/+wnbkHNxn9DrAlFIBFwOVNcqI2y3WGZG+fXNEqv pNAhzlMYuDuMbls7wRKn6a5ltbOLWPUiS7bliH6SNgLOYpYwgwlHd7etktl0JY7hWu87uj oC+s/kaManDpUB4c50D2XLOyG+N9PKSYvlj0CfxP2jlmKCPztfr210ljizGJkCA/AECkW2 AD9UEYCJADT0qza153Uj51b515CamB5OlrLev1izPU2+xNPPzvGBhXyrqE8wiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XKRybaHf; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XKRybaHf; dmarc=pass (policy=none) header.from=gmail.com; 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: 754E83F8DC X-Spam-Score: -5.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: uaqyTzFPskRH Am Donnerstag, dem 31.03.2022 um 20:31 +0200 schrieb Maxime Devos: > Liliana Marie Prikler schreef op do 31-03-2022 om 20:24 [+0200]: > > > What would not work correctly here? > > grep "[Gg]enerated" pre-inst-env > > I suggest: > >   1. check that the file name is "configure" or "Makefile.in" >   2. and search for "[Gg]enerated by (automake|GNU Autoconf)" >   3. If (1) and (2) match, consider it to be a generated file > > pre-inst-env doesn't match this, so no false positive in this case. I wasn't arguing for a false positive, but a false negative under the assumption that we want to remove *all* files generated by Autotools, not just configure or Makefile.in. > Just searching for "generated" is indeed too general a search string. See above, the point I'm making is that no such blurb shows up in files that don't match (1). If we want to approximate from below, simply deleting configure should suffice to rebuild build files (assuming the tarballs was indeed created by autotools and contains no other build files magically referenced despite not being bootstrapped), and I don't think space savings are large enough to be worth it outside of a puritan perspective (which again would be better served by improving Autotools so only old bootstrapping tarballs remain affected). Cheers