Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] sorcery rebuild issues

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] sorcery rebuild issues
  • Date: Fri, 4 Mar 2005 17:15:46 -0800

On Fri, Mar 04, 2005 at 05:08:12PM -0800, David Braaten wrote:
> Quoting Andrew <afrayedknot at
> thefrayedknot.armory.com>:
> ..snip..
> > > I propose that:
> > > 1) sorcery rebuild should do some reasonable
> > > dependency sorting so that spells at the bottom of
> the
> > > tree are built first.
> >It does, and it has for almost a year now. The more
> >likely problem is that
> >your dependency tree is either missing or very
> >incomplete. Almost the exact
> >same problem came up a week or so ago...
>
> It may be old and bloated (1679 lines), but not
> missing or imcomplete. I'd like to point out that
> cleanse seems to come up with a reasonable order for
> checking spells, does it warrant some investigation as
> to why they would be so different?
>
> For reference,
> http://bugs.sourcemage.org/show_bug.cgi?id=8366
> with my depends file attached on the bug.
>
> One other thing. I'm assuming that the ordering that
> appears in queue/install is the ordering after sorcery
> has done the dependency sort. Is my assumption wrong?

Yes, that is an incorrect assumption. Here is the complete implementation
for cast --queue:
cast -c $(cat $QUEUE)

Heres (roughly) sorcery rebuild:
cleanse --fix
cast -c $(gaze installed|cut -f1 -d:)

The code that takes the installed depends from the depends file and
converts it to a makefile for cast is almost entirely the same, so its
highly unlikely that cast is somehow doing things in a bad order.

I believe it was pointed out earlier that the problem was due to zlib
being depended upon early in the game and it triggering a recast of
everything, including qt-x11 and kde which then went and triggered each
other.

I'll look at your bug, but its likely invalid due to known limitations
and problems with massive triggering and dependencies. I've devoted some
background brain-cycles for figuring this problem out in the sorcery
1.13 timeframe if it makes you feel any better.

-Andrew






Archive powered by MHonArc 2.6.24.

Top of Page