[Debian-med-packaging] Samtools fails to build on several architectures [noreply at buildd.debian.org: failed i386 build of samtools 1.0-1]
Andreas Tille
andreas at an3as.eu
Tue Sep 23 12:58:41 UTC 2014
Hi,
On Tue, Sep 23, 2014 at 02:44:16PM +0200, Jakub Wilk wrote:
> * Andreas Tille <andreas at an3as.eu>, 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
More information about the Debian-med-packaging
mailing list