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.bugs Subject: bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter" Date: Mon, 07 Aug 2023 15:42:55 +0300 Message-ID: <83tttbnhv4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36858"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65123@debbugs.gnu.org To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 07 14:43:16 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 1qSzZr-0009NR-Iu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Aug 2023 14:43:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSzZf-0002To-IM; Mon, 07 Aug 2023 08:43:03 -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 1qSzZe-0002Tc-Ft for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2023 08:43:02 -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 1qSzZe-0001oY-7Z for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2023 08:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSzZe-0007g0-31 for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2023 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Aug 2023 12:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65123 X-GNU-PR-Package: emacs Original-Received: via spool by 65123-submit@debbugs.gnu.org id=B65123.169141216429478 (code B ref 65123); Mon, 07 Aug 2023 12:43:02 +0000 Original-Received: (at 65123) by debbugs.gnu.org; 7 Aug 2023 12:42:44 +0000 Original-Received: from localhost ([127.0.0.1]:60793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSzZM-0007fO-5v for submit@debbugs.gnu.org; Mon, 07 Aug 2023 08:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSzZK-0007f8-7U for 65123@debbugs.gnu.org; Mon, 07 Aug 2023 08:42:43 -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 1qSzZE-0001fW-Cr; Mon, 07 Aug 2023 08:42:36 -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=K0eFAqdM5eKTMCWxl0iQjIFsl0ulozabywGoczn7iiM=; b=qjQjgvE+8CHQ devWvNzc2vXxuYgo+mGAN6NMAAmy/aXv+1B+2VHj1eSfGD0UL1plR0OdJi/GmcJoQcvrDaUispGPI NpLrjohetiv1vISrJusEn5KiCYzaepHt6JARAEL27FadZ+ioeeTyu/H16rKQ0UwsemiCEsluYn15y fw/TZ73rDRQTxmvrTfrDeAXdANUmKxA2jDtKbEBLoabT6aGj+CTClivWG5EFiWB0F1GTRWmx3Cuqz NW2hdVKS45uP5sdzoWrsjRLd5Oe71A2GZhZEbEWcOXaFpL0+8UehJVcH39bPSR0sCmXVymt7HBtyU knxEbYm7L2mQX2rUTyP69g==; In-Reply-To: (message from Ulrich Mueller on Mon, 07 Aug 2023 12:44:38 +0200) 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:266883 Archived-At: > From: Ulrich Mueller > Date: Mon, 07 Aug 2023 12:44:38 +0200 > > Forwarding downstream bug: https://bugs.gentoo.org/911826 > > Linking of temacs fails with undefined references to symbols > dynlib_error, dynlib_open and dynlib_sym when using configure options > --without-all --with-tree-sitter. To reproduce: Thanks. Does the patch below fix this? diff --git a/configure.ac b/configure.ac index 5dd182a..ab401be 100644 --- a/configure.ac +++ b/configure.ac @@ -3254,6 +3254,7 @@ AC_DEFUN [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no]) if test "${HAVE_TREE_SITTER}" = yes; then AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.]) + NEED_DYNLIB=yes else EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3], [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])