Received: from eggs.gnu.org ([2001:4830:134:3::10]:44006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9tpA-0007MI-9l for qemu-devel@nongnu.org; Wed, 23 Jul 2014 06:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9tp3-0006re-EI for qemu-devel@nongnu.org; Wed, 23 Jul 2014 06:31:04 -0400 Received: from indium.canonical.com ([91.189.90.7]:49110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9tp3-0006rZ-8k for qemu-devel@nongnu.org; Wed, 23 Jul 2014 06:30:57 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1X9tp2-0001Az-Eg for ; Wed, 23 Jul 2014 10:30:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 62F642E80C1 for ; Wed, 23 Jul 2014 10:30:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 23 Jul 2014 10:21:16 -0000 From: Felix von Leitner Sender: bounces@canonical.com References: <20140723102116.9178.33943.malonedeb@gac.canonical.com> Message-Id: <20140723102116.9178.33943.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1347555] [NEW] qemu build failure, hxtool is a bash script, not a /bin/sh script Reply-To: Bug 1347555 <1347555@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: hxtool (part of the early build process) is a bash script. Running it with /bin/sh yields a syntax error on line 10: 10 STEXI*|ETEXI*|SQMP*|EQMP*) flag=3D$(($flag^1)) $(( expr )) is a bash extension, not part of /bin/sh. Note that replacing the sh in the first line in hxtool with /bin/bash does not help, because the script is run manually from the Makefile with sh: 154 $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") The fix is to change those lines to 154 $(call quiet-command,bash $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") (there are five or so). ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1347555 Title: qemu build failure, hxtool is a bash script, not a /bin/sh script Status in QEMU: New Bug description: hxtool (part of the early build process) is a bash script. Running it with /bin/sh yields a syntax error on line 10: 10 STEXI*|ETEXI*|SQMP*|EQMP*) flag=3D$(($flag^1)) $(( expr )) is a bash extension, not part of /bin/sh. Note that replacing the sh in the first line in hxtool with /bin/bash does not help, because the script is run manually from the Makefile with sh: 154 $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") The fix is to change those lines to 154 $(call quiet-command,bash $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") (there are five or so). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1347555/+subscriptions