From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 Description of problem: bdiff requires /usr/bin/tempfile, which is not in the package requirements Just trying to diff two bzip2 compressed files gets to the point. gzip correctly provides a dependency for mktemp and that package is available. For bzip2, neither is the tempfile available nor is there a dependency on a package that provides this utility. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run 'echo 'test1' | bzip2 > test1.bz2; echo 'test2' | bzip2 > test2.bz2' 2. run 'bzdiff file1.bz2 file2.gz2' Actual Results: output: /usr/bin/bzdiff: line 1: tempfile: command not found cannot create a temporary file Expected Results: output: 1c1 < test1 --- > test2 Additional info: Changing the line in /usr/bin/bzdiff in which tempfile appears to the following works: tmp=`mktemp /tmp/bz$$.XXXXXX` || { But it should be added to the rpm information that this package depends on mktemp.
bzcomp has the same problem.
bzdiff as well, and this same problem is in fedora core too.
sorry for the double follow up, but it seems another good solution (and more portable) might just be to use tmp=`mktemp -t bz$$.XXXXXX` || { as this automatically uses the right temp directory if its set in the environment, otherwise falls back to /tmp