libsignon-plugins is not a dynamic library
Bug #1212705 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
signon (Ubuntu) |
New
|
Undecided
|
Unassigned |
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.
Related branches
lp:~dobey/signon/dynamic-plugins-lib
- Alberto Mardegan (community): Disapprove
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 68 lines (+18/-2)5 files modifieddebian/changelog (+5/-0)
debian/control (+9/-0)
debian/libsignon-plugins1.install (+2/-0)
debian/signon-plugins-dev.install (+1/-1)
lib/plugins/signon-plugins.pro (+1/-1)
To post a comment you must log in.
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 `_ZN19AuthPlugi nInterface11qt_ metacallEN11QMe taObject4CallEi PPv' in /usr/lib/ gcc/x86_ 64-linux- gnu/4.8/ ../../. ./../lib/ libsignon- plugins. a(moc_authplugi nif.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.