Bug#809806: uscan: Writes .uscan.log file unconditionally

Osamu Aoki osamu at debian.org
Sun Jan 31 07:42:57 UTC 2016


Control: merge 809806 809662

On Mon, Jan 04, 2016 at 11:08:40AM +0100, Joachim Breitner wrote:
> Package: devscripts
> Version: 2.15.10
> Severity: normal
> File: /usr/bin/uscan
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I use uscan not always in an extract source directory, but rather with
> explicit pointers to the watchfile etc., and an explicit destdir, e.g.:
> 
> uscan --rename --force-download --package haskell-generics-sop --download --watchfile /home/jojo/debian/pkg-haskell/packages/p/haskell-generics-sop/debian/watch --copyright-file /home/jojo/debian/pkg-haskell/packages/p/haskell-generics-sop/debian/copyright --download-version 0.1.1.2 --upstream-version 0.1.1.2 --destdir .  --rename
> 
> Since a recent upgraded, this fails with
> uscan die: uscan: could not open ../haskell-generics-sop_0.1.1.2.uscan.log for append: Permission denied
> 
> I believe that uscan should either write this log file (what is it for
> anyways?) to the destdir as well, or provide a way to disable writing
> it.

Excuse me.  I did not pay attention to --destdir.  Bug #809662 is fixed
by Antonio and that should have fixed this bug with your first option of
fixes.

Do you really insist to have an option to disable this log?  If not,
let's go with this pending fix for Bug #809662.

Regards,

Osamu



More information about the devscripts-devel mailing list