Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] triggers while sorcery rebuild

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] triggers while sorcery rebuild
  • Date: Mon, 30 May 2005 10:18:08 -0400

Hello Robert. Fixing this problem in sorcery is listed as bug 7751.
However, it's a rather difficult thing to fix since triggers are only
supposed to be used as a last resort, and operate completely separately
from the rest of the dependency ordering system.

On Mon, 2005-30-05 at 15:59 +0200, Robert Figura wrote:
> Hi,
>
> i am actually doing a sorcery rebuild and observed an inefficiency
> regarding
> triggers. Let's see a list of duplicate casts
>
> $ diff /var/log/sorcery/activity \
> /mnt/fast-A/smgl-rebuild/var/log/sorcery/activity | awk \
> '/cast.*success/{print$4}' | sort | uniq -cd
> 2 autoconf
> 4 gdk-pixbuf
> 2 gnome-libs
> 5 imlib
> 2 kdelibs
>
> These numbers aren't final (since rebuild is still in progess) and i guess
> more spells will be cast multiple times.
>
> This is incredibly inefficient and is caused by triggers. Example:
>
> zlib triggers gdk-pixbuf
> zlib triggers imlib triggers gdk-pixbuf
>
> Then rebuild casts gdk-pixbuf, then imlib and again gdk-pixbuf etc.
> i hope there are no loops... :-A
>
> It seems that sorcery rebuild is utterly slower than a fresh install and
> therefor is quite useless except if you have lots of cputime to spare.
>
> There is also another small issue i'm not sure about: cast -c has some
> non-automatic casts (due to license) and in these demands confirmation (do
> you want XXX to be cast [n], defaults to no). I understand this is
> necessary for the first cast and maybe during update but while recast i'm
> usually not watching. Maybe we can skip it if it was already answered.
>
> Regards
> - Robert Figura
>

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page