From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2013 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14821@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137329847629287 (code B ref -1); Mon, 08 Jul 2013 15:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2013 15:47:56 +0000 Received: from localhost ([127.0.0.1]:39612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwDfP-0007cI-2i for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58057) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwDfM-0007by-Ni for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwDfF-0001Wt-Lw for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfF-0001Wn-GJ for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfD-00067B-2t for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwDfB-0001Vs-Iu for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:43 -0400 Received: from limerock03.mail.cornell.edu ([128.84.12.34]:44603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfB-0001V6-F7 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:41 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r68FlZ7q006364 for ; Mon, 8 Jul 2013 11:47:36 -0400 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r68FlYYl030293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 8 Jul 2013 11:47:35 -0400 Message-ID: <51DADF18.5050006@cornell.edu> Date: Mon, 08 Jul 2013 11:47:36 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Starting with bzr revision 113315, the build on 64-bit Cygwin fails as follows: gcc -std=gnu99 -Demacs -I. -I/c/src/emacs/64testt/src -I../lib -I/c/src/emacs/64testt/src/../lib -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -fopenmp -I/usr/include/ImageMagick -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O0 -ggdb \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexcw.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o sheap.o cygw32.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o gmalloc.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3 -latk-bridge-2.0 -lgdk-3 -latk-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lXfixes -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp -lpng15 -lm -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lSM -lICE -lX11 -lXrender -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lbz2 -lX11 -lxcb -lXau -lXdmcp -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lglib-2.0 -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp -lMagickWand -lMagickCore -ldbus-1 -lpthread -lrt -lXrandr -lXext -lXrender -lX11 -lxcb -lXau -lXdmcp -lXinerama -lXext -lX11 -lxcb -lXau -lXdmcp -lxml2 -lz -liconv -lm -lncurses -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgconf-2 -ldbus-1 -lpthread -lrt -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lfreetype -lz -lbz2 -lfontconfig -lexpat -lfreetype -lz -lbz2 -lgnutls -lnettle -lhogweed -lgmp -lintl -liconv -ltasn1 -lp11-kit -lz -lpthread -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre ../lib/libgnu.a(pipe2.o): In function `rpl_pipe2': /c/src/emacs/64testt/lib/pipe2.c:144: undefined reference to `setmode' I think the issue here is that pipe2.c shouldn't be compiled on Cygwin. Ken From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 12:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14821@debbugs.gnu.org Cc: Paul Eggert Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.137337320312831 (code B ref 14821); Tue, 09 Jul 2013 12:34:02 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 12:33:23 +0000 Received: from localhost ([127.0.0.1]:41715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwX6g-0003Kp-4P for submit@debbugs.gnu.org; Tue, 09 Jul 2013 08:33:23 -0400 Received: from limerock03.mail.cornell.edu ([128.84.12.34]:41834) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwX6d-0003KT-0w for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 08:33:20 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r69CX5L3002591; Tue, 9 Jul 2013 08:33:06 -0400 Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r69CX4T9008450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jul 2013 08:33:05 -0400 Message-ID: <51DC02FF.60003@cornell.edu> Date: Tue, 09 Jul 2013 08:33:03 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 References: <51DADF18.5050006@cornell.edu> In-Reply-To: <51DADF18.5050006@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 7/8/2013 11:47 AM, Ken Brown wrote: > Starting with bzr revision 113315, the build on 64-bit Cygwin fails as > follows: > > gcc -std=gnu99 -Demacs -I. -I/c/src/emacs/64testt/src -I../lib > -I/c/src/emacs/64testt/src/../lib -D_REENTRANT -I/usr/include/gtk-3.0 > -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 > -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ > -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 > -I/usr/include/libpng15 -DGDK_DISABLE_DEPRECATION_WARNINGS > -DGLIB_DISABLE_DEPRECATION_WARNINGS -I/usr/include/freetype2 > -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 > -I/usr/include/freetype2 -fopenmp -I/usr/include/ImageMagick > -I/usr/include/libxml2 -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -D_REENTRANT -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gconf/2 > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/freetype2 -MMD -MF deps/.d -MP > -I/usr/include/p11-kit-1 -D_REENTRANT -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -O0 -ggdb \ > -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o > xmenu.o window.o charset.o coding.o category.o ccl.o character.o > chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o > xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o > dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o > filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o > casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o > doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o > lread.o syntax.o unexcw.o bytecode.o process.o gnutls.o callproc.o > region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o > composite.o xml.o gfilenotify.o profiler.o sheap.o cygw32.o xfont.o > ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o > terminfo.o gmalloc.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg > -lpng -lz -lm -lgif -lXpm -lgtk-3 -latk-bridge-2.0 -lgdk-3 -latk-1.0 > -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage > -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lXfixes > -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lcairo -lpixman-1 -lfontconfig > -lexpat -lfreetype -lbz2 -lxcb-shm -lxcb-render -lXrender -lXext -lX11 > -lxcb -lXau -lXdmcp -lpng15 -lm -lz -lgmodule-2.0 -lgobject-2.0 -lffi > -lglib-2.0 -lintl -liconv -lpcre -lSM -lICE -lX11 -lXrender -lXft > -lXrender -lfontconfig -lexpat -lfreetype -lz -lbz2 -lX11 -lxcb -lXau > -lXdmcp -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 > -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 > -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lglib-2.0 > -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp -lMagickWand > -lMagickCore -ldbus-1 -lpthread -lrt -lXrandr -lXext > -lXrender -lX11 -lxcb -lXau -lXdmcp -lXinerama -lXext -lX11 -lxcb > -lXau -lXdmcp -lxml2 -lz -liconv -lm -lncurses -lgio-2.0 -lz > -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre > -lgconf-2 -ldbus-1 -lpthread -lrt -lgio-2.0 -lz -lgmodule-2.0 > -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgobject-2.0 > -lffi -lglib-2.0 -lintl -liconv -lpcre -lfreetype -lz -lbz2 > -lfontconfig -lexpat -lfreetype -lz -lbz2 -lgnutls -lnettle > -lhogweed -lgmp -lintl -liconv -ltasn1 -lp11-kit -lz -lpthread > -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl > -liconv -lpcre > ../lib/libgnu.a(pipe2.o): In function `rpl_pipe2': > /c/src/emacs/64testt/lib/pipe2.c:144: undefined reference to `setmode' > > > I think the issue here is that pipe2.c shouldn't be compiled on Cygwin. Sorry, that was a stupid guess, made without even looking at pipe2.c. But the point is that setmode shouldn't be used on Cygwin (and wasn't prior to revision 113315). The following patch allows the build to complete, but I don't know if it's the right fix: === modified file 'lib/pipe2.c' --- lib/pipe2.c 2013-07-07 18:00:14 +0000 +++ lib/pipe2.c 2013-07-09 12:20:47 +0000 @@ -138,7 +138,7 @@ goto fail; } -# if O_BINARY +# if O_BINARY && !defined (CYGWIN) if (flags & O_BINARY) { setmode (fd[1], O_BINARY); Ken From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14821@debbugs.gnu.org Cc: Paul Eggert Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.137337649923948 (code B ref 14821); Tue, 09 Jul 2013 13:29:02 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 13:28:19 +0000 Received: from localhost ([127.0.0.1]:41902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwXxq-0006E7-23 for submit@debbugs.gnu.org; Tue, 09 Jul 2013 09:28:18 -0400 Received: from limerock04.mail.cornell.edu ([128.84.12.60]:60163) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwXxk-0006DQ-Ta for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 09:28:13 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r69DS1BV001186; Tue, 9 Jul 2013 09:28:01 -0400 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r69DS03a019715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jul 2013 09:28:00 -0400 Message-ID: <51DC0FE3.305@cornell.edu> Date: Tue, 09 Jul 2013 09:28:03 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> In-Reply-To: <51DC02FF.60003@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 7/9/2013 8:33 AM, Ken Brown wrote: > But the point is that setmode shouldn't be used on Cygwin (and wasn't > prior to revision 113315). > > The following patch allows the build to complete, but I don't know if > it's the right fix: > > === modified file 'lib/pipe2.c' > --- lib/pipe2.c 2013-07-07 18:00:14 +0000 > +++ lib/pipe2.c 2013-07-09 12:20:47 +0000 > @@ -138,7 +138,7 @@ > goto fail; > } > > -# if O_BINARY > +# if O_BINARY && !defined (CYGWIN) > if (flags & O_BINARY) > { > setmode (fd[1], O_BINARY); On second thought, instead of the negative '!defined (CYGWIN)', the code should probably explicitly list the platforms on which setmode *should* be used. This is how it's done in other uses of setmode. Ken From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 14821@debbugs.gnu.org, eggert@cs.ucla.edu Reply-To: Eli Zaretskii Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.137338667025470 (code B ref 14821); Tue, 09 Jul 2013 16:18:01 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 16:17:50 +0000 Received: from localhost ([127.0.0.1]:42983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwabs-0006ch-Gd for submit@debbugs.gnu.org; Tue, 09 Jul 2013 12:17:49 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:47347) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwabp-0006cG-0G for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 12:17:46 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MPO00200FTCZC00@a-mtaout23.012.net.il> for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 19:17:38 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPO002U5FXDZA00@a-mtaout23.012.net.il>; Tue, 09 Jul 2013 19:17:38 +0300 (IDT) Date: Tue, 09 Jul 2013 19:17:26 +0300 From: Eli Zaretskii In-reply-to: <51DC02FF.60003@cornell.edu> X-012-Sender: halo1@inter.net.il Message-id: <837ggzwvvt.fsf@gnu.org> References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 09 Jul 2013 08:33:03 -0400 > From: Ken Brown > Cc: Paul Eggert > > But the point is that setmode shouldn't be used on Cygwin Why not? What if the volume in question was mounted in text mode? And even if it wasn't, wouldn't setmode be a no-op? From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 14821@debbugs.gnu.org, eggert@cs.ucla.edu Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.1373388420976 (code B ref 14821); Tue, 09 Jul 2013 16:47:02 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 16:47:00 +0000 Received: from localhost ([127.0.0.1]:43020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwb47-0000Fb-No for submit@debbugs.gnu.org; Tue, 09 Jul 2013 12:47:00 -0400 Received: from limerock04.mail.cornell.edu ([128.84.12.60]:46429) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwb43-0000FC-E4 for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 12:46:56 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r69Gkljr030938; Tue, 9 Jul 2013 12:46:48 -0400 Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r69Gkkfk011909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jul 2013 12:46:46 -0400 Message-ID: <51DC3E74.4060303@cornell.edu> Date: Tue, 09 Jul 2013 12:46:44 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> <837ggzwvvt.fsf@gnu.org> In-Reply-To: <837ggzwvvt.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 7/9/2013 12:17 PM, Eli Zaretskii wrote: >> Date: Tue, 09 Jul 2013 08:33:03 -0400 >> From: Ken Brown >> Cc: Paul Eggert >> >> But the point is that setmode shouldn't be used on Cygwin > > Why not? What if the volume in question was mounted in text mode? > And even if it wasn't, wouldn't setmode be a no-op? No, the symbol 'setmode' is no longer exported in 64bit Cygwin. That's what caused the build failure. And the code in pipe2.c that calls setmode should never actually get executed on Cygwin anyway because of this: int result = pipe2 (fd, flags); if (!(result < 0 && errno == ENOSYS)) { have_pipe2_really = 1; return result; Ken From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 14821@debbugs.gnu.org, eggert@cs.ucla.edu Reply-To: Eli Zaretskii Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.13733896524273 (code B ref 14821); Tue, 09 Jul 2013 17:08:01 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 17:07:32 +0000 Received: from localhost ([127.0.0.1]:43103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbNz-00016r-Og for submit@debbugs.gnu.org; Tue, 09 Jul 2013 13:07:32 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:59174) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbNx-00016Y-27 for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 13:07:30 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MPO00900I7N5500@a-mtaout22.012.net.il> for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 20:07:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPO008FPI87UC50@a-mtaout22.012.net.il>; Tue, 09 Jul 2013 20:07:20 +0300 (IDT) Date: Tue, 09 Jul 2013 20:07:08 +0300 From: Eli Zaretskii In-reply-to: <51DC3E74.4060303@cornell.edu> X-012-Sender: halo1@inter.net.il Message-id: <831u77wtkz.fsf@gnu.org> References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> <837ggzwvvt.fsf@gnu.org> <51DC3E74.4060303@cornell.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 09 Jul 2013 12:46:44 -0400 > From: Ken Brown > CC: 14821@debbugs.gnu.org, eggert@cs.ucla.edu > > the symbol 'setmode' is no longer exported in 64bit Cygwin. Are you saying that there's no way of reading files in text mode while removing CR characters from CR-LF pairs? > That's > what caused the build failure. And the code in pipe2.c that calls > setmode should never actually get executed on Cygwin anyway because of this: > > int result = pipe2 (fd, flags); > if (!(result < 0 && errno == ENOSYS)) > { > have_pipe2_really = 1; > return result; So define setmode away for Cygwin versions that don't have it. Not everyone runs the bleeding edge. From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 14821@debbugs.gnu.org, eggert@cs.ucla.edu Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.13733900295092 (code B ref 14821); Tue, 09 Jul 2013 17:14:01 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 17:13:49 +0000 Received: from localhost ([127.0.0.1]:43126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbU4-0001K4-Nf for submit@debbugs.gnu.org; Tue, 09 Jul 2013 13:13:48 -0400 Received: from limerock01.mail.cornell.edu ([128.84.12.99]:35466) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbU2-0001Jo-Ev for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 13:13:47 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r69HDTI6023707; Tue, 9 Jul 2013 13:13:32 -0400 Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r69HDSlF001497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jul 2013 13:13:28 -0400 Message-ID: <51DC44B6.7040507@cornell.edu> Date: Tue, 09 Jul 2013 13:13:26 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> <837ggzwvvt.fsf@gnu.org> <51DC3E74.4060303@cornell.edu> <831u77wtkz.fsf@gnu.org> In-Reply-To: <831u77wtkz.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 7/9/2013 1:07 PM, Eli Zaretskii wrote: >> Date: Tue, 09 Jul 2013 12:46:44 -0400 >> From: Ken Brown >> CC: 14821@debbugs.gnu.org, eggert@cs.ucla.edu >> >> the symbol 'setmode' is no longer exported in 64bit Cygwin. > > Are you saying that there's no way of reading files in text mode while > removing CR characters from CR-LF pairs? > >> That's >> what caused the build failure. And the code in pipe2.c that calls >> setmode should never actually get executed on Cygwin anyway because of this: >> >> int result = pipe2 (fd, flags); >> if (!(result < 0 && errno == ENOSYS)) >> { >> have_pipe2_really = 1; >> return result; > > So define setmode away for Cygwin versions that don't have it. Not > everyone runs the bleeding edge. The discussion is moot now. Paul just submitted a patch to Gnulib that should fix it in a better way than what I suggested. Ken From unknown Fri Sep 05 20:36:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 17:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 14821@debbugs.gnu.org, Eli Zaretskii Received: via spool by 14821-submit@debbugs.gnu.org id=B14821.13733909637321 (code B ref 14821); Tue, 09 Jul 2013 17:30:03 +0000 Received: (at 14821) by debbugs.gnu.org; 9 Jul 2013 17:29:23 +0000 Received: from localhost ([127.0.0.1]:43169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwbj8-0001u0-Qf for submit@debbugs.gnu.org; Tue, 09 Jul 2013 13:29:23 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:43920) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwbj6-0001tm-0G for 14821@debbugs.gnu.org; Tue, 09 Jul 2013 13:29:21 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 67D19A6005F; Tue, 9 Jul 2013 10:29:13 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vVvrBRuE2E+e; Tue, 9 Jul 2013 10:29:13 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id BE3F5A60022; Tue, 9 Jul 2013 10:29:12 -0700 (PDT) Message-ID: <51DC4868.6080903@cs.ucla.edu> Date: Tue, 09 Jul 2013 10:29:12 -0700 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> <837ggzwvvt.fsf@gnu.org> <51DC3E74.4060303@cornell.edu> <831u77wtkz.fsf@gnu.org> <51DC44B6.7040507@cornell.edu> In-Reply-To: <51DC44B6.7040507@cornell.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) On 07/09/13 10:13, Ken Brown wrote: > Paul just submitted a patch to Gnulib that should fix it in a better way than what I suggested. One problem was that I tried too hard to not use Gnulib in Emacs, so I mistakenly avoided Gnulib's binary-io module. There appears to be another issue, though -- a porting bug in Gnulib when using the accept4 or pipe2 modules on Cygwin. As Ken notes I have tried to fix that problem in Gnulib, and propagated the fix to Emacs while I was fixing the binary-io issue. Please try trunk bzr 113348 to see whether these two changes solve the problem. From unknown Fri Sep 05 20:36:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ken Brown Subject: bug#14821: closed (Re: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315) Message-ID: References: <51DC6A0B.6000908@cornell.edu> <51DADF18.5050006@cornell.edu> X-Gnu-PR-Message: they-closed 14821 X-Gnu-PR-Package: emacs Reply-To: 14821@debbugs.gnu.org Date: Tue, 09 Jul 2013 19:53:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1373399583-27388-1" This is a multi-part message in MIME format... ------------=_1373399583-27388-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14821@debbugs.gnu.org. --=20 14821: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14821 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1373399583-27388-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14821-done) by debbugs.gnu.org; 9 Jul 2013 19:52:55 +0000 Received: from localhost ([127.0.0.1]:43359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwdy3-00077H-2s for submit@debbugs.gnu.org; Tue, 09 Jul 2013 15:52:55 -0400 Received: from limerock03.mail.cornell.edu ([128.84.12.34]:56766) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uwdy0-000773-FW for 14821-done@debbugs.gnu.org; Tue, 09 Jul 2013 15:52:53 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r69JqfRe010868; Tue, 9 Jul 2013 15:52:45 -0400 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r69JqepK020244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jul 2013 15:52:41 -0400 Message-ID: <51DC6A0B.6000908@cornell.edu> Date: Tue, 09 Jul 2013 15:52:43 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 References: <51DADF18.5050006@cornell.edu> <51DC02FF.60003@cornell.edu> <837ggzwvvt.fsf@gnu.org> <51DC3E74.4060303@cornell.edu> <831u77wtkz.fsf@gnu.org> <51DC44B6.7040507@cornell.edu> <51DC4868.6080903@cs.ucla.edu> In-Reply-To: <51DC4868.6080903@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 14821-done Cc: Eli Zaretskii , 14821-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 7/9/2013 1:29 PM, Paul Eggert wrote: > On 07/09/13 10:13, Ken Brown wrote: >> Paul just submitted a patch to Gnulib that should fix it in a better way than what I suggested. > > One problem was that I tried too hard to not use Gnulib > in Emacs, so I mistakenly avoided Gnulib's binary-io module. > > There appears to be another issue, though -- a porting bug in Gnulib when > using the accept4 or pipe2 modules on Cygwin. As Ken notes I > have tried to fix that problem in Gnulib, and propagated the > fix to Emacs while I was fixing the binary-io issue. > > Please try trunk bzr 113348 to see whether these two changes > solve the problem. Yes, that fixes it. Thanks. For the record, the problem I reported was due to the fact that Cygwin defines setmode as a macro that expands to _setmode. (So I was wrong when I said that setmode shouldn't be used on Cygwin.) But this definition is in , which wasn't being #included. The problem showed up only in the 64-bit build because underscores are automatically prepended in the 32-bit build. I'm closing the bug. Ken ------------=_1373399583-27388-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Jul 2013 15:47:56 +0000 Received: from localhost ([127.0.0.1]:39612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwDfP-0007cI-2i for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58057) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwDfM-0007by-Ni for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwDfF-0001Wt-Lw for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfF-0001Wn-GJ for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:47:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfD-00067B-2t for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwDfB-0001Vs-Iu for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:43 -0400 Received: from limerock03.mail.cornell.edu ([128.84.12.34]:44603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwDfB-0001V6-F7 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 11:47:41 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r68FlZ7q006364 for ; Mon, 8 Jul 2013 11:47:36 -0400 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r68FlYYl030293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 8 Jul 2013 11:47:35 -0400 Message-ID: <51DADF18.5050006@cornell.edu> Date: Mon, 08 Jul 2013 11:47:36 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Build broken on 64-bit Cygwin starting with bzr revision 113315 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Starting with bzr revision 113315, the build on 64-bit Cygwin fails as follows: gcc -std=gnu99 -Demacs -I. -I/c/src/emacs/64testt/src -I../lib -I/c/src/emacs/64testt/src/../lib -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -fopenmp -I/usr/include/ImageMagick -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O0 -ggdb \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexcw.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o sheap.o cygw32.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o gmalloc.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3 -latk-bridge-2.0 -lgdk-3 -latk-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lXfixes -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp -lpng15 -lm -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lSM -lICE -lX11 -lXrender -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lbz2 -lX11 -lxcb -lXau -lXdmcp -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lglib-2.0 -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp -lMagickWand -lMagickCore -ldbus-1 -lpthread -lrt -lXrandr -lXext -lXrender -lX11 -lxcb -lXau -lXdmcp -lXinerama -lXext -lX11 -lxcb -lXau -lXdmcp -lxml2 -lz -liconv -lm -lncurses -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgconf-2 -ldbus-1 -lpthread -lrt -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lfreetype -lz -lbz2 -lfontconfig -lexpat -lfreetype -lz -lbz2 -lgnutls -lnettle -lhogweed -lgmp -lintl -liconv -ltasn1 -lp11-kit -lz -lpthread -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre ../lib/libgnu.a(pipe2.o): In function `rpl_pipe2': /c/src/emacs/64testt/lib/pipe2.c:144: undefined reference to `setmode' I think the issue here is that pipe2.c shouldn't be compiled on Cygwin. Ken ------------=_1373399583-27388-1--