From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Morio Newsgroups: gmane.emacs.bugs Subject: bug#56738: Cannot find libgccjit.dylib on macOS Date: Sun, 24 Jul 2022 12:15:17 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39314"; mail-complaints-to="usenet@ciao.gmane.io" To: 56738@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 14:34:31 2022 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 1oFaoZ-0009xt-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 14:34:31 +0200 Original-Received: from localhost ([::1]:36488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFaoX-0004oJ-Om for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 08:34:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFao7-0004lZ-7A for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFao6-0001P3-Ue for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFao6-0003WP-I4 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Morio Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2022 12:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56738 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165866602613494 (code B ref -1); Sun, 24 Jul 2022 12:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2022 12:33:46 +0000 Original-Received: from localhost ([127.0.0.1]:47043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFanl-0003VQ-13 for submit@debbugs.gnu.org; Sun, 24 Jul 2022 08:33:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFYeC-0005YO-2Y for submit@debbugs.gnu.org; Sun, 24 Jul 2022 06:15:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFYe5-00010E-R6 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 06:15:39 -0400 Original-Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:32808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oFYe2-0005RN-4J for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 06:15:33 -0400 Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4LrJvq6gPcz9sS2 for ; Sun, 24 Jul 2022 12:15:19 +0200 (CEST) X-Rspamd-Queue-Id: 4LrJvq6gPcz9sS2 Received-SPF: pass client-ip=2001:67c:2050:0:465::101; envelope-from=kevin@morio.me; helo=mout-p-101.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 24 Jul 2022 08:33:39 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:237833 Archived-At: Dear Emacs maintainers, Emacs 28.1.90 (282dde887db163b25b31fba3bf10a80f2b93203c) fails to build = on macOS 12.4 when configured with the following invocation: ./configure =E2=80=94with-native-compilation ... usage: dirname string [...] checking for gcc_jit_context_acquire in -lgccjit... no configure: error: ELisp native compiler was requested, but libgccjit was = not found. Please try installing libgccjit or a similar package. If you are sure you want Emacs be compiled without ELisp native = compiler, pass the --without-native-compilation option to configure. This is the same bug as bug#55173 which has been reported for Emacs 29.0.50 (a41a181db5f3aca043ed42b228dc56a6403c21a5) and fixed in commit faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439 with the following patch diff --git a/configure.ac b/configure.ac index 741a1a31df..03eb9783a9 100644 --- a/configure.ac +++ b/configure.ac @@ -3844,7 +3844,7 @@ AC_DEFUN MAC_CFLAGS=3D"-I$(dirname $($BREW ls -v libgccjit | \ grep libgccjit.h))" MAC_LIBS=3D"-L$(dirname $($BREW ls -v libgccjit| \ - grep libgccjit.so\$))" + grep -E = 'libgccjit\.(so|dylib)$'))" fi fi Thanks, Kevin Morio