portsdb -uU leaves lockfiles in /tmp
KOMATSU Shinichiro
koma2 at lovepeers.org
Mon May 16 11:11:35 PDT 2005
Hi,
Jubal Kessler wrote:
> I run 'portsdb -uU' every night. I've just noticed that lockfiles are
> being left in /tmp after each invocation. The files look like:
>
> /tmp/courier-authlib.locktest.XXXX
>
> The Makefile in security/courier-authlib references $LOCKTEST, which makes
> the above lockfile. I have two questions:
>
> 1. Why is portsdb doing this?
Because "portsdb -u" invokes "make index" internally.
That "make index" invokes "make describe" in
security/courier-authlib-base, and the following line of
security/courier-authlib/Makefile (included by courier-authlib-base)
LOCKTEST!= ${MKTEMP} /tmp/courier-authlib.locktest.XXXXX
is evaluated, and this "mktemp" creates tempfile in /tmp.
So this is a problem of security/courier-authlib{,-base} ports
themselves, rather than portupgrade.
> 2. How can I make portsdb be as verbose as possible, and show me
> what it's doing when it reaches the point where it creates the
> lockfiles?
I saw portsdb source, but no "verbose" option could be found.
More information about the freebsd-ports
mailing list