[Lunar-bugs] [Lunar Linux 0000314]: lunar doesn't correctly calculate zlocal dependencies

Lunar bug reports list lunar-bugs at lunar-linux.org
Sun Nov 25 21:39:15 CET 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=314 
====================================================================== 
Reported By:                Sirocco
Assigned To:                sofar
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   314
Category:                   lunar
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Moonbase Version:           20071125.00 
Core Tools:                 Lunar 
Core Tools Version:         20070623 
====================================================================== 
Date Submitted:             11-25-2007 21:39 CET
Last Modified:              11-25-2007 21:39 CET
====================================================================== 
Summary:                    lunar doesn't correctly calculate zlocal
dependencies
Description: 
Hi,

The /var/state/lunar/depends.cache file contains the dependencies of all
modules : official and zlocal modules. If a module is in zlocal and
official moonbase, the dependencies are calculated on zlocal and official
module.
zlocal dependencies don't override official depends, zlocal dependencies
are added to official depends.

And this is a problem when you create a zlocal module that contains
DEPENDS which conflicts with official DEPENDS.

How to reproduce :
lvu edit <module>
remove a dependency of /var/lib/lunar/moonbase/zlocal/<module>/DEPENDS
lin -r <module>
=> lunar always compile the dependency you removed.

I rebuilt the depends.cache file with lsh but official dependency is
always added to zlocal dependency.

I tried to modify the function create_depends_cache of depends.lunar but
I'm not good at programming and was unable to find a soluce.

The only way I found to solve this problem is to manually modify the
depends.cache after it has been generated.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-25-07 21:39  Sirocco        New Issue                                    
11-25-07 21:39  Sirocco        Status                   new => assigned     
11-25-07 21:39  Sirocco        Assigned To               => sofar           
11-25-07 21:39  Sirocco        Moonbase Version          => 20071125.00     
11-25-07 21:39  Sirocco        Core Tools                => Lunar           
11-25-07 21:39  Sirocco        Core Tools Version        => 20070623        
======================================================================



More information about the Lunar-bugs mailing list