From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#36332: non-GUI build broken on macOS Date: Sat, 22 Jun 2019 11:46:26 -0700 Organization: UCLA Computer Science Department Message-ID: <42f1a413-c271-1f6d-07c0-aea33a7bbda9@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73085"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 To: 36332@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 22 20:47:24 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 1hel2q-000IqM-Df for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 20:47:24 +0200 Original-Received: from localhost ([::1]:42078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hel2o-00052a-Qr for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 14:47:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43320) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hel2X-00052S-1n for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hel2V-00044E-6n for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hel2U-000431-3G for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hel2T-0001EQ-TX for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2019 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36332 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs bug reports and feature requests Original-Received: via spool by submit@debbugs.gnu.org id=B.15612291954692 (code B ref -1); Sat, 22 Jun 2019 18:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jun 2019 18:46:35 +0000 Original-Received: from localhost ([127.0.0.1]:52519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hel22-0001Dc-MV for submit@debbugs.gnu.org; Sat, 22 Jun 2019 14:46:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:32939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hel20-0001DU-Kl for submit@debbugs.gnu.org; Sat, 22 Jun 2019 14:46:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43245) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hel1z-0004zc-Ha for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:46:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hel1y-0003TQ-FR for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:46:31 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41942) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hel1y-0003Rb-8w for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 14:46:30 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CB99D161CE7 for ; Sat, 22 Jun 2019 11:46:27 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DyG3iqu6PuyL for ; Sat, 22 Jun 2019 11:46:26 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D3A87161CCD for ; Sat, 22 Jun 2019 11:46:26 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Xu51LHvLUWKf for ; Sat, 22 Jun 2019 11:46:26 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9BB6A161AD8 for ; Sat, 22 Jun 2019 11:46:26 -0700 (PDT) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:161047 Archived-At: Apparently Emacs master does not build in macOS when configured without a GUI, e.g., './configure --without-ns'. Someone with macOS experience should fix this, as Emacs should always be buildable without a GUI. Please see: https://lists.gnu.org/r/emacs-devel/2019-06/msg00847.html where Robert Pluim reports the following symptoms: In file included from nsterm.m:49: ./nsterm.h:1322:20: error: typedef redefinition with different types ('NSUInteger' (aka 'unsigned long') vs 'enum NSWindowStyleMask') typedef NSUInteger NSWindowStyleMask; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:35:32: note: previous definition is here typedef NS_OPTIONS(NSUInteger, NSWindowStyleMask) { ^ In file included from nsterm.m:49: ./nsterm.h:1326:6: error: enumeration previously declared with fixed underlying type enum NSWindowTabbingMode ^