← Back to team overview

touch-packages team mailing list archive

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

 

** Also affects: canonical-developer-experience
   Importance: Undecided
       Status: New

** Changed in: canonical-developer-experience
     Assignee: (unassigned) => Alejandro J. Cura (alecu)

** Changed in: unity-scopes-api (Ubuntu)
     Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson)

** Changed in: canonical-developer-experience
   Importance: Undecided => Medium

-- 
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