On Wed, Feb 08, 2006 at 07:06:32PM -0600, Remi Mommsen wrote:
> Hi,
> 
> On Feb 4, 2006, at 12:09 PM, Remi Mommsen wrote:
> 
> >Hi,
> >
> >On Feb 3, 2006, at 2:18 AM, Martin Costabel wrote:
> >
> >>Remi Mommsen wrote:
> >>>Hi,
> >>>I'm switching btw the 10.4-transitional and 10.4 tree by setting  
> >>>a symlink from /sw to the 2 fink directories having the 10.4- 
> >>>transitional and 10.4 distributions active, respectively. I also  
> >>>linked the /sw/fink/debs directory btw the 2 directories to avoid  
> >>>rebuilding debs already built in one tree in the other when they  
> >>>bear the same version.

This falsely assumes that a .deb built for one dist will be the same
as for another. There's some automatic dist-dependent built-time stuff
done that may give a .deb under 10.4-T, for example, that isn't
appropriate for 10.4, or a .deb under 10.x that isn't usable at all on
10.y. It means that .deb for packages that are no longer appropriate
at all in a new dist will still be easily installable. We've had many
cases where a package gets out-of-sync (upgraded revisions) between
two dists and eventually wind up with the same revision but different
(sometimes *very* different) different dependencies and build options.
Last we talked about it, nobody could remember a fuctional reason why
we had the debs/ directory at all.

> >>>However, the symlinks created by Fink use / 
> >>>sw/fink/dists in the target path. Thus if I change the /sw  
> >>>symlink pointing to the other tree, the target path points to a  
> >>>non-existent deb file.
[...]
> >>>I guess this can be also useful for the normal user, i.e. without  
> >>>a hacked fink setup, when the switch from the 10.4-transitional  
> >>>to the 10.4 tree takes place. It would allow to retain access to  
> >>>the deb files built under the old tree.
> >>
> >>I agree. This would have been very useful already for the  
> >>10.3/10.4-transitional switch, where the current system forced  
> >>people to jump through several hoops (the newly built fink  
> >>switched the dists symlink, thereby making its own deb disappear,  
> >>and a subsequent "fink reinstall fink" errored out).

That is just a special case of fink not realizing that a dangling
symlink in debs/ isn't usable. It's a clear bug and is fixed in HEAD.
Isn't released yet because some -dev folks prefered the crash instead
of a clean recovery (i.e., rebuild the .deb).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to