← Back to team overview

ubuntu-phone team mailing list archive

basename: missing operand

 

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