From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#18383: Build failure Date: Mon, 01 Sep 2014 21:20:08 +0200 Message-ID: <5404C6E8.1070304@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409599297 30598 80.91.229.3 (1 Sep 2014 19:21:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2014 19:21:37 +0000 (UTC) Cc: Dmitry Antipov To: 18383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 21:21:30 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XOXAM-00073b-AO for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 21:21:26 +0200 Original-Received: from localhost ([::1]:33643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOXAL-0001aX-TW for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 15:21:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOXA9-0001SR-1w for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:21:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOX9z-00023L-7B for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:21:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOX9y-00023H-W5 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XOX9y-0003PT-CC for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Sep 2014 19:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140959925413081 (code B ref -1); Mon, 01 Sep 2014 19:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2014 19:20:54 +0000 Original-Received: from localhost ([127.0.0.1]:55890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOX9p-0003Ov-MX for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:20:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43242) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOX9n-0003Oi-B1 for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:20:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOX9X-00022J-Pu for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:20:45 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOX9X-00022D-Dq for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOX9P-0001Rt-Hk for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:20:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOX9I-0001zV-1J for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:20:27 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:45592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOX9H-0001zG-N8 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:20:19 -0400 Original-Received: from [192.168.1.100] (79.2.26.156) by smtp204.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 52E53D4F2586A533; Mon, 1 Sep 2014 21:20:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92935 Archived-At: Current trun, rev. 117801, fails to build (I tried on MSYS2-MinGW64) with this compiler error: gcc -std=gnu99 -c -mtune=generic -DUSE_CRT_DLL=1 -I /tmp/emacs/nt/inc -Demacs -I. -I. -I../lib -I../lib -mtune=generic -IC:/msys64/mingw64/include/librsvg-2.0 -IC:/msys64/mingw64/include/gdk-pixbuf-2.0 -pthread -IC:/msys64/mingw64/include/cairo -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys64/mingw64/lib/glib-2.0/include -mms-bitfields -IC:/msys64/mingw64/include/pixman-1 -I/mingw64/include/libpng16 -I/mingw64/include/harfbuzz -IC:/msys64/mingw64/include -I/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16 -IC:/msys64/mingw64/include/libxml2 -IC:/msys64/mingw64/include/dbus-1.0 -IC:/msys64/mingw64/lib/dbus-1.0/include -MMD -MF deps/fileio.d -MP -IC:/msys64/mingw64/include/p11-kit-1 -IC:/msys64/mingw64/include -I/mingw64/include/noX -Ofast -g0 -pipe fileio.c fileio.c: In function 'Fexpand_file_name': fileio.c:1345:26: error: 'aidr' undeclared (first use in this function) newdirlen = strlen (aidr); ^ fileio.c:1345:26: note: each undeclared identifier is reported only once for each function it appears in maybe this change was the origin of failure: 2014-09-01 Dmitry Antipov Avoid extra calls to strlen in filesystem I/O routines. * fileio.c (Fexpand_file_name): Avoid calls to strlen if the length of 'newdir' is known or may be precalculated. (file_accessible_directory_p): Prefer to pass Lisp_Object, not 'char *', and so use precalculated length. (Ffile_accessible_directory_p): [...] Ciao, Angelo.