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

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Mon Feb 14 23:10:13 UTC 2005


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



badalex

-- 
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