[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xen-unstable sid ftbfs; upstream ok; ld: i386:x86-64 architecture of input file `bootsect.o' is incompatible with i386 output



Currently I have this installed on the host, running etch:

ii  xen-hypervisor-3.0.3-1-amd64                3.0.3-0-4             The Xen Hypervisor
ii  xen-ioemu-3.0.3-1                           3.0.3-0-4             XEN administrative
ii  xen-linux-system-2.6.18-5-xen-vserver-amd64 2.6.18.dfsg.1-13etch4 XEN system with Li
ii  xen-tools                                   2.8-2                 Tools to manage de
ii  xen-utils-3.0.3-1                           3.0.3-0-4             XEN administrative
ii  xen-utils-common                            3.0.3-0-2             XEN administrative

In a vserver guest (roughly root in a chroot with few capabilities) I have sid installed.  I setup this vserver guest primarily to isolate the build env from the host. Both host and guest are amd64 in 64bit mode.

While trying to compile the xen-unstable source package, I ran into bug #399700.  I submitted a patch (attached) to use linux-support-2.6.22-3 instead of linux-support-2.6.17-2. 

I'm attempting to backport this (eventually) to etch to hopefully overcome an issue where guests are unable to partition the disk.  My study of the disk image I provide them, shows no data is modified past the partition table.  I tried writing 0x00's and also 0xFF's to the first 100 sectors or so with little to no success for the guest.

I decided to try the upstream 3.1.0 tarball, and after applying changes to the makefiles (c/o warningsAreNoteErrors.sh.txt), A few new warnings seen with a newer gcc (harmless?) allow the dist-tools and dist-xen targets to compile. I skipped/ignored the dist-docs and dist-kernels targets.

I uncommented export DH_VERBOSE=1 in debian/rules for the xen_d5... transcript.

It's failing at
ld -m elf_i386 -Ttext 0x0 -s --oformat binary bootsect.o -o bootsect
ld: i386:x86-64 architecture of input file `bootsect.o' is incompatible with i386 output
make[5]: *** [bootsect] Error 1

What else can I try?
diff -urN orig.xen-unstable-3.0-unstable+hg11561/debian/control xen-unstable-3.0-unstable+hg11561/debian/control
--- orig.xen-unstable-3.0-unstable+hg11561/debian/control	2007-12-06 23:28:28.000000000 +0000
+++ xen-unstable-3.0-unstable+hg11561/debian/control	2007-12-06 23:30:43.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian Xen Team <pkg-xen-devel@lists.alioth.debian.org>
 Uploaders: Julien Danjou <acid@debian.org>, Jeremy T. Bouse <jbouse@debian.org>, Guido Trotter <ultrotter@debian.org>, Bastian Blank <waldi@debian.org>
 Standards-Version: 3.7.2.0
-Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, dpatch, lsb-release, python-central (>= 0.5), linux-support-2.6.17-2
+Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, dpatch, lsb-release, python-central (>= 0.5), linux-support-2.6.22-3
 Build-Depends-Indep: transfig, tetex-bin, tetex-extra, gs-common
 XS-Python-Version: current
 
diff -urN orig.xen-unstable-3.0-unstable+hg11561/debian/rules.defs xen-unstable-3.0-unstable+hg11561/debian/rules.defs
--- orig.xen-unstable-3.0-unstable+hg11561/debian/rules.defs	2007-12-06 23:28:28.000000000 +0000
+++ xen-unstable-3.0-unstable+hg11561/debian/rules.defs	2007-12-06 23:30:58.000000000 +0000
@@ -1,2 +1,2 @@
-KERNELVERSION := 2.6.17-2
+KERNELVERSION := 2.6.22-3
 MAJOR := unstable

Attachment: cannot-partition-disk.png
Description: PNG image

#!/bin/sh
find * -name Makefile -print0 | xargs -0 sed -i.bak 's/ -Werror//g'
Script started on Thu Dec  6 23:57:44 2007
dpkg-buildpackage: source package xen-unstable
dpkg-buildpackage: source version 3.0-unstable+hg11561-1
dpkg-buildpackage: source changed by Bastian Blank <waldi@debian.org>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
rm -rf debian/build debian/stamps
dh_clean
	rm -f debian/xen-docs-3.0-unstable.substvars
	rm -f debian/xen-docs-3.0-unstable.*.debhelper
	rm -rf debian/xen-docs-3.0-unstable/
	rm -f debian/xen-utils-3.0-unstable-1.substvars
	rm -f debian/xen-utils-3.0-unstable-1.*.debhelper
	rm -rf debian/xen-utils-3.0-unstable-1/
	rm -f debian/xen-ioemu-3.0-unstable.substvars
	rm -f debian/xen-ioemu-3.0-unstable.*.debhelper
	rm -rf debian/xen-ioemu-3.0-unstable/
	rm -f debian/xen-hypervisor-3.0-unstable-1-amd64.substvars
	rm -f debian/xen-hypervisor-3.0-unstable-1-amd64.*.debhelper
	rm -rf debian/xen-hypervisor-3.0-unstable-1-amd64/
	rm -f debian/xen-hypervisor-3.0-unstable-1-i386.substvars
	rm -f debian/xen-hypervisor-3.0-unstable-1-i386.*.debhelper
	rm -rf debian/xen-hypervisor-3.0-unstable-1-i386/
	rm -f debian/xen-hypervisor-3.0-unstable-1-i386-pae.substvars
	rm -f debian/xen-hypervisor-3.0-unstable-1-i386-pae.*.debhelper
	rm -rf debian/xen-hypervisor-3.0-unstable-1-i386-pae/
	rm -f debian/files
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o -name core -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} \; \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
 dpkg-source -W -b xen-unstable-3.0-unstable+hg11561
