← Back to team overview

touch-packages team mailing list archive

[Bug 1253134] Re: libubuntuoneauth not using forward declarations

 

I'm setting this to won't fix, because it requires too large a change,
and the pkgconfig file correctly depends on the other libraries needed.

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

Title:
  libubuntuoneauth not using forward declarations

Status in “ubuntuone-credentials” package in Ubuntu:
  Won't Fix

Bug description:
  When trying to build a project that wants to use ubuntuone-
  credentials, if you don't include libsignon-qt5 and accounts-qt5, you
  will get an error trying to compile:

  [ 64%] Building CXX object plugins/system-update/CMakeFiles/UbuntuUpdatePanel.dir/plugin.cpp.o
  In file included from /usr/include/ubuntuoneauth-2.0/ssoservice.h:27:0,
                   from /media/gatox/leeloo/canonical/ubuntu-system-settings2/plugins/system-update/update_manager.h:37,
                   from /media/gatox/leeloo/canonical/ubuntu-system-settings2/plugins/system-update/plugin.cpp:24:
  /usr/include/ubuntuoneauth-2.0/keyring.h:21:28: fatal error: Accounts/Manager: No such file or directory
   #include <Accounts/Manager>
                              ^
  compilation terminated.
  make[2]: *** [plugins/system-update/CMakeFiles/UbuntuUpdatePanel.dir/plugin.cpp.o] Error 1
  make[1]: *** [plugins/system-update/CMakeFiles/UbuntuUpdatePanel.dir/all] Error 2
  make: *** [all] Error 2

  
  That's why those dependencies of ubuntuone-credentials are exposed in the header of keyring.h and when building a new project that makes use of u1-cred, it tries to link to those libraries at that moment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntuone-credentials/+bug/1253134/+subscriptions