[Debian-med-packaging] Samtools fails to build on several architectures [noreply at buildd.debian.org: failed i386 build of samtools 1.0-1]

Jakub Wilk jwilk at debian.org
Tue Sep 23 12:44:16 UTC 2014


* 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.

-- 
Jakub Wilk



More information about the Debian-med-packaging mailing list