Hi,

On Tue, Sep 23, 2014 at 02:44:16PM +0200, Jakub Wilk wrote:
> * Andreas Tille <[email protected]>, 2014-09-23, 13:29:
> >I also noticed that while the autobuild on i386 shows a very
> >different number of failed tests than if you run pdebuild on a
> >local i386 machine[2].  The specific error on i386 sounds so
> >untypical for an architecture difference:
> >
> >     did not have Usage:
> >     usage did not mention samtools stats
> >
> >that it smells like something would went really wrong here.  Any
> >hint would be welcome.
> 
> "samtools stats" displays help, but only if stdin is a terminal. If
> it is not, it'll read data from it:
> 
>    if ( !bam_fname )
>    {
>        if ( isatty(STDIN_FILENO) )
>            error(NULL);
>        bam_fname = "-";
>    }
> 
> My guess would be that sbuild redirects stdin to /dev/null, unlike
> pbuilder.

That would explain the difference.  Any idea how to tell sbuild to fake
a terminal? 

Kind regards

        Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to