On Sat, Jul 03, 2004 at 05:32:46PM -0700, Ersatz Sophist wrote:
> This, methinks, depends on how many packages are being updated. For 
> example, when I was trying to install gnucash for the first time, fink 
> had to install something like 130 packages. It would routine fail after 
> package number 30 or so because a dependency for that package had not 
> been satisfied yet. So, I would manually install that particular 
> package and then resume gnucash installation. This happened a couple of 
> times until all packages were successfully installed.
> 
> So, I think the problem is that when you do a blanket update, fink 
> sometimes does not install the packages in the correct order.
> 
> I could be wrong, of course.

There is a known problem that may be acting here that is slightly more
subtle: dependencies are resolved once per fink run instead of for
each pacakge to be compiled.

Technical details if you care: Consider package foo and bar both link
against libquux,dylib, but one uses libquux1 and the other libquux2
(these two packages contain different versions of the same file, and
so replace each other). Fink knows to install libquux1 before foo and
libquux2 before bar. But fink does not check that installing libquux2
uninstalls libquux1, so it doesn't do any further special ordering of
the packages. That means it doesn't see a problem with installing both
libquux first (i.e., handling [all dependencies] for the whole set of
packages), then compiling foo and bar. But of course by the time it
get to foo and bar, one of the libquux is no longer present, so one of
foo or bar will not compile correctly.

dan

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



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to