delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/12/20:46:49

X-Spam-Check-By: sourceware.org
Date: Wed, 12 Jul 2006 20:46:41 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: make (v. 3.81) fails -- "target pattern contains no `%'"
Message-ID: <20060713004641.GA13699@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1152749734 DOT 20632 DOT ezmlm AT cygwin DOT com> <20060713003204 DOT 94258 DOT qmail AT web54209 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20060713003204.94258.qmail@web54209.mail.yahoo.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Wed, Jul 12, 2006 at 05:32:04PM -0700, Jim Lawson wrote:
>> > Date: Wed, 12 Jul 2006 20:15:27 -0400
>> From: "Aslam Karachiwala" <akwala AT gmail DOT com>
>> To: cygwin AT cygwin DOT com
>> Subject: make (v. 3.81) fails -- "target pattern
>> contains no `%'"
>> 
>> cygcheck.out attached.
>> 
>>  The Makefiles were copied from Solaris 10, and make
>> worked fine prior
>> to the update yesterday (7/11/06), and it works
>> fine, again, after I
>> reverted back to make v. 3.80
>> 
>...
>> 
>>  The error -- target pattern contains no `%' --
>> occurs at a target
>> such as the following:
>> 
>> releaseproducts  :: $(RELEASEDIR)/$(BINIMAGE)
>
>I think you'll find that this is due to the dropping of support for
>Windows paths in the new (3.81) version of make.  I suspect
>$(RELEASEDIR) has a ':' in it somewhere.
>
>Try something like this:
>
>RELEASEDIR:=$(shell cygpath -u $(RELEASEDIR))

That is an inspired guess which never would have occurred to me.  I'll
bet you're right, though.  That may even become a FAQ at some point.

If this isn't the case then we'll (obviously?) need to see more of
the makefile than the one failing line.

cgf

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

- Raw text -


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