From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "Org version mismatch." when building emacs Date: Fri, 05 May 2023 13:41:05 +0300 Message-ID: <83sfcbhxha.fsf@gnu.org> References: <83pm7fjrgy.fsf@gnu.org> <1A46463B-630F-463D-93B6-726DDE87DF02@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29495"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "l@tlo" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 05 12:40:29 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 1pusrV-0007Wm-5X for ged-emacs-devel@m.gmane-mx.org; Fri, 05 May 2023 12:40:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pusrG-000813-9o; Fri, 05 May 2023 06:40:14 -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 1pusrE-00080s-Re for emacs-devel@gnu.org; Fri, 05 May 2023 06:40:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pusrE-0006Oo-9f; Fri, 05 May 2023 06:40:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ey9q8EHSxRfLGq7n3T8Uyxe041uPopnuon78mDoMN8o=; b=OOJaPCc8/+i3U8B5lJVn f7o4EOL+0DBnYcFxzxpiaG38EgJL4Un90kMkbvsd5d6tkKTcFuiODD2nRCK2S+lxKKVfOC3yz68Yv ynZ/8OW8dY14GREBlt7BGVjUzfadC1osGWG6X4xRGdJLYUOughRzBsyVNozXkR7+uLTViY64Vf3d9 q5XTg+0bHzgScaX71uxlHRV+qQZG/UHveNFMt6sLUMt2pb5SjkXTPltBXIZUcXqKxNPK+J6yS8HQx o4H8ABsxe7+3iOkaO57YK+v0gAUe2Yyj7cVSdsujCFDR0yOm6tRQ+RzQj/GwohthaHUQGSjmlOS3d sauxBDQQohSATw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pusrD-0001gv-Pm; Fri, 05 May 2023 06:40:12 -0400 In-Reply-To: <1A46463B-630F-463D-93B6-726DDE87DF02@traduction-libre.org> (lists@traduction-libre.org) 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:305868 Archived-At: > From: "l@tlo" > Date: Fri, 5 May 2023 17:28:38 +0900 > Cc: emacs-devel@gnu.org > > >> org/ox-texinfo.el:33:2: Error: Org version mismatch. Make sure that correct ‘load-path’ is set early in init.el > >> make[3]: *** [org/ox-texinfo.elc] Error 1 > >> make[2]: *** [main-first] Error 2 > >> make[1]: *** [lisp] Error 2 > > > > Delete all the *.elc files in lisp/org/ and try again. > > It looks like it works. > > Is there a reason not to indicate that as a possible fix for the issue? Yes, because we fixed that in a different way. It should not happen again on the master branch. > >> Any idea what is happening here? > > > > You have stale *.elc files in the tree which still have the old > > expansion of the macros that were recently changed. > > Why doesn't the build process get rid of such files? Because Make is not aware of Lisp macros and their expansions, and we don't know how to teach it about them.