GNU bug report logs -
#48303
28.0.50; Build of master fails on MSYS2 MINGW64 environment
Previous Next
Reported by: Yasuhiro Kimura <yasu <at> utahime.org>
Date: Sat, 8 May 2021 22:36:02 UTC
Severity: normal
Found in version 28.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48303 in the body.
You can then email your comments to 48303 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#48303
; Package
emacs
.
(Sat, 08 May 2021 22:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yasuhiro Kimura <yasu <at> utahime.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 08 May 2021 22:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Environment:
* 64bit Windows 20H2
* MSYS2 MINGW64 environment
** mingw-w64-x86_64-gcc 10.3.0-2
** mingw-w64-x86_64-giflib 5.2.1-3
** mingw-w64-x86_64-gnutls 3.7.0-2
** mingw-w64-x86_64-libjpeg-turbo 2.0.6-1
** mingw-w64-x86_64-libpng 1.6.37-4
** mingw-w64-x86_64-librsvg 2.50.3-1
** mingw-w64-x86_64-libtiff 4.2.0-3
** mingw-w64-x86_64-libxml2 2.9.10-8
** mingw-w64-x86_64-xpm-nox 4.2.0-5
** mingw-w64-x86_64-zlib 1.2.11-9
* bb8b8d717f of master
Build Steps:
1. ./autogen.sh
2. ./configure
3. make
Result:
CC w32reg.o
CC w32font.o
CC w32term.o
CC w32xfns.o
CC w32select.o
CC w32uniscribe.o
CC w32cygwinx.o
CC w32.o
w32.c: In function '_sys_read_ahead':
w32.c:8853:10: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
8853 | if (rc == sizeof (char))
| ~~~^~~~~~~~~~~~~~~~
CC w32console.o
CC w32heap.o
CC w32inevt.o
CC w32proc.o
CC w32image.o
In file included from w32image.c:32:
w32common.h:45:3: error: expected identifier before numeric constant
45 | OS_NT
| ^~~~~
make[1]: *** [Makefile:385: w32image.o] Error 1
make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src'
make: *** [Makefile:425: src] Error 2
(MINGW64)yasu <at> rolling[1071]%
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sun, 09 May 2021 08:02:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Yasuhiro Kimura <yasu <at> utahime.org>
:
bug acknowledged by developer.
(Sun, 09 May 2021 08:02:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 48303-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 09 May 2021 07:35:09 +0900 (JST)
> From: Yasuhiro Kimura <yasu <at> utahime.org>
>
> In file included from w32image.c:32:
> w32common.h:45:3: error: expected identifier before numeric constant
> 45 | OS_NT
> | ^~~~~
> make[1]: *** [Makefile:385: w32image.o] Error 1
> make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src'
> make: *** [Makefile:425: src] Error 2
That's because w32 API headers now invade on our enumeration. Fixed
on the emacs-27 branch, soon to be merged to master.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48303
; Package
emacs
.
(Sun, 09 May 2021 11:55:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 48303-done <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64 environment
Date: Sun, 09 May 2021 11:01:35 +0300
>> Date: Sun, 09 May 2021 07:35:09 +0900 (JST)
>> From: Yasuhiro Kimura <yasu <at> utahime.org>
>>
>> In file included from w32image.c:32:
>> w32common.h:45:3: error: expected identifier before numeric constant
>> 45 | OS_NT
>> | ^~~~~
>> make[1]: *** [Makefile:385: w32image.o] Error 1
>> make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src'
>> make: *** [Makefile:425: src] Error 2
>
> That's because w32 API headers now invade on our enumeration. Fixed
> on the emacs-27 branch, soon to be merged to master.
Thank for information. I cherry-picked 4c3abb3dd1 of emacs-27 to
af529f777c of master and confirmed build completes successfully. But
after cherry-picking one 'OS_9X' is still left at line 7658 of
src/w32term.c. Right now it is commented out with '#if 0 ... #endif'.
But to make sure it should also be changed to 'OS_SUBTYPE_9X'.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 07 Jun 2021 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.