[Lunar-bugs] [bug] w3c-libwww recursive depends

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Tue Mar 15 10:37:17 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     normal
 Assigned to:  sofar
 Reported by:  badalex
 Updated by:   sofar
-Status:       patch
+Status:       fixed

added slightly modified version of the patch.

sofar



Previous comments:
------------------------------------------------------------------------

Mon, 02/14/2005 - 22:52 : badalex

Attachment: http://lunar-linux.org/files/issues/depends.lunar.patch (503 bytes)

w3c-libwww depends on itself meaning that you cant even lin lunar if you
dont have w3c-libwww (as it lunar depends on it so it just goes round in
circles) installed.

i.e.

Checking dependencies for w3c-libwww 
mod_v="" mod="w3c-libwww"
Checking dependencies for w3c-libwww 
mod_v="" mod="w3c-libwww"
Checking dependencies for w3c-libwww 
mod_v="" mod="w3c-libwww"
Checking dependencies for w3c-libwww 
mod_v="" mod="w3c-libwww"
Checking dependencies for w3c-libwww

Steps to reproduce:

# lrm w3c-libwww
# lin lunar

Things Tried:

lunar fixdepends
lin moonbase
lsh create_module_index
lsh create_depends_cache
manualy installing lunar

Pseduo Fix:
I added a simple if statement in satisfy_depends() that makes sure the
depend module is not the module we are trying to install (mainly
because i fixed the depend in the depends cache being lazy and all but
then later there was another round robbin depend on some random module
and i think its just a good sanity check)



------------------------------------------------------------------------

Mon, 02/14/2005 - 23:11 : Moe

Looks like  a rather great sanity check .. would mean to get rid of
loopy dependencies .. wouldn't it?

-- 
View: http://lunar-linux.org/?q=node/view/723
Edit: http://lunar-linux.org/?q=project/comments/add/723




More information about the Lunar-bugs mailing list