From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Simon Leinen Newsgroups: gmane.emacs.bugs Subject: bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz Date: Mon, 22 Jul 2019 19:20:23 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="198957"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: 36758@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 22 19:23:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpc1j-000peM-L9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 19:23:08 +0200 Original-Received: from localhost ([::1]:36244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpc1i-00066n-7D for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 13:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49744) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpc1f-00066U-40 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpc1e-0001Zq-4u for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpc1e-0001Zi-1l for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpc1d-0004Qx-SU for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Leinen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2019 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36758 X-GNU-PR-Package: emacs Original-Received: via spool by 36758-submit@debbugs.gnu.org id=B36758.156381613616967 (code B ref 36758); Mon, 22 Jul 2019 17:23:01 +0000 Original-Received: (at 36758) by debbugs.gnu.org; 22 Jul 2019 17:22:16 +0000 Original-Received: from localhost ([127.0.0.1]:33575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpc0u-0004Pb-2w for submit@debbugs.gnu.org; Mon, 22 Jul 2019 13:22:16 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:31048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpc0s-0004PM-2Y for 36758@debbugs.gnu.org; Mon, 22 Jul 2019 13:22:15 -0400 Original-Received: from mailm212.d.ethz.ch (129.132.139.36) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jul 2019 19:20:34 +0200 Original-Received: from macsl (130.59.196.133) by mailm212.d.ethz.ch (2001:67c:10ec:5603::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 22 Jul 2019 19:20:30 +0200 In-Reply-To: (Simon Leinen's message of "Mon, 22 Jul 2019 13:19:20 +0200") X-Originating-IP: [130.59.196.133] X-ClientProxiedBy: mailm111.d.ethz.ch (2001:67c:10ec:5602::23) To mailm212.d.ethz.ch (2001:67c:10ec:5603::26) X-TM-SNTS-SMTP: B07506877A14CFE465CF48C60963C250AEDFBB212AE2F39EE610C83161AA2A662000:8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163601 Archived-At: Simon Leinen writes: > So I guess all I have to do is make sure Emacs doesn't use the old > libfreetype in /opt/X11/lib, but rather the newer one in > /usr/local/lib (and hope that that one works in an X11 environment...) I finally managed to get the Emacs Makefiles put -L/usr/local/opt/freetype/lib in front of -L/opt/X11/lib, and rebuilt my Emacs binaries. They now no longer crash when I open the message with the Arabic font in GNUS. Hooray! So the problem was a typical "DLL hell" issue that I brought upon myself by selecting an unusual combination of libraries. I don't think there's much for the Emacs developers to improve in this situation. Therefore I think this bug can safely be closed. I wrote up my (fixed) build procedure on my blog: https://blog.simon.leinen.ch/2019/07/compiling-emacs-on-mac-os-against-x11.html This is mainly for my own reference - it's so convoluted that I rely on config.log to reconstruct all the options... but the Internet is big, and maybe it's even useful for someone else. Thanks again for your kind help with this! Best regards, -- Simon.