[Bug 966956] New: incorrect implemented shared library packaging
http://bugzilla.opensuse.org/show_bug.cgi?id=966956 Bug ID: 966956 Summary: incorrect implemented shared library packaging Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: All OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: lmuelle@suse.com Reporter: lmuelle@suse.com QA Contact: samba-maintainers@SuSE.de CC: jengelh@inai.de, samba-maintainers@SuSE.de Found By: Development Blocker: No The Samba spec file has since Sep 5 2013 several additional library sub packages which increased the package amount drastically. The files in question aren't shared libraries which not provide an independent value beyond of Samba. Instead this package design causes version update by version update additional maintenance works as the baselibs.conf has to be redefined. Also we have to ensure to adjust what we obsolete. Instead we intend to create an additional package named samba-client-libs alongside the existing samba-libs package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c1
--- Comment #1 from Jan Engelhardt
Instead this package design causes version update by version update additional maintenance works as the baselibs.conf has to be redefined.
It is an atrocity that we even have to declare baselibs.conf for trivial SLPP packages. That is a shortcoming in {/usr/bin/build,/usr/bin/mkbaselibs}'s defaults which I already bemoaned years ago, but since apparently only code talks, that is now my cue to implementing it. : With all these points, the split libs should generally be kept and at most minimally be adjusted. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c2
--- Comment #2 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c3
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c4
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c5
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c6
Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c7
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c8
--- Comment #8 from Lars Müller
The approach does not work for exactly the reason I outlined.
* libsamba-errors.so.1 and libsamba-credentials.so.0. Different SO versions.
%{_libdir}/libsamba-errors.so.* %{_libdir}/libsamba-credentials.so.* are both packaged in samba-client-libs package. Either libsamba-errors wasn't present in 4.3 or in the libsamba-credentials case with the same major version. Please test and give feedback if any additional Obsoletes lines is missing from the client-libs, libs, or devel sub package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c9
--- Comment #9 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c10
--- Comment #10 from Lars Müller
It's not about Obsolete tags.
The point is that if and when there is a libsamba-credentials.so.1, you will make everyone who has a program linking to libsamba-credentials.so.0 unhappy because your samba-client-libs package does not permit the concurrent installation of both.
This will not happen. This isn't a classical shared library which is of any use outside of Samba. If there is a real practical use case please name it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c11
--- Comment #11 from Jan Engelhardt
This isn't a classical shared library which is of any use outside of Samba.
If that was the case, they would not install the header files for it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c12
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c13
Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c14
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c15
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c16
--- Comment #16 from Jan Engelhardt
See for example
http://pkgs.fedoraproject.org/cgit/rpms/samba.git/tree/samba.spec
Just because someone else does a suboptimal job does not mean you should copy it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c17
--- Comment #17 from Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=966956
http://bugzilla.opensuse.org/show_bug.cgi?id=966956#c18
--- Comment #18 from Lars Müller
participants (1)
-
bugzilla_noreply@novell.com