Bug#651332: lintian: unhelpful message if changes file not present

2012-02-21 Thread Nicholas Bamber

Niels,
Congratulations.

On 21/02/12 08:24, Niels Thykier wrote:

tags 651332 -moreinfo -unreproducible
thanks


On 2012-02-14 21:43, Nicholas Bamber wrote:

tag 651332 +unreproducible
thanks

Niels,
Sorry I did try to reporduce this in more isolated condition and
failed. All I can say is that it really happened but that the
circumstances were unnatural. (I was writing a script to generate a
Debian package and one of the tests was is the package lintian clean. I
think something else broke and then the issue happened. ) So altogether
hard to reprodiuce but when it does a real nuisance.

[...]


Hi,

I managed to reproduce it when I due to copy-waste error tried:

$ lintian http://ftp.dk.debian.org/<...>/libtiff5_4.0.1-1_amd64.deb

It can be triggered by specificing non-existent files in the form of:

   /absolute/path/to/nowhere
   scheme://host/query

Relative paths just seem to trigger the "no matches on lab-query"
warning, which is probably why I have been unable to re-produce it so far.

~Niels




--
Nicholas Bamber | http://www.periapt.co.uk/
PGP key 3BFFE73C from pgp.mit.edu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2012-02-21 Thread Niels Thykier
tags 651332 -moreinfo -unreproducible
thanks


On 2012-02-14 21:43, Nicholas Bamber wrote:
> tag 651332 +unreproducible
> thanks
> 
> Niels,
>   Sorry I did try to reporduce this in more isolated condition and
> failed. All I can say is that it really happened but that the
> circumstances were unnatural. (I was writing a script to generate a
> Debian package and one of the tests was is the package lintian clean. I
> think something else broke and then the issue happened. ) So altogether
> hard to reprodiuce but when it does a real nuisance.
> 
> [...]

Hi,

I managed to reproduce it when I due to copy-waste error tried:

$ lintian http://ftp.dk.debian.org/<...>/libtiff5_4.0.1-1_amd64.deb

It can be triggered by specificing non-existent files in the form of:

  /absolute/path/to/nowhere
  scheme://host/query

Relative paths just seem to trigger the "no matches on lab-query"
warning, which is probably why I have been unable to re-produce it so far.

~Niels




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2012-02-14 Thread Nicholas Bamber
tag 651332 +unreproducible
thanks

Niels,
Sorry I did try to reporduce this in more isolated condition and
failed. All I can say is that it really happened but that the
circumstances were unnatural. (I was writing a script to generate a
Debian package and one of the tests was is the package lintian clean. I
think something else broke and then the issue happened. ) So altogether
hard to reprodiuce but when it does a real nuisance.

On 14/02/12 16:17, Niels Thykier wrote:
> tags 651332 + moreinfo
> thanks
> 
> 
> On 2011-12-08 23:00, Niels Thykier wrote:
>> On 2011-12-08 22:57, Nicholas Bamber wrote:
>>> Niels,
>>> I think the following steps should reproduce it:
>>
>>> 1.) Take a package and run lintian against it.
>>> 2.) Then delete the package and but still run lintian against it.
>>
>>> [...]
>>
>> Sadly I still cannot reproduce it (from the above):
>>
>> $ [...]
>>
>> I assume you are not removing the file while lintian is running?
>>
>> ~Niels
>>
>>
> 
> Hi,
> 
> So I still have not been able to reproduce the issue from the git
> version of Lintian.  I suspect it has been fixed as a side-effect of
> another change, but I am not any wiser on when/what/how it happened.
> 
> Admittedly I have not tried to reproducing it by removing the package(s)
> while lintian is running.  However, I doubt that is what you are doing.
>  I intend to close this shortly after the 2.5.5 upload, unless I am able
> to produce it.
> 
> ~Niels
> 


-- 
Nicholas Bamber | http://www.periapt.co.uk/
PGP key 3BFFE73C from pgp.mit.edu



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2012-02-14 Thread Niels Thykier
tags 651332 + moreinfo
thanks


