From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: org: problem loading compiled files that use org-element Date: Thu, 04 Jul 2024 07:46:26 -0700 Message-ID: References: <86ed89adyv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25805"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 04 16:47:05 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 1sPNjl-0006Uy-0W for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jul 2024 16:47:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPNjG-0002MN-9J; Thu, 04 Jul 2024 10:46:34 -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 1sPNjF-0002It-C0 for emacs-devel@gnu.org; Thu, 04 Jul 2024 10:46:33 -0400 Original-Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPNjD-0002Hx-RW for emacs-devel@gnu.org; Thu, 04 Jul 2024 10:46:33 -0400 Original-Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-3817084f7dbso2663905ab.2 for ; Thu, 04 Jul 2024 07:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1720104390; x=1720709190; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lQJYbk5D+Xj4hn3D84W/Ah3+IhVc13zmS+nmRwYaORU=; b=Ms2IHgT8igunJ1db9f1BHi3dU8Gixim0OWYtWkZiN6o5ss7jWPNiQGVzGTr0/cUbXY zKRyTv2VGOndKCw8W9ARtsjwvnDlth7YB04c7LxMRZF+OhwhJ1hltJBs6uuCZstQ+i0r k4vF59aNJOaC9CnTiQwOKphoHix67cjeuHr9ord4JAICaD48cB55M0AgTf/lAzv9IrbC kQckLkQxqf7+2ioRoTeqDydSS4U5cBxDXpsUiiVhEntjkIuEQStFr5n2oAYQM/dTATz2 5Lhg+9w2JlF8hKpjHLMYWJxVuHL0x9t/zgEYuKUNV3IW0yLxY6E/7YISNf1+W6eJUHCf zBFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720104390; x=1720709190; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lQJYbk5D+Xj4hn3D84W/Ah3+IhVc13zmS+nmRwYaORU=; b=XrVufU7TTuLdWWGhIEH3IvPFWuJDZUfIqn72eKNJKtyciFXWRQgNMiiBH0LXgFkUOw Oi5rJyaJgps9NuRcOLIxVLS6tKtKPir4qT5tc5vIaGGBNxr8c2VVQKqecPDpidVyxUqZ odZGWLfZM1nCIp7l+FEbfj+Sz5Qjo/AsW4Qg3yYPeIguX2OOYpKka1gX+9N5d+eE6Ivv Ktg5rq9GvEX+Zcy9YqgMbUPlCFo1BUZpNC21zxuWN/IVuyr6lEXZLI265ELVNuo/gBVa U5820ffHyv4Daf/XlDc5/7ji75QbFSBEkNPBdVorXVAj00zBNRKcoq59u1sbNvoswZ6W 4KeA== X-Gm-Message-State: AOJu0Yz9E6gEWAZ11M1K4n4EsjRoHOr6+DFBfZ6mqF5adHjxbGFOrrLf Zi173EmQ07ug4kjiPtgsiZZgOqWlnE2Z2R9VGws9umih4PxO37ocQhRgnTbloNe/29GKSMbdFvd DHA== X-Google-Smtp-Source: AGHT+IH++VQ3VCIV4Rdg5rFEz31V+MsVkWI5kR2lsHwf0PyP73BpNIar6jwQVUnQUBpaHMHXGUWbkA== X-Received: by 2002:a05:6e02:1526:b0:375:a37c:14b6 with SMTP id e9e14a558f8ab-3839a9dc76bmr20820645ab.23.1720104390067; Thu, 04 Jul 2024 07:46:30 -0700 (PDT) Original-Received: from raman9 (c-98-45-12-92.hsd1.ca.comcast.net. [98.45.12.92]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-72d8e3f0e11sm9638250a12.87.2024.07.04.07.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 07:46:28 -0700 (PDT) In-Reply-To: <86ed89adyv.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 04 Jul 2024 09:06:00 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::12a; envelope-from=raman@google.com; helo=mail-il1-x12a.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable 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:321323 Archived-At: Eli Zaretskii writes: Head = master branch.I did distclean is that the same as bootstrap?>> 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"? --