From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ashish SHUKLA Newsgroups: gmane.emacs.bugs Subject: bug#39883: 28.0.50; macOS blank frame Date: Thu, 2 Apr 2020 11:49:45 +0530 Message-ID: <07ff9665-2dc5-7071-14b5-6357b7a705c9@lostca.se> References: <20200329181351.GA80513@breton.holly.idiocy.org> <3CA96F9B-66CF-4D3C-92F5-AC06334D50B2@lostca.se> <4e2737dfdc33b25c5158bcbfdc91e3b3@lostca.se> <20200331165235.GB81462@breton.holly.idiocy.org> <9e1f0f34-ec8e-b399-8344-5f1aeb03dfaf@lostca.se> <20200401185307.GB83597@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WBqqyv0bsEPsouzL8iNNsMxw82fmTrkXA" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="73467"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 To: Alan Third , 39883@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 02 08:21:12 2020 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 1jJtDz-000Iya-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Apr 2020 08:21:12 +0200 Original-Received: from localhost ([::1]:33798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJtDz-0005OL-10 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Apr 2020 02:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45644) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJtDr-0005OB-Dv for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 02:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJtDq-0004L6-AR for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 02:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJtDq-0004L2-5i for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 02:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJtDq-0001i7-1I for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 02:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ashish SHUKLA Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2020 06:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39883 X-GNU-PR-Package: emacs Original-Received: via spool by 39883-submit@debbugs.gnu.org id=B39883.15858084056356 (code B ref 39883); Thu, 02 Apr 2020 06:21:01 +0000 Original-Received: (at 39883) by debbugs.gnu.org; 2 Apr 2020 06:20:05 +0000 Original-Received: from localhost ([127.0.0.1]:39029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJtCv-0001eR-6Y for submit@debbugs.gnu.org; Thu, 02 Apr 2020 02:20:05 -0400 Original-Received: from aloka.lostca.se ([178.63.46.202]:35414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJtCs-0001dm-0W for 39883@debbugs.gnu.org; Thu, 02 Apr 2020 02:20:03 -0400 Original-Received: from aloka.lostca.se (aloka [127.0.0.1]) by aloka.lostca.se (Postfix) with ESMTP id 7453EB358; Thu, 2 Apr 2020 06:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lostca.se; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type; s=howrah; bh=MxEFFQVOyh63grTwA36xx3spADQ=; b=IXpD 2yYUQaxOPNKuHheMFEzIAsbzKx2rNPPRJ0KZw1eRSWrXO14cV0AI6l7egVvGDYcf QbVKlLF7OdOHhnfleRiWtmBKspFDXPtd/LPztPjswaOdtXf3IPeEOqexE54KCuEr vmHkS4CPUrudmcdrmrT1KzunN9R0pS6hkSRvmUQ= Original-Received: from chateau.d.if (unknown [122.180.158.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aloka.lostca.se (Postfix) with ESMTPSA id EDF13B357; Thu, 2 Apr 2020 06:19:59 +0000 (UTC) In-Reply-To: <20200401185307.GB83597@breton.holly.idiocy.org> 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177955 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WBqqyv0bsEPsouzL8iNNsMxw82fmTrkXA Content-Type: multipart/mixed; boundary="Ot37ZTeGLVyTnosNA6OUJ5c1aNY4DjmSJ" --Ot37ZTeGLVyTnosNA6OUJ5c1aNY4DjmSJ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 4/2/20 12:23 AM, Alan Third wrote: > On Wed, Apr 01, 2020 at 09:51:37AM +0530, Ashish SHUKLA wrote: >> On 3/31/20 10:22 PM, Alan Third wrote: >>> On Mon, Mar 30, 2020 at 01:24:59AM +0530, Ashish SHUKLA wrote: >>>> >>>> It seems like building with same configure flags, but outside nix ca= uses >>>> issue to disappear. So, maybe it's something to do with the nix envi= ronment. >>> >>> Nix used to use headers from macOS 10.10 or thereabouts, even on newe= r >>> versions of macOS. I don=E2=80=99t know if this is still the case. Th= e problem >>> is that our compile=E2=80=90time feature detection code detects the w= rong >>> features as a result. >>> >>> Could you perhaps try changing src/nsterm.h so that this: >>> >>> #define NS_DRAW_TO_BUFFER 1 >>> >>> is always defined? You should be able to just delete or comment out >>> the #if and #endif. >>> >>> I don=E2=80=99t know how easy that is for you with Nix, hopefully it=E2= =80=99s pretty >>> straight forward. >>> >> >> Hi Alan, >> >> It turns out after deleting those lines the problem is resolved. I wil= l >> investigate on Nix side, what went wrong. >=20 > It=E2=80=99s quite possible we=E2=80=99ll need to provide some sort of = option to force > this, or to do run=E2=80=90time feature detection. I don=E2=80=99t much= fancy trying > to code up the runtime detection for this feature, but if we need it > we need it. >=20 > For my own future reference: perhaps we should do a test in > ./configure rather than rely on the contents of the headers? >=20 That definitely seems more foolproof. Let me know if you like me to test your diff. Thanks! --=20 Ashish SHUKLA --Ot37ZTeGLVyTnosNA6OUJ5c1aNY4DjmSJ-- --WBqqyv0bsEPsouzL8iNNsMxw82fmTrkXA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE9oLNzDncD+rhFiC2x0bPqedPpLAFAl6FhAEACgkQx0bPqedP pLD96xAApUplmxer1coEKoMJNT3Na1xyIaFAFKzhjc/pHJR6uGObOcntRqcBigrE NxpE8i2rzIj+/gBe/QtzIYmPTwH6I6g0nn2XUHGNFVyXR8mRvjjxpPQyFlhiPNcK aXls4JQBdYPc327Ewb7+OeqZlFk8551g35j2ZQR8TM72owIEFvOZKKJOdLc04QLO p8Aapa9HOdClXfDbEkMcyUZ3tPoPDEXhBTZprkG9djHCSeLaM6ze0KnhuBzZfgxd PKzLUoOla2xssugFjV3ZMDWmMX2BExcvJ4zq2mhbPMnHYv7U7NfSZKL9XbLL9wZV xjlCFxHqHdkGYfIeEpR4999iuh+tANsaNl/2HG4Eb63ebXX+dBdM++29nU8JvTKh Ny58azr0XMwQBkdxPKNNMYWs/7A4VZAA0IFLs1/C66gi9TRKsM9+jj0kmkUnPFk4 IaTg7MbOv3pFLIyuCv3HcKejgBQ/A+lNlUKfLgJhTpKmFQOaM7EyqCPIUgQEiUU9 IlnrCzZGyr1GqqmWwBxXA1GvET06IUUdJkkydSgwZBswDMmCTL371HY/yHMm1UUy U9A1dOCxZUm2uYhKorMlZOizJmUh2pT3LQYHa3IXkvyyRq7e0gTmz+arvsedfDQ1 T5YeSvVfFloU7JeRGgFmVK2YAU7r5nxmCSFs0PXSj9U5zFdqNK4= =ayLg -----END PGP SIGNATURE----- --WBqqyv0bsEPsouzL8iNNsMxw82fmTrkXA--