From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuIhk-00049k-JS for qemu-devel@nongnu.org; Tue, 10 Jun 2014 05:51:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuIhf-0001nT-55 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 05:50:56 -0400 Received: from indium.canonical.com ([91.189.90.7]:49575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuIhe-0001nL-U4 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 05:50:51 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1WuIhe-0003xv-4a for ; Tue, 10 Jun 2014 09:50:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1DEA12E80BB for ; Tue, 10 Jun 2014 09:50:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Jun 2014 09:41:44 -0000 From: tal zilcer Sender: bounces@canonical.com References: <20140528125211.29732.51513.malonedeb@wampee.canonical.com> <20140604081913.GF21259@stefanha-thinkpad.redhat.com> <6D74E24018EBA548A6FC5B2CE98D10AB16DC2F@ezex10.ezchip.com> <20140609133801.GH19546@stefanha-thinkpad.redhat.com> Message-Id: <6D74E24018EBA548A6FC5B2CE98D10AB176312@ezex10.ezchip.com> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1324112] [NEW] qemu parallel building error on libcacard.la Reply-To: Bug 1324112 <1324112@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I didn=E2=80=99t mention it but im building qemu out of the source tree(run= ning the configure in a different directory). I tried to find the missing dependency but no luck. The build error keeps happening Here is the end of the log(please note that= I don=E2=80=99t see here "CC trace/generated-events.o"):. lt CC trace/generated-events.lo GEN qemu-doc.html GEN qemu.1 GEN qemu-img.1 CC qapi-types.o CC qapi-visit.o CC qga/commands.o CPP optionrom/multiboot.asm CPP optionrom/linuxboot.asm CC qga/guest-agent-command-state.o CC qga/main.o CC qga/commands-posix.o CPP optionrom/kvmvapic.asm AS optionrom/multiboot.o AS optionrom/linuxboot.o CC qga/channel-posix.o CC qga/qapi-generated/qga-qapi-types.o AS optionrom/kvmvapic.o Building optionrom/multiboot.img Building optionrom/linuxboot.img Building optionrom/multiboot.raw Building optionrom/linuxboot.raw Building optionrom/kvmvapic.img CC qga/qapi-generated/qga-qapi-visit.o Signing optionrom/multiboot.bin Signing optionrom/linuxboot.bin CC qga/qapi-generated/qga-qmp-marshal.o CC qemu-img.o CC qmp-marshal.o LINK qemu-bridge-helper install -c -m 0644 /home/talz/workspace/tools/qemu/qemu/sysconfigs/target/t= arget-x86_64.conf "/home/talz/workspace/ /tools/qemu/install/linux_x86_64/e= tc/qemu" Building optionrom/kvmvapic.raw Signing optionrom/kvmvapic.bin lt CC trace/generated-tracers.lo lt LINK libcacard.la AR libqemustub.a CC trace/generated-tracers.o ar: .libs/libcacard.a: Error reading trace/generated-events.o: No such file= or directory make[2]: *** [libcacard.la] Error 1 -----Original Message----- From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of Ste= fan Hajnoczi Sent: Monday, June 09, 2014 4:38 PM To: Tal Zilcer Subject: Re: [Qemu-devel] [Bug 1324112] [NEW] qemu parallel building error = on libcacard.la On Wed, Jun 04, 2014 at 03:33:34AM -0000, tal zilcer wrote: > Version 2.0.0 > = > Isn=E2=80=99t the libcacard Makefile run as a recursive make? > how do you keep the dependencies between two different makes(libcacard an= d trace)? In qemu.git/master:Makefile I see: ifeq ($(CONFIG_SMARTCARD_NSS),y) include $(SRC_PATH)/libcacard/Makefile endif That doesn't look like recursive make to me, but maybe I'm missing something. Stefan -- = You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1324112 Title: qemu parallel building error on libcacard.la Status in QEMU: New Bug description: hi, im building qemu with a large make -j value(9). sometimes the build fails because of an error: libtool: link: ar cru .libs/libcacard.a stubs/arch-query-cpu-def.o stubs= /clock-warp.o stubs/cpu-get-clock.o stubs/cpu-get-icount.o stubs/dump.o stu= bs/fdset-add-fd.o stubs/fdset-find-fd.o stubs/fdset-get-fd.o stubs/fdset-re= move-fd.o stubs/gdbstub.o stubs/get-fd.o stubs/get-vm-name.o stubs/iothread= -lock.o stubs/migr-blocker.o stubs/mon-is-qmp.o stubs/mon-printf.o stubs/mo= n-print-filename.o stubs/mon-protocol-event.o stubs/mon-set-error.o stubs/p= ci-drive-hot-add.o stubs/qtest.o stubs/reset.o stubs/runstate-check.o stubs= /set-fd-handler.o stubs/slirp.o stubs/sysbus.o stubs/uuid.o stubs/vm-stop.o= stubs/vmstate.o stubs/cpus.o stubs/kvm.o libcacard/cac.o libcacard/event.o= libcacard/vcard.o libcacard/vreader.o libcacard/vcard_emul_nss.o libcacard= /vcard_emul_type.o libcacard/card_7816.o libcacard/vcardt.o util/osdep.o ut= il/cutils.o util/qemu-timer-common.o util/error.o util/qemu-error.o util/os= lib-posix.o util/qemu-thread-posix.o trace/generated-events.o trace/default= .o trace/control.o trace/generated-tracers.o ar: trace/generated-events.o: No such file or directory make[2]: *** [libcacard.la] Error 1 = i see the build of generated-events.o in the log before the ar command. because of the -j it was probably not completed yet. the generated-events.o build command: /usr/bin/gcc -I/home/npsdb/qemu/qemu/tcg -I/home/npsdb/qemu/qemu/tcg/i386= -I/home/npsdb/qemu/qemu/linux-headers -I/home/npsdb/qemu/build/linux_x86_6= 4/linux-headers -I. -I/home/npsdb/qemu/qemu -I/home/npsdb/jenkins/qemu/qemu= /include -I/home/npsdb/qemu/qemu/libcacard -Itrace -Itrace -fPIE -DPIE -m64= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-protot= ypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -= fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wem= pty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wigno= red-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits= -fstack-protector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I= /usr/include/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0= /include -I/usr/include/pixman-1 -I/home/npsdb/qemu/qemu/tests -I qga/= qapi-generated -MMD -MP -MT trace/generated-events.o -MF trace/generated-ev= ents.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -I/usr/include/= glib-2.0 -I/usr/lib64/glib-2.0/include -g -c -o trace/generated-events.= o trace/generated-events.c = must be a race condition in the makefile because of a missing dependency. i tried to find it but it was a little bit complicated to me. thanks, tal To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1324112/+subscriptions -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1324112 Title: qemu parallel building error on libcacard.la Status in QEMU: New Bug description: hi, im building qemu with a large make -j value(9). sometimes the build fails because of an error: libtool: link: ar cru .libs/libcacard.a stubs/arch-query-cpu-def.o stubs= /clock-warp.o stubs/cpu-get-clock.o stubs/cpu-get-icount.o stubs/dump.o stu= bs/fdset-add-fd.o stubs/fdset-find-fd.o stubs/fdset-get-fd.o stubs/fdset-re= move-fd.o stubs/gdbstub.o stubs/get-fd.o stubs/get-vm-name.o stubs/iothread= -lock.o stubs/migr-blocker.o stubs/mon-is-qmp.o stubs/mon-printf.o stubs/mo= n-print-filename.o stubs/mon-protocol-event.o stubs/mon-set-error.o stubs/p= ci-drive-hot-add.o stubs/qtest.o stubs/reset.o stubs/runstate-check.o stubs= /set-fd-handler.o stubs/slirp.o stubs/sysbus.o stubs/uuid.o stubs/vm-stop.o= stubs/vmstate.o stubs/cpus.o stubs/kvm.o libcacard/cac.o libcacard/event.o= libcacard/vcard.o libcacard/vreader.o libcacard/vcard_emul_nss.o libcacard= /vcard_emul_type.o libcacard/card_7816.o libcacard/vcardt.o util/osdep.o ut= il/cutils.o util/qemu-timer-common.o util/error.o util/qemu-error.o util/os= lib-posix.o util/qemu-thread-posix.o trace/generated-events.o trace/default= .o trace/control.o trace/generated-tracers.o ar: trace/generated-events.o: No such file or directory make[2]: *** [libcacard.la] Error 1 = i see the build of generated-events.o in the log before the ar command. because of the -j it was probably not completed yet. the generated-events.o build command: /usr/bin/gcc -I/home/npsdb/qemu/qemu/tcg -I/home/npsdb/qemu/qemu/tcg/i386= -I/home/npsdb/qemu/qemu/linux-headers -I/home/npsdb/qemu/build/linux_x86_6= 4/linux-headers -I. -I/home/npsdb/qemu/qemu -I/home/npsdb/jenkins/qemu/qemu= /include -I/home/npsdb/qemu/qemu/libcacard -Itrace -Itrace -fPIE -DPIE -m64= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-protot= ypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -= fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wem= pty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wigno= red-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits= -fstack-protector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I= /usr/include/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0= /include -I/usr/include/pixman-1 -I/home/npsdb/qemu/qemu/tests -I qga/= qapi-generated -MMD -MP -MT trace/generated-events.o -MF trace/generated-ev= ents.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -I/usr/include/= glib-2.0 -I/usr/lib64/glib-2.0/include -g -c -o trace/generated-events.= o trace/generated-events.c = must be a race condition in the makefile because of a missing dependency. i tried to find it but it was a little bit complicated to me. thanks, tal To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1324112/+subscriptions