Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-11-10 Thread Andreas Tille
Am Fri, Nov 10, 2023 at 12:53:57AM +0530 schrieb Nilesh Patra: > > Thanks a lot for the warning. I'll leave the bug open as a reminder > > and will sleep over it for a couple of nights to decide what might be > > the best solution for the problem. > > I guess it has been a little bit longer than

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-11-10 Thread Andreas Tille
Am Fri, Nov 10, 2023 at 12:53:57AM +0530 schrieb Nilesh Patra: > > > PS: Please mention my contribution in d/ch if you take this patch. > > > > Sure. ;-) Applied in Git, will do a couple of tests before uploading. Thanks a lot for the patch Andreas. -- http://fam-tille.de

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-11-09 Thread Nilesh Patra
On Thu, 27 Jul 2023 22:07:23 +0200 Andreas Tille wrote: > Am Thu, Jul 27, 2023 at 11:51:42PM +0530 schrieb Nilesh Patra: > > > > On checking further, it seems to be stemming from the recommends line in > > dh-r code[1]. This is because recommendsinput variable is being directly > > set from desc-

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-08-18 Thread Nilesh Patra
I am starting a discussion in the mailing list regarding this change. Currently, dh-r converts test dependencies into "Recommends" and injects then into the binary control file as such. I feel that this maybe wrong, as you're essentially installing useless packages into users machine who may no

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-07-27 Thread Andreas Tille
Am Fri, Jul 28, 2023 at 08:07:01AM +0530 schrieb Nilesh Patra: > > > On 28 July 2023 1:37:23 am IST, Andreas Tille wrote: > >> The reason that we don't see such problems in for instance > >> r-bioc-bsgenome is because it has some values in the testdepends and > >> recommendsinput ends up having

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-07-27 Thread Nilesh Patra
On 28 July 2023 1:37:23 am IST, Andreas Tille wrote: >> The reason that we don't see such problems in for instance >> r-bioc-bsgenome is because it has some values in the testdepends and >> recommendsinput ends up having some value[4]. >> >> I have attached a patch to fix this, please check. >

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-07-27 Thread Andreas Tille
Hi Nilesh, Am Thu, Jul 27, 2023 at 11:51:42PM +0530 schrieb Nilesh Patra: > > On checking further, it seems to be stemming from the recommends line in > dh-r code[1]. This is because recommendsinput variable is being directly > set from desc->{Recommends}, and a check of whether this field is emp

Bug#1042406: dh-r: throws "Use of uninitialized value $dep_line in substitution" warnings with some packages

2023-07-27 Thread Nilesh Patra
Package: dh-r Version: 20230722 Severity: important Tags: patch Dear Maintainer, As discussed on matrix chan, it seems that during build of some R packages, there's output such as this: Use of uninitialized value $dep_line in substitution (s///) at /usr/share/perl5/Dpkg/Deps.pm line 300. Use of