From patchwork Sun Sep 12 17:47:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Blue Swirl X-Patchwork-Id: 64553 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 54C101007D2 for ; Mon, 13 Sep 2010 03:49:39 +1000 (EST) Received: from localhost ([127.0.0.1]:55893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuqgK-0002Ks-JR for incoming@patchwork.ozlabs.org; Sun, 12 Sep 2010 13:49:36 -0400 Received: from [140.186.70.92] (port=58362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuqeT-0001Qo-OD for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuqeM-0008MO-6Q for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:41 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:42019) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuqeM-0008M6-3z for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:34 -0400 Received: by qwk4 with SMTP id 4so646880qwk.4 for ; Sun, 12 Sep 2010 10:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dcEb65pG5StAv2+nI21O0DaZA97cCf2Wdv0q/LVx+Eg=; b=SzJbEjEyVysgYjZPSpxXNMIzEXp8O/J8U6uPz2zJqmRtscR1rDIf2YcWtItXdiQeTo Zjg2Ij11dgBVINjjNdoSC27n7voa5gsk4MVaXxucnU/0V0gW5bCqu+roBih7vic9Vjyf O3KaR5PQTf8nonndgO/r68llAwoilnG7jHZ8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SG6nZ92kx0F7g40Obtk1RhTDdD48oh2sJLSLDoRH/g/Ol3QnKZpH6Bci2+FUjHhhrZ DuT9reBNAK9AH3MnUfkz0ODxgXNyA5QeNUEcQrEj4XuAHN4HetlpM0TUYqthiNmwuqdJ zNysjeXwcnluMwGaBdWkEZtaNgNRXjqv/YGMU= Received: by 10.229.215.8 with SMTP id hc8mr2509667qcb.23.1284313653193; Sun, 12 Sep 2010 10:47:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.240.135 with HTTP; Sun, 12 Sep 2010 10:47:13 -0700 (PDT) In-Reply-To: <1C12421B-DC91-471B-A285-7501CA61CE3E@web.de> References: <20100912112636.2648.27149.malonedeb@potassium.ubuntu.com> <1C12421B-DC91-471B-A285-7501CA61CE3E@web.de> From: Blue Swirl Date: Sun, 12 Sep 2010 17:47:13 +0000 Message-ID: Subject: Re: [Qemu-devel] [Bug 636315] [NEW] configure and build errors on Solaris 10 due to /bin/sh usage To: =?UTF-8?Q?Andreas_F=C3=A4rber?= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Bug 636315 <636315@bugs.launchpad.net>, qemu-devel@nongnu.org X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org On Sun, Sep 12, 2010 at 5:35 PM, Andreas Färber wrote: > Am 12.09.2010 um 19:22 schrieb Blue Swirl: > >> On Sun, Sep 12, 2010 at 11:26 AM, Andreas Färber >> <636315@bugs.launchpad.net> wrote: >>> >>> Error: invalid trace backend >>> Please choose a supported trace backend. >> >> What is the output of "sh ./tracetool --nop --check-backend"? > > ./tracetool: syntax error at line 51: `$' unexpected Does this patch fix the problem? diff --git a/tracetool b/tracetool index 534cc70..c7582bf 100755 --- a/tracetool +++ b/tracetool @@ -48,7 +48,8 @@ get_argnames() { local nfields field name nfields=0 - for field in $(get_args "$1"); do + args=get_args "$1" + for field in "$args"; do nfields=$((nfields + 1)) # Drop pointer star