[SM-Grimoire-Bugs] [Bug 10357] New: bind fails to cast -- "./make: is a directory" -- libmisc

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Jan 8 05:05:52 EST 2006


           Summary: bind fails to cast -- "./make: is a directory" --
           Product: Codex
           Version: test grimoire
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: net
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sqweek at gmail.com

After configure finishes in bind/bind-tools I get the following error:
/var/lib/sorcery/modules/libgrimoire: line 134: ./make: is a directory

 There certainly is a directory called make in bind's source dir:
$ ls -ld /usr/src/bind-9.3.1/make  
drwxrwxr-x 2 10132 wheel 4096 2006-01-08 09:07 /usr/src/bind-9.3.1/make

 Looks to me like the problem is that smgl_which does a test -x on each file it
inspects, and the make directory is, of course, executable. So, find_make ends
up thinking the make directory is its make binary.
 Suggested fix is "test -f $FOO -a -x $FOO", which works here and I will shortly
attach a patch for (I have to also consider "test ! -d $FOO -a -x $FOO", but I'm
not entirely clear on the distinction).

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the SM-Grimoire-Bugs mailing list