Trent W. Buck wrote: > Package: qemu > Version: 0.11.0-6 > Severity: minor > > This package doesn't build if I use debuild -j or debuild -j4. These > options are supposed to affect make's parallelization, but from the > typescript, it seems that the upstream build system is doing something > silly like referring to $(MAKEFLAGS) directly instead of implicitly > via $(MAKE).
Eek, sorry about that HUGE typescript -- somehow the reportbug stuff got included in it. Please find a shorter one attached.
Script started on Tue 22 Dec 2009 18:23:46 EST $ with-temp-dir sh -c 'apt-get source qemu; cd */; debuild -j' with-temp-dir: entering directory `/tmp/with-temp-dir.sXoZon' Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree Reading state information... 0% Reading state information... 0% Reading state information... Done Need to get 3,394kB of source archives. 0% [Working] 0% [Connecting to proxy.office.cyber.com.au (203.7.155.7)] Get:1 http://mirror.internode.on.net squeeze/main qemu 0.11.0-6 (dsc) [1,876B] 0% [1 qemu 1876/1,876B 100%] 0% [Working] Get:2 http://mirror.internode.on.net squeeze/main qemu 0.11.0-6 (tar) [3,362kB] 0% [2 qemu 918/3,362kB 0%] 13% [2 qemu 462327/3,362kB 13%] 22% [2 qemu 777719/3,362kB 23%] 33% [2 qemu 1150455/3,362kB 34%] 44% [2 qemu 1506807/3,362kB 44%] 55% [2 qemu 1887735/3,362kB 56%] 64% [2 qemu 2203127/3,362kB 65%] 75% [2 qemu 2571689/3,362kB 76%] 90% [2 qemu 3080847/3,362kB 91%] 99% [Working] Get:3 http://mirror.internode.on.net squeeze/main qemu 0.11.0-6 (diff) [30.7kB] 99% [3 qemu 2318/30.7kB 7%] 100% [Working] Fetched 3,394kB in 5s (632kB/s) gpgv: keyblock resource `/home/twb/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri 20 Nov 2009 18:33:26 EST using DSA key ID F1BCDB73 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./qemu_0.11.0-6.dsc dpkg-source: info: extracting qemu in qemu-0.11.0 dpkg-source: info: unpacking qemu_0.11.0.orig.tar.gz dpkg-source: info: applying qemu_0.11.0-6.diff.gz dpkg-source: info: upstream files that have been modified: qemu-0.11.0/configure qemu-0.11.0/exec-all.h qemu-0.11.0/hw/pcnet.c qemu-0.11.0/hw/serial.c qemu-0.11.0/hw/sun4m.c qemu-0.11.0/hw/unin_pci.c qemu-0.11.0/kvm-all.c qemu-0.11.0/kvm.h qemu-0.11.0/linux-user/elfload.c qemu-0.11.0/net.c qemu-0.11.0/sparc.ld qemu-0.11.0/target-i386/kvm.c qemu-0.11.0/usb-linux.c dpkg-buildpackage -rfakeroot -D -us -uc -j dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package qemu dpkg-buildpackage: source version 0.11.0-6 dpkg-buildpackage: source changed by Aurelien Jarno <aure...@debian.org> dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir dh_testroot rm -rf /tmp/with-temp-dir.sXoZon/qemu-0.11.0/*-build rm -f /tmp/with-temp-dir.sXoZon/qemu-0.11.0/*-stamp dh_clean dpkg-source -b qemu-0.11.0 dpkg-source: info: using source format `1.0' dpkg-source: info: building qemu using existing qemu_0.11.0.orig.tar.gz dpkg-source: info: building qemu in qemu_0.11.0-6.diff.gz dpkg-source: warning: the diff modifies the following upstream files: configure exec-all.h hw/pcnet.c hw/serial.c hw/sun4m.c hw/unin_pci.c kvm-all.c kvm.h linux-user/elfload.c net.c sparc.ld target-i386/kvm.c usb-linux.c dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) dpkg-source: info: building qemu in qemu_0.11.0-6.dsc debian/rules build dh_testdir # system build mkdir -p /tmp/with-temp-dir.sXoZon/qemu-0.11.0/system-build cd /tmp/with-temp-dir.sXoZon/qemu-0.11.0/system-build && \ ../configure \ --extra-cflags="-g -O2" \ --extra-ldflags="-Wl,--as-needed" \ --prefix=/usr \ --disable-blobs \ --disable-strip \ --disable-linux-user \ --disable-bsd-user \ --disable-darwin-user \ --audio-drv-list=alsa,oss,sdl,esd,pa Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /tmp/with-temp-dir.sXoZon/qemu-0.11.0 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu tcg debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build no -Werror enabled no SDL support yes SDL static link yes curses support yes curl support yes mingw32 support no Audio drivers alsa oss sdl esd pa Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls VNC SASL support yes SASL CFLAGS SASL LIBS -lsasl2 kqemu support yes xen support no brlapi support no Documentation yes NPTL support yes vde support yes AIO support yes IO thread no Install blobs no -e KVM support yes fdt support no preadv support yes # user build mkdir -p /tmp/with-temp-dir.sXoZon/qemu-0.11.0/user-build cd /tmp/with-temp-dir.sXoZon/qemu-0.11.0/user-build && \ ../configure \ --extra-cflags="-g -O2" \ --extra-ldflags="-Wl,--as-needed" \ --prefix=/usr \ --disable-blobs \ --disable-strip \ --disable-system \ --audio-drv-list=alsa,oss,sdl,esd,pa Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /tmp/with-temp-dir.sXoZon/qemu-0.11.0 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user tcg debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build no -Werror enabled no SDL support yes SDL static link yes curses support yes curl support yes mingw32 support no Audio drivers alsa oss sdl esd pa Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls VNC SASL support yes SASL CFLAGS SASL LIBS -lsasl2 kqemu support yes xen support no brlapi support no Documentation yes NPTL support yes vde support yes AIO support yes IO thread no Install blobs no -e KVM support yes fdt support no preadv support yes # static user build mkdir -p /tmp/with-temp-dir.sXoZon/qemu-0.11.0/user-static-build cd /tmp/with-temp-dir.sXoZon/qemu-0.11.0/user-static-build && \ ../configure \ --extra-cflags="-g -O2" \ --extra-ldflags="-Wl,--as-needed" \ --prefix=/usr \ --disable-blobs \ --disable-strip \ --disable-system \ --static \ --audio-drv-list=alsa,oss,sdl,esd,pa Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /tmp/with-temp-dir.sXoZon/qemu-0.11.0 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user tcg debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build yes -Werror enabled no SDL support yes SDL static link yes curses support yes curl support yes mingw32 support no Audio drivers alsa oss sdl esd pa Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls VNC SASL support yes SASL CFLAGS SASL LIBS -lsasl2 kqemu support yes xen support no brlapi support no Documentation yes NPTL support yes vde support yes AIO support yes IO thread no Install blobs no -e KVM support yes fdt support no preadv support yes touch configure-stamp dh_testdir # system build /usr/bin/make -C /tmp/with-temp-dir.sXoZon/qemu-0.11.0/system-build -j -1 /usr/bin/make: invalid option -- '1' Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from commands. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any commands; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no commands; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo commands. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. This program built for x86_64-pc-linux-gnu Report bugs to <bug-m...@gnu.org> make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1330: dpkg-buildpackage -rfakeroot -D -us -uc -j failed with-temp-dir: leaving directory `/tmp/with-temp-dir.sXoZon' $ Script done on Tue 22 Dec 2009 18:24:56 EST