Skip to Content.
Sympa Menu

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

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 10357] New: bind fails to cast -- "./make: is a directory" -- libmisc
  • Date: 8 Jan 2006 10:05:52 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=10357

Summary: bind fails to cast -- "./make: is a directory" --
libmisc
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.



  • [SM-Grimoire-Bugs] [Bug 10357] New: bind fails to cast -- "./make: is a directory" -- libmisc, bugzilla-daemon, 01/08/2006

Archive powered by MHonArc 2.6.24.

Top of Page