[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samtools fails to build on several architectures [noreply@buildd.debian.org: failed i386 build of samtools 1.0-1]



* Andreas Tille <andreas@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


Reply to: