From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 05:20:29 2024 Received: (at submit) by debbugs.gnu.org; 21 Jul 2024 09:20:30 +0000 Received: from localhost ([127.0.0.1]:54731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVSk1-0004ZB-JI for submit@debbugs.gnu.org; Sun, 21 Jul 2024 05:20:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:33848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVSk0-0004Z3-Bp for submit@debbugs.gnu.org; Sun, 21 Jul 2024 05:20:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVSjy-00042P-GF for automake-patches@gnu.org; Sun, 21 Jul 2024 05:20:26 -0400 Received: from mail-vk1-xa32.google.com ([2607:f8b0:4864:20::a32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVSjw-0004AT-W1 for automake-patches@gnu.org; Sun, 21 Jul 2024 05:20:26 -0400 Received: by mail-vk1-xa32.google.com with SMTP id 71dfb90a1353d-4f2f24f6470so1100268e0c.1 for ; Sun, 21 Jul 2024 02:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1721553622; x=1722158422; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ocIw6QIICacUBPEcEnR21bEOiW1mc+dry9DZI/hA31Q=; b=Vpu2ofu/CIqXrnxJLbL8/eIT8WYozuYoGE5V6v6dgytThJJMR/0nODyprxZ7cuY/2M K8B1t+vWnqWgQSTydw3wrgw5AYHVWP+mz1Q1SiTlecleDyZ5dnEGOpxv48WYoatkiIhL htxgitYcDpxONn9B4diDIVDx7rvwtQSMvtUMzbozPlgtQMFuSAvjPo5/Usy1VrUzyQiN fXHLlbW7gJ1smRvztSTBZHPAOqh2LXqCaheTsHNYD8vHpC7W6y8YC6+U5vlkFHiZVFZ5 dFTxgCLUGjlBfCmhiMxUe0nTS4yL4MB+s3D75576o5OrLuhc66ll0Qm76cj2ZwKhfksG Jn2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721553622; x=1722158422; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ocIw6QIICacUBPEcEnR21bEOiW1mc+dry9DZI/hA31Q=; b=ScvNTNoMsKc17nZeexg6Mj39NbsEAIiZqtmeKTGVkYlA/4g7kHjCfIXKoQl0AKLne+ VYxklhCjTD37ZswqbvqR8SwaP28a5uG0O/xJeLw5ypTuB8l4s71mwGaV/MG6U6dtTu8r Fm9ReDoJTtPeOz3ENm7Oome0II+B9zYpc7cB0knFg7EQyDLvmRkAwAv+CdH3LV1kX46z IvSog6TLyAW+CZL26UU4AkP72EDVr7/vds2kmf785gDTCZOW95sPOZl2+ySNboyAqara mnRj9/S5gh1nXQWHWUNag6tAuuWbNDD0C1vj98nqfzmNZDol6D+/ipRPo3Uz+t+QXoP5 /WHA== X-Gm-Message-State: AOJu0YxvdMziH1ZnSiv2H90ZodKCXO6Lu25RK334fEaoELdzUPqd0Ssa bDhiZiKxUvdkkaT5MwmsRmEkcapWGG1cG2sKvzCVGpBfaoMpiZh5sfQrd4K9bTXGPa7plDqTH9a ijNXhPWcAYgQlf/8YKtODhNYxH68C0fT5yXoy6r/srgSXk/4v5g== X-Google-Smtp-Source: AGHT+IEklNajDXB2IdsDtg3TCJVibVzLptcNmfidVYO1FVAKbvmW6a/TtmDbxCfFraGmgFa6XFm54hxqiSXfmmKdsNc= X-Received: by 2002:a05:6122:2a43:b0:4e9:7e39:cc9c with SMTP id 71dfb90a1353d-4f50685e280mr4357893e0c.11.1721553622053; Sun, 21 Jul 2024 02:20:22 -0700 (PDT) MIME-Version: 1.0 From: Eric Gallager Date: Sun, 21 Jul 2024 05:20:10 -0400 Message-ID: Subject: [PATCH] _AM_PROG_CC_C_O: clean up after .dSYM directories properly To: automake-patches@gnu.org Content-Type: multipart/mixed; boundary="0000000000001b16a0061dbe7027" Received-SPF: pass client-ip=2607:f8b0:4864:20::a32; envelope-from=egall@gwmail.gwu.edu; helo=mail-vk1-xa32.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.6 (--) --0000000000001b16a0061dbe7027 Content-Type: text/plain; charset="UTF-8" On darwin, the compiler will generate .dSYM directories (for debug info) alongside executables when invoked, leading to messages like the following in configure output: checking whether /usr/local/bin/gcc understands -c and -o together... rm: conftest.dSYM: is a directory yes The attached patch ought to fix this by passing the -r flag to the rm invocation that's meant to clean up the conftests. One concern, though, is that in the same invocation, it also tries to remove anything called "core", so I worry what might happen with this change if "core" happens to be a directory... should I handle that separately? Thanks, Eric Gallager --0000000000001b16a0061dbe7027 Content-Type: application/octet-stream; name="patch-m4_prog-cc-c-o.m4.diff" Content-Disposition: attachment; filename="patch-m4_prog-cc-c-o.m4.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lyvcjytk0 ZGlmZiAtLWdpdCBhL200L3Byb2ctY2MtYy1vLm00IGIvbTQvcHJvZy1jYy1jLW8ubTQKaW5kZXgg YTMxYTRhNDE0Li5mZTM4ODIwM2QgMTAwNjQ0Ci0tLSBhL200L3Byb2ctY2MtYy1vLm00CisrKyBi L200L3Byb2ctY2MtYy1vLm00CkBAIC0zMSw3ICszMSw3IEBAIEFDX0NBQ0hFX0NIRUNLKAogICAg ICAgYnJlYWsKICAgICBmaQogICBkb25lCi0gIHJtIC1mIGNvcmUgY29uZnRlc3QqCisgIHJtIC1y ZiBjb3JlIGNvbmZ0ZXN0KgogICB1bnNldCBhbV9pXSkKIGlmIHRlc3QgIiRhbV9jdl9wcm9nX2Nj X2NfbyIgIT0geWVzOyB0aGVuCiAgICAjIExvc2luZyBjb21waWxlciwgc28gb3ZlcnJpZGUgd2l0 aCB0aGUgc2NyaXB0Lgo= --0000000000001b16a0061dbe7027-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 10:16:39 2024 Received: (at 72225) by debbugs.gnu.org; 21 Jul 2024 14:16:39 +0000 Received: from localhost ([127.0.0.1]:55765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVXMd-0006iE-4N for submit@debbugs.gnu.org; Sun, 21 Jul 2024 10:16:39 -0400 Received: from fhigh7-smtp.messagingengine.com ([103.168.172.158]:53309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVXMa-0006hx-P4 for 72225@debbugs.gnu.org; Sun, 21 Jul 2024 10:16:38 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 9776C114012D; Sun, 21 Jul 2024 10:16:29 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute4.internal (MEProxy); Sun, 21 Jul 2024 10:16:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1721571389; x=1721657789; bh=YawEKLgap6 DrHJYDNKdoheynmaWLZnPxqh+npSDrCi4=; b=mDHcZaqpM8znCJHXmdT6BcZQly Fx54oKTYtsitYknsmDrzoP18PRXj5t7HQOwEYHRSRXnQ9gm9XXAhCPHjHveEtjgy zRzBszbeEdL7c2Z0h70IfwQnC71WQnpLk23XsJto/eJptHdYQFM1GktCHLihpPq6 rA5bQjZX+gJvlTYlTzID9+OghAFKNKsq2bKxtsm8k0SlnYZDhNtM7BE8N9Ii+Afa HR2rveRKphWllKov24T3L6kNvzjYwizOIcb0lOj0RrB4dXzEu7iuPasvCRmWFJNP Xol+M35RB4sjM/43livpuCGBtBAOYn8JR2NCWOhkHDrwlfqIM8ZmZS+f0S1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1721571389; x=1721657789; bh=YawEKLgap6DrHJYDNKdoheynmaWL ZnPxqh+npSDrCi4=; b=rDcEiMAdfGQ7PHQaCPy+s80epBrxOzb5AZSO71F+68CA Y+24ixU7un21Fw+Y2f41SupCpxvkWVgRne4i37F4nvuE878XDFilAIbF4TvOEDqd Yr1xD5cT8NZ8G2os8TFmqudKZfXD5NFTdSijj2IHdVJlyLbfklCsCch6ZsHCtx2d Lt9dr2RA7tOcLknYimjjmpk5owF36P7pOAUsgNLYTo0BMWbTNLjT7qrEDZNZU0Ul WCTBKKRZtvDmi8ryUDVZGIHWSCREtPC2gYqvQUf+4XJlpCFuW++t8oDhrWzfGNSX 0n3R5NU3Y7hmVghlXeubDBppTjQCrU9neudG4i/Qqw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheehgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfkggrtghk ucghvghinhgsvghrghdfuceoiigrtghksehofihlfhholhhiohdrohhrgheqnecuggftrf grthhtvghrnhephfeuhfevueffteffgfejtefgkeekheeftdeflefgheffffevheekleef gfehffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epiigrtghksehofihlfhholhhiohdrohhrgh X-ME-Proxy: Feedback-ID: i876146a2:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 41EAD272007C; Sun, 21 Jul 2024 10:16:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-568-g843fbadbe-fm-20240701.003-g843fbadb MIME-Version: 1.0 Message-Id: <5cf05f2c-8aee-470a-b483-dd64367cc770@app.fastmail.com> In-Reply-To: References: Date: Sun, 21 Jul 2024 10:16:04 -0400 From: "Zack Weinberg" To: "Eric Gallager" , 72225@debbugs.gnu.org Subject: Re: [bug#72225] [PATCH] _AM_PROG_CC_C_O: clean up after .dSYM directories properly Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72225 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) On Sun, Jul 21, 2024, at 5:20 AM, Eric Gallager via Patches for Automake wrote: > On darwin, the compiler will generate .dSYM directories (for debug > info) alongside executables when invoked, leading to messages like the > following in configure output: > > checking whether /usr/local/bin/gcc understands -c and -o together... > rm: conftest.dSYM: is a directory > yes > > The attached patch ought to fix this by passing the -r flag to the rm > invocation that's meant to clean up the conftests. One concern, > though, is that in the same invocation, it also tries to remove > anything called "core", so I worry what might happen with this change > if "core" happens to be a directory... should I handle that > separately? Tests generated by autoconf proper use this formula for cleaning up after link tests: rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM I'd suggest that _AM_PROG_CC_C_O should be aligned with this - which means *not* deleting anything named 'core'. You may or may not have $ac_ext available; even if you don't I'd suggest that you also make the 'conftest*' glob more specific (without having looked at the rest of am-prog-cc-c-o.m4, something like 'conftest.c conftest.o conftest.obj conftest.dSYM' is probably close). zw From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 02:38:55 2024 Received: (at submit) by debbugs.gnu.org; 10 Aug 2024 06:38:55 +0000 Received: from localhost ([127.0.0.1]:38925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scfkd-0003pw-AF for submit@debbugs.gnu.org; Sat, 10 Aug 2024 02:38:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:53814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scfka-0003pg-Mu for submit@debbugs.gnu.org; Sat, 10 Aug 2024 02:38:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scfk7-0008Jg-1Z for automake-patches@gnu.org; Sat, 10 Aug 2024 02:38:23 -0400 Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1scfk5-00024P-CG for automake-patches@gnu.org; Sat, 10 Aug 2024 02:38:22 -0400 Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-4f52c326501so1063356e0c.1 for ; Fri, 09 Aug 2024 23:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1723271899; x=1723876699; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4Jbpnyw0kOHqUEA5A3iVPhhMc19R9On8/i2nS6Qogck=; b=e79pdGH7bCUf9Td2AItp7pgtjHSXX7Jgt6G70f1M/JQUpxYQ5fTIRikqoY9l+adBxs k29qQ2VS74aCNAZpM9bffWJmI6TgoFcHUvK49tuaRNc15qw+fa27TnNt2+AMCRTDBMwX 1olR/7csTyxqs93TWtQ3/XUrzWOYrEfwVDWUvPjgY2S5PR2OafIs98QAtPCzODeH8epD BN4WVXeuljoXftVH/3fQgTzN+LDtdqw1Pvv0McyRvqXr/gC3awOOjeFQ8k5wuasYz2pv efjbuWMZtV9jLkgqZY+enGOrd6/puoygw97w5YJacaUHDrg96+iwJRGXIO7vX1vaBfuA soFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723271899; x=1723876699; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4Jbpnyw0kOHqUEA5A3iVPhhMc19R9On8/i2nS6Qogck=; b=pSzbSi/LgrxGMBkeCq6AxJODf8XdRrINRklZsGZvVG5XhZjF6Dsy79Ox9gVNfcTaDy hi5PNBxKxjfmEYY3Q2/lNSlGneKTaRM1ESzPAl+/M7hl+/eU+9hlhoiLSbHQV9J9R61j UyjsPzB4AYkBQ8AMSXQYtTA9aHy6g6+t2M107f3ZI0ZvQaKc+LkNVBODu7Y+KMyfXkWw KN678l6m/HoHjAjxtLdtTOelmEuWIboau2Qswx07qgiEf4K/cgMqDyo0m4fMsk9/5Bkl TvqNQMp+v34lSCOVOsUL4yh6qOrJd1TU+6uGBF35gUQ/2i+w4cHzEwQ73gcDolJEJcA6 vdag== X-Forwarded-Encrypted: i=1; AJvYcCUMGLM6fBAA4WuPbP6v6iUNQA2K+V8VN3qTFMGyDO83Egcg4DdCWg2W05eCSM81JkzJHMpIbRq3B9Z4KmyFLCw6jOEfWVYZzAw= X-Gm-Message-State: AOJu0YxGgZCd8vlp9bHhLPBMHORRenmK9RPB0JiUJbK/pk+SnpIsOcAy T99++jjNi40JYszbCPGegMzMnCgyAu43A98+J9e6cTGE3SGHOIjBKFhNMffenz6u+yr/ZZ0BGod ctO8wV+FcFttzxsl8ROKOLcNCPzIphjlFk+Tc X-Google-Smtp-Source: AGHT+IG0V80zGbk+ssZMvUAjOyehfODPw15/x1DSmwgcYrdFAoHE8szTdFCmPVP4hnDyKFTDFKdV79yt8DOfhZ2kUE8= X-Received: by 2002:a05:6122:1d9e:b0:4f5:202b:6220 with SMTP id 71dfb90a1353d-4f912a0d775mr3371161e0c.0.1723271898634; Fri, 09 Aug 2024 23:38:18 -0700 (PDT) MIME-Version: 1.0 References: <5cf05f2c-8aee-470a-b483-dd64367cc770@app.fastmail.com> In-Reply-To: <5cf05f2c-8aee-470a-b483-dd64367cc770@app.fastmail.com> From: Eric Gallager Date: Sat, 10 Aug 2024 02:38:07 -0400 Message-ID: Subject: Re: [bug#72225] [PATCH] _AM_PROG_CC_C_O: clean up after .dSYM directories properly To: Zack Weinberg Content-Type: multipart/mixed; boundary="0000000000005f0ffe061f4e811b" Received-SPF: pass client-ip=2607:f8b0:4864:20::a29; envelope-from=egall@gwmail.gwu.edu; helo=mail-vk1-xa29.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: automake-patches@gnu.org, 72225@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.6 (--) --0000000000005f0ffe061f4e811b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jul 21, 2024 at 10:16=E2=80=AFAM Zack Weinberg = wrote: > > On Sun, Jul 21, 2024, at 5:20 AM, Eric Gallager via Patches for Automake = wrote: > > On darwin, the compiler will generate .dSYM directories (for debug > > info) alongside executables when invoked, leading to messages like the > > following in configure output: > > > > checking whether /usr/local/bin/gcc understands -c and -o together... > > rm: conftest.dSYM: is a directory > > yes > > > > The attached patch ought to fix this by passing the -r flag to the rm > > invocation that's meant to clean up the conftests. One concern, > > though, is that in the same invocation, it also tries to remove > > anything called "core", so I worry what might happen with this change > > if "core" happens to be a directory... should I handle that > > separately? > > Tests generated by autoconf proper use this formula for cleaning up after > link tests: > > rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conft= est.dSYM > > I'd suggest that _AM_PROG_CC_C_O should be aligned with this - which mean= s > *not* deleting anything named 'core'. You may or may not have $ac_ext av= ailable; ac_ext is used just a few lines above in the call to AM_RUN_LOG on line 26. > even if you don't I'd suggest that you also make the 'conftest*' glob mor= e > specific (without having looked at the rest of am-prog-cc-c-o.m4, somethi= ng > like 'conftest.c conftest.o conftest.obj conftest.dSYM' is probably close= ). > > zw Attached is a new patch that removes 'core' from the list of files to be deleted, and adds some of your suggestions instead. --0000000000005f0ffe061f4e811b Content-Type: application/octet-stream; name="patch-m4_prog-cc-c-o.m4.diff" Content-Disposition: attachment; filename="patch-m4_prog-cc-c-o.m4.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lznrk3wc0 ZGlmZiAtLWdpdCBhL200L3Byb2ctY2MtYy1vLm00IGIvbTQvcHJvZy1jYy1jLW8ubTQKaW5kZXgg YTMxYTRhNDE0Li5iYjYwYjM5YTkgMTAwNjQ0Ci0tLSBhL200L3Byb2ctY2MtYy1vLm00CisrKyBi L200L3Byb2ctY2MtYy1vLm00CkBAIC0zMSw3ICszMSw5IEBAIEFDX0NBQ0hFX0NIRUNLKAogICAg ICAgYnJlYWsKICAgICBmaQogICBkb25lCi0gIHJtIC1mIGNvcmUgY29uZnRlc3QqCisgIHJtIC1m IC1yIGEub3V0IGEuZXhlIGIub3V0IGNvbmZ0ZXN0LiRhY19leHQgY29uZnRlc3QuJGFjX29iamV4 dCBcCisgICAgY29uZnRlc3QuZFNZTSBjb25mdGVzdDEuJGFjX2V4dCBjb25mdGVzdDEuJGFjX29i amV4dCBjb25mdGVzdDEuZFNZTSBcCisgICAgY29uZnRlc3QyLiRhY19leHQgY29uZnRlc3QyLiRh Y19vYmpleHQgY29uZnRlc3QyLmRTWU0KICAgdW5zZXQgYW1faV0pCiBpZiB0ZXN0ICIkYW1fY3Zf cHJvZ19jY19jX28iICE9IHllczsgdGhlbgogICAgIyBMb3NpbmcgY29tcGlsZXIsIHNvIG92ZXJy aWRlIHdpdGggdGhlIHNjcmlwdC4K --0000000000005f0ffe061f4e811b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 03 14:24:16 2024 Received: (at submit) by debbugs.gnu.org; 3 Sep 2024 18:24:16 +0000 Received: from localhost ([127.0.0.1]:60977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slYCO-0004Ak-9W for submit@debbugs.gnu.org; Tue, 03 Sep 2024 14:24:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:41676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slYCM-0004Ac-Ag for submit@debbugs.gnu.org; Tue, 03 Sep 2024 14:24:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slYBL-0003KL-EE for automake-patches@gnu.org; Tue, 03 Sep 2024 14:23:11 -0400 Received: from mail-vk1-xa2d.google.com ([2607:f8b0:4864:20::a2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slYBJ-0002RC-HY for automake-patches@gnu.org; Tue, 03 Sep 2024 14:23:11 -0400 Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-4fd136aac40so1612430e0c.0 for ; Tue, 03 Sep 2024 11:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1725387787; x=1725992587; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XoIkR3jLt4a1+cjy06790rqNm+WBZS0r0Oz9sNbQrcA=; b=aLwvPdOaaZCO/oB9RwxOvUk+H4232D2+iWNSXJu6IMegKRstLcDJqHl4dNkZRnzf71 2XPmb+kVkscPyKQB68YhLocl3aeaOOz8ojo9S1wbKxEjvdSkhRm9rmIS7Y3gV54QcfI8 mjt+tizCuZaUeHhrAd2ItC/SSu+dkQmonaAWLThMgb1W3+YnQZ7STFMJnSBflXaC3sD+ dn9DK+Nix9NUc80W0O3pv6kH1q2CBR3iOix58p3aX8fCtntX8uEf1S4c6jnqjZhP4bdK lyEza1+7MMTvpkBTDrhSfYHkdDMC5b7rX1/SqSXSAGbAxZxHi8VcCqtsJQ+pFAs0P7J9 6VAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725387787; x=1725992587; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XoIkR3jLt4a1+cjy06790rqNm+WBZS0r0Oz9sNbQrcA=; b=JL2EjK9jtuY1LMJudrPCKQdn/+kMZCFwqsa+L+zMMQGwvKLN6kga7axqn1YmDgQfv/ B5vLzLfqTd2vwjbpb1QWW+jv7ch59U87n+zy5RlXCHSJZ/At79K1NI6vs+KJNEx6Xijd bxlSNTtObNYVsVg4SRRR666nqGWekA5o4FE9kcgxtlKd8781+zfvAkAs4GLLI1WO4jEK Uii4ib2M46eauy8+0FG+H+ZcwbMZE15ur9VRD0EeWyPGYKoUP/svqWWn/EidHEtdAZt/ tL5Wjl1Tfsid6VtKdF0eelSvRGqmokrw+ZprDyyviuU38tdmkCBw9SP/5VQgsXbqex7+ LZgA== X-Forwarded-Encrypted: i=1; AJvYcCX9JN7HSArzGGerw9PDvz7/czhlk1+BIOfZR8qTvhSGOY1ejQ+WxjOW6jqbj7qNQTkk8AKbBB4s0OLZWiIQ9KvR@gnu.org X-Gm-Message-State: AOJu0Yyo3sZTTAJy5c0yDrGzTOWaOu5QgFWzn/Ch1dAVfzKsP3WZnIA6 cTklpI6l1gknSb61tNeBEpkVXGnNi3xiM2WmCpUG3qKEgo/WdRZsrHmLZwOB1jTWdJlgY3ZnxG/ ZycvPfV+A1kwNfdnOKBn3gbUfgA7WJChwLFGdFisGhehy1mWQ2g== X-Google-Smtp-Source: AGHT+IEdOtGW2VM2g5Z+CnCO3/UOk7x+/FaSOnTU2QMRS9g5gyyafdTs0hAqVTONJkQXKHMYE934t96t+kmPZpB9YkM= X-Received: by 2002:a05:6122:4d18:b0:4fc:e5c6:be6e with SMTP id 71dfb90a1353d-5009b1e98f9mr9958924e0c.6.1725387787134; Tue, 03 Sep 2024 11:23:07 -0700 (PDT) MIME-Version: 1.0 References: <5cf05f2c-8aee-470a-b483-dd64367cc770@app.fastmail.com> In-Reply-To: From: Eric Gallager Date: Tue, 3 Sep 2024 14:22:55 -0400 Message-ID: Subject: Re: [bug#72225] [PATCH] _AM_PROG_CC_C_O: clean up after .dSYM directories properly [PING] To: Zack Weinberg Content-Type: multipart/mixed; boundary="00000000000027407e06213b2697" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2d; envelope-from=egall@gwmail.gwu.edu; helo=mail-vk1-xa2d.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: automake-patches@gnu.org, 72225@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.6 (--) --00000000000027407e06213b2697 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Aug 10, 2024 at 2:38=E2=80=AFAM Eric Gallager wrote: > > On Sun, Jul 21, 2024 at 10:16=E2=80=AFAM Zack Weinberg wrote: > > > > On Sun, Jul 21, 2024, at 5:20 AM, Eric Gallager via Patches for Automak= e wrote: > > > On darwin, the compiler will generate .dSYM directories (for debug > > > info) alongside executables when invoked, leading to messages like th= e > > > following in configure output: > > > > > > checking whether /usr/local/bin/gcc understands -c and -o together... > > > rm: conftest.dSYM: is a directory > > > yes > > > > > > The attached patch ought to fix this by passing the -r flag to the rm > > > invocation that's meant to clean up the conftests. One concern, > > > though, is that in the same invocation, it also tries to remove > > > anything called "core", so I worry what might happen with this change > > > if "core" happens to be a directory... should I handle that > > > separately? > > > > Tests generated by autoconf proper use this formula for cleaning up aft= er > > link tests: > > > > rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj con= ftest.dSYM > > > > I'd suggest that _AM_PROG_CC_C_O should be aligned with this - which me= ans > > *not* deleting anything named 'core'. You may or may not have $ac_ext = available; > > ac_ext is used just a few lines above in the call to AM_RUN_LOG on line 2= 6. > > > even if you don't I'd suggest that you also make the 'conftest*' glob m= ore > > specific (without having looked at the rest of am-prog-cc-c-o.m4, somet= hing > > like 'conftest.c conftest.o conftest.obj conftest.dSYM' is probably clo= se). > > > > zw > > Attached is a new patch that removes 'core' from the list of files to > be deleted, and adds some of your suggestions instead. Hi, I'd just like to ping this patch from earlier: https://lists.gnu.org/archive/html/automake-patches/2024-08/msg00003.html --00000000000027407e06213b2697 Content-Type: application/octet-stream; name="patch-m4_prog-cc-c-o.m4.diff" Content-Disposition: attachment; filename="patch-m4_prog-cc-c-o.m4.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m0mr9yq20 ZGlmZiAtLWdpdCBhL200L3Byb2ctY2MtYy1vLm00IGIvbTQvcHJvZy1jYy1jLW8ubTQKaW5kZXgg YTMxYTRhNDE0Li5iYjYwYjM5YTkgMTAwNjQ0Ci0tLSBhL200L3Byb2ctY2MtYy1vLm00CisrKyBi L200L3Byb2ctY2MtYy1vLm00CkBAIC0zMSw3ICszMSw5IEBAIEFDX0NBQ0hFX0NIRUNLKAogICAg ICAgYnJlYWsKICAgICBmaQogICBkb25lCi0gIHJtIC1mIGNvcmUgY29uZnRlc3QqCisgIHJtIC1m IC1yIGEub3V0IGEuZXhlIGIub3V0IGNvbmZ0ZXN0LiRhY19leHQgY29uZnRlc3QuJGFjX29iamV4 dCBcCisgICAgY29uZnRlc3QuZFNZTSBjb25mdGVzdDEuJGFjX2V4dCBjb25mdGVzdDEuJGFjX29i amV4dCBjb25mdGVzdDEuZFNZTSBcCisgICAgY29uZnRlc3QyLiRhY19leHQgY29uZnRlc3QyLiRh Y19vYmpleHQgY29uZnRlc3QyLmRTWU0KICAgdW5zZXQgYW1faV0pCiBpZiB0ZXN0ICIkYW1fY3Zf cHJvZ19jY19jX28iICE9IHllczsgdGhlbgogICAgIyBMb3NpbmcgY29tcGlsZXIsIHNvIG92ZXJy aWRlIHdpdGggdGhlIHNjcmlwdC4K --00000000000027407e06213b2697-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 03 17:43:19 2024 Received: (at 72225) by debbugs.gnu.org; 3 Sep 2024 21:43:19 +0000 Received: from localhost ([127.0.0.1]:32919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slbJ1-0000rM-64 for submit@debbugs.gnu.org; Tue, 03 Sep 2024 17:43:19 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:60610 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slbIy-0000rD-B1 for 72225@debbugs.gnu.org; Tue, 03 Sep 2024 17:43:17 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 483Lfvqf319204 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 3 Sep 2024 15:41:57 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 483Lfu3Q319203; Tue, 3 Sep 2024 15:41:56 -0600 Date: Tue, 3 Sep 2024 15:41:56 -0600 Message-Id: <202409032141.483Lfu3Q319203@freefriends.org> From: Karl Berry To: egall@gwmail.gwu.edu Subject: Re: [bug#72225] [PATCH] _AM_PROG_CC_C_O: clean up after .dSYM directories properly [PING] In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72225 Cc: zack@owlfolio.org, 72225@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Hi, I'd just like to ping this patch from earlier: https://lists.gnu.org/archive/html/automake-patches/2024-08/msg00003.html Thank you Eric! I hope I will manage to apply it soonly. -k From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 07 13:16:24 2024 Received: (at 72225) by debbugs.gnu.org; 7 Sep 2024 17:16:24 +0000 Received: from localhost ([127.0.0.1]:57500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smz2u-0000di-9p for submit@debbugs.gnu.org; Sat, 07 Sep 2024 13:16:24 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:46188 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smz2t-0000dW-C4; Sat, 07 Sep 2024 13:16:23 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 487HG4xq123136 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 7 Sep 2024 11:16:04 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 487HG49W123135; Sat, 7 Sep 2024 11:16:04 -0600 Date: Sat, 7 Sep 2024 11:16:04 -0600 Message-Id: <202409071716.487HG49W123135@freefriends.org> From: Karl Berry To: egall@gwmail.gwu.edu Subject: Re: bug#72852: Testsuite summary for GNU Automake 1.17 on x86_64-apple-darwin20.6.0 In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72225 Cc: 72852@debbugs.gnu.org, 72225@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Hi Eric - I applied the patch from 72225, which hopefully also fixes your report in 72852. Closing both, with fingers crossed. Thanks!! -k From unknown Fri Jun 20 18:17:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Oct 2024 11:24:06 +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