On 2011-12-08 23:00, Niels Thykier wrote:
> On 2011-12-08 22:57, Nicholas Bamber wrote:
>> Niels,
>>  I think the following steps should reproduce it:
> 
>> 1.) Take a package and run lintian against it.
>> 2.) Then delete the package and but still run lintian against it.
> 
>> [...]
> 
> Sadly I still cannot reproduce it (from the above):
> 
> $ [...]
> 
> I assume you are not removing the file while lintian is running?
> 
> ~Niels
> 
> 

Hi,

So I still have not been able to reproduce the issue from the git
version of Lintian.  I suspect it has been fixed as a side-effect of
another change, but I am not any wiser on when/what/how it happened.

Admittedly I have not tried to reproducing it by removing the package(s)
while lintian is running.  However, I doubt that is what you are doing.
 I intend to close this shortly after the 2.5.5 upload, unless I am able
to produce it.

~Niels




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2011-12-08 Thread Niels Thykier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2011-12-08 22:57, Nicholas Bamber wrote:
> Niels,
>   I think the following steps should reproduce it:
> 
> 1.) Take a package and run lintian against it.
> 2.) Then delete the package and but still run lintian against it.
> 
>[...]

Sadly I still cannot reproduce it (from the above):

$ lintian lintian_2.5.4_amd64.changes
N: 3 tags overridden (3 warnings)
$ rm lintian_2.5.4_amd64.changes
$ lintian lintian_2.5.4_amd64.changes
warning: cannot find binary, udeb or source package
lintian_2.5.4_amd64.changes in lab (skipping)
$ lintian lintian_2.5.4_amd64.changes
warning: cannot find binary, udeb or source package
lintian_2.5.4_amd64.changes in lab (skipping)
$ touch lintian_2.5.4_amd64.changes
$ lintian lintian_2.5.4_amd64.changes
internal error: /some/path/lintian_2.5.4_amd64.changes is not a valid
changes file

I assume you are not removing the file while lintian is running?

~Niels


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJO4TN5AAoJEAVLu599gGRC+qgQAJysJvHmNeSeLZ1uZEgLcMRC
/OtGsMUfdjdMLf6sU3ZO4V3PkFv6yBV+mwmd/iJfl6sroexEeRRZSLio0t2etpS5
BIsIBrVPRr2QI2SN+Fnn2ophlpLc4eiI2yp2bHnMq/rIrffIO/vWFx58PCZse82S
VsSdYRPZfhHjmPmjWPXFqJu/bwpoTxRlCtsvpgyyWsf7v2Bz+nxzqDKbU0mZl9Tc
vMgA3Jrewkq30j9E394GgX4t7R2VH5IGACVZIuOacZSXq+6vXwNkQDsVT02rAWCc
CPXUngQ/upZrGWPWHtiDNXldwpXZRVQw/p1htR9emIGvBv3ZLUI2KsZIQOj0t06A
2ud8majsw4e/CSHBK09lCFFE5xNENqStUBm6Lmwf0jqSb0IATLbVMETzR5wY0734
u54CN9CS/AppgN1+tJS0BQBM1/dfmmyYc6VVDnGV1awiQfMQN32OcrTxXRh/eFtL
0jY8ObCslpybvb444irGC+lBjQJSa9BY+N8CZ1HKkERKx/Y4YgR1aKszy5IubcJp
irALUNrl/hBoE3tdTA81O5B+3uwJCC3TAoxjOQOLbhXJFQf6oBIA4qHvsKbd+lG4
tivnaTs56o5cOpQNUWIvocUHj5QvQTSZERaa18IPuJdgGvCbulj9MHFsGER5hLX7
2mgIpF65w0aua4uS30C2
=toOw
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2011-12-08 Thread Nicholas Bamber
Niels,
I think the following steps should reproduce it:

1.) Take a package and run lintian against it.
2.) Then delete the package and but still run lintian against it.

On 08/12/11 14:05, Niels Thykier wrote:
> On 2011-12-07 21:32, Nicholas Bamber wrote:
>> Package: lintian
>> Version: 2.5.4
>> Severity: minor
>>
>> Dear Maintainer,
>>
> 
> Hi,
> 
>>* What led up to the situation?
>> I have script that generates a private Debian package,
>> builds it and runs lintian on the resulting changes file.
>> I changed the name of the generated package in the test script
>> and forgot that the test script needed to be updated.
> 
> 
> Is it possible to get one package/changes that emits this issue I can
> test against along with invocation example?
> 
>> This led to an utterly bizarre error message:
>>
>> "Package name and type must be defined at /usr/bin/lintian line 1692"
>>
> 
> I have identified the source of the error message, but I am not quite
> sure how it got there.
> 
>> I understand that lintian runs on a layered approach and that the
>> error was finally spotted deep in the code. It would be nice if the arguments
>> were sanity checked right at the beginning as the message then would
>> be immediately obvious.
>>
>> [...]
> 
> :)
> 
> ~Niels
> 
> 
> 


-- 
Nicholas Bamber | http://www.periapt.co.uk/
PGP key 3BFFE73C from pgp.mit.edu



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2011-12-08 Thread Niels Thykier
On 2011-12-07 21:32, Nicholas Bamber wrote:
> Package: lintian
> Version: 2.5.4
> Severity: minor
> 
> Dear Maintainer,
> 

Hi,

>* What led up to the situation?
> I have script that generates a private Debian package,
> builds it and runs lintian on the resulting changes file.
> I changed the name of the generated package in the test script
> and forgot that the test script needed to be updated.


Is it possible to get one package/changes that emits this issue I can
test against along with invocation example?

> This led to an utterly bizarre error message:
> 
> "Package name and type must be defined at /usr/bin/lintian line 1692"
> 

I have identified the source of the error message, but I am not quite
sure how it got there.

> I understand that lintian runs on a layered approach and that the
> error was finally spotted deep in the code. It would be nice if the arguments
> were sanity checked right at the beginning as the message then would
> be immediately obvious.
> 
> [...]

:)

~Niels






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#651332: lintian: unhelpful message if changes file not present

2011-12-07 Thread Nicholas Bamber
Package: lintian
Version: 2.5.4
Severity: minor

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
I have script that generates a private Debian package,
builds it and runs lintian on the resulting changes file.
I changed the name of the generated package in the test script
and forgot that the test script needed to be updated.
This led to an utterly bizarre error message:

"Package name and type must be defined at /usr/bin/lintian line 1692"

I understand that lintian runs on a layered approach and that the
error was finally spotted deep in the code. It would be nice if the arguments
were sanity checked right at the beginning as the message then would
be immediately obvious.


*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils   2.22-1   
ii  bzip2  1.0.5-7  
ii  diffstat   1.54-1   
ii  file   5.09-2   
ii  gettext0.18.1.1-5   
ii  intltool-debian0.35.0+20060710.1
ii  libapt-pkg-perl0.1.25+b1
ii  libclass-accessor-perl 0.34-1   
ii  libclone-perl  0.31-1+b2
ii  libdpkg-perl   1.16.1.2 
ii  libemail-valid-perl0.185-1  
ii  libipc-run-perl0.90-1   
ii  libparse-debianchangelog-perl  1.2.0-1  
ii  libtimedate-perl   1.2000-1 
ii  liburi-perl1.59-1   
ii  locales2.13-21  
ii  locales-all [locales]  2.13-21  
ii  man-db 2.6.0.2-3
ii  patchutils 0.3.2-1  
ii  perl [libdigest-sha-perl]  5.14.2-6 
ii  unzip  6.0-5

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch
ii  dpkg-dev   1.16.1.2 
ii  libhtml-parser-perl3.69-1+b1
ii  libtext-template-perl  1.45-2   
ii  man-db 2.6.0.2-3
ii  xz-utils   5.1.1alpha+20110809-3

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org