ARMHF emulator failes to be created

Bug #1393398 reported by Víctor Matía Rodríguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goget-ubuntu-touch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The ARMHF emulator is not properly created:

    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a
    . .. armhf-emulator i386-emulator
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a armhf-emulator/
    . .. sdcard.img ubuntu-system.img
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a i386-emulator/
    . .. boot.img .device ramdisk.img recovery.img recovery-ramdisk.img sdcard.img .stamp system system.img ubuntu-kernel
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ubuntu-emulator list
    armhf-emulator
    i386-emulator ubuntu=20140917,device=20140917,version=243
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$

In QtCreator ONLY and ONLY an emulator appears AFTER the creation of the armhf emulator. If I only create the i386 emulator it appears properly and runs. After creating the armhf emulator "cat:" is the emulator that appears in QtCreator, which is not real and can't be deleted or started.

When looking at QtCreator logs in the devices tab, these are the errors after the download:

    Setting up...

    Setting up a default password for phablet to: '0000'

    chroot: failed to run command ‘/bin/sh’: Exec format error

    Search configured emulator instances.
    cat: /home/vitimiti/.local/share/ubuntu-emulator/armhf-emulator/.device: No existe el archivo o el directorio

    Detecting device..
    Checking installed emulator package.
    ii ubuntu-emulator 0.4+14.10.20141002-0ubuntu1

    Search configured emulator instances.
    cat: /home/vitimiti/.local/share/ubuntu-emulator/armhf-emulator/.device: No existe el archivo o el directorio

    Detecting device..

The QtCreator Devices tab will actually show the i386-emulator instance when it's created, but after creating the armhf-emulator instance it disappears from it, in spite appearing in the ubuntu-emulator list command as shown before.

Issuing the command ubuntu-emulator create results in exactly the same behaviour as the one found in the SDK:

    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ sudo ubuntu-emulator create --arch armhf armhf-emulator
    [sudo] password for vitimiti:
    Creating "armhf-emulator" from ubuntu-touch/devel revision 243
    Downloading...
    Setting up...
    Setting up a default password for phablet to: '0000'
    chroot: failed to run command ‘/bin/sh’: Exec format error

    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a
    . .. armhf-emulator i386-emulator
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a armhf-emulator/
    . .. sdcard.img ubuntu-system.img
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$ ls -a i386-emulator/
    . .. boot.img .device ramdisk.img recovery.img recovery-ramdisk.img sdcard.img .stamp system system.img ubuntu-kernel
    vitimiti@vitimiti-K53U:~/.local/share/ubuntu-emulator$

I'm using Ubuntu 14.10 (proposed updates activated)
Qt Creator 3.1.1 based on Qt 5.3.0
The emulators are i386 devel and armhf devel
Using an AMD ATI HD6320 graphics card with the FOSS drivers in an AMD bobcat (two cores, 64bits)

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package goget-ubuntu-touch - 0.4+15.04.20141125-0ubuntu1

---------------
goget-ubuntu-touch (0.4+15.04.20141125-0ubuntu1) vivid; urgency=low

  [ Sergio Schvezov ]
  * ubuntu-emulator: allow setting a default password for the phablet
    user when creating (LP: #1390476)
  * ubuntu-emulator: fixing password setup for phablet user when setting
    up an armhf instance (LP: #1393398)
  * ubuntu-device-flash: dual images for core
 -- Ubuntu daily release <email address hidden> Tue, 25 Nov 2014 23:51:15 +0000

Changed in goget-ubuntu-touch (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.