Date: Sun, 7 Aug 2005 00:05:17 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 597 ************************************************** Saturday 06 August 2005 Number 597 ************************************************** Subjects for today 1 Re: make 3.81 Beta 3 : Steven Levine" 2 Fwd: Re: make 3.81 Beta 3 : Dave Yeo" 3 Re: Fwd: Re: make 3.81 Beta 3 : Steven Levine" **= Email 1 ==========================** Date: Fri, 05 Aug 2005 17:25:05 -0700 From: "Steven Levine" Subject: Re: make 3.81 Beta 3 In <42ECD4D1.503D at nexgo.de>, on 07/31/05 at 03:40 PM, Andreas Buening said: >You'll find a fixed binary release at >http://unix.os2site.com/sw/pub/binary/make/make-3.81beta3-r2-bin.zip and >the sources at >http://unix.os2site.com/sw/pub/source/make/make-3.81beta3-r2.zip There seems to be a behaviour change compared to traditional makes. Given the makefile all: at echo hey\ where is the space this build outputs heywhere is the space while other makes output hey where is the space Was this change to backslash-newline logic intended? It breaks some makefiles. Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.67 #10183 Warp4.something/14.100c_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 2 ==========================** Date: Fri, 05 Aug 2005 18:08:32 -0800 From: "Dave Yeo" Subject: Fwd: Re: make 3.81 Beta 3 ==================BEGIN FORWARDED MESSAGE================== >Return-Path: >Delivered-To: dave_yeo at ncoldns.com >Received: from psmtp.com (exprod6mx150.postini.com [64.18.1.130]) > by generation.lgisp.net (Postfix) with SMTP id 51109B6E22 > for ; Thu, 4 Aug 2005 14:10:29 -0700 (PDT) >Received: from source ([151.189.21.47]) (using TLSv1) by exprod6mx150.postini.com ([64.18.5.10]) with SMTP; > Thu, 04 Aug 2005 17:10:27 EDT >Received: from mail-in-09-z2.arcor-online.net (mail-in-09-z2.arcor-online.net [151.189.8.21]) > by mail-in-07.arcor-online.net (Postfix) with ESMTP id 354F32DD7B > for ; Thu, 4 Aug 2005 23:10:27 +0200 (CEST) >Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) > by mail-in-09-z2.arcor-online.net (Postfix) with ESMTP id 2812269E2E > for ; Thu, 4 Aug 2005 23:10:27 +0200 (CEST) >Received: from gareth (dialin-212-144-147-140.arcor-ip.net [212.144.147.140]) > by mail-in-01.arcor-online.net (Postfix) with SMTP id 3353120C6F > for ; Thu, 4 Aug 2005 23:10:23 +0200 (CEST) >Message-ID: <42F2841C.1632 at nexgo.de> >Date: Thu, 04 Aug 2005 23:09:48 +0200 >From: Andreas Buening >X-Mailer: Mozilla 2.02 [de] (OS/2; I) >MIME-Version: 1.0 >To: Dave Yeo >Subject: Re: make 3.81 Beta 3 >References: <20050803004806.4A5B5B732D at generation.lgisp.net> >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit >X-UIDL: ^Ii"!!0-!!]aT"!:VC!! > Dave Yeo wrote: > Hi Andreas, Mozilla still fails to build with make-3.81beta3-r2. Seems > to be a problem with line continuations (\) not being converted to a > space > make.exe[5]: Leaving directory > `I:/mozilla/obj-i386-pc-os2-emx/extensions/p3p/src' > I:/PERL/bin/5.8.0/perl.exe -II:/mozilla/config > I:/mozilla/config/preprocessor.pl > -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ > -DHAS_TMPL_RETENTION\ > I:/mozilla/extensions/p3p/resources/content/p3p.xsl.in > > p3p200010.xsl > I:/mozilla/config/preprocessor.pl: invalid argument to -D: > HAS_TMPL_RETENTIONI:/mozilla/extensions/p3p/resources/content/p3p.xsl.in > > make.exe[4]: *** [p3p200010.xsl] Error 255 That's supposed to be a feature, not a bug: -------------------------------- A shell command can be split into multiple lines of text by placing a backslash before each newline. Such a sequence of lines is provided to the shell as a single command script. The backslash and newline are preserved in the shell command. If the first character on the line after a backslash-newline is a tab, the tab will _not_ be included in the shell command. So, this makefile: all : at echo no\ space at echo no\ space consists of two separate shell commands where the output is: nospace nospace -------------------------------- According to the ChangeLog entry, the old behaviour was fixed 6 weeks ago. Took a long time to find out. :-( Bye, Andreas ===================END FORWARDED MESSAGE=================== **= Email 3 ==========================** Date: Fri, 05 Aug 2005 19:01:11 -0700 From: "Steven Levine" Subject: Re: Fwd: Re: make 3.81 Beta 3 In <20050806010845.48A03B6B66 at generation.lgisp.net>, on 08/05/05 at 06:08 PM, "Dave Yeo" said: > A shell command can be split into multiple lines of text by placing a >backslash before each newline. Such a sequence of lines is provided to >the shell as a single command script. The backslash and newline are >preserved in the shell command. If the first character on the line after >a backslash-newline is a tab, the tab will _not_ be included in the shell >command. So, this makefile: While this is not a bad idea, it is going to break a lot of existing makefiles. I've seen any number of makefiles that omit the space before the backslash and start the next line in column 1. Also, note that IBM's nmake documents that backslash-newline converts to to a single blank. There's also the issue that many OS/2 shells will not take kindly to newlines in the passed commands. >According to the ChangeLog entry, the old behaviour was fixed 6 weeks >ago. Took a long time to find out. :-( I'd rather say the existing behavior was modified. Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.67 #10183 Warp4.something/14.100c_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ----------------------------------------------------------------------