Comment 3 for bug 731079

Revision history for this message
Wookey (wookey) wrote :

I tried to reproduce this with the just-merged xdeb-graph branch and get the log below. Which fails differently to the above. It seems to be entirely failing to install any host-arch packages, so falls over as soon as configure looks for one (zlib).

I'll look in to that.

#./xdeb.py -a armel -d xdeb-scratch -b xdeb-scratch --only-explicit --prefer-apt qemu-linaro
Building source package cache ...
Using file archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources for apt cache
Using file archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources for apt cache
Building working tree cache ...
Build sequence: keyutils pango1.0 libxtst gdbm libsndfile libxdmcp atk1.0 fontconfig gdk-pixbuf pixman freetype libidn qt-x11-free libdrm brltty pcre3 util-linux nspr dbus libxcomposite libvorbis libsm avahi x11proto-dri2 cairo udev bluez tcp-wrappers libjpeg6b libxau nss x11proto-fixes libxi libgpg-error libice gnutls26 libxt libpng freetds libxext qt4-x11 python2.7 x11proto-core libsdl1.2 xft postgresql-8.4 openssl libogg libxxf86vm tiff libxcursor vde2 libxcb libmng cups libgcrypt11 db4.8 libxinerama libxrandr libxmu libdatrie ncurses flac xcb-util x11proto-gl zlib libjpeg8 libxrender libtasn1-3 libselinux lcms krb5 sqlite cyrus-sasl2 expat pulseaudio gtk+2.0 libpthread-stubs curl alsa-lib x11proto-xext nas sqlite3 libxdamage qt-assistant-compat unixodbc glib2.0 openldap libtool mesa libxfixes x11proto-record qtwebkit-source x11proto-render libx11 libiodbc2 e2fsprogs libthai mysql-5.1 libsepol qemu-linaro*
Installing native packages: []

===== Building qemu-linaro_0.14.50-2011.03-1-0ubuntu1 =====

dpkg-checkbuilddeps
dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu.
debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -aarmel -b -uc -us -tc
dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu.
dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu.
 dpkg-buildpackage -rfakeroot -d -us -uc -aarmel -b -tc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package qemu-linaro
dpkg-buildpackage: source version 0.14.50-2011.03-1-0ubuntu1
dpkg-buildpackage: source changed by Steve Langasek <email address hidden>
dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu.
 dpkg-source --before-build qemu-linaro
dpkg-buildpackage: host architecture armel
dpkg-source: info: using options from qemu-linaro/debian/source/options: --single-debian-patch
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro'
rm -rf user-static-build user-build system-build
make[1]: Leaving directory `/home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro'
   dh_clean
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro'
# system build
mkdir -p /home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro/system-build
cd /home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro/system-build && \
  ../configure \
      --with-pkgversion="Debian 0.14.50-2011.03-1-0ubuntu1" \
      --extra-cflags="-g -O2 -fno-var-tracking -fno-var-tracking" \
      --extra-ldflags="-Wl,-Bsymbolic-functions" \
      --prefix=/usr \
      --datadir=/usr/share/qemu-linaro \
      --interp-prefix=/etc/qemu-binfmt/%M \
      --disable-blobs \
      --disable-strip \
      --disable-linux-user \
      --disable-bsd-user \
      --disable-darwin-user \
      --cc=arm-linux-gnueabi-gcc --cpu=armv4l --extra-cflags=-marm --audio-drv-list=alsa,oss,sdl,pa
../configure: 1052: /tmp/qemu-conf--18630-.exe: not found

Error: zlib check failed
Make sure to have the zlib libs and headers installed.

make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/xdeb-scratch/qemu-linaro'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -d -us -uc -aarmel -b -tc failed
Traceback (most recent call last):
  File "./xdeb.py", line 937, in <module>
    main()
  File "./xdeb.py", line 929, in main
    build(options, src, all_srcs[src])
  File "./xdeb.py", line 655, in build
    spawn(buildpackage, cwd=srcdir)
  File "/home/wookey/source/xdeb/bzr/xdeb/xdeb-graph/utils.py", line 29, in spawn
    raise SubprocessException, ret
utils.SubprocessException: 29