[Debian-med-packaging] Bug#876839: staden-io-lib FTBFS on big endian: error: invalid operands to binary &

James Bonfield jkb at sanger.ac.uk
Thu Sep 28 08:52:33 UTC 2017


> > le_int8 appears to do a 64 bit byte order swap to adjust the
> > endianness of a quantity. What bgzip.c does at this point is the
> > following (removed if() for clarity):
> > 
> > uint64_t n = idx->n;
> > fwrite(le_int8(&n), sizeof(n), 1, idx_f);

Now fixed and pushed.  Thanks.

James

-- 
James Bonfield (jkb at sanger.ac.uk) | Hora aderat briligi. Nunc et Slythia Tova
                                  | Plurima gyrabant gymbolitare vabo;
  A Staden Package developer:     | Et Borogovorum mimzebant undique formae,
https://sf.net/projects/staden/   | Momiferique omnes exgrabure Rathi. 


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Debian-med-packaging mailing list