delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/02/01:26:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F5067E0.5000203@cs.cmu.edu>
Date: Thu, 01 Mar 2012 22:25:36 -0800
From: Paul Allen Newell <pnewell AT cs DOT cmu DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: pnewell AT cs DOT cmu DOT edu
Subject: [NEARLY SOLVED:] Re: make producing basename error that can't be captured by "make &> make.out"
References: <4F5035D0 DOT 9070502 AT cs DOT cmu DOT edu> <4F506393 DOT 1030502 AT gmail DOT com>
In-Reply-To: <4F506393.1030502@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 3/1/2012 10:07 PM, Dave Korn wrote:
> On 02/03/2012 02:52, Paul Allen Newell wrote:
>> [ weird problem symptoms ]
>    You probably have a script or shell alias getting in between you and the
> real make.  Please run "type make ; which -a make" in a bash shell and show us
> the results.
>
>      cheers,
>        DaveK
>
Dave:

Thanks for the reply (smiled on the "weird problem symptoms" summation).

The result is:
+++
type make; which -a make
make is aliased to `settitle Making $(basename $PWD) && make "$@"'
/usr/bin/make
/usr/bin/make
+++

I groaned when I saw this as it is obvious the $(PWD) is feeding 
basename and that's the "make" error. Thanks.

However, I am still trying to understand why this potentially incorrect 
alias is creating text output to the screen which can't be redirected as 
it isn't stdout or stderr ... or "3/4/5" as someone suggested I test.

Paul

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019