pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45444
The following reply was made to PR pkg/45444; it has been noted by GNATS.
From: "Jonathan Perkin" <jperkin%joyent.com@localhost>
To: <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/45444
Date: Fri, 8 Jun 2012 14:46:00 +0100
Ok, looking further at the truss output, the difference is that the
broken case doesn't vfork, whereas the working one does:
Working (PATH=/usr/bin):
vforkx(0)
..
vforkx()
..
execve("/usr/xpg4/bin/sh", 0x0808A4E0, 0x08047CC4) argc = 3
argv: /usr/xpg4/bin/sh -c
/tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle | grep -v "^--- "
..
execve("/usr/bin/amd64/ksh93", 0x08047C98, 0x08047CA8) argc = 3
argv: /usr/xpg4/bin/sh -c
/tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle | grep -v "^--- "
..
forkx(0)
..
forkx()
..
vforkx(0)
..
execve("/tmp/pkgsrc-xpg4/bmake/SunOS/bmake", 0x0049F430, 0x0049F5A8) argc
= 5
argv: /tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle
..
vforkx()
..
execve("/usr/bin/grep", 0x0049F540, 0x0049F5C8) argc = 3
argv: grep -v ^---
Broken (PATH=/usr/xpg4/bin:/usr/bin):
vforkx(0)
..
vforkx()
..
execve("/usr/xpg4/bin/sh", 0x0808A4E0, 0x08047CB4) argc = 3
argv: /usr/xpg4/bin/sh -c
/tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle | grep -v "^--- "
..
execve("/usr/bin/amd64/ksh93", 0x08047C88, 0x08047C98) argc = 3
argv: /usr/xpg4/bin/sh -c
/tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle | grep -v "^--- "
..
forkx(0)
..
forkx()
..
execve("/tmp/pkgsrc-xpg4/bmake/SunOS/bmake", 0x0049F430, 0x0049F5A8) argc
= 5
argv: /tmp/pkgsrc-xpg4/bmake/SunOS/bmake -f
/tmp/pkgsrc-xpg4/bmake/unit-tests/dotwait -j4 cycle
If you want more details the complete outputs are at
http://www.netbsd.org/~jperkin/bmake-xpg4/truss-bin.out
http://www.netbsd.org/~jperkin/bmake-xpg4/truss-xpg4.out
truss-bin='PATH=/usr/bin', truss-xpg4='PATH=/usr/xpg4/bin:/usr/bin'.
Regards,
--
Jonatha Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index