From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zcrcw-0002O3-I7 for qemu-devel@nongnu.org; Fri, 18 Sep 2015 05:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zcrcs-0002Cs-TR for qemu-devel@nongnu.org; Fri, 18 Sep 2015 05:06:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zcrcs-0002Ch-NX for qemu-devel@nongnu.org; Fri, 18 Sep 2015 05:06:38 -0400 Date: Fri, 18 Sep 2015 10:06:34 +0100 From: "Daniel P. Berrange" Message-ID: <20150918090634.GC16906@redhat.com> References: <47bb75f9-c831-4898-a4bc-ff6c720708ae@BAMAIL02.ba.imgtec.org> <20150918082402.GA16906@redhat.com> <55FBD10B.4090304@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <55FBD10B.4090304@imgtec.com> Subject: Re: [Qemu-devel] MIPS qemu build failure Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leon Alrae Cc: Peter Maydell , Steve Ellcey , QEMU Developers On Fri, Sep 18, 2015 at 09:53:31AM +0100, Leon Alrae wrote: > On 18/09/2015 09:24, Daniel P. Berrange wrote: > > On Thu, Sep 17, 2015 at 07:38:53PM +0100, Peter Maydell wrote: > >> On 17 September 2015 at 19:21, Steve Ellcey wrote: > >>> > >>> Following up to my own email. Apparently the reason I get this error is > >>> that I am building with "--disable-tools --disable-system". I don't need > >>> the tools and I don't have pixman on my build system so if I don't use > >>> "--disable-tools --disable-system" I get an error about not having pixman > >>> installed. > >> > >> We ship pixman as a git submodule so that you don't have to have > >> a system pixman, though the configure options you're using should work. > >> > >>> When I do use "--disable-tools --disable-system" on the configure line I get: > >>> > >>> make[1]: *** No rule to make target `../qom/object.o', needed by `qemu-mips'. Stop. > >>> make: *** [subdir-mips-linux-user] Error 2 > >>> Error: Make command failed, stopping build. > >> > >> Daniel, this sounds like more fallout from your recent changes? > > > > I've just tried './configure --enable-tools --disable-system && make' and > > got a successful build, including the qemu-mips binary, so I wonder if > > there's some stale build artifacts, or other configure CLI args > > Note that Steve used --disable-tools, not enable. I just tried and it fails > also for me: Opps, when I tested, I *did* in fact use --disable-tools - just my email here was wrong. > $ ../qemu/configure --disable-tools --disable-system && make > (...) > make[1]: *** No rule to make target `../qom/object.o', needed by `qemu-aarch64'. Stop. > make: *** [subdir-aarch64-linux-user] Error 2 Ahh, this is useful. You have your build directory *outside* the QEMU source tree, eg $GIT/../build, whereas I had been testing with $GIT/build and an non-VPATH build. I can in fact reproduce if building completely outside the GIT tree like you show. I'll look at producing a fix shortly... Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|