← Back to team overview

touch-packages team mailing list archive

[Bug 1537328] Re: Undefined symbol when running scope in emulator

 

Michi's right, the undefined symbol is really the culprit here, so yeah,
the scopes API lib is out of date on the emulator. To resolve this, I
suspect it'd be just a matter of navigating to the system settings on
the emulator and performing all updates.

The reason you see all that other noise about not finding other libs is
because once the scoperunner runs into an issue with one lib
(libschnasni.username_schnasni.so in this case), it then attempts to
find alternatives that it may have more luck with.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1537328

Title:
  Undefined symbol when running scope in emulator

Status in Client Developer Experience:
  New
Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  I'm trying to run the template scope in the emulator of the Ubuntu SDK
  in 15.04. The scope builds just fine, but when I try to run it in the
  emulator, it gives me the following error:

  scoperunner: unity::ResourceException: Cannot load scope schnasni.username_schnasni; tried in the following locations:
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/libschnasni.username_schnasni.so
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/schnasni.username_schnasni.so
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/scope.so
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/libschnasni.username_schnasni.so
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/schnasni.username_schnasni.so
  /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/scope.so
  Exception history:
      Exception #1:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/libschnasni.username_schnasni.so: cannot open shared object file: No such file or directory
      Exception #2:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/schnasni.username_schnasni.so: cannot open shared object file: No such file or directory
      Exception #3:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/i386-linux-gnu/scope.so: cannot open shared object file: No such file or directory
      Exception #4:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/libschnasni.username_schnasni.so: undefined symbol: _ZN5unity6scopes9ScopeBase22activate_result_actionERKNS0_6ResultERKNS0_14ActionMetadataERKSs
      Exception #5:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/schnasni.username_schnasni.so: cannot open shared object file: No such file or directory
      Exception #6:
          unity::ResourceException: /opt/click.ubuntu.com/schnasni.username/0.1/schnasni/scope.so: cannot open shared object file: No such file or directory

  It searches for the file in 6 directories, and does not find it in 5
  of these, which is expected I think. But what does

  undefined symbol:
  _ZN5unity6scopes9ScopeBase22activate_result_actionERKNS0_6ResultERKNS0_14ActionMetadataERKS

  mean and how can I resolve it?

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1537328/+subscriptions


References