Bug#1055528: dgit: perl warning: variable $date masks earlier declaration

2023-11-07 Thread Ian Jackson
ControL: severity -1 normal

Étienne Mollier writes ("Bug#1055528: dgit: perl warning: variable $date masks 
earlier declaration"):
>   $ dgit --help
>   "my" variable $date masks earlier declaration in same scope at 
> /usr/bin/dgit line 2188.
>   main usages:
> dgit [dgit-opts] clone [dgit-opts] package [suite] [./dir|/dir]
> dgit [dgit-opts] fetch|pull [dgit-opts] [suite]
> dgit [dgit-opts] build [dpkg-buildpackage-opts]
>   […]
> 
> This is repeatable with any other invocation from my typical
> dgit workflow.  This is not visibly impairing the functionality
> of dgit, hence the minor severity.

Thanks for the report.  This seems like it might be discouraging to
users so I think it warrants a higher severity.

I thought I had taken measures to treat warnings as errors, so err,
not sure how this could have esscaped through testsing.  I will
investigate that as well as fixing the underlying slip.

Regards,
Ian.



Bug#1055528: dgit: perl warning: variable $date masks earlier declaration

2023-11-07 Thread Étienne Mollier
Package: dgit
Version: 11.4
Severity: minor

Dear Maintainer,

Running dgit on Debian sid, I noticed recently that every
invocation started with what looks like a perl warning.  Example
output can be optained with --help flag:

$ dgit --help
"my" variable $date masks earlier declaration in same scope at 
/usr/bin/dgit line 2188.
main usages:
  dgit [dgit-opts] clone [dgit-opts] package [suite] [./dir|/dir]
  dgit [dgit-opts] fetch|pull [dgit-opts] [suite]
  dgit [dgit-opts] build [dpkg-buildpackage-opts]
[…]

This is repeatable with any other invocation from my typical
dgit workflow.  This is not visibly impairing the functionality
of dgit, hence the minor severity.

Have a nice day,  :)
Étienne.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dgit depends on:
ii  apt2.7.6
ii  ca-certificates20230311
ii  coreutils  9.1-1
ii  curl   8.4.0-2
ii  devscripts 2.23.6
ii  dpkg-dev   1.22.1
ii  dput-ng [dput] 1.37
ii  git [git-core] 1:2.42.0-1
ii  git-buildpackage   0.9.32
ii  libdpkg-perl   1.22.1
ii  libjson-perl   4.1-1
ii  liblist-moreutils-perl 0.430-2
ii  liblocale-gettext-perl 1.07-6
ii  libtext-csv-perl   2.03-1
ii  libtext-glob-perl  0.11-3
ii  libtext-iconv-perl 1.7-8
ii  libwww-curl-perl   4.17-10
ii  perl [libdigest-sha-perl]  5.36.0-9

Versions of packages dgit recommends:
ii  distro-info-data 0.59
ii  liburi-perl  5.21-1
ii  openssh-client [ssh-client]  1:9.4p1-1

Versions of packages dgit suggests:
ii  pbuilder  0.231
ii  sbuild0.85.4

-- no debconf information

-- 
  .''`.  Étienne Mollier 
 : :' :  gpg: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/5, please excuse my verbosity
   `-on air: Sky Empire - The Last Days of Planet Fantasy


signature.asc
Description: PGP signature