From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: Intermittent build failure with native compilation Date: Wed, 27 Dec 2023 20:17:45 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34232"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jschmidt4gnu@vodafonemail.de To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 28 02:18:50 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rIf2v-0008lF-Os for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Dec 2023 02:18:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIf2C-0007KQ-LH; Wed, 27 Dec 2023 20:18:04 -0500 Original-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 1rIf2B-0007KH-E7 for emacs-devel@gnu.org; Wed, 27 Dec 2023 20:18:03 -0500 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIf29-0000NA-KJ for emacs-devel@gnu.org; Wed, 27 Dec 2023 20:18:03 -0500 Original-Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2cc6d9b4c6aso57484521fa.3 for ; Wed, 27 Dec 2023 17:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703726277; x=1704331077; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=M3uqqRl2CLzis6unft5p+21J3EVjbE7+N+CMbVNFpTk=; b=lhXcjnE9QvdeRn/suRWKECw2kqUzUOKmF5vMi5PV7VSt1HkqZn6z1cImMaiWR0KgFB oS+a9YcSRBxEDVlQZJ6bRlrHmu8T6xaa76Kf+6Sb40QVXNnJwDq+phQaBCCqGdvTBcG3 b7EDfurJT/G6xnvEhAozm9/2j1+WyvUuw4rgHrOXaJK8Mrlbu1sQpCHIkatQVunqVCO0 MPpSmCU+dkY13ZoC4ttoqTtZ9r6b6QWggwW4Lm9bDGgzXmdGFClWNnEsD0NT9YcNBHaC IKc5Z+kXMOtFbLDW3teGMal0kBjtfbJcgBANyOVfJEXxIuRL2kWf/qEqChQV+B+PheJV MqWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703726277; x=1704331077; h=content-transfer-encoding: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=M3uqqRl2CLzis6unft5p+21J3EVjbE7+N+CMbVNFpTk=; b=i+rZ6g+ZAxBG3ARMWGR9O/pzReJMBbpIwhd108w8bIAM1tgbOHQsWvEM3ygbz892vm 2MMbT/bp6OorgUylX+kmQhm9hluW0rwRD6MHuxknCyaLoDVET/BVhN08tfelfMzDz0c4 xX0uQ9GPFDiKhNwj1h07Cdq3hw0QbKiHHH5TrlH6uY8fRrQTWhUCzPkNkS3dvBEvH+6Y B83obZqej/TUk8BTn0F5EFziDdyhvo5EMnCCmXkexkOHMoSjKLALMsk9P2y+QHuRWoRR OzmMM6PEmwriLyVsUXtGcgiWXDLYHRs47BCYqsP9JS7YIyso3ndrkIxZcatFFZqHHT7+ Cbqg== X-Gm-Message-State: AOJu0Ywah6XSIQSHVqffPMm12f9qHIfXXV6rIAQ8hi2V7OiUzlVfVuk+ z01jCQIBp8RDhbc/+gK3Aj7AYzNEwcZr88wK3xLs+fvrr7E= X-Google-Smtp-Source: AGHT+IFli4Jr85b2MGA6LgmC4Me5tB6xrfUyTX0jIyoxf4IelB/yc0QwUPDid8jxsm7CCGIy1ULVhVd4hySyGL2cn7I= X-Received: by 2002:a2e:818e:0:b0:2cc:854b:556e with SMTP id e14-20020a2e818e000000b002cc854b556emr3643931ljg.70.1703726277396; Wed, 27 Dec 2023 17:17:57 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=aaronjensen@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314265 Archived-At: I bisected and the problematic commit is: e670412a3e101e70dc26e021f467faece8cb7f6b Aaron On Wed, Dec 27, 2023 at 6:25=E2=80=AFPM Aaron Jensen wrote: > > On macOS, I am often getting this when building Emacs from scratch (I've = also attached my full build log). Could this be a race condition with a par= allel build? > > In toplevel form: > org/org-element.el:64:2: Error: Eager macro-expansion failure: (native-co= mpiler-error (lambda (arg322 &optional arg323) (let ((f #'macroexpand)) (fu= ncall f arg322 arg323))) "Compiling /private/var/tmp/emacs-plusA30-20231227= - > 10652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampol= ine-6d6163726f657870616e64_macroexpand_0.eln... > File already exists: /private/var/tmp/emacs-plusA30-20231227-10652-1cz0rs= /.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline-6d6163726f= 657870616e64_macroexpand_0.eln > > Error: file-already-exists (\"File already exists\" \"/private/var/tmp/em= acs-plusA30-20231227-10652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69a= fc345/subr--trampoline-6d6163726f657870616e64_macroexpand_0.eln\") > mapbacktrace(#f(compiled-function (evald func args flags) #)) > debug-early-backtrace() > debug-early(error (file-already-exists \"File already exists\" \"/priva= te/var/tmp/emacs-plusA30-20231227-10652-1cz0rs/.brew_home/.emacs.d/eln-cach= e/30.0.50-69afc345/subr--trampoline-6d6163726f657870616e64_macroexpand_0.el= n > \")) > rename-file(\"/private/var/tmp/emacs-plusA30-20231227-10652-1cz0rs/.bre= w_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline-6d6163726f65787= 0616e64_macroexpand_08i0tl8.eln.tmp\" \"/private/var/tmp/emacs-plusA30-2023= 1 > 227-10652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--tra= mpoline-6d6163726f657870616e64_macroexpand_0.eln\") > comp-delete-or-replace-file(\"/private/var/tmp/emacs-plusA30-20231227-1= 0652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline= -6d6163726f657870616e64_macroexpand_0.eln\" \"/private/var/tmp/emacs-plusA3= 0 > -20231227-10652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/sub= r--trampoline-6d6163726f657870616e64_macroexpand_08i0tl8.eln.tmp\") > comp--compile-ctxt-to-file(\"/private/var/tmp/emacs-plusA30-20231227-10= 652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline-= 6d6163726f657870616e64_macroexpand_0.eln\") > comp-compile-ctxt-to-file(\"/private/var/tmp/emacs-plusA30-20231227-106= 52-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline-6= d6163726f657870616e64_macroexpand_0.eln\") > comp-final1() > load-with-code-conversion(\"/private/var/tmp/emacs-int-comp-subr--tramp= oline-6d6163726f657870616e64_macroexpand_0-haajZW.el\" \"/private/var/tmp/e= macs-int-comp-subr--trampoline-6d6163726f657870616e64_macroexpand_0-haajZW.= e > l\" nil t) > command-line-1((\"-l\" \"/private/var/tmp/emacs-int-comp-subr--trampoli= ne-6d6163726f657870616e64_macroexpand_0-haajZW.el\")) > command-line() > normal-top-level() > ") > gmake[3]: *** [Makefile:330: org/org-element.elc] Error 1 > > > > > I can reproduce this consistently when building with homebrew, but it's m= ore intermittent when building from the git repo. > > > > > Aaron >