bugmake - Bugs: bug #14129, Regression tests variables/SHELL...

 
 

bug #14129: Regression tests variables/SHELL fail to run (Cygwin)

Submitted by:  Steve James <spjames>
Submitted on:  Mon 15 Aug 2005 01:28:53 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: MS Windows
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 25 Aug 2005 04:41:05 AM UTC, comment #3:

OK, I applied this change. Thanks for testing this!

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 15 Aug 2005 01:39:23 PM UTC, comment #2:

The attached patch replaces the leading slash with '/./' instead. This still has the desired effect but doesn't cause Cygwin to see UNC-like paths.

Steve James <spjames>
Mon 15 Aug 2005 01:35:34 PM UTC, comment #1:

The problem is that this script is using a leading slash on the value of SHELL in order to refer to the shell, but with a different string. If, for example, SHELL=/bin/sh the script uses //bin/sh to mean the same shell. In doing this it can track make's use of its built-in value versus the modified value, all without breaking make's use of the shell.

Unfortunately the double slash has a special meaning to Cygwin and 'bin' is searched as a machine name.

Patch follows...

Steve James <spjames>
Mon 15 Aug 2005 01:28:53 PM UTC, original submission:

This is with the 3.81beta3 baseline on contemporary Cygwin

The relevant excerpt from 'make check' output:
variables/SHELL ...
Error running ../make (expected 0; got 512): ../make -f work/variables/SHELL.orig.mk.1
Error running ../make (expected 0; got 512): ../make -f work/variables/SHELL.orig.mk.2
Error running ../make (expected 0; got 512): ../make -f work/variables/SHELL.orig.mk.3
Error running ../make (expected 0; got 512): ../make -f work/variables/SHELL.orig.mk.4

Steve James <spjames>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #3362:  SHELL.patch added by spjames (2KiB - text/x-diff - Patch to replace /$mshell with /./$mshell)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:17:26 AM UTCpsmithFixed Release4.0=>3.81
Thu 25 Aug 2005 04:41:05 AM UTCpsmithStatusNone=>Fixed
  Assigned toNone=>psmith
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.0
Mon 15 Aug 2005 01:39:23 PM UTCspjamesAttached File-=>Added SHELL.patch, #2823
Mon 15 Aug 2005 01:28:53 PM UTCspjamesCarbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1