Debian Developers - unsolvable circular dependencies and package splitting

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > January 2006 > unsolvable circular dependencies and package splitting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author unsolvable circular dependencies and package splitting
Jan Nieuwenhuizen

2006-01-09, 7:51 am


I wanted to report a circular dependency bug in fontconfig, but
found the discussion

http://bugs.debian.org/cgi-bin/bugr...ug=%23310877%3A

with apparent outcome: the fontconfig <->libfontconfig1 dependency
cannot be resolved.

If a circular dependency cannot be resolved because both packages
always need eachother, would policy not mandate that both packages
be merged?

Or maybe policy should be updated to allow circular dependencies
in cases that they are `unsolvable', and list those cases?

Jan.

--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Steve Langasek

2006-01-09, 7:51 am

On Mon, Jan 09, 2006 at 11:21:28AM +0100, Jan Nieuwenhuizen wrote:
>
> I wanted to report a circular dependency bug in fontconfig, but
> found the discussion
>
> http://bugs.debian.org/cgi-bin/bugr...ug=%23310877%3A


> with apparent outcome: the fontconfig <->libfontconfig1 dependency
> cannot be resolved.


Huh? The bottom of that bug log shows a proposed solution that should work
just fine.

> If a circular dependency cannot be resolved because both packages
> always need eachother, would policy not mandate that both packages
> be merged?


Shipping files in /usr/bin as part of a lib package causes problems for
coinstallability when there's an soname change. Even if you could guarantee
forwards-compatibility of interfaces, and as a result ship /usr/bin/fc-cache
in each lib package with Replaces:, there's the possibility you might remove
a later version of the lib and take the config files with it...

> Or maybe policy should be updated to allow circular dependencies
> in cases that they are `unsolvable', and list those cases?


There shouldn't be any cases that are unsolvable AFAICT.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/

Tollef Fog Heen

2006-01-09, 6:03 pm

* Steve Langasek=20

| Shipping files in /usr/bin as part of a lib package causes problems for
| coinstallability when there's an soname change. Even if you could guaran=
tee
| forwards-compatibility of interfaces, and as a result ship /usr/bin/fc-ca=
che
| in each lib package with Replaces:, there's the possibility you might rem=
ove
| a later version of the lib and take the config files with it...

That will also get you into an =C2=ABinteresting=C2=BB situation with
multiarch paths.

--=20
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'=
=20
`-=
=20=20
Jan Nieuwenhuizen

2006-01-13, 10:44 pm

Steve Langasek writes:

> Huh? The bottom of that bug log shows a proposed solution that should work
> just fine.


Ok, that's not quite how I read it. The discussion ended with an idea
for a fix and invitation to make such a package. That package never
materialized, so I assumed there must be more to it.

> There shouldn't be any cases that are unsolvable AFAICT.


Great, that would mean that there is no need for such an exception.

Jan.

--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com