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

 
 

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

Submitter:  Steve James <spjames>
Submitted:  Mon 15 Aug 2005 01:28:53 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  MS Windows
Fixed Release:  3.81 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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

Paul D. Smith <psmith>
Group administrator
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 Files:
   
   
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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-01 psmith Fixed Release4.0 3.81
2005-08-25 psmith StatusNone Fixed
    Assigned toNone psmith
    Open/ClosedOpen Closed
    Fixed ReleaseNone 4.0
2005-08-15 spjames Attached File- Added SHELL.patch, #2823
2005-08-15 spjames Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code