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: [MPS test] `void-function igc--collect` on scratch/igc branch (commit: `42731228d2`) Date: Mon, 05 Aug 2024 18:00:56 +0300 Message-ID: <864j7zqajb.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eval Exec Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 05 17:01:32 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 1sazDH-0005Ox-QS for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 17:01:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sazCq-0005uv-7e; Mon, 05 Aug 2024 11:01:04 -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 1sazCm-0005ud-Jn for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:01:01 -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 1sazCm-0001iY-8D; Mon, 05 Aug 2024 11:01:00 -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=g6wkc0yI1fhOgPXL7BhKyht7ZhvFHP51pJ6IkdNhGS0=; b=nRkdXT9pmE3k oJKsBjeY7CvPv0jwMKjsN9/MHxqOxWgr4ITHA/4/cSUShCX0KyTN67ZoLildE6pI2CBmhCJ3vZi7O erOc7OwjEFqSMkk40fSvzDTBxi5NhHGLaJB26lIN2fqki52m/RmIj/HhMWz8OaEXhSdwMyBObACMs IcwUx6g+qtiF+JG5+nhX0se1j0Q49amRJCKsWVA0zmjgsb1rm+5JTeUbqBoNvWB1kKjTYsZr/jNIr 0wRzts51Y2f1cLltzW5Io55Jk7jtwkc4uw1I/T4Ku4qa/s4nz6TAzyWZE7Y4/uJFaoZNnhBsuiLNF e1xh1zD1P1Nr0xwuJFUSag==; In-Reply-To: (message from Eval Exec on Mon, 5 Aug 2024 21:48:24 +0800) 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:322373 Archived-At: > From: Eval Exec > Date: Mon, 5 Aug 2024 21:48:24 +0800 > > Then I build emacs by: > ```bash > make extraclean > ./autogen.sh \ > && ./configure \ > --prefix=$(realpath ../emacs-build)\ > --with-mps \ > --with-imagemagick \ > --with-modules --with-x-toolkit=lucid --without-compress-install \ > --without-toolkit-scroll-bars --with-native-compilation --with-mailutils\ > --with-tree-sitter --with-xinput2 \ > --with-dbus --with-native-compilation=aot \ > --with-file-notification=inotify\ > && make -j20 install > ``` > > After build success, I notice there is an interactive command: > `igc-collect`, so I `M-x igc-collect`, then I got: > > ```elisp > Debugger entered--Lisp error: (void-function igc--collect) > igc--collect() > igc-collect() > funcall-interactively(igc-collect) > command-execute(igc-collect record) > #(nil "igc-collect" nil) > ad-Advice-execute-extended-command(# > nil "igc-collect" nil) > apply(ad-Advice-execute-extended-command # execute-extended-command> (nil "igc-collect" nil)) > execute-extended-command(nil "igc-collect" nil) > funcall-interactively(execute-extended-command nil "igc-collect" nil) > command-execute(execute-extended-command) > ``` > > > Is this expected? Did I miss something when I building Emacs? You need to make sure the configure script finds the MPS library, otherwise it will build without the new GC.