[SM-Discuss] sorcery rebuild issues

Andrew afrayedknot at thefrayedknot.armory.com
Fri Mar 4 21:25:50 EST 2005


On Fri, Mar 04, 2005 at 05:15:46PM -0800, Andrew wrote:
> 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.
> 

Nothing looks out of the ordinary given the information in that bug
other than some things got triggered and triggered other things.

-Andrew

-- 
__________________________________________________________________________
|Andrew D. Stitt                           | astitt at sourcemage.org    |
|irc: afrayedknot                          | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus    | acedit at armory.com        |
|Sorcery Team Lead                         | ftp://t.armory.com/         |
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050304/75342417/attachment.bin 


More information about the SM-Discuss mailing list