[Pkg-bazaar-maint] Bug#612881: bzr: diff --using ceased working for commands with parameters

Roland Mas lolando at debian.org
Fri Feb 11 09:40:45 UTC 2011


Package: bzr
Version: 2.3.0-2
Severity: normal

I have a few aliases to run bzr diff with an external diff engine, in
particular "diff -bu" and "wdiff -n".  I don't know exactly when, since
I don't use them often, but they stopped working in the recent past (a
few months maybe) when the invocation of the external tool uses
parameters.  bzr tries to run a program called "wdiff -n", rather than
invoke "wdiff" with the "-n" parameter, as evidenced by the following
strace:

,----
| $ strace -f -eexecve bzr diff --using "wdiff -n" -c 6756 
| execve("/usr/bin/bzr", ["bzr", "diff", "--using", "wdiff -n", "-c", "6756"], [/* 43 vars */]) = 0
| === modified file 'Makefile.debian'
| Process 16148 attached
| [pid 16148] execve("/home/roland/bin/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| [pid 16148] execve("/usr/local/bin/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| [pid 16148] execve("/usr/bin/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| [pid 16148] execve("/bin/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| [pid 16148] execve("/usr/bin/X11/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| [pid 16148] execve("/usr/games/wdiff -n", ["wdiff -n", "/tmp/bzr-diff-NmfGIH/old/Makefil"..., "/tmp/bzr-diff-NmfGIH/new/Makefil"...], [/* 43 vars */]) = -1 ENOENT (No such file or directory)
| Process 16147 suspended
| Process 16147 resumed
| Process 16148 detached
| --- SIGCHLD (Child exited) @ 0 (0) ---
| bzr: ERROR: wdiff -n could not be found on this machine
`----

Roland.
-- 
Roland Mas

The best definition of an immortal is someone who hasn't died yet.
  -- in Ye Gods! (Tom Holt)





More information about the Pkg-bazaar-maint mailing list