← Back to team overview

ubuntu-phone team mailing list archive

Re: basename: missing operand

 

Hello,

Has no one else encountered this, am I missing something obvious, or 
maybe I didn't provide enough details, or maybe this isn't the right 
list to ask this question?

Here are some more details just in case:
- the host is 16.04 fresh install
- hardware: Dell XPS 13 9350 with Intel HD graphics
- I followed SDK installation steps here: 
https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/
- I followed emulator creation/start instructions in the links I already 
provided
- I tried creating emulators for armhf with both development and stable 
channels, e.g. sudo ubuntu-emulator create myinstance
- and then try to run it with: ubuntu-emulator run myinstance

Here's the `ubuntu-emulator list` output, which lists 3 different 
instances I tried:
$ ubuntu-emulator list
myinstance	ubuntu=20151127,device=20150910,custom=20151127,version=2
testarm 
ubuntu=20160506,device=20160401.1,custom=20160506,tag=OTA-10.1,version=19
testarm2	ubuntu=20151127,device=20150910,custom=20151127,version=2

I'd be extremely grateful if someone could help or at least point me in 
the right direction.

Thank you!

On 06/16/2016 07:40 AM, Unix One wrote:
> Hello,
>
> I'm new to Ubuntu Touch development and setting up the SDK, and I feel a
> bit dumb unable to get the emulator to launch successfully. It starts
> with the new window, and after few minutes hangs consuming 100% of a CPU
> core, with these last few lines in the log:
>
> [   54.540000] systemd-logind[942]: New seat seat0.
> [   54.990000] init: force-adb pre-start process (627) terminated with
> status 1
> [   56.390000] eth0: no IPv6 routers present
> [   64.250000] systemd-logind[942]: Failed to start user service:
> Unknown unit: user@0.service
> [   65.600000] systemd-logind[942]: New session c1 of user root.
> [   72.560000] init: ssh-keygen main process (1289) terminated with status 1
> [   76.900000] init: failsafe main process (1073) killed by TERM signal
> [   81.850000] systemd-logind[942]: Failed to start user service:
> Unknown unit: user@32011.service
>    * Setting up X socket directories...
>     [ OK ]
> /lib/init/init-d-script: 12: /etc/rc2.d/S02whoopsie: -c: not found
> basename: missing operand
> Try 'basename --help' for more information.
>
> I've tried both
> https://wiki.ubuntu.com/Touch/Emulator
> and now
> https://developer.ubuntu.com/en/blog/2016/06/14/calling-testers-new-ubuntu-sdk-ide-post/
> with the same result.
>
> Searching for answers I found:
> http://askubuntu.com/questions/725085/running-ubuntu-touch-emulator-failing
> (unanswered)
> https://bugs.launchpad.net/ubuntu-rtm/+source/lxc-android-config/+bug/1458043
> (saying it's fixed in overlay)
>
> Is it known/expected that following the instructions in emulator wiki
> will land me in this state? Should I be using the overlay? Or am I
> missing something else?
>
> Thank you!
>



Follow ups

References