dpkg-source: building xen-unstable using existing xen-unstable_3.0-unstable+hg11561.orig.tar.gz
dpkg-source: building xen-unstable in xen-unstable_3.0-unstable+hg11561-1.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/patches/qemu-arch.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/libs.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/version.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/prefix-ioemu.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/abi-revert-1.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/prefix-utils.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/prefix-python.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/qemu-config.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/blktap-disable.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/path-relative.dpatch' will not be represented in diff
dpkg-source: building xen-unstable in xen-unstable_3.0-unstable+hg11561-1.dsc
 debian/rules build
dh_testdir
/usr/bin/make -f debian/rules.gen setup-amd64
make[1]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
/usr/bin/make -f debian/rules.real setup-arch MAJOR='unstable' SHORT_VERSION='3.0-unstable' EXTRAVERSION='-unstable' VERSION='3.0-unstable' XEN_ARCH='x86_64' ABINAME='-1' ARCH='amd64'
make[2]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
mkdir debian/build/source
cp -a COPYING ChangeLog Config.mk Makefile README buildconfigs config docs extras install.sh linux-2.6-xen-sparse patches tools unmodified_drivers xen debian/build/source
dpatch -d debian/build/source apply-all
applying patch prefix-utils to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch prefix-ioemu to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch prefix-python to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch version to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch qemu-config to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch libs to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch qemu-arch to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch blktap-disable to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch path-relative to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
applying patch abi-revert-1 to /home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/source ... ok.
touch debian/stamps/source
cp -a debian/build/source debian/build/build-utils_amd64
touch debian/stamps/setup-utils_amd64
make[2]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
/usr/bin/make -f debian/rules.real setup-flavour MAJOR='unstable' FLAVOUR='amd64' SUBARCH='none' SHORT_VERSION='3.0-unstable' EXTRAVERSION='-unstable' VERSION='3.0-unstable' XEN_ARCH='x86_64' ABINAME='-1' ARCH='amd64'
make[2]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
cp -a debian/build/source debian/build/build-hypervisor_amd64_amd64
echo "XEN_EXTRAVERSION := -unstable-1" > debian/build/build-hypervisor_amd64_amd64/xen/xen-version
touch debian/stamps/setup-hypervisor_amd64_amd64
make[2]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
make[1]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
touch debian/stamps/setup-base
dh_testdir
/usr/bin/make -f debian/rules.gen build-amd64
make[1]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
/usr/bin/make -f debian/rules.real build-arch MAJOR='unstable' SHORT_VERSION='3.0-unstable' EXTRAVERSION='-unstable' VERSION='3.0-unstable' XEN_ARCH='x86_64' ABINAME='-1' ARCH='amd64'
make[2]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
/usr/bin/make -C debian/build/build-utils_amd64/tools XEN_COMPILE_ARCH=x86_64 XEN_TARGET_ARCH=x86_64 XEN_VERSION_TOOLS=3.0-unstable-1 XEN_VERSION_IOEMU=3.0-unstable
make[3]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools'
/usr/bin/make -C check
make[4]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/check'
./chk build
Xen CHECK-BUILD  Thu Dec 6 23:58:03 UTC 2007
Checking check_python: OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[4]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/check'
make[4]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/libxc'
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/linux
( cd xen/linux && \
	  ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
( cd xen && rm -f sys && ln -sf linux sys )
/usr/bin/make libxenctrl.so libxenguest.so
make[5]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/libxc'
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_core.opic.d -fPIC -c -o xc_core.opic xc_core.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_domain.opic.d -fPIC -c -o xc_domain.opic xc_domain.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_evtchn.opic.d -fPIC -c -o xc_evtchn.opic xc_evtchn.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_misc.opic.d -fPIC -c -o xc_misc.opic xc_misc.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_acm.opic.d -fPIC -c -o xc_acm.opic xc_acm.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_physdev.opic.d -fPIC -c -o xc_physdev.opic xc_physdev.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_private.opic.d -fPIC -c -o xc_private.opic xc_private.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_sedf.opic.d -fPIC -c -o xc_sedf.opic xc_sedf.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_csched.opic.d -fPIC -c -o xc_csched.opic xc_csched.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_tbuf.opic.d -fPIC -c -o xc_tbuf.opic xc_tbuf.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o xc_ptrace.opic xc_ptrace.c
xc_ptrace.c: In function 'xc_ptrace':
xc_ptrace.c:485: warning: enumeration value 'PTRACE_SETOPTIONS' not handled in switch
xc_ptrace.c:485: warning: enumeration value 'PTRACE_GETEVENTMSG' not handled in switch
xc_ptrace.c:485: warning: enumeration value 'PTRACE_GETSIGINFO' not handled in switch
xc_ptrace.c:485: warning: enumeration value 'PTRACE_SETSIGINFO' not handled in switch
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_ptrace_core.opic.d -fPIC -c -o xc_ptrace_core.opic xc_ptrace_core.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_pagetab.opic.d -fPIC -c -o xc_pagetab.opic xc_pagetab.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_linux.opic.d -fPIC -c -o xc_linux.opic xc_linux.c
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.libxenctrl.so.d   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib -L. -shared -o libxenctrl.so xc_core.opic xc_domain.opic xc_evtchn.opic xc_misc.opic xc_acm.opic xc_physdev.opic xc_private.opic xc_sedf.opic xc_csched.opic xc_tbuf.opic xc_ptrace.opic xc_ptrace_core.opic xc_pagetab.opic xc_linux.opic
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_load_bin.opic.d -fPIC -c -o xc_load_bin.opic xc_load_bin.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_load_elf.opic.d -fPIC -c -o xc_load_elf.opic xc_load_elf.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xg_private.opic.d -fPIC -c -o xg_private.opic xg_private.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_linux_build.opic.d -fPIC -c -o xc_linux_build.opic xc_linux_build.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_linux_restore.opic.d -fPIC -c -o xc_linux_restore.opic xc_linux_restore.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_linux_save.opic.d -fPIC -c -o xc_linux_save.opic xc_linux_save.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.xc_hvm_build.opic.d -fPIC -c -o xc_hvm_build.opic xc_hvm_build.c
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -fno-strict-aliasing  -I. -Wp,-MD,.libxenguest.so.d   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib -L. -shared -o libxenguest.so xc_load_bin.opic xc_load_elf.opic xg_private.opic xc_linux_build.opic xc_linux_restore.opic xc_linux_save.opic xc_hvm_build.opic libxenctrl.so -lz -lxenctrl
make[5]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/libxc'
make[4]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/libxc'
make[4]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/xenstore'
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xs.opic.d  -I../../tools/libxc -I. -fPIC -c -o xs.opic xs.c
gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xs_lib.opic.d  -I../../tools/libxc -I. -fPIC -c -o xs_lib.opic xs_lib.c
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.libxenstore.so.d  -I../../tools/libxc -I.   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc -shared -o libxenstore.so xs.opic xs_lib.opic -lpthread
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xs.o.d  -I../../tools/libxc -I. -c -o xs.o xs.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xs_lib.o.d  -I../../tools/libxc -I. -c -o xs_lib.o xs_lib.c
ar rcs libxenstore.a xs.o xs_lib.o
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstored_core.o.d  -I../../tools/libxc -I. -c -o xenstored_core.o xenstored_core.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstored_watch.o.d  -I../../tools/libxc -I. -c -o xenstored_watch.o xenstored_watch.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstored_domain.o.d  -I../../tools/libxc -I. -c -o xenstored_domain.o xenstored_domain.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstored_transaction.o.d  -I../../tools/libxc -I. -c -o xenstored_transaction.o xenstored_transaction.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.talloc.o.d  -I../../tools/libxc -I. -c -o talloc.o talloc.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.utils.o.d  -I../../tools/libxc -I. -c -o utils.o utils.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.tdb.o.d  -I../../tools/libxc -I. -c -o tdb.o tdb.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.hashtable.o.d  -I../../tools/libxc -I. -c -o hashtable.o hashtable.c
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstored_linux.o.d  -I../../tools/libxc -I. -c -o xenstored_linux.o xenstored_linux.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o xenstored_linux.o   -lxenctrl -o xenstored
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_exists.o.d  -I../../tools/libxc -I.   -c -DCLIENT_exists -o xenstore_exists.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_exists.o   -L. -lxenstore -o xenstore-exists
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_list.o.d  -I../../tools/libxc -I.   -c -DCLIENT_list -o xenstore_list.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_list.o   -L. -lxenstore -o xenstore-list
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_read.o.d  -I../../tools/libxc -I.   -c -DCLIENT_read -o xenstore_read.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_read.o   -L. -lxenstore -o xenstore-read
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_rm.o.d  -I../../tools/libxc -I.   -c -DCLIENT_rm -o xenstore_rm.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_rm.o   -L. -lxenstore -o xenstore-rm
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_chmod.o.d  -I../../tools/libxc -I.   -c -DCLIENT_chmod -o xenstore_chmod.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_chmod.o   -L. -lxenstore -o xenstore-chmod
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_write.o.d  -I../../tools/libxc -I.   -c -DCLIENT_write -o xenstore_write.o xenstore_client.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_write.o   -L. -lxenstore -o xenstore-write
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xs_tdb_dump.o.d  -I../../tools/libxc -I. -c -o xs_tdb_dump.o xs_tdb_dump.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xs_tdb_dump.o utils.o tdb.o talloc.o   -o xs_tdb_dump
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xenstore_control.o.d  -I../../tools/libxc -I. -c -o xenstore_control.o xenstore_control.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xenstore_control.o   -L. -lxenstore -o xenstore-control
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall -g -Wp,-MD,.xsls.o.d  -I../../tools/libxc -I. -c -o xsls.o xsls.c
gcc   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib  -L../../tools/libxc  xsls.o   -L. -lxenstore -o xenstore-ls
make[4]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/xenstore'
make[4]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc'
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -c -o xenperf.o xenperf.c
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -o xenperf xenperf.o   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib -L../../tools/libxc -lxenctrl
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -c -o xc_shadow.o xc_shadow.c
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__  -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -o xc_shadow xc_shadow.o   -Wl,-rpath,/usr/lib/xen-3.0-unstable-1/lib -L../../tools/libxc -lxenctrl
/usr/bin/make -C miniterm
make[5]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc/miniterm'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -Wdeclaration-after-statement -o miniterm miniterm.c
make[5]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc/miniterm'
/usr/bin/make -C mbootpack
make[5]: Entering directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc/mbootpack'
gcc -Wp,-MD,.mbootpack.o.d -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wpointer-arith -Wcast-qual -Wno-unused -Wno-format -Wmissing-prototypes -pipe -I. -I-  -c mbootpack.c -o mbootpack.o
cc1: note: obsolete option -I- used, please use -iquote instead
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wpointer-arith -Wcast-qual -Wno-unused -Wno-format -Wmissing-prototypes -pipe -I. -I-  -D__MB_ASM -c bootsect.S -o bootsect.o
cc1: note: obsolete option -I- used, please use -iquote instead
ld -m elf_i386 -Ttext 0x0 -s --oformat binary bootsect.o -o bootsect
ld: i386:x86-64 architecture of input file `bootsect.o' is incompatible with i386 output
make[5]: *** [bootsect] Error 1
make[5]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc/mbootpack'
make[4]: *** [build] Error 2
make[4]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools/misc'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561/debian/build/build-utils_amd64/tools'
make[2]: *** [debian/stamps/build-utils_amd64] Error 2
make[2]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
make[1]: *** [build-amd64-real] Error 2
make[1]: Leaving directory `/home/supaplex/usr/src/xen-hdddefect-caveats-bugfixes/xen-unstable-3.0-unstable+hg11561'
make: *** [debian/stamps/build-base] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Script done on Thu Dec  6 23:58:15 2007

Reply to: