control: tag -1 help Hi,
it seems this problem happens in bgzip interface. Is there any known change to the compression library that is incompatible since staden-iu-lib was successfully uploaded and built (at least on several architectures) yesterday. Any help is welcome Andreas. On Tue, Sep 26, 2017 at 12:27:27PM +0300, Adrian Bunk wrote: > Source: staden-io-lib > Version: 1.14.9-2 > Severity: serious > > https://buildd.debian.org/status/package.php?p=staden-io-lib&suite=sid > > ... > In file included from bgzip.c:56:0: > bgzip.c: In function 'gzi_index_dump': > ../io_lib/os.h:127:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > (((x & 0x00000000000000ffLL) << 56) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:128:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000000000ff00LL) << 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:129:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000000000ff0000LL) << 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:130:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00000000ff000000LL) << 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:131:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000ff00000000LL) >> 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:132:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000ff0000000000LL) >> 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:133:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00ff000000000000LL) >> 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:134:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long unsigned int') > ((x & 0xff00000000000000LL) >> 56)) > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:190:16: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&n), sizeof(n), 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:127:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > (((x & 0x00000000000000ffLL) << 56) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:128:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000000000ff00LL) << 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:129:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000000000ff0000LL) << 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:130:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00000000ff000000LL) << 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:131:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000ff00000000LL) >> 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:132:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000ff0000000000LL) >> 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:133:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00ff000000000000LL) >> 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:134:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long unsigned int') > ((x & 0xff00000000000000LL) >> 56)) > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:193:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->c_off[i]), sizeof idx->c_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:127:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > (((x & 0x00000000000000ffLL) << 56) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:128:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000000000ff00LL) << 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:129:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000000000ff0000LL) << 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:130:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00000000ff000000LL) << 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:131:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x000000ff00000000LL) >> 8) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:132:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x0000ff0000000000LL) >> 24) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:133:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long int') > ((x & 0x00ff000000000000LL) >> 40) + \ > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > ../io_lib/os.h:134:10: error: invalid operands to binary & (have 'uint64_t * > {aka long long unsigned int *}' and 'long long unsigned int') > ((x & 0xff00000000000000LL) >> 56)) > ^ > ../io_lib/os.h:185:20: note: in expansion of macro 'iswap_int8' > #define le_int8(x) iswap_int8((x)) > ^~~~~~~~~~ > bgzip.c:195:13: note: in expansion of macro 'le_int8' > if (fwrite(le_int8(&idx->u_off[i]), sizeof idx->u_off[i], 1, idx_f) != 1) > ^~~~~~~ > Makefile:1019: recipe for target 'libstaden_read_la-bgzip.lo' failed > make[3]: *** [libstaden_read_la-bgzip.lo] Error 1 > > _______________________________________________ > Debian-med-packaging mailing list > debian-med-packag...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging > -- http://fam-tille.de