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

Bug#711697: libcupsfilters1 has circular Depends on libcupsimage2



Control: tags -1 +moreinfo

Hi Bill, and thanks for your bugreport,

Le samedi, 8 juin 2013 21.31:32, Bill Allombert a écrit :
> There is a circular dependency between libcupsfilters1 and libcupsimage2:
> 
> libcupsfilters1 :Depends: libcupsimage2 (>= 1.4.0)
> libcupsimage2 	:Depends: libcupsfilters1 (>= 1.0~b1)

Indeed. Good catch, thanks.

> Circular dependencies involving shared libraries are known to cause
> problems during upgrade between stable releases, so we should try to get
> rid of them.

The problem here is that the ABI provided by libcupsimage2 has been split at 
version 1.6 between libcupsimage2 and libcupsfilters1, hence the depends of 
libcupsimage2 on libcupsfilters1. This could probably be downgraded to a 
Recommends, but brings in the risk that package A, depending on libcupsimage2 
1.5 stops to work if libcupsimage2 is upgraded to 1.6 and libcupsfilters1 is 
not installed (aka partial upgrade).

Dropping symbols without bumping the SOVERSION (although they have been re-
implemented in libcupsfilters1) is a very unfortunate move by upstream but 
none that we can reasonably fix.

The other side of the circular-dependency coin is libcupsfilters1 depending on 
libcupsimage2, but that's brought in by shlibdeps.

So unless there's a good way to ensure partial upgrades keep working, I think 
that this circular dependency, as unfortunate as it might seem, is probably 
necessary. (Hence tagging moreinfo to see whether I can be convinced 
otherwise, might turn that into wontfix later.)

Cheers,

OdyX

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


Reply to: