This results in it also being impossible to write tests for a plug-in
one is writing, as it seems to result in nasty errors from ld:

/usr/bin/ld: test-signon-plugin: local symbol 
`_ZN19AuthPluginInterface11qt_metacallEN11QMetaObject4CallEiPPv' in 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libsignon-plugins.a(moc_authpluginif.o)
 is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

This is happening when attempting to build lp:~dobey/ubuntuone-
credentials/signon-tests

I see there are tests in signon-plugin-oauth2 though. I wonder how it is
they would be avoiding this problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to signon in Ubuntu.
https://bugs.launchpad.net/bugs/1212705

Title:
  libsignon-plugins is not a dynamic library

Status in “signon” package in Ubuntu:
  New

Bug description:
  In order to write a signon plug-in to provide integration with a new
  authentication method, one must use the libsignon-plugins library,
  which provides some interfaces that must be used. However, this
  library is currently built and installed as a static library only,
  which means every plug-in that links to it, includes the entire
  library within the plug-in. This causes an increase in size of of the
  plug-ins, and requires that they all must be rebuilt, in the event a
  security issue is discovered and fixed, in the library.

  This library needs to be built and packaged as a dynamic library
  instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/signon/+bug/1212705/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to