bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bison 3.1/test suite] all syncline tests failing Windows (illegal c


From: Jannick
Subject: RE: [bison 3.1/test suite] all syncline tests failing Windows (illegal characters in test file names)
Date: Wed, 31 Oct 2018 19:32:18 +0100

Hi Akim,

On Tue, 30 Oct 2018 20:08:43 +0100, Akim Demaille wrote:

> > On Sun, 28 Oct 2018 08:40:50 +0100, Akim Demaille wrote:
> >>> Was too fast hitting send: I had to adjust the gettext version to
> >>> 0.19 (from
> >> 0.18, in configure.ac) to get the ball rolling.
> >>
> >> I’m a bit lost.
> >>
> >> You are not expected to have to change anything, why did you have to do
> it?
> >
> > Make complains if the gettext version in configure.ac (0.18) does not match
> the system gettext version (which is 0.19 here):
> 
> What commands did you run after git clone?  It should be ./bootstrap.

Yes, with --no-git and a local gnulib directory. But for now let's focus on 
bison 3.2.x. I'll restart the bootstrapping stuff later (which is related to 
the xsl patch series requiring new gnulib modules)

> I need logs.

... such that I can send config.h and decent logs. I'll come back soon on this.

> >>>> +++ /c/...../bison/bison-3.1.91.45-7175/bison-3.1.91.45-
> >>>> 7175/tests/testsuite.dir/at-groups/1/stderr      2018-10-27
> >> 21:52:40.160216700
> >>>> +0200
> >>>> @@ -1,3 +1,3 @@
> >>>> -bison: option '--skeleton' requires an argument
> >>>> +bison: option requires an argument — skeleton
> >>
> >> This is unexpected.  If you run bison --skeleton, you should get the
> >> first message, not the second.
> >
> > Here is what I manually get: the first version. Surprise?
> >
> > $ bison --skeleton
> > bison: option requires an argument -- skeleton Try ‘bison --help' for
> > more information.
> 
> Yes, surprise.
> 
> Just in case, please also run it as:
> 
> LC_ALL=C ./tests/bison --skeleton

Compilation of bison-3.2.6-f8cad (now with GCC 8.2.0, before it was GCC 7.3.0):
 
$ sh --version
GNU bash, Version 4.4.23(1)-release (x86_64-pc-msys)

$ gcc --version
gcc.exe (Rev3, Built by MSYS2 project) 8.2.0

$ gcc -dumpmachine
x86_64-w64-mingw32

../configure && make runs through in a subdir with the following warnings:

../lib/spawn-pipe.c: In function 'create_pipe':
../lib/spawn-pipe.c:198:46: warning: passing argument 3 of 'spawnvpe' from 
incompatible pointer type [-Wincompatible-pointer-types]
       child = spawnvpe (P_NOWAIT, prog_path, (const char **) prog_argv,
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
                 from ./lib/unistd.h:40,
                 from ../lib/spawn-pipe.h:23,
                 from ../lib/spawn-pipe.c:27:
C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:67: note: expected 
'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const 
_ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                                                       ~~~~~~~~~~~~^~~~~~~~~~
../lib/spawn-pipe.c:199:25: warning: passing argument 4 of 'spawnvpe' from 
incompatible pointer type [-Wincompatible-pointer-types]
                         (const char **) environ);
                         ^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
                 from ./lib/unistd.h:40,
                 from ../lib/spawn-pipe.h:23,
                 from ../lib/spawn-pipe.c:27:
C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:90: note: expected 
'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const 
_ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                                                                              
~~~~~~~~~~~~^~~~~~
../lib/spawn-pipe.c:206:53: warning: passing argument 3 of 'spawnvpe' from 
incompatible pointer type [-Wincompatible-pointer-types]
           child = spawnvpe (P_NOWAIT, prog_argv[0], (const char **) prog_argv,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
                 from ./lib/unistd.h:40,
                 from ../lib/spawn-pipe.h:23,
                 from ../lib/spawn-pipe.c:27:
C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:67: note: expected 
'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const 
_ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                                                       ~~~~~~~~~~~~^~~~~~~~~~
../lib/spawn-pipe.c:207:29: warning: passing argument 4 of 'spawnvpe' from 
incompatible pointer type [-Wincompatible-pointer-types]
                             (const char **) environ);
                             ^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
                 from ./lib/unistd.h:40,
                 from ../lib/spawn-pipe.h:23,
                 from ../lib/spawn-pipe.c:27:
C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:90: note: expected 
'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const 
_ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                                                                              
~~~~~~~~~~~~^~~~~~

Still the weird skeleton message:

$ cd src && bison --skeleton
bison: option requires an argument -- skeleton
„bison --help“ gibt weitere Informationen.

Note: This is mixed language. I have various shells on my machine (cygwin, 
msys2, mingw64, mingw32, ...). Could it be that weirdly locale information from 
somewhere else is pulled? Here the pure English version. 

$ LC_ALL=C bison --skeleton
bison: option requires an argument -- skeleton
Try 'bison --help' for more information.

Thanks,
J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]