32 bit build failure ( format ‘%lu’ expects argument of type ‘long unsigned int' )
Making all in mtpdevice
CC libmtpdevice_la-rb-mtp-thread.lo
In file included from rb-mtp-thread.c:40:
rb-mtp-thread.c: In function ‘upload_progress’:
rb-mtp-thread.c:535:12: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘const long long unsigned int’} [-Werror=format=]
535 | rb_debug ("upload: %lu of %lu", sent, total);
| ^~~~~~~~~~~~~~~~~~~~ ~~~~
| |
| uint64_t {aka const long long unsigned int}
../../lib/rb-debug.h:41:79: note: in definition of macro ‘rb_debug’
41 | #define rb_debug(...) rb_debug_realf (__FUNCTION__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
| ^~~~~~~~~~~
rb-mtp-thread.c:535:23: note: format string is defined here
535 | rb_debug ("upload: %lu of %lu", sent, total);
| ~~^
| |
| long unsigned int
| %llu
In file included from rb-mtp-thread.c:40:
rb-mtp-thread.c:535:12: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘const long long unsigned int’} [-Werror=format=]
535 | rb_debug ("upload: %lu of %lu", sent, total);
| ^~~~~~~~~~~~~~~~~~~~ ~~~~~
| |
| uint64_t {aka const long long unsigned int}
../../lib/rb-debug.h:41:79: note: in definition of macro ‘rb_debug’
41 | #define rb_debug(...) rb_debug_realf (__FUNCTION__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
| ^~~~~~~~~~~
rb-mtp-thread.c:535:30: note: format string is defined here
535 | rb_debug ("upload: %lu of %lu", sent, total);
| ~~^
| |
| long unsigned int
| %llu
cc1: all warnings being treated as errors
make[4]: *** [Makefile:668: libmtpdevice_la-rb-mtp-thread.lo] Error 1
make[3]: *** [Makefile:520: all] Error 2
make[2]: *** [Makefile:549: all-recursive] Error 1
make[1]: *** [Makefile:600: all-recursive] Error 1
make: *** [Makefile:509: all] Error 2