Source: luksipc Version: 0.04-1 Severity: serious Justification: fails to build from source
Builds of luksipc for 32-bit architectures such as i386 failed: gcc -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -std=c11 -O2 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o luksipc.o luksipc.c luksipc.c:50:31: error: static assertion failed: "sizeof(off_t) == 8" #define staticassert(cond) _Static_assert(cond, #cond) ^ luksipc.c:53:1: note: in expansion of macro 'staticassert' staticassert(sizeof(off_t) == 8); ^ luksipc.c: In function 'askUserConfirmation': luksipc.c:795:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}' [-Wformat=] fprintf(stderr, " %s: %lu MiB = %.1f GiB\n", parameters->rawDevice, devSize / 1024 / 1024, (double)(devSize / 1024 / 1024) / 1024); ^ Makefile:31: recipe for target 'luksipc.o' failed Ideally, luksipc would properly support such architectures (and not, e.g., try to use format strings that don't match argument widths); however, if that's not feasible, please set its Architecture field accordingly. Speaking of the Architecture field, whichever approach you take towards 32-bit Linux, please exclude non-Linux architectures, which obviously won't work at all. Thanks!