From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: asocial-hired.0l--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66287: Emacs cannot build by default (macOS) Date: Sat, 30 Sep 2023 16:46:29 -0700 Message-ID: <4986B7A8-0450-4DC1-AA41-0F1A89FA487B@gmail.com> Reply-To: asocial-hired.0l@icloud.com Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_8C1F4514-881C-4052-BA60-7BE83EE6264E" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7931"; mail-complaints-to="usenet@ciao.gmane.io" To: 66287@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 01 01:48:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qmjh1-0001iH-B9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Oct 2023 01:48:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmjgb-0003fs-Ey; Sat, 30 Sep 2023 19:47:49 -0400 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 1qmjgZ-0003fO-6C for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 19:47:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmjgY-0006gz-Ue for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 19:47:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmjgo-0006uS-97 for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 19:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: asocial-hired.0l@icloud.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Sep 2023 23:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66287 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169611764426479 (code B ref -1); Sat, 30 Sep 2023 23:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Sep 2023 23:47:24 +0000 Original-Received: from localhost ([127.0.0.1]:60057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmjgA-0006sy-RU for submit@debbugs.gnu.org; Sat, 30 Sep 2023 19:47:24 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:43518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmjg4-0006sc-Sf for submit@debbugs.gnu.org; Sat, 30 Sep 2023 19:47:21 -0400 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 1qmjfh-0003YL-Nb for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 19:46:55 -0400 Original-Received: from qs51p00im-qukt01072502.me.com ([17.57.155.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmjfe-0006Ys-Ja for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 19:46:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1696117606; bh=u35aOsqTP7oGJV4YS4G+uf/N3jWagZVQw6IH5CY83B0=; h=from:Content-Type:Mime-Version:Subject:Message-Id:Date:to; b=pfom2iaNAh0RP3H6/w/8LoTIaGIDc12QXyIz2IgsuqIuAGSsbeBY9B4TATQpHHoPs eYNLdJ7JKOlqYc4nGeCG8ORVOXEZwfx8zBAHF+oNt5Er+WqcAkKtKLQyJS6zOvQ5/g F37lx/jKwEAAUH7hwrxCWZWAm4+bik9IQg8kW0w5GvzK+B10wYODXmkYO1oBS01f+P 5cv01gQUeRme/BKBVD39We5ipqyWGNZ3oraPtzobBg6wmnnBgC8cIUr6t8uaxigrG6 gAwWqsHJWp9mLw7s4NP+/enQqQS42XrNTLLE+L7jXCcJf/58Ty6zWH31AmigBJe5mn XmP+OtDWiLT6A== Original-Received: from qs51p00im-qukt01072502.me.com (unknown [17.57.155.15]) by qs51p00im-qukt01072502.me.com (Postfix) with ESMTPS id B838B6EC01A5 for ; Sat, 30 Sep 2023 23:46:45 +0000 (UTC) Original-Received: from qs51p00im-qukt01071101.me.com (qs51p00im.dlb-asmtpoutvip.me.com [10.112.113.12]) by qs51p00im-qukt01072502.me.com (Postfix) with ESMTP id 8B2CC6EC0160 for ; Sat, 30 Sep 2023 23:46:45 +0000 (UTC) Original-Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by qs51p00im-qukt01071101.me.com (Postfix) with ESMTPS id A66544A40155 for ; Sat, 30 Sep 2023 23:46:42 +0000 (UTC) X-ICL-SCORE: 3.033033230041 X-ICL-INFO: GAtbVUseBlFGSVVESgMGUkFIRFcUWUIPAApbVRYSFhEAREQZF15TQFUcAkpaUUQWEBwIRkgABiIS FAceFB5VDRhbRhEcDRQLFhUJAhweVQ0YW0YEEUALQEdJX1lABRhTQ05IRk8JFEIdHAoYRRJbAxwV SxgRARsERE5fWR9fWQUZHEgUF10UQgUNFEpaXVcLGVQJHkkdUFNCQEgQF19RDhBXBRgVEhYGEURE EBVRXw5bGgkaWhBbCxFEREtMCQ5UN04nT1UAAldFVFIzOwEbIzRNV1pIdgcjTUAgNkwIASA1HgsW EVwYARoUWFVYQlVfVxsTEFVXWBdYHAsWG0NpAwEmARkNb1kQEiYWB08JAlcWAQVFGwNSGioBBRMS CQRTQzkPFBRfQwZbGgkaWg== Authentication-Results: bimi.icloud.com; bimi=skipped reason="insufficient dmarc" X-ARC-Info: policy=fail; arc=none Authentication-Results: arc.icloud.com; arc=none Authentication-Results: dmarc.icloud.com; dmarc=pass header.from=gmail.com X-DMARC-Info: pass=pass; dmarc-policy=none; s=r1; d=r1; pdomain=gmail.com X-DMARC-Policy: v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com Authentication-Results: dkim-verifier.icloud.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FV7k+sUz Original-Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3af65455e7cso2034278b6e.1 for ; Sat, 30 Sep 2023 16:46:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696117601; x=1696722401; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=u35aOsqTP7oGJV4YS4G+uf/N3jWagZVQw6IH5CY83B0=; b=KObmmlxze3qRvTLWGkTUTk0F3Qc0Y0Odv1fth6aa4nR7PtETqp8lOXpLoWn2xAKQai Ikw5fUez1bo/Qs0NkrrlwOnMPrjXQw70sigE30nifcL8v02o6L2O2TrbjWNFJmHJXA5z oFClEw9Gtfg/EXf37CeezjMFeS2NLM2IbZtdk6YwL59FDlUPZ7cTWWXojtVB2WaPoPFl TPp3bniDmxl0gjzNeFqOVCdtjfCvBFzW9Ap+wCOdbhGmH52pjKRW3cAo1OlciI+IR8oi Ho/pA2BjdBZpfuz285KKipVNcihr6MuPCL2NYa8qy3rnhyCJ567gjaEwIDWRfBBg62Tg Oi5Q== X-Gm-Message-State: AOJu0Ywx4zOIN1DSvCW8v9Gzw33zziuuPb9wBj75gaRk1HzQqVw1VGhc s5uNqDrkfRVn+pP9oIc6GXpDW71w2xXUYg== X-Google-Smtp-Source: AGHT+IE9sLmJO5QOOS5lSVaIaW0Fi0BWWQazwZBwTTiir2b80CbbmkX79gVlucP3rDMuY8exR+w+qQ== X-Received: by 2002:a05:6808:a8e:b0:3ad:fcd5:3dd6 with SMTP id q14-20020a0568080a8e00b003adfcd53dd6mr8394081oij.13.1696117601615; Sat, 30 Sep 2023 16:46:41 -0700 (PDT) Original-Received: from smtpclient.apple (rrcs-74-62-147-67.west.biz.rr.com. [74.62.147.67]) by smtp.gmail.com with ESMTPSA id e10-20020a170902744a00b001bc59cd718asm13012223plt.278.2023.09.30.16.46.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Sep 2023 16:46:41 -0700 (PDT) X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Proofpoint-GUID: F4h78MuVu246PxjBtl_is6mKjdy73Qvs X-Proofpoint-ORIG-GUID: F4h78MuVu246PxjBtl_is6mKjdy73Qvs X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425, 18.0.572, 17.0.605.474.0000000 definitions=2022-01-11_01:2022-01-11_01, 2020-02-14_11, 2020-01-23_02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 clxscore=1015 phishscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2309300196 Received-SPF: pass client-ip=17.57.155.15; envelope-from=asocial-hired.0l@icloud.com; helo=qs51p00im-qukt01072502.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271575 Archived-At: --Apple-Mail=_8C1F4514-881C-4052-BA60-7BE83EE6264E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Here is what I ran: export CC=3Dclang ./autogen.sh ./configure [options] make And I get: =E2=80=94=E2=80=94=E2=80=94=E2=80=94 Start =E2=80=94=E2=80=94=E2=80=94=E2=80= =94 Warning (emacs): Org version mismatch. Org loading aborted. This warning usually appears when a built-in Org version is loaded prior to the more recent Org version. Version mismatch is commonly encountered in the following situations: 1. Emacs is loaded using literate Org config and more recent Org version is loaded inside the file loaded by = =E2=80=98org-babel-load-file=E2=80=99. =E2=80=98org-babel-load-file=E2=80=99 triggers the built-in Org = version clashing the newer Org version attempt to be loaded later. It is recommended to move the Org loading code before the =E2=80=98org-babel-load-file=E2=80=99 call. 2. New Org version is loaded manually by setting =E2=80=98load-path=E2=80=99= , but some other package depending on Org is loaded before the =E2=80=98load-path=E2= =80=99 is configured. This "other package" is triggering built-in Org version, again causing the version mismatch. It is recommended to set =E2=80=98load-path=E2=80=99 as early in the = config as possible. 3. New Org version is loaded using straight.el package manager and other package depending on Org is loaded before straight triggers loading of the newer Org version. It is recommended to put (straight-use-package 'org) early in the config. Ideally, right after the straight.el bootstrap. Moving =E2=80=98use-package=E2=80=99 :straight = declaration may not be sufficient if the corresponding =E2=80=98use-package=E2=80=99 = statement is deferring the loading. Error: error ("gnus/gnus-icalendar.el" "Org version mismatch. Make sure = that correct =E2=80=98load-path=E2=80=99 is set early in init.el") mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (error "gnus/gnus-icalendar.el" "Org version = mismatch. Make sure that correct =E2=80=98load-path=E2=80=99 is set = early in init.el")) signal(error ("gnus/gnus-icalendar.el" "Org version mismatch. Make = sure that correct =E2=80=98load-path=E2=80=99 is set early in init.el")) comp--native-compile("gnus/gnus-icalendar.el") batch-native-compile(t) command-line-1(("--eval" "(setq load-prefer-newer t = byte-compile-warnings 'all)" "-l" "comp" "-f" = "byte-compile-refresh-preloaded" "--eval" "(batch-native-compile t)" = "gnus/gnus-icalendar.el")) command-line() normal-top-level() gnus/gnus-icalendar.el: "Org version mismatch. Make sure that correct = =E2=80=98load-path=E2=80=99 is set early in init.el=E2=80=9D =E2=80=94=E2=80=94=E2=80=94=E2=80=94 End =E2=80=94=E2=80=94=E2=80=94=E2=80= =94 In the past, I=E2=80=99ve built with no issues. I recently upgraded to = MacOS 14 and am building to get rid of issue from bug 66245. Running = =E2=80=98make bootstrap=E2=80=99 caused it to build correctly.= --Apple-Mail=_8C1F4514-881C-4052-BA60-7BE83EE6264E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Here is what I = ran:

export = CC=3Dclang
./autogen.sh
./configure = [options]
make

And I = get:

=E2=80=94=E2=80=94=E2=80=94=E2=80=94 Start = =E2=80=94=E2=80=94=E2=80=94=E2=80=94

Warning (emacs): Org version mismatch.  Org = loading aborted.

This warning usually appears when a built-in Org = version is loaded

prior to the more recent Org version.


Version mismatch is commonly encountered in the = following situations:


1. Emacs is loaded using literate Org config and = more recent Org

   version is loaded inside the file = loaded by =E2=80=98org-babel-load-file=E2=80=99.

   =E2=80=98org-babel-load-file=E2=80=99 = triggers the built-in Org version clashing

   the newer Org version attempt to be = loaded later.


   It is recommended to move the Org = loading code before the

   =E2=80=98org-babel-load-file=E2=80=99 = call.


2. New Org version is loaded manually by setting = =E2=80=98load-path=E2=80=99, but some

   other package depending on Org is = loaded before the =E2=80=98load-path=E2=80=99 is

   configured.

   This "other package" is triggering = built-in Org version, again

   causing the version = mismatch.


   It is recommended to set = =E2=80=98load-path=E2=80=99 as early in the config as

   possible.


3. New Org version is loaded using straight.el = package manager and

   other package depending on Org is = loaded before straight triggers

   loading of the newer Org = version.


   It is recommended to put


    (straight-use-package = 'org)


   early in the config.  Ideally, = right after the straight.el

   bootstrap.  Moving = =E2=80=98use-package=E2=80=99 :straight declaration may not = be

   sufficient if the corresponding = =E2=80=98use-package=E2=80=99 statement is

   deferring the loading.


Error: error ("gnus/gnus-icalendar.el" "Org version = mismatch.  Make sure that correct =E2=80=98load-path=E2=80=99 is = set early in init.el")

  mapbacktrace(#f(compiled-function (evald = func args flags) #<bytecode -0xcc2590e78512f81>))

  debug-early-backtrace()

  debug-early(error (error = "gnus/gnus-icalendar.el" "Org version mismatch.  Make sure that = correct =E2=80=98load-path=E2=80=99 is set early in = init.el"))

  signal(error ("gnus/gnus-icalendar.el" "Org = version mismatch.  Make sure that correct =E2=80=98load-path=E2=80=99= is set early in init.el"))

  = comp--native-compile("gnus/gnus-icalendar.el")

  batch-native-compile(t)

  command-line-1(("--eval" "(setq = load-prefer-newer t byte-compile-warnings 'all)" "-l" "comp" "-f" = "byte-compile-refresh-preloaded" "--eval" "(batch-native-compile t)" = "gnus/gnus-icalendar.el"))

  command-line()

  normal-top-level()

gnus/gnus-icalendar.el: "Org version = mismatch.  Make sure that correct =E2=80=98load-path=E2=80=99 is = set early in init.el=E2=80=9D


=E2=80=94=E2=80=94=E2=80=94=E2=80=94 End =E2=80=94=E2=80=94=E2=80=94=E2=80=94


In the past, = I=E2=80=99ve built with no issues. I recently upgraded to MacOS 14 and = am building to get rid of issue from bug 66245. Running =E2=80=98make = bootstrap=E2=80=99 caused it to build = correctly.

= --Apple-Mail=_8C1F4514-881C-4052-BA60-7BE83EE6264E--