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#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0 Date: Sat, 06 Aug 2022 19:44:56 +0300 Message-ID: <83sfm9xqwn.fsf@gnu.org> References: <834jypzi1b.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18759"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57015@debbugs.gnu.org To: Naofumi Yasufuku Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 06 18:46:27 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 1oKMwV-0004ia-8P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 18:46:27 +0200 Original-Received: from localhost ([::1]:34068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKMwT-0004dA-Lb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 12:46:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKMw6-0004cD-Es for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 12:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKMw6-0004f4-6J for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 12:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKMw6-0007fq-1X for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 12:46: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: Sat, 06 Aug 2022 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57015 X-GNU-PR-Package: emacs Original-Received: via spool by 57015-submit@debbugs.gnu.org id=B57015.165980432229447 (code B ref 57015); Sat, 06 Aug 2022 16:46:02 +0000 Original-Received: (at 57015) by debbugs.gnu.org; 6 Aug 2022 16:45:22 +0000 Original-Received: from localhost ([127.0.0.1]:35374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKMvR-0007et-Kk for submit@debbugs.gnu.org; Sat, 06 Aug 2022 12:45:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKMvM-0007ea-LT for 57015@debbugs.gnu.org; Sat, 06 Aug 2022 12:45:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKMvH-0004Ya-2m; Sat, 06 Aug 2022 12:45:11 -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=2o5OTEZz/UxZhJj4mMcHxh5BAk8CwDlUZ0R8xEAa8Vg=; b=o9+vVoAj0uUm ZcvYJuHitcOcASrfHjfiPy28hsmEvg9OtX3jIJ/NSF/txz/F12V8Z4f7XHGln88QjIgEjFlcnnrCZ S8K1If/166jXTFuWETEpUg89qL1R7gCYOxXuNDFqAOssD8bWzQZEE7Yhv3H4ffNNe38UxvvIY2hvJ /Ww4JREE38UlsOeml8htAe/0V3lCI1aU4tAI3xfkhjYT72xl1Uh2OnVhGBvh/b15wMcSaWa/6pGYV ubxhPMfFSwGFMQOAL3QFHdfY2PNuna+bZqNatLl9gOVbO/Elv35cWFk/AatAAHHUHbnCs5iyut2AY +iBTK55opHFVXEFLzOkpgw==; Original-Received: from [87.69.77.57] (port=1148 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKMvG-0002wj-IH; Sat, 06 Aug 2022 12:45:10 -0400 In-Reply-To: (message from Naofumi Yasufuku on Sun, 07 Aug 2022 01:36:39 +0900) 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:238995 Archived-At: > From: Naofumi Yasufuku > Cc: 57015@debbugs.gnu.org > Date: Sun, 07 Aug 2022 01:36:39 +0900 > > --- a/configure.ac > +++ b/configure.ac > @@ -3843,8 +3843,15 @@ AC_DEFUN > if test -n "`$BREW --prefix --installed libgccjit 2>/dev/null`"; then > MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \ > grep libgccjit.h))" > - MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \ > - grep -E 'libgccjit\.(so|dylib)$'))" > + MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit | \ > + grep -E 'current/libgccjit\.(so|dylib)$' | \ > + head -1))" > + if test "x${MAC_LIBS}" = "x-L"; then > + # Try for Homebrew libgccjit < 12.1.0. > + MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit | \ > + grep -E 'libgccjit\.(so|dylib)$' | \ > + head -1))" > + fi > fi > fi > Is 'dirname' guaranteed to be available?