Package: src:faketime Version: 0.9.6-4 Severity: wishlist Tags: patch User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-x32 Forwarded: https://github.com/wolfcw/libfaketime/pull/65
Hi! I'm afraid your package fails to build on x32, thanks to printf warnings that turn to a failure because of -Werror. Patch attached. I've already sent it upstream, but as faketime's upstream releases are rare, I'm sending this to the Debian BTS as well. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental') Architecture: x32 (x86_64) Kernel: Linux 3.19.0-x32 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
diff -urd faketime-0.9.6.orig/test/timetest.c faketime-0.9.6/test/timetest.c --- faketime-0.9.6.orig/test/timetest.c 2014-02-05 19:31:56.000000000 +0100 +++ faketime-0.9.6/test/timetest.c 2015-03-09 08:16:27.787386172 +0100 @@ -174,8 +174,8 @@ if (VERBOSE == 1) { printf("timer_gettime(timerid1, &its); its = {{%ld, %ld}, {%ld, %ld}}}\n", - its.it_interval.tv_sec, its.it_interval.tv_nsec, - its.it_value.tv_sec, its.it_value.tv_nsec); + (long)its.it_interval.tv_sec, (long)its.it_interval.tv_nsec, + (long)its.it_value.tv_sec, (long)its.it_value.tv_nsec); } int timer_getoverrun_timerid2 = timer_getoverrun(timerid2); @@ -188,8 +188,8 @@ if (VERBOSE == 1) { printf("timer_gettime(timerid2, &its); its = {{%ld, %ld}, {%ld, %ld}}}\n", - its.it_interval.tv_sec, its.it_interval.tv_nsec, - its.it_value.tv_sec, its.it_value.tv_nsec); + (long)its.it_interval.tv_sec, (long)its.it_interval.tv_nsec, + (long)its.it_value.tv_sec, (long)its.it_value.tv_nsec); } #endif