Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-23 Thread Eli Zaretskii
> From: Adrian Muresan > CC: "psm...@gnu.org" , "make-w32@gnu.org" > Date: Thu, 23 Jun 2016 03:01:18 + > > why don't we use a website like stackoverflow or some other forum-based site > for these communications? Because we have this forum, which was created exactly for this kind of discus

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
Not sure if this is the appropriate avenue for this question: why don't we use a website like stackoverflow or some other forum-based site for these communications? Wouldn't it be easier for people to find stuff? Sent from my iPhone On Jun 22, 2016, at 10:41 PM, Eli Zaretskii wrote: >> Fro

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Paul Smith > Cc: Eli Zaretskii , "make-w32@gnu.org" > Date: Wed, 22 Jun 2016 16:54:35 -0400 > > On Wed, 2016-06-22 at 20:36 +, Adrian Muresan wrote: > > Does batch_mode_shell = 1 mean that it always uses the sh.exe instead > > of Windows.cmd? > > No.  It's clear that make is not usi

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 20:36 +, Adrian Muresan wrote: > Does batch_mode_shell = 1 mean that it always uses the sh.exe instead > of Windows.cmd? No.  It's clear that make is not using Windows command.com, because the script you're running is a POSIX shell script, not a command.com batch script.

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
Does batch_mode_shell = 1 mean that it always uses the sh.exe instead of Windows.cmd? That would make sense why it's now working. The limitation on cmd.exe is 8192 https://support.microsoft.com/en-us/kb/830473 But I have around 18k characters. Sent from my iPhone On Jun 22, 2016, at 3:57 PM,

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 19:47 +, Adrian Muresan wrote: > In config.h, I uncommented the line > /* #define BATCH_MODE_ONLY_SHELL 1 */ > > this affects job.c > >   static const char *sh_cmds_sh[] = >     { "cd", "eval", "exec", "exit", "login", "logout", "set", > "umask", "wait", >       "while",

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Adrian Muresan > CC: Eli Zaretskii , "make-w32@gnu.org" > Date: Wed, 22 Jun 2016 18:48:35 + > > I ran using GNU make 3.81 from two different sources: > > once using the binary form sourceforge > And > once using the binary from QNX. > > QNX gave no error and SourceForge gave an

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
I ran using GNU make 3.81 from two different sources: once using the binary form sourceforge And once using the binary from QNX. QNX gave no error and SourceForge gave an error (the same error as 4.2, 4.2.1 I built and the 4.0+ binary version Eli told me to get from SourceForge). Doesn't th

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 18:48 +, Adrian Muresan wrote: > I ran using GNU make 3.81 from two different sources: > > once using the binary form sourceforge  > And  > once using the binary from QNX.  > > QNX gave no error and SourceForge gave an error (the same error as > 4.2, 4.2.1 I built and th

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 17:57 +, Adrian Muresan wrote: > Should I submit a bug report to the GNU make site? As Eli's tests, and even your output, show, GNU make is invoking the command with the complete command line, so there's no issue with GNU make.  It's the command we're invoking which is so

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Adrian Muresan > CC: "make-w32@gnu.org" > Date: Wed, 22 Jun 2016 17:57:25 + > > Should I submit a bug report to the GNU make site? Bug report about what? The limitations of the MSYS port of Bash are not Make's responsibility. ___ Make-w3

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
Should I submit a bug report to the GNU make site? From: Eli Zaretskii Sent: Wednesday, June 22, 2016 1:55 PM To: Adrian Muresan Cc: make-w32@gnu.org Subject: Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line > From: Adrian Muresan > CC:

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
Hi Adrian; we try to avoid top-posting on mailing lists: instead of including the entire email you're replying to and then writing your response at the top, please try to include only the parts of the message that are relevant for your reply and intersperse your response appropriately. The complet

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
rdhmi>make deploy_marketProperties --debug=vjm --print-data-base > 381-QNX.err 2>&1 See 381-QNX.err From: Adrian Muresan Sent: Wednesday, June 22, 2016 1:01 PM To: Eli Zaretskii Cc: make-w32@gnu.org Subject: Re: GNU make 4.2 (and 4.2.1) failing

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Adrian Muresan > CC: "make-w32@gnu.org" > Date: Wed, 22 Jun 2016 17:44:33 + > > This is an interesting data-point. > > I used make 3.81 directly from SourceForge and it also failed with same error. > > C:\Users\mureadr\Desktop\A\HMI_FORGF\bld\armle-v7\release\fordhmi>"C:\GnuWin32\b

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Adrian Muresan > CC: "make-w32@gnu.org" > Date: Wed, 22 Jun 2016 17:01:22 + > > I downloaded > https://sourceforge.net/projects/ezwinports/files/make-4.2-without-guile-w32-bin.zip/download > > I ran the command > C:\Users\mureadr\Desktop\A\HMI_FORGF\bld\armle-v7\release\fordhmi>"C:

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Michael Stahl > Date: Wed, 22 Jun 2016 17:43:44 +0200 > > >> FWIW i've noticed that with make 4.0/4.1 built for Win32, invoking the > >> Cygwin bash shell as C:/cygwin/bin/sh.exe, the command lines are > >> silently truncated at ~8K characters - this did not happen when we used > >> GNU m

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Michael Stahl
On 22.06.2016 17:26, Eli Zaretskii wrote: >> From: Michael Stahl >> Date: Wed, 22 Jun 2016 13:58:41 +0200 >> >> On 22.06.2016 00:53, Adrian Muresan wrote: >>> On GNU make 3.81, it works fine. But on make 4.2 and 4.2.1, I get an error: >>> >>> cp: target `C' is not a directory >>> >>> The problem a

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Michael Stahl > Date: Wed, 22 Jun 2016 13:58:41 +0200 > > On 22.06.2016 00:53, Adrian Muresan wrote: > > On GNU make 3.81, it works fine. But on make 4.2 and 4.2.1, I get an error: > > > > cp: target `C' is not a directory > > > > The problem appears to be the length of the command. If

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Eli Zaretskii
> From: Adrian Muresan > Date: Tue, 21 Jun 2016 22:53:50 + > > For more complete info, go to here > > http://stackoverflow.com/questions/37932984/gnu-make-4-2-and-4-2-1-on-windows-bug That discussion is full of misinformation, so let's ignore it, OK? > I am making this target only > > dep

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Michael Stahl
On 22.06.2016 00:53, Adrian Muresan wrote: > On GNU make 3.81, it works fine. But on make 4.2 and 4.2.1, I get an error: > > cp: target `C' is not a directory > > The problem appears to be the length of the command. If I delete some > JSON files, it works fine. FWIW i've noticed that with make 4

GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-21 Thread Adrian Muresan
For more complete info, go to here http://stackoverflow.com/questions/37932984/gnu-make-4-2-and-4-2-1-on-windows-bug I am making this target only deploy_marketProperties: echo Copying application data... && $(MKDIR) "C:/Users/User1/Desktop/A/Proj/src/../lib/armle-v7/release/marketProperties"