From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 0F3A33858CDA; Thu, 29 Feb 2024 11:00:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F3A33858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F3A33858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709204443; cv=none; b=DOWX+1FfTKooscBV9mvs2tBYuP5BYgazug39m6sjF4Mjf4HyXBCjy8HCFkoWCXdS03R2/jWdjHVZWyhb1eDNUKwC9WuMnuf81vY9BQ0AQf9hapjOiG/zMg6JS+Cuyvi1qDDT57CrCIqDbqQGbap+8qBBej+8wMeQQD7HGxjPAXg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709204443; c=relaxed/simple; bh=/3lKdgpEviRJidbGAl3tvkwZTlpVoZw+5dNH9m7+cJQ=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=w76MML+J6v2V+Kd9/nUmecd9nwPZbz77nEgD+amKZyXhIG8Rtm8vhCaJGums+UY8EDIALmIoC9jjfr9IKRnUzw2d0Hv1rkCCMA6pCWK1ONDZQW6TIkJuXhiF4meCK0gqg8f26RSKOVTOXp8pJ+ft2qPCqvx+/NXV6Z0pQusCxe8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id 219033000400; Thu, 29 Feb 2024 12:00:39 +0100 (CET) Date: Thu, 29 Feb 2024 12:00:39 +0100 From: Mark Wielaard To: Christophe Lyon Cc: binutils@sourceware.org, GCC Mailing List , gdb-patches@sourceware.org Subject: Re: Help needed with maintainer-mode Message-ID: <20240229110039.GB18580@gnu.wildebeest.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Christophe, On Thu, Feb 29, 2024 at 11:22:33AM +0100, Christophe Lyon via Gcc wrote: > I've noticed that sourceware's buildbot has a small script > "autoregen.py" which does not use the project's build system, but > rather calls aclocal/autoheader/automake/autoconf in an ad-hoc way. > Should we replicate that? That python script works across gcc/binutils/gdb: https://sourceware.org/cgit/builder/tree/builder/containers/autoregen.py It is installed into a container file that has the exact autoconf and automake version needed to regenerate the autotool files: https://sourceware.org/cgit/builder/tree/builder/containers/Containerfile-autotools And it was indeed done this way because that way the files are regenerated in a reproducible way. Which wasn't the case when using --enable-maintainer-mode (and autoreconfig also doesn't work). It is run on all commits and warns if it detects a change in the (checked in) generated files. https://builder.sourceware.org/buildbot/#/builders/gcc-autoregen https://builder.sourceware.org/buildbot/#/builders/binutils-gdb-autoregen Cheers, Mark