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: problem loading compiled files that use org-element Date: Thu, 04 Jul 2024 09:06:00 +0300 Message-ID: <86ed89adyv.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="326"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 04 08:06:54 2024 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 1sPFcK-000AUi-V1 for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jul 2024 08:06:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPFbf-0001Q7-Tj; Thu, 04 Jul 2024 02:06:12 -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 1sPFbZ-0001NY-6M for emacs-devel@gnu.org; Thu, 04 Jul 2024 02:06:05 -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 1sPFbY-00044Q-74; Thu, 04 Jul 2024 02:06:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kSF67L8j6Scj/PLGussZ5CPMY0RMueWn0XEGcrG2twc=; b=lU94LrC8fq8f CKXfGlBr4AaQxSB5nWoNCYG+jDTRxlbnK4ACIWw8uqPVRs0oZKgC05Z7BvtQOTxAiOZ9nG4eSoDU9 R/38DCtjSSSGFyMqVSsUmzpQjXQmRkeI8x2K9+l7IA7TrjJrhDZp6eumJo6uuBiPqHFLg9y5De4sw 4sunionuBimFgezXeUwlEXiZ1UvqeOokl1HXKx9gx9oF8+WDRJkbAS1dnTB5hAiQajmSZt7lwlcxx YXfLL1YPMgvyjtfd7Xt6gOMW3VAeT+rXOhb0+QXtr/IiNcMbIH7tsjz7qoAKEtAoBjV1tDJ6Dq10G WjTDx0P9KXeWt2G63JsHYg==; In-Reply-To: (raman@google.com) 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:321301 Archived-At: > From: "T.V Raman" > Date: Wed, 03 Jul 2024 20:34:27 -0700 > > I have code that does > (require 'org-element) > and then uses functions like org-element-property > > All this worked until recently (suspect until a week ago) but having > rebuilt emacs from @head, things are broken like so: "@head" meaning the master branch or the emacs-30 release branch? > 1. Code compiles with no warnings. > 2. When my compiled module is loading, calls to org-element-property > throw a voide-function org-element--property error. > 3. grep on my compiled .elc file for org-element--property shows a match. > 4. grep on the *.elc for the above in the emacs build tree also shows a match. > 5. At this point, this has gone beyond my understanding of .elc files. > 6. Loading the .el source of my module works without errors; the .elc > loads but throws an error when run. Did you try "make bootstrap"?