[opensuse-packaging] Shared Libraries and plugins
I have a package that started failing for Factory with: liballeg4_4-dga2-plugin.x86_64: E: shlib-fixed-dependency (Badness: 440) liballeg4_4 = 4.4.1.1 liballeg4_4-jack-plugin.x86_64: E: shlib-fixed-dependency (Badness: 440) liballeg4_4 = 4.4.1.1 liballeg4_4-oss-plugin.x86_64: E: shlib-fixed-dependency (Badness: 440) liballeg4_4 = 4.4.1.1 Your shared library package requires a fixed version of another package. The intention of the Shared Library Policy is to allow parallel installation of multiple versions of the same shared library, hard dependencies likely make that impossible. Please remove this dependency and instead move it to the runtime uses of your library. To be honest, I don't know the details of this one. But in general I expect plugins being able to use functions exported by the main library but not documented as public API, so they can change in any new minor version and I need to require the exact same version of the main library. Reading the explanation I am still not very sure about the objective of this check. Could someone give me one example where there would be a problem with parallel installation of multiple versions? So... - rpmlint needs to be fixed? - should plugin packages not be named libXXX? - should I just require liballeg4_4 >= 4.4.1.1? (not sure if rpmlint would complain anyway) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 28 April 2010, Cristian Morales Vega wrote:
Reading the explanation I am still not very sure about the objective of this check. Could someone give me one example where there would be a problem with parallel installation of multiple versions?
libfoo2 requires foo-lang = 1.2.3 libfoo3 requires foo-lang = 1.4.3 assuming that foo-lang is a package, you shouldn't be able to have both installed in parallel (well, yes, you are able to, but the outcome is likely going to fail).
- rpmlint needs to be fixed?
The check has been made less strict now.
- should plugin packages not be named libXXX?
thats a policy question which should be evaluated. tentatively I would say yes...
- should I just require liballeg4_4 >= 4.4.1.1? (not sure if rpmlint would complain anyway)
No, it wouldn't. but don't change the requires if they don't resemble the reality. if the plugin requires the exact version of this library package, then thats what it should require. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Cristian Morales Vega
-
Dirk Müller