public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Kenigsberg <danken-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ kvm-Bugs-1840186 ] KVM "configure" script	doesn't checks for "unifdef"
Date: Wed, 28 Nov 2007 14:44:15 +0200	[thread overview]
Message-ID: <20071128124415.GA3729@karma.qumranet.com> (raw)
In-Reply-To: <E1IxKkm-0004sY-9L-fsxqSYOXIJjBmE48cDdWCqQD96bmaF075NbjCUgZEJk@public.gmane.org>

On Wed, Nov 28, 2007 at 03:06:52AM -0800, SourceForge.net wrote:
> Bugs item #1840186, was opened at 2007-11-28 13:06
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1840186&group_id=180599
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Technologov (technologov)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: KVM "configure" script doesn't checks for "unifdef"
> 
> Initial Comment:
> Without "unifdef" package installed, KVM-54 refuses to compile from GIT on Fedora 7. Compilation works fine from .tar.gz.
> 
> It is used by "make sync" command, but I believe that a user deserves to get a human-readable error.
> 
> Either "make" or "configure" command must be fixed to handle such situations.
> 

How about adding

diff --git a/kernel/Makefile b/kernel/Makefile
index 22326b2..90930b2 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -31,6 +31,7 @@ sync:
        rsync "$(LINUX)"/include/asm-x86/kvm_para.h include/asm
        rsync "$(LINUX)"/include/asm-x86/kvm.h include/asm
 
+       type unifdef >/dev/null 2>&1 || echo sync requires unifdef && false
        $(call unifdef, include/linux/kvm.h)
        $(call unifdef, include/linux/kvm_para.h)
        $(call unifdef, include/asm/kvm.h)

?

P.S., why does a failed $(call) does not stop make as any other failed
step? Is it a feature of 'make'?


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

  parent reply	other threads:[~2007-11-28 12:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 11:06 [ kvm-Bugs-1840186 ] KVM "configure" script doesn't checks for "unifdef" SourceForge.net
     [not found] ` <E1IxKkm-0004sY-9L-fsxqSYOXIJjBmE48cDdWCqQD96bmaF075NbjCUgZEJk@public.gmane.org>
2007-11-28 12:44   ` Dan Kenigsberg [this message]
     [not found]     ` <20071128124415.GA3729-iWbx9bcAnq+Hk9JtIoIkgNBPR1lH4CV8@public.gmane.org>
2007-11-30  8:18       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071128124415.GA3729@karma.qumranet.com \
    --to=danken-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox