GNU bug report logs -
#18383
Build failure
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18383 in the body.
You can then email your comments to 18383 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18383
; Package
emacs
.
(Mon, 01 Sep 2014 19:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Angelo Graziosi <angelo.graziosi <at> alice.it>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 01 Sep 2014 19:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 <xyz <at> xyz>
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18383
; Package
emacs
.
(Mon, 01 Sep 2014 20:16:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
On Mon 01 Sep 2014, Angelo Graziosi wrote:
> 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
>
It looks like a typo in r117801. This fixed the Mingw64 build for me:
=== modified file 'src/fileio.c'
--- src/fileio.c 2014-09-01 16:05:43 +0000
+++ src/fileio.c 2014-09-01 20:10:44 +0000
@@ -1342,7 +1342,7 @@
memcpy (adir, SSDATA (tem), newdirlen + 1);
}
else
- newdirlen = strlen (aidr);
+ newdirlen = strlen (adir);
newdir = adir;
}
HTH,
AndyM
bug closed, send any further explanations to
18383 <at> debbugs.gnu.org and Angelo Graziosi <angelo.graziosi <at> alice.it>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 02 Sep 2014 06:52:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 30 Sep 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.