From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxYGs-0000rl-DV for qemu-devel@nongnu.org; Fri, 21 Oct 2016 07:45:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxYGn-0004Pd-Hm for qemu-devel@nongnu.org; Fri, 21 Oct 2016 07:45:58 -0400 Received: from indium.canonical.com ([91.189.90.7]:47313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxYGn-0004Ow-CH for qemu-devel@nongnu.org; Fri, 21 Oct 2016 07:45:53 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bxYGl-00085b-GW for ; Fri, 21 Oct 2016 11:45:51 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 75F9B2E80CD for ; Fri, 21 Oct 2016 11:45:51 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 21 Oct 2016 11:35:43 -0000 From: Thomas Huth <636315@bugs.launchpad.net> Reply-To: Bug 636315 <636315@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100912112636.2648.27149.malonedeb@potassium.ubuntu.com> Message-Id: <20161021113544.16469.34829.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 636315] Re: configure and build errors on Solaris 10 due to /bin/sh usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The shell-based tracetool has been replace in commit 650ab98d1d9551f0ca21 with a script that has been implemented in Python, so I think we can close this bug nowadays. ** Changed in: qemu Status: New =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/636315 Title: configure and build errors on Solaris 10 due to /bin/sh usage Status in QEMU: Fix Released Bug description: Running `LANG=3DC LC_ALL=3DC ./configure --prefix=3D... --install=3D/usr/ucb/install` on Solaris 10 amd64 results in the following errors: ./configure: bad substitution ./configure: !: not found ./configure: curl-config: not found ./configure: curl-config: not found Error: invalid trace backend Please choose a supported trace backend. = Unfortunately it doesn't print the line numbers of the errors. It must be= somewhere after the check for `install`. The first few can be resolved by running `bash ./configure ...` instead. The "check if trace backend exists" hardcodes `sh "$source_path/tracetool" ...` in configure. Replacing sh with bash makes it work. `gmake` complains "Makefile:331: no file name for -include", which is a f= ilter for *.d files. `create_config` gets the 'bad substitution' error as well. Replacing sh w= ith bash in rules.mak works. etc. To sum it up, a) there are shell script incompatibilities with Solaris 10's /bin/sh she= ll, and b) hardcoding 'sh' in configure or Makefiles seems like a bad idea. QEMU Git 73d7434279e3905164afd02360eebe4b43c7fa (ESP: fix ESP DMA access...) $ uname -a SunOS sonnengoettin 5.10 Generic_142901-03 i86pc i386 i86pc # No banner output for /bin/sh $ bash --version GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10) Copyright (C) 2004 Free Software Foundation, Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/636315/+subscriptions