pkgsrc debugging help

walt wa1ter at myrealbox.com
Sun Jun 5 10:32:10 PDT 2005


I have pkgsrc mostly working on DFly, but here's one puzzle I
can't figure out.

When I build games/xpat2 the compile works fine, and the
install actually works too, but then ends with this error:

mkdirhier /usr/pkg/man/man6
cp xpat2.man /usr/pkg/man/man6/xpat2.6
chmod 644 /usr/pkg/man/man6/xpat2.6
/usr/bin/install -c   xpat2 /usr/X11R6/bin/xpat2
+ /usr/bin/install -c -m 0444 XPat.ad /usr/X11R6/lib/X11/app-defaults/XPat
install in . done
bmake: don't know how to make install.man. Stop

But the install actually finished (including the man page)  *before*
that error message is printed.

Here's the kdump:

      "install in . done
       "
 73676 sh       RET   write 18/0x12
 73676 sh       CALL  read(0xa,0x80c8da0,0x3ff)
 73676 sh       GIO   fd 10 read 0 bytes
       ""
 73676 sh       RET   read 0
 73676 sh       CALL  exit(0)
 73649 bmake    RET   wait4 73676/0x11fcc
 73649 bmake    CALL  stat(0x80a09f0,0xbfbfe130)
 73649 bmake    NAMI  "install"
 73649 bmake    RET   stat -1 errno 2 No such file or directory
 73649 bmake    CALL  exit(0)
 73648 sh       RET   wait4 73649/0x11fb1
 73648 sh       CALL  exit(0)
 73645 bmake    RET   wait4 73648/0x11fb0
 73645 bmake    CALL  stat(0x8079320,0xbfbfe190)
 73645 bmake    NAMI  "install"
 73645 bmake    RET   stat -1 errno 2 No such file or directory
 73645 bmake    CALL  stat(0x8079360,0xbfbfe190)
 73645 bmake    NAMI  "install.man"
 73645 bmake    RET   stat -1 errno 2 No such file or directory
 73645 bmake    CALL  stat(0x8079360,0xbfbfe190)
 73645 bmake    NAMI  "install.man"
 73645 bmake    RET   stat -1 errno 2 No such file or directory
 73645 bmake    CALL  write(0x2,0xbfbfd900,0x2f)
 73645 bmake    GIO   fd 2 wrote 47 bytes
       "bmake: don't know how to make install.man. Stop"


I'm guessing that this is coming from these lines in bsd.pkg.use.mk:

       .if defined(USE_IMAKE) || !empty(USE_TOOLS:Mimake)
        INSTALL_TARGET+=        ${NO_INSTALL_MANPAGES:D:Uinstall.man}

but the syntax is unclear to me.

Any thoughts?  Anyone else seeing the same error?






More information about the Bugs mailing list