Bug#921693: rust-ripgrep uses fixed directory in /tmp, causes FTBFS if multiple people try to build the package on the same system.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#921693: rust-ripgrep uses fixed directory in /tmp, causes FTBFS if multiple people try to build the package on the same system.

peter green-2
Package: rust-ripgrep
Version: 0.10.0-1
Severity: serious

While testing to see if 916615 was still reproducible (it is :( ) I ran into another issue
with the testsuite. By default it uses a fixed directory name in /tmp , specifically
/tmp/ripgrep-tests . If this directory already exists and is owned by another user
the testsuite will fail. A log can be found at

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=916615;filename=rust-ripgrep.log;msg=19

My soloution was to edit debian/rules to put the temporary directory under the
build tree. Debdiff attatched, no intent to NMU.


rust-ripgrep.debdiff (1K) Download Attachment