[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729363: libkdepim4: circular dependency hell



tag 729363 confirmed
thanks

On Sunday 11 January 2015 16:45:25 Bill Allombert wrote:
> On Sun, Jan 11, 2015 at 04:26:25PM +0100, Sandro KnauÃ? wrote:
> > Hey,
> > 
> > > In that case, why put them in separated binary packages where a single
> > > one
> > > would do ?
> > 
> > Because you do not want to install to much stuff, if you only install one
> > application built from kdepim (kontact, kmail, akgregator,
> > akonadiconsole,...).
> 
> Precisely, the circular dependency prevent you from doing that, by forcing
> the installation of the other.

Sandro worked with with Laurent Montel (thanks Sandro!) to check if this was 
an upstream or Debian issue, and after some info he gave me we found the 
problem. Indeed there is a circular dependency due to the way we package 
libkdepim4.

In order to allow to install packages separately the binary package that ships 
libkdepim.so.4 should not be requiring libmailcommon:

http://debian.semistable.com/dot/libtemplateparser4_unstable.png

As Montiel pointed out:

$ ldd /usr/lib/libkdepim.so.4 | grep mail

returns no matches.

So I checked in which package is that lib shipped:

$ dpkg -S /usr/lib/libkdepim.so.4
libkdepim4: /usr/lib/libkdepim.so.4

That's part of src:kdepim, but all the control files only 
have Depends: ${misc:Depends}, ${shlibs:Depends}.

So I checked if some other lib was shipped in the same package:

$ dpkg -L libkdepim4 | grep usr | grep lib
/usr/share/doc/libkdepim4
/usr/share/doc/libkdepim4/changelog.Debian.gz
/usr/share/doc/libkdepim4/copyright
/usr/lib
/usr/lib/libakonadi_next.so.4.14.2
/usr/lib/kde4
/usr/lib/kde4/plugins
/usr/lib/kde4/plugins/designer
/usr/lib/kde4/plugins/designer/kdepimwidgets.so
/usr/lib/kde4/plugins/designer/mailcommonwidgets.so
/usr/lib/kde4/plugins/designer/pimcommonwidgets.so
/usr/lib/libkcal_resourceremote.so.4.14.2
/usr/lib/libkaddressbookgrantlee.so.4.14.2
/usr/lib/libgrantleetheme.so.4.14.2
/usr/lib/libkdepim.so.4.14.2
/usr/lib/libgrantleethemeeditor.so.4.14.2
/usr/lib/libkdepim.so.4
/usr/lib/libkcal_resourceremote.so.4
/usr/lib/libgrantleetheme.so.4
/usr/lib/libakonadi_next.so.4
/usr/lib/libkaddressbookgrantlee.so.4
/usr/lib/libgrantleethemeeditor.so.4

And so /usr/lib/kde4/plugins/designer/mailcommonwidgets.so depends upon 
libmailcommon.so.4. As it is shipped in the same package we end up depending 
on it.

This is a designer plugin. We can split it alone or maybe split all the 
designer packages into their own package (and I think this last one makes more 
sense).

This is material for Stretch.

-- 
Moore's Law: The speed of processors will double every 18 months.
Gate's Law: The speed of software will halve every 18 months.
  Mysticalfruit en Slashdot

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: