Bug#810030: disque: FTBFS on big-endian systems

2016-07-07 Thread Daniel Knezevic
Hi,

The attached patch fixes the big-endian build.
The fix is reported upsream, but there is no reaction.
Should we wait for some reaction upstream
or is it possible to apply the patch for debian?

Regards,
Daniel
-- disque-1.0~rc1.orig/src/job.c
+++ disque-1.0~rc1/src/job.c
@@ -779,17 +779,17 @@ job *deserializeJob(unsigned char *p, si

 /* Deserialize the static part just copying and fixing endianess. */
 memcpy(j,p,JOB_STRUCT_SER_LEN);
-memrev16ifbe(j->repl);
-memrev64ifbe(j->ctime);
-memrev32ifbe(j->etime);
+memrev16ifbe(>repl);
+memrev64ifbe(>ctime);
+memrev32ifbe(>etime);
 if (sertype == SER_MESSAGE) {
 /* Convert back to absolute time if needed. */
 j->etime = server.unixtime + j->etime;
 }
-memrev32ifbe(j->delay);
-memrev32ifbe(j->retry);
-memrev16ifbe(>num_nacks);
-memrev16ifbe(>num_deliv);
+memrev32ifbe(>delay);
+memrev32ifbe(>retry);
+memrev16ifbe(>num_nacks);
+memrev16ifbe(>num_deliv);
 p += JOB_STRUCT_SER_LEN;
 len -= JOB_STRUCT_SER_LEN;





Bug#810030: disque: FTBFS on big-endian systems

2016-06-29 Thread Chris Lamb
forwarded 810032 https://github.com/antirez/disque/issues/186
thanks

@juricast filed this upstream.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#810030: disque: FTBFS on big-endian systems

2016-01-05 Thread Aaron M. Ucko
Source: disque
Version: 1.0~rc1-2
Severity: serious
Justification: fails to build from source

Builds of disque on big-endian architectures have encountered errors
and appropriate warnings when trying to compile the byte-swapping
logic in job.c, as detailed in (e.g.)
https://buildd.debian.org/status/fetch.php?pkg=disque=powerpc=1.0~rc1-2=1451999742

Could you please take a look?

Thanks!