[maemo-developers] Problems with qemu on x86_64

From: Andrew Daviel advax at triumf.ca
Date: Tue Aug 11 22:01:11 EEST 2009
I am running the ARM environment in scratchbox on an Athlon 64 with
Fedora 9 x86_64, with 'vdso32=0'

I was going to post a longer message, but tried again using 
maemo-scratchbox-install_4.1.2.sh after hacking it to accept x86_64
and things seem OK (so far).

When I download what appear to be the latest packages from
http://scratchbox.org/download/files/sbox-releases/apophis/tarball/
and install scratchbox 4.1.2 manually, it seems to go OK. I can compile 
and run "hello world".
But when I try to install more packages using apt-get within scratchbox, 
I get errors like:
   Unpacking replacement libfontconfig1 ...
   qemu: uncaught target signal 11 (Segmentation fault) - exiting
   E: Sub-process /usr/bin/dpkg returned an error code (245)
   qemu: uncaught target signal 13 (Broken pipe) - exiting
and dpkg gets hung up.


Incidentally, I found a native (Fedora) dpkg binary and can install some 
packages that way, e.g.
# dpkg -i  --force-architecture --root=/scratchbox/users/andrew/targets/DIABLO_ARMEL \
  /scratchbox/users/andrew/targets/DIABLO_ARMEL/var/cache/apt/archives/net-tools_1.60-10_armel.deb
  - net-tools then shows up as properly installed in scratchbox

-- 
Andrew Daviel, TRIUMF, Canada
More information about the maemo-developers mailing list