GNU bug report logs - #57015
29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0

Previous Next

Package: emacs;

Reported by: Naofumi Yasufuku <naofumi <at> yasufuku.dev>

Date: Sat, 6 Aug 2022 11:40:01 UTC

Severity: normal

Tags: patch

Merged with 57023, 57028, 57029

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 57029 <at> debbugs.gnu.org, 57015 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Subject: bug#57015: bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1
Date: Mon, 08 Aug 2022 10:08:49 +0200
On Aug 08 2022, Gerd Möllmann wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> -          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
>
> The 'x' is kind of confusing here because MAC_LIBS can't be empty at
> this point.

This x prefix is not about emptyness, but preventing a pre-POSIX test
utility from being confused by the leading dash.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 2 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.