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: Jason Flatt <jason AT flattfamily.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] sorcery rebuild issues
  • Date: Wed, 23 Mar 2005 23:24:25 -0800

On Sunday 06 March 2005 12:56 pm, Paul Mahon wrote:
> It is available at http://dufflebunk.homeip.net/smgl/findLibDepends2.sh
>
> Run: find LibDepends.sh [-n recursion] [-q] [spell [spell] ...]
> Default recursion is 2, explicit depends only.
> Default spell list is all installed spells.
> Add -q to surpress the progress output.
>
> I believe at one point Andrew took the logic from the script and put it
> into prometheus, I'm not sure though.
>
> It is fairly slow to run, a 'gaze from' is needed for every library each
> elf in a spell needs. If two binaries need libfoo.so it will run gaze
> from libfoo.so twice, so it's not very optimized.
>

Okay, so I finally got around to running it, but I'm not sure how reliable it
is. Right off the bat I get:

Looking at dialog
/usr/bin/dialog needs /lib/libncurses.so.5.
Provided by ncurses, but not in DEPENDS.

but then I run the following:
jason@tbird:~$ gaze DEPENDS dialog
depends ncurses

Which makes me wonder if I'm doing something wrong, or if findLibDepends2.sh
is doing something wrong, or maybe it's doing exactly what it's supposed to
be doing and I should just hand over the log file and quit trying to analyze
it:
root@tbird:~# ll findLibDepends-results.txt
-rw-r--r-- 1 root root 386484 2005-03-23 08:56 findLibDepends-results.txt

FYI, I just ran it straight with no options. I'm running Test Sorcery and
here's my codex:
jason@tbird:~$ scribe index
Codex Listing
-------------
[0] : custom : /home/jason/sourcemage/custom
[1] : test : /var/lib/sorcery/codex/test
[2] : stable : /var/lib/sorcery/codex/stable
[3] : z-rejected : /var/lib/sorcery/codex/z-rejected
[4] : games : /var/lib/sorcery/codex/games
[5] : devel : /home/jason/sourcemage/perforce/grimoires/devel

and here's the version info for the two spells:
jason@tbird:~$ gaze versions dialog
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
custom - - - -
test utils dialog 1.0-20040721 1.0-20040721
stable utils dialog 1.0-20040721 -
z-rejected - - - -
games - - - -
devel utils dialog 1.0-20040721 -

jason@tbird:~$ gaze versions ncurses
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
custom - - - -
test libs ncurses 5.4 5.4
stable libs ncurses 5.4 -
z-rejected - - - -
games - - - -
devel libs ncurses 5.4 -

Is there anything different I should be doing?


--
Jason Flatt
Father of five: http://www.flattfamily.com/
Linux user: http://www.sourcemage.org/ - http://www.lvlug.org/




Archive powered by MHonArc 2.6.24.

Top of Page