t...@pault.ag wrote on Thu, 23 Feb 2012 20:54 -0500: > On Thu, Feb 23, 2012 at 6:37 PM, Jakub Wilk <jw...@debian.org> wrote: > > But it FTBFS here with: > > | set -e; cd tests; for x in python2.7 python2.6; do \ > > | $x run-tests.py --with-hg=`which hg`; \ [..] > > | Traceback (most recent call last): > > | WARNING: Did not find prerequisite tool: unzip > > | File "run-tests.py", line 708, in <module> > > | main() > > | File "run-tests.py", line 704, in main > > | runtests(options, expecthg, tests) > > | File "run-tests.py", line 566, in runtests > > | installhg(options) > > | File "run-tests.py", line 239, in installhg > > | usecorrectpython() > > | File "run-tests.py", line 199, in usecorrectpython > > | os.symlink(sys.executable, mypython) > > | OSError: [Errno 2] No such file or directory > > Grrr. I'm having a hard time reproducing this. Any ideas on how to > reproduce the FTBFS?
Paul's latest patch worked fine for me. Part of debian/control required manual patching due to other changes in the neighborhood is all. Looking at the error, the only way to get into installhg() is if the --with-hg option wasn't provided. This would be the case if $(which hg) returned empty too. But mercurial is a build-dep, and it provides /usr/bin/hg. Jakub, any chance you tested without all deps installed, or did not have /usr/bin in path? /bin/which comes from the required debianutils, so also should be there. -- Pete -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org