Bug#558360: lintian fails silently with error code 141

2010-01-06 Thread devn...@lordb.de

Russ Allbery  hat am 25. Dezember 2009 um 20:05 geschrieben:

> "devn...@lordb.de"  writes:
> 
> > Gladly, but I'm not quite sure how and what to provide as debugging
> > output. For starters I've run lintian (2.2.18 this time) with the "-d"
> > switch:
> 
> >  $ lintian --check --allow-root --show-overrides -i -b -d
> > ghostscript_8.64-5_i386.deb
> >  N: Lintian v2.2.18ubuntu1
> >  N: Lintian root directory: /usr/share/lintian
> >  N: Configuration file: /etc/lintianrc
> >  N: Laboratory:
> >  N: Archive directory:
> >  N: Distribution:
> >  N: Default unpack level: 1
> >  N: Architecture: any
> >  N: 
> >  N: Setting up lab in /tmp/VIcPpbdtdw ...
> 
> The output should be:
> 
> N: Lintian v2.2.18
> N: Lintian root directory: /usr/share/lintian
> N: Configuration file: /etc/lintianrc
> N: Laboratory: 
> N: Archive directory: 
> N: Distribution: 
> N: Default unpack level: 1
> N: Architecture: any
> N: 
> N: Setting up lab in /tmp/BZlkcVrWuN ...
> N: Processing 1 packages...
> N: Selected action: check
> N: Requested unpack level: 1
> 
> It's dying somewhere between setting up the lab and starting to check
> packages, probably while loading information about the checks and
> collection scripts.
> 
> Could you try running lintian with -d -d -d instead to get a more detailed
> trace?
This make no difference. I still get the same output. I even tried it with
linitian 2.3.1 with the same result.

Just to note it again: Sometimes lintian works (say every fourth or fifth
attempt) but must of the time it doesn't. Here the output of the attempt that
worked:

$ lintian --check --allow-root -b -d -d -d ghostscript_8.64-5_i386.deb; echo
"Return: $?"
N: Lintian v2.2.18ubuntu1
N: Lintian root directory: /usr/share/lintian
N: Configuration file: /etc/lintianrc
N: Laboratory:
N: Archive directory:
N: Distribution:
N: Default unpack level: 1
N: Architecture: any
N: 
N: Setting up lab in /tmp/48DQsjNNS7 ...
N: Reading collector description file doc-base-files.desc ...
N: order: 1
N: script: doc-base-files
N: type: b
N: unpack-level: 2
N: version: 1
N: Reading collector description file strings.desc ...
N: file-info: 1
N: order: 2
N: script: strings
...
N: Current unpack level is 2
N: Current unpack level is 2
N: Decreasing unpack level to 1 (removing files) ...
N: 15 tags overridden (15 warnings)
N: Removing /tmp/48DQsjNNS7 ...
Return: 1

> 
> Nowhere does Lintian just randomly exit without printing an error, so
> something very strange is going wrong with your Lintian setup.

There should be nothing special about my lintian setup. I'm fairly sure about
this because I usually use lintian from within a cowdancer environment, which is
a clean Ubuntu installation, and this lintian call fails as well. (My other test
were run directly on my server and not from within the cowdancer environment.)

> 
> -- 
> Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>

Bug#558360: lintian fails silently with error code 141

2009-12-25 Thread devn...@lordb.de

Russ Allbery  hat am 24. Dezember 2009 um 20:42 geschrieben:

> tags 558360 unreproducible moreinfo
> thanks
> 
> Sebastian Krysmanski  writes:
> 
> > When I'm running lintian on a certain custom built .deb package
> > (ghostscript_8.64-5_i386.deb) then lintian sometimes just fails without
> > any error message with error code 141.
> 
> >   $ lintian --check --allow-root --show-overrides -i -b
> >ghostscript_8.64-5_i386.deb >lintian.txt
> >   
> >   $ echo $?
> >   141
> 
> > In this case "lintian.txt" is empty. However, sometimes (every thrid
> > attempt or so) lintian works on this package.  The deb package was built
> > using cowdancer. I've uploaded it here:
> > http://www.mayastudios.com/ghostscript_8.64-5_i386.deb
> 
> I can't duplicate this problem with either lintian 2.2.18 or the current
> development version on a Debian host using that same package.  This is not
> something that Lintian is doing intentionally, so in order to track this
> down further we'd need either debugging output or some way to reproduce
> it.

Gladly, but I'm not quite sure how and what to provide as debugging output. For
starters I've run lintian (2.2.18 this time) with the "-d" switch:

 $ lintian --check --allow-root --show-overrides -i -b -d
ghostscript_8.64-5_i386.deb
 N: Lintian v2.2.18ubuntu1
 N: Lintian root directory: /usr/share/lintian
 N: Configuration file: /etc/lintianrc
 N: Laboratory:
 N: Archive directory:
 N: Distribution:
 N: Default unpack level: 1
 N: Architecture: any
 N: 
 N: Setting up lab in /tmp/VIcPpbdtdw ...

Return code is still 141. The content of the lab directory is:

 $ ll /tmp/VIcPpbdtdw/*
 /tmp/VIcPpbdtdw/binary:
 total 0

 /tmp/VIcPpbdtdw/info:
 total 0
 -rw-r--r-- 1 root root 0 Dec 25 10:50 binary-packages
 -rw-r--r-- 1 root root 0 Dec 25 10:50 source-packages
 -rw-r--r-- 1 root root 0 Dec 25 10:50 udeb-packages

 /tmp/VIcPpbdtdw/source:
 total 0

 /tmp/VIcPpbdtdw/udeb:
 total 0

I've also tried to run lintian with a non-root user and with fewer parameters:

 #lintian --check -b -d ghostscript_8.64-5_i386.deb

but with the same result.

> 
> > Btw: I know I'm using Ubuntu (9.10) but I don't think this is a Ubuntu
> > specific error. If someone using Debian could just check whether this
> > problem appears at his/her system as well it'll be nice.
> 
> I'm curious if the problem would disappear if you upgraded to the latest
> Ubuntu Lintian package.
> 
Problem is still present in version 2.2.18 (see above).
> -- 
> Russ Allbery (r...@debian.org)