From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vyP-0004iG-32 for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:36:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0vyK-0006ZN-2e for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:36:21 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]:34524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vyJ-0006Wb-Qa for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:36:15 -0500 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Nov 2015 11:36:11 -0700 Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 31BFF19D8026 for ; Mon, 23 Nov 2015 11:24:15 -0700 (MST) Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tANIa7Yo20316236 for ; Mon, 23 Nov 2015 11:36:08 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tANIa7rm032088 for ; Mon, 23 Nov 2015 11:36:07 -0700 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Roth References: In-Reply-To: Message-ID: <20151123183557.6284.25007@loki> Date: Mon, 23 Nov 2015 12:35:57 -0600 Subject: Re: [Qemu-devel] Build problem with qemu Makefile change List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steve Ellcey , qemu-devel@nongnu.org Quoting Steve Ellcey (2015-11-23 12:06:57) > My qemu build has been failing since this checkin by Michael Roth: > = > http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg03991.= html > = > which changed the top-level Makefile. Is anyone else seeing this? > = > I am building a qemu for MIPS on an x86 linux box with: > = > configure --prefix=3D/scratch/sellcey/repos/q/install-mips-mti-linux-gnu = --disable-tools --disable-system --disable-werror --target-list=3Dmips-linu= x-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user,mips64-lin= ux-user,mips64el-linux-user > = > make --jobs=3D3 all > make --jobs=3D3 install > = > The error message is: > = > install -d -m 0755 "/scratch/sellcey/repos/q/install-mips-mti-linux-gnu/b= in" > libtool --quiet --mode=3Dinstall install -c -m 0755 "/scratch/sellcey/re= pos/q/install-mips-mti-linux-gnu/bin" > libtool: install: you must specify a destination > libtool: install: Try `libtool --help --mode=3Dinstall' for more informat= ion. > make: *** [install] Error 1 > Error: Make command failed, stopping build. > = > = > If I remove the Makefile patch then my build works and the libtool install > line looks like: > = > install -d -m 0755 "/scratch/sellcey/repos/q/install-mips-mti-linux-gnu/b= in" > libtool --quiet --mode=3Dinstall install -c -m 0755 qemu-ga "/scratch/se= llcey/repos/q2/install-mips-mti-linux-gnu/bin" > = > I think the failure may be related to my use of '--disable-tools' or > '--disable-system' in the configure and how this interacts with the > Makefile change. Looks like --disable-tools results in qemu-ga being the only entry in $TOOLS. With the filter added in my patch, this results in install-prog getting called with an empty list, which generates the error. So now we need an extra check to avoid calling install-prog with an empty list. I'll post a patch today. Thanks for the catch. > = > Steve Ellcey > sellcey@imgtec.com >=20