Source: pyethash
Version: 0.1.27-1
Severity: important
Tags: upstream
Justification: fails to build from source
Builds of pyethash for big-endian architectures (mips, s390x, and a
few non-release architectures) have been failing due to syntax errors
in endian.h.
* In fix_endian_arr32 (and fix_endian_arr64), the comma before
++i_ should be a semicolon:
src/libethash/internal.c: In function 'ethash_compute_cache_nodes':
src/libethash/endian.h:66:36: warning: left-hand operand of comma expression
has no effect [-Wunused-value]
for (unsigned i_ = 0; i_ < (size_), ++i_) { \
src/libethash/internal.c:89:2: note: in expansion of macro 'fix_endian_arr32'
src/libethash/endian.h:66:42: error: expected ';' before ')' token
* The definition of fix_endian64 is missing a right parenthesis:
src/libethash/internal.c:507:0: error: unterminated argument list invoking
macro "ethash_swap_u64"
src/libethash/internal.c:191:2: note: in expansion of macro 'fix_endian64'
Could you please take a look?
Thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[email protected]