From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Windows mingw64 and cygwin builds broken Date: Thu, 12 Nov 2015 22:12:09 +0000 Message-ID: <86y4e2rhom.fsf@gmail.com> References: <867flnrnhg.fsf@gmail.com> <83y4e3gdbb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1447366389 21335 80.91.229.3 (12 Nov 2015 22:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 22:13:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 23:12:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zx06z-0002JM-6D for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 23:12:57 +0100 Original-Received: from localhost ([::1]:49973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx06y-0001GV-Be for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 17:12:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx06j-0001GQ-LL for emacs-devel@gnu.org; Thu, 12 Nov 2015 17:12:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zx06g-0004Cp-Ee for emacs-devel@gnu.org; Thu, 12 Nov 2015 17:12:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx06g-0004Cj-80 for emacs-devel@gnu.org; Thu, 12 Nov 2015 17:12:38 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zx06c-0001ss-TF for emacs-devel@gnu.org; Thu, 12 Nov 2015 23:12:34 +0100 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Nov 2015 23:12:34 +0100 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Nov 2015 23:12:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (windows-nt) Cancel-Lock: sha1:gOuuWZ5yNh2eFF0p12BFdxd31J8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194293 Archived-At: On Thu 12 Nov 2015, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Thu, 12 Nov 2015 20:06:51 +0000 >> >> Changes in commit 9d43941569fc broke the Windows builds. > > Thanks, I tried to fix those problems in c1bc6e5. The cygwin w32 build needs an additional patch: diff --git a/src/w32fns.c b/src/w32fns.c index b71002f8bfc9..93b7152a34f8 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -9635,8 +9635,10 @@ This variable has effect only on Windows Vista and later. */); defsubr (&Sw32_window_exists_p); defsubr (&Sw32_battery_status); defsubr (&Sw32__menu_bar_in_use); +#ifndef CYGWIN defsubr (&Sw32_notification_notify); defsubr (&Sw32_notification_close); +#endif #ifdef WINDOWSNT defsubr (&Sfile_system_info); However, after applying the patch. temacs hits a problem: make[2]: Leaving directory '/cygdrive/c/emacs/git/emacs/master/obj-cygwin64-w32/lisp' ./temacs --batch --load loadup bootstrap /cygdrive/c/emacs/git/emacs/master/src/lread.c:3787: Emacs fatal error: assertion failed: INTEGERP (bucket) Fatal error 6: Aborted: paxctl -zex emacs.exe mv -f emacs.exe bootstrap-emacs.exe mv: cannot stat ‘emacs.exe’: No such file or directory Makefile:707: recipe for target 'bootstrap-emacs.exe' failed