From unknown Wed Jun 18 23:05:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15593 <15593@debbugs.gnu.org> To: bug#15593 <15593@debbugs.gnu.org> Subject: Status: unnecessarily created autom4ate.cache directory Reply-To: bug#15593 <15593@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:52 +0000 retitle 15593 unnecessarily created autom4ate.cache directory reassign 15593 automake submitter 15593 Ond=C5=99ej B=C3=ADlka severity 15593 normal tag 15593 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 11 17:34:18 2013 Received: (at submit) by debbugs.gnu.org; 11 Oct 2013 21:34:18 +0000 Received: from localhost ([127.0.0.1]:43689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUkLg-0008Dn-HW for submit@debbugs.gnu.org; Fri, 11 Oct 2013 17:34:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35874) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUfex-0008K9-ER for submit@debbugs.gnu.org; Fri, 11 Oct 2013 12:33:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUfer-0007p6-O6 for submit@debbugs.gnu.org; Fri, 11 Oct 2013 12:33:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUfer-0007p2-Lm for submit@debbugs.gnu.org; Fri, 11 Oct 2013 12:33:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUfem-0004oy-My for bug-automake@gnu.org; Fri, 11 Oct 2013 12:33:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUfeh-0007nI-TH for bug-automake@gnu.org; Fri, 11 Oct 2013 12:33:40 -0400 Received: from popelka.ms.mff.cuni.cz ([195.113.20.131]:38068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUfeh-0007lt-Mt for bug-automake@gnu.org; Fri, 11 Oct 2013 12:33:35 -0400 Received: from domone.kolej.mff.cuni.cz (popelka.ms.mff.cuni.cz [195.113.20.131]) by popelka.ms.mff.cuni.cz (Postfix) with ESMTPS id 2D89057912 for ; Fri, 11 Oct 2013 18:24:44 +0200 (CEST) Received: by domone.kolej.mff.cuni.cz (Postfix, from userid 1000) id E19F55F96A; Fri, 11 Oct 2013 18:24:43 +0200 (CEST) Date: Fri, 11 Oct 2013 18:24:43 +0200 From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= To: bug-automake@gnu.org Subject: unnecessarily created autom4ate.cache directory Message-ID: <20131011162443.GA19954@domone.podge> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.97.6 at popelka.ms.mff.cuni.cz X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 11 Oct 2013 17:34:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.3 (----) Hi, A glibc supports builds only from separate build directory than source directory. In source directory a autom4ate.cache is created. See following bug entry. https://sourceware.org/bugzilla/show_bug.cgi?id=14120 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 11 19:22:20 2013 Received: (at control) by debbugs.gnu.org; 11 Oct 2013 23:22:20 +0000 Received: from localhost ([127.0.0.1]:43740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUm2F-0003N6-RE for submit@debbugs.gnu.org; Fri, 11 Oct 2013 19:22:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8539) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUm2C-0003Mr-Sd; Fri, 11 Oct 2013 19:22:18 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9BNMDg7008681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Oct 2013 19:22:14 -0400 Received: from [10.3.113.194] (ovpn-113-194.phx2.redhat.com [10.3.113.194]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r9BNMCdX001462; Fri, 11 Oct 2013 19:22:13 -0400 Message-ID: <52588824.3090506@redhat.com> Date: Fri, 11 Oct 2013 17:22:12 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: =?UTF-8?B?T25kxZllaiBCw61sa2E=?= , 15593-done@debbugs.gnu.org Subject: Re: bug#15593: unnecessarily created autom4ate.cache directory References: <20131011162443.GA19954@domone.podge> In-Reply-To: <20131011162443.GA19954@domone.podge> X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FMB1PdnGu0PrIi7tFBqXI94u6JCsrwDQu" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.2 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FMB1PdnGu0PrIi7tFBqXI94u6JCsrwDQu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 15593 notabug thanks On 10/11/2013 10:24 AM, Ond=C5=99ej B=C3=ADlka wrote: > Hi, A glibc supports builds only from separate build directory than sou= rce > directory. In source directory a autom4ate.cache is created. >=20 > See following bug entry. > https://sourceware.org/bugzilla/show_bug.cgi?id=3D14120 How is this an automake bug? Automake doesn't create autom4te.cache; that's autoconf (via the autom4te program shipped as part of the autoconf package). But such a directory is only created if you are actually running one or more of the autotools; you should be figuring out what in glibc's configure script is running autotools during configure (the normal configure script is intentionally independent of autotools, where only the maintainer has a cache file when they ran autoreconf, but where end users do NOT get a cache file by just running path/to/configure). Looking at glibc's configure.in (eww, outdated name; these days autotools prefer configure.ac), I see: AC_CHECK_PROGS(AUTOCONF, autoconf, no) case "x$AUTOCONF" in xno|x|x:) AUTOCONF=3Dno ;; *) AC_CACHE_CHECK(dnl whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works, libc_cv_autoconf_works, [dn= l if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then= libc_cv_autoconf_works=3Dyes else libc_cv_autoconf_works=3Dno fi]) test $libc_cv_autoconf_works =3D yes || AUTOCONF=3Dno ;; esac if test "x$AUTOCONF" =3D xno; then aux_missing=3D"$aux_missing autoconf" fi That's your culprit. It is also possible to create a ./.autom4te.cfg file to explicitly request that autom4te always use the --no-cache option to avoid creating a cache directory (this is documented in the autoconf manual [1]). [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Customizing-au= tom4te I'm closing this as not an automake bug, although do feel free to continue asking questions in this thread. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --FMB1PdnGu0PrIi7tFBqXI94u6JCsrwDQu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSWIgkAAoJEKeha0olJ0Nq2zgH/REyhiTZtoEEwyahq/t4E2lh auBEZ0lRe+jCNT/gbPHguEreUckhbtK4ZjWaco7qqueSMPIUFTwzIz2R0ZBZ+3DU QSyUPfksRuhn8tbHr2lCviSQP9eHiwMOyFBWqU0PEztMQHFG3Ry4glnvj2yyMAUz j2SlKlJJGxUDPR2pMc7D5kcoF38ocFvLWaeWrW6di0tjEnPoKS6Db+ePEe0dWSrF PlFfqdYLvcA/w4olBFtu04O2tb55NiiMpPB0N7pV0pETRMshxOUTK7mDzp62/yZV wQkMXZXNn21JCSre9SyvTCq63O1fRsm74JIwI/MfGUn8CwlJnItS9bynxD3cjyM= =kC8F -----END PGP SIGNATURE----- --FMB1PdnGu0PrIi7tFBqXI94u6JCsrwDQu-- From unknown Wed Jun 18 23:05:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 09 Nov 2013 12:24:05 +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