From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuLVs-0006Nl-8t for qemu-devel@nongnu.org; Tue, 10 Jun 2014 08:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuLVm-00046r-IH for qemu-devel@nongnu.org; Tue, 10 Jun 2014 08:50:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:44457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuLVm-00046k-7I for qemu-devel@nongnu.org; Tue, 10 Jun 2014 08:50:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1WuLVl-0008DG-GB for ; Tue, 10 Jun 2014 12:50:45 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 78E382E805E for ; Tue, 10 Jun 2014 12:50:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Jun 2014 12:45:31 -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: <6D74E24018EBA548A6FC5B2CE98D10AB176339@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 did some more experiments and maybe I found the issue. I added a two prints to rules.mak: %.o: %.c $(call quiet-command,$(CC) $(QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_D= GFLAGS) $(CFLAGS) $($@-cflags) -c -o $@ $<," CC $(TARGET_DIR)$@") @echo ooooooooooooo:$@ %.lo: %.c $(call quiet-command,$(LIBTOOL) --mode=3Dcompile --tag=3DCC $(CC) $= (QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<," lt = CC $@") @echo lolololololo:$@ This two prints symbolize the end of the file build. Here is the end of the log that I got for a failed build(using V=3D1): libtool: compile: /home/talz/workspace/mmmmm/EZdk-nps/tools/3rd-party-lib= s/ccache/ccache_output/bin/ccache /usr/bin/gcc -I/home/talz/workspace/mmmmm= /EZdk-nps/tools/qemu/qemu/tcg -I/home/talz/workspace/mmmmm/EZdk-nps/tools/q= emu/qemu/tcg/i386 -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/lin= ux-headers -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/build/linux_x86= _64/linux-headers -I. -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu= -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/include -I/home/talz= /workspace/mmmmm/EZdk-nps/tools/qemu/qemu/libcacard -Itrace -Itrace -DPIE -= m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-pro= totypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototype= s -fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -W= empty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wig= nored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limi= ts -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/inclu= de -I/usr/include/pixman-1 -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu= /qemu/tests -MMD -MP -MT trace/generated-tracers.lo -MF trace/generated-tra= cers.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 trace/generated-tracers.c -fPI= E -o trace/generated-tracers.o >/dev/null 2>&1 lolololololo:trace/generated-tracers.lo libtool --mode=3Dlink --tag=3DCC c++ -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FIL= E_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decl= s -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -= fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-ext= erns -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-= style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-al= l -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/inc= lude/pixman-1 -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/test= s -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -I/usr/include/glib-= 2.0 -I/usr/lib64/glib-2.0/include -g -Wl,--warn-common -Wl,-z,relro -Wl,= -z,now -pie -m64 -g -rpath /home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/= install/linux_x86_64/lib -no-undefined -export-syms /home/talz/workspace/mm= mmm/EZdk-nps/tools/qemu/qemu/libcacard/libcacard.syms -o libcacard.la stubs= /arch-query-cpu-def.lo stubs/clock-warp.lo stubs/cpu-get-clock.lo stubs/cpu= -get-icount.lo stubs/dump.lo stubs/fdset-add-fd.lo stubs/fdset-find-fd.lo s= tubs/fdset-get-fd.lo stubs/fdset-remove-fd.lo stubs/gdbstub.lo stubs/get-fd= .lo stubs/get-vm-name.lo stubs/iothread-lock.lo stubs/migr-blocker.lo stubs= /mon-is-qmp.lo stubs/mon-printf.lo stubs/mon-print-filename.lo stubs/mon-pr= otocol-event.lo stubs/mon-set-error.lo stubs/pci-drive-hot-add.lo stubs/qte= st.lo stubs/reset.lo stubs/runstate-check.lo stubs/set-fd-handler.lo stubs/= slirp.lo stubs/sysbus.lo stubs/uuid.lo stubs/vm-stop.lo stubs/vmstate.lo st= ubs/cpus.lo stubs/kvm.lo libcacard/cac.lo libcacard/event.lo libcacard/vcar= d.lo libcacard/vreader.lo libcacard/vcard_emul_nss.lo libcacard/vcard_emul_= type.lo libcacard/card_7816.lo libcacard/vcardt.lo util/osdep.lo util/cutil= s.lo util/qemu-timer-common.lo util/error.lo util/qemu-error.lo util/oslib-= posix.lo util/qemu-thread-posix.lo trace/generated-events.lo trace/default.= lo trace/control.lo trace/generated-tracers.lo -Wc,-fstack-protector-all = -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -= pthread -lgthread-2.0 -lrt -lglib-2.0 /home/talz/workspace/mmmmm/EZdk-nps/tools/3rd-party-libs/ccache/ccache_outp= ut/bin/ccache /usr/bin/gcc -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu= /qemu/tcg -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/tcg/i386 -I= /home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/linux-headers -I/home/t= alz/workspace/mmmmm/EZdk-nps/tools/qemu/build/linux_x86_64/linux-headers -I= . -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu -I/home/talz/worksp= ace/mmmmm/EZdk-nps/tools/qemu/qemu/include -I/home/talz/workspace/mmmmm/EZd= k-nps/tools/qemu/qemu/libcacard -Itrace -Itrace -fPIE -DPIE -m64 -D_GNU_SOU= RCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredu= ndant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-= aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -W= nested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifi= ers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-pr= otector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I/usr/includ= e/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include = -I/usr/include/pixman-1 -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu= /qemu/tests -I qga/qapi-generated -MMD -MP -MT trace/generated-events.o -MF= trace/generated-events.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthr= ead -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -c -o trac= e/generated-events.o trace/generated-events.c /home/talz/workspace/mmmmm/EZdk-nps/tools/3rd-party-libs/ccache/ccache_outp= ut/bin/ccache /usr/bin/gcc -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu= /qemu/tcg -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/tcg/i386 -I= /home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu/linux-headers -I/home/t= alz/workspace/mmmmm/EZdk-nps/tools/qemu/build/linux_x86_64/linux-headers -I= . -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu/qemu -I/home/talz/worksp= ace/mmmmm/EZdk-nps/tools/qemu/qemu/include -I/home/talz/workspace/mmmmm/EZd= k-nps/tools/qemu/qemu/libcacard -Itrace -Itrace -fPIE -DPIE -m64 -D_GNU_SOU= RCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredu= ndant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-= aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -W= nested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifi= ers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-pr= otector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I/usr/includ= e/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include = -I/usr/include/pixman-1 -I/home/talz/workspace/mmmmm/EZdk-nps/tools/qemu= /qemu/tests -I qga/qapi-generated -MMD -MP -MT trace/generated-tracers.o -M= F trace/generated-tracers.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pt= hread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -c -o tr= ace/generated-tracers.o trace/generated-tracers.c rm -f libqemustub.a && ar rcs libqemustub.a stubs/arch-query-cpu-def.o stub= s/clock-warp.o stubs/cpu-get-clock.o stubs/cpu-get-icount.o stubs/dump.o st= ubs/fdset-add-fd.o stubs/fdset-find-fd.o stubs/fdset-get-fd.o stubs/fdset-r= emove-fd.o stubs/gdbstub.o stubs/get-fd.o stubs/get-vm-name.o stubs/iothrea= d-lock.o stubs/migr-blocker.o stubs/mon-is-qmp.o stubs/mon-printf.o stubs/m= on-print-filename.o stubs/mon-protocol-event.o stubs/mon-set-error.o stubs/= pci-drive-hot-add.o stubs/qtest.o stubs/reset.o stubs/runstate-check.o stub= s/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 libtool: link: gcc -shared stubs/.libs/arch-query-cpu-def.o stubs/.libs/cl= ock-warp.o stubs/.libs/cpu-get-clock.o stubs/.libs/cpu-get-icount.o stubs/.= libs/dump.o stubs/.libs/fdset-add-fd.o stubs/.libs/fdset-find-fd.o stubs/.l= ibs/fdset-get-fd.o stubs/.libs/fdset-remove-fd.o stubs/.libs/gdbstub.o stub= s/.libs/get-fd.o stubs/.libs/get-vm-name.o stubs/.libs/iothread-lock.o stub= s/.libs/migr-blocker.o stubs/.libs/mon-is-qmp.o stubs/.libs/mon-printf.o st= ubs/.libs/mon-print-filename.o stubs/.libs/mon-protocol-event.o stubs/.libs= /mon-set-error.o stubs/.libs/pci-drive-hot-add.o stubs/.libs/qtest.o stubs/= .libs/reset.o stubs/.libs/runstate-check.o stubs/.libs/set-fd-handler.o stu= bs/.libs/slirp.o stubs/.libs/sysbus.o stubs/.libs/uuid.o stubs/.libs/vm-sto= p.o stubs/.libs/vmstate.o stubs/.libs/cpus.o stubs/.libs/kvm.o libcacard/.l= ibs/cac.o libcacard/.libs/event.o libcacard/.libs/vcard.o libcacard/.libs/v= reader.o libcacard/.libs/vcard_emul_nss.o libcacard/.libs/vcard_emul_type.o= libcacard/.libs/card_7816.o libcacard/.libs/vcardt.o util/.libs/osdep.o ut= il/.libs/cutils.o util/.libs/qemu-timer-common.o util/.libs/error.o util/.l= ibs/qemu-error.o util/.libs/oslib-posix.o util/.libs/qemu-thread-posix.o tr= ace/.libs/generated-events.o trace/.libs/default.o trace/.libs/control.o tr= ace/.libs/generated-tracers.o -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -= lplc4 -lnspr4 -lpthread -ldl -lgthread-2.0 -lrt -lglib-2.0 -m64 -pthread -= pthread -Wl,--warn-common -Wl,-z -Wl,relro -Wl,-z -Wl,now -m64 -fstack-prot= ector-all -pthread -pthread -Wl,-soname -Wl,libcacard.so.0 -o .libs/libca= card.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libcacard.so.0" && ln -s "libcacard.so= .0.0.0" "libcacard.so.0") libtool: link: (cd ".libs" && rm -f "libcacard.so" && ln -s "libcacard.so.0= .0.0" "libcacard.so") libtool: link: ar cru .libs/libcacard.a stubs/arch-query-cpu-def.o stubs/c= lock-warp.o stubs/cpu-get-clock.o stubs/cpu-get-icount.o stubs/dump.o stubs= /fdset-add-fd.o stubs/fdset-find-fd.o stubs/fdset-get-fd.o stubs/fdset-remo= ve-fd.o stubs/gdbstub.o stubs/get-fd.o stubs/get-vm-name.o stubs/iothread-l= ock.o stubs/migr-blocker.o stubs/mon-is-qmp.o stubs/mon-printf.o stubs/mon-= print-filename.o stubs/mon-protocol-event.o stubs/mon-set-error.o stubs/pci= -drive-hot-add.o stubs/qtest.o stubs/reset.o stubs/runstate-check.o stubs/s= et-fd-handler.o stubs/slirp.o stubs/sysbus.o stubs/uuid.o stubs/vm-stop.o s= tubs/vmstate.o stubs/cpus.o stubs/kvm.o libcacard/cac.o libcacard/event.o l= ibcacard/vcard.o libcacard/vreader.o libcacard/vcard_emul_nss.o libcacard/v= card_emul_type.o libcacard/card_7816.o libcacard/vcardt.o util/osdep.o util= /cutils.o util/qemu-timer-common.o util/error.o util/qemu-error.o util/osli= b-posix.o util/qemu-thread-posix.o trace/generated-events.o trace/default.o= trace/control.o trace/generated-tracers.o ar: trace/generated-tracers.o: No such file or directory make[2]: *** [libcacard.la] Error 1 make[2]: *** Waiting for unfinished jobs.... ooooooooooooo:trace/generated-tracers.o ooooooooooooo:trace/generated-events.o as you can see trace/generated-tracers.o target is being built after trace/= generated-tracers.la target. Trace/generated-tracers.la is finished and after it trace/generated-tracers= .o is being built. Libcacard.la has a dependency only to .la files and not .o files. = -----Original Message----- From: Tal Zilcer = Sent: Tuesday, June 10, 2014 12:42 PM To: 'Bug 1324112' Subject: RE: [Qemu-devel] [Bug 1324112] [NEW] qemu parallel building error = on libcacard.la 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