[pacman-dev] [PATCH] Improved 'dependency cycle' warning
Xavier
shiningxc at gmail.com
Wed Nov 21 08:44:57 EST 2007
On Wed, Nov 21, 2007 at 01:43:23PM +0100, Nagy Gabor wrote:
> Hi!
> I did a -Su yesterday, and I got 4 dependency cycle warnings. I became curious
> and I made this little patch (English clarifiaction needed).
>
> So I found 4 dependency cycle in our repos; these are not necessarily bugs but
> imho they worth mentioning:
> glibc->tzdata->glibc
> readline->glibc->bash->readline
> coreutils->shadow->coreutils
> db->coreutils->pam->db
>
Yes, I noticed exactly this earlier (because I'm using the testing repo) :
http://www.archlinux.org/pipermail/arch/2007-November/016149.html
I first thought about trying to make the debugging output of pacman more
verbose, but then I remembered the python script of stonecrest, so I used
that instead, by lazyness.
So thanks a lot for this patch, I think it's very helpful.
Btw, stonecrest later updated his script, but it still considered makedepends
like depends, which is not exactly what we want from pacman point of view.
So I hacked it in a bad way, and here are the final cycles I found :
http://www.archlinux.org/pipermail/arch/2007-November/016174.html
More information about the pacman-dev
mailing list