unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Build failure of master [MSYS2/Windows]
@ 2018-08-06 14:10 Angelo Graziosi
  2018-08-06 15:29 ` Andy Moreton
  2018-08-06 15:32 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Angelo Graziosi @ 2018-08-06 14:10 UTC (permalink / raw)
  To: emacs-devel

As always I tried my monthly build but it fails. The simplest way to reproduce, from a MSYS2/MINGW64 shell

./autogen.sh
[...]
./configure
[...]
make
[...]
  AR       libgnu.a
make[1]: uscita dalla directory "/tmp/emacs-master/lib"
make -C lib-src all
make[1]: ingresso nella directory "/tmp/emacs-master/lib-src"
  CC       ntlib.o
  CCLD     etags.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../lib/libgnu.a(regex.o): in function `init_dfa':
C:\msys64\tmp\emacs-master\lib/regcomp.c:889: undefined reference to `nl_langinfo'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:369: etags.exe] Error 1
make[1]: uscita dalla directory "/tmp/emacs-master/lib-src"
make: *** [Makefile:405: lib-src] Error 2

If I try with a parallel build ( make -j2), I see also _a lot a lot_ of this messages


Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*/ at /usr/share/texinfo/Texinfo/Parser.pm line 5709.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*(\@(c|comment)((\@|\s+).*)?)?/ at /usr/share/texinfo/Texinfo/Parser.pm line 5714.


This is with master 9c022a488bd462b85895ef84313fe84c5bc2bb4d,

Spruce up some regex-emacs comments
* src/regex-emacs.c, src/regex-emacs.h: Update comments.


Notice that the same source (http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-master.tar.gz) builds fine on GNU/Linux and macOS, so the failure seems to concern only Windows.

BTW, GCC on MSYS2/MINGW64 is 

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
[...]
Thread model: posix
gcc version 8.2.0 (Rev1, Built by MSYS2 project)


Ciao,
 Angelo.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build failure of master [MSYS2/Windows]
  2018-08-06 14:10 Build failure of master [MSYS2/Windows] Angelo Graziosi
@ 2018-08-06 15:29 ` Andy Moreton
  2018-08-06 15:32 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Andy Moreton @ 2018-08-06 15:29 UTC (permalink / raw)
  To: emacs-devel

On Mon 06 Aug 2018, Angelo Graziosi wrote:

> As always I tried my monthly build but it fails. The simplest way to reproduce, from a MSYS2/MINGW64 shell
>
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../lib/libgnu.a(regex.o): in function `init_dfa':
> C:\msys64\tmp\emacs-master\lib/regcomp.c:889: undefined reference to `nl_langinfo'

Eli has already pushed a fix for this on the master branch - try to
build after pulling again.

> If I try with a parallel build ( make -j2), I see also _a lot a lot_ of this messages
>
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*/ at /usr/share/texinfo/Texinfo/Parser.pm line 5709.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*(\@(c|comment)((\@|\s+).*)?)?/ at /usr/share/texinfo/Texinfo/Parser.pm line 5714.

This is a bug in the TexInfo perl code. A new release of texinfo will
hopefully be forthcoming to fix it.

    AndyM




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build failure of master [MSYS2/Windows]
  2018-08-06 14:10 Build failure of master [MSYS2/Windows] Angelo Graziosi
  2018-08-06 15:29 ` Andy Moreton
@ 2018-08-06 15:32 ` Eli Zaretskii
  2018-08-06 21:40   ` Angelo Graziosi
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2018-08-06 15:32 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Mon, 6 Aug 2018 16:10:16 +0200 (CEST)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
> As always I tried my monthly build but it fails. The simplest way to reproduce, from a MSYS2/MINGW64 shell
> 
> ./autogen.sh
> [...]
> ./configure
> [...]
> make
> [...]
>   AR       libgnu.a
> make[1]: uscita dalla directory "/tmp/emacs-master/lib"
> make -C lib-src all
> make[1]: ingresso nella directory "/tmp/emacs-master/lib-src"
>   CC       ntlib.o
>   CCLD     etags.exe
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../lib/libgnu.a(regex.o): in function `init_dfa':
> C:\msys64\tmp\emacs-master\lib/regcomp.c:889: undefined reference to `nl_langinfo'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [Makefile:369: etags.exe] Error 1
> make[1]: uscita dalla directory "/tmp/emacs-master/lib-src"
> make: *** [Makefile:405: lib-src] Error 2

Should be fixed now, please try again.

> If I try with a parallel build ( make -j2), I see also _a lot a lot_ of this messages
> 
> 
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*/ at /usr/share/texinfo/Texinfo/Parser.pm line 5709.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*(\@(c|comment)((\@|\s+).*)?)?/ at /usr/share/texinfo/Texinfo/Parser.pm line 5714.

This is a problem with your Texinfo installation, see this report to
the Texinfo list:

  http://lists.gnu.org/archive/html/bug-texinfo/2018-06/msg00012.html




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build failure of master [MSYS2/Windows]
  2018-08-06 15:32 ` Eli Zaretskii
@ 2018-08-06 21:40   ` Angelo Graziosi
  0 siblings, 0 replies; 4+ messages in thread
From: Angelo Graziosi @ 2018-08-06 21:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel


> Il 6 agosto 2018 alle 17.32 Eli Zaretskii ha scritto:
> 
> Should be fixed now, please try again.

Yes, fixed.

Thanks,
 Angelo.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-06 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-06 14:10 Build failure of master [MSYS2/Windows] Angelo Graziosi
2018-08-06 15:29 ` Andy Moreton
2018-08-06 15:32 ` Eli Zaretskii
2018-08-06 21:40   ` Angelo Graziosi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).