multiple format errors and testsuite failures on ix86
libinput-1.12.0
python-evdev-1.1.2
meson-0.47.2
ninja: Entering directory `i586-alt-linux'
[37/174] Compiling C object 'tools_shared@sta/tools_shared.c.o'.
../tools/shared.c: In function ‘tools_list_device_quirks’:
../tools/shared.c:700:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat=]
snprintf(buf, sizeof(buf), "%s=%ldx%ld", name, dim.x, dim.y);
~~^ ~~~~~
%d
../tools/shared.c:700:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t {aka unsigned int}’ [-Wformat=]
snprintf(buf, sizeof(buf), "%s=%ldx%ld", name, dim.x, dim.y);
~~^ ~~~~~
%d
[144/174] Compiling C object 'libinput-record@exe/tools_libinput-record.c.o'.
../tools/libinput-record.c: In function ‘buffer_key_event’:
../tools/libinput-record.c:381:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, key: %d, state: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:381:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, key: %d, state: %s}",
~~~~^
%06lld
../tools/libinput-record.c:383:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_motion_event’:
../tools/libinput-record.c:416:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, delta: [%6.2f, %6.2f], unaccel: [%6.2f, %6.2f]}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:416:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, delta: [%6.2f, %6.2f], unaccel: [%6.2f, %6.2f]}",
~~~~^
%06lld
../tools/libinput-record.c:418:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_absmotion_event’:
../tools/libinput-record.c:451:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, point: [%6.2f, %6.2f], transformed: [%6.2f, %6.2f]}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:451:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, point: [%6.2f, %6.2f], transformed: [%6.2f, %6.2f]}",
~~~~^
%06lld
../tools/libinput-record.c:453:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_pointer_button_event’:
../tools/libinput-record.c:486:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s, seat_count: %u}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:486:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s, seat_count: %u}",
~~~~^
%06lld
../tools/libinput-record.c:488:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_pointer_axis_event’:
../tools/libinput-record.c:543:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, axes: [%2.2f, %2.2f], discrete: [%d, %d], source: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:543:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, axes: [%2.2f, %2.2f], discrete: [%d, %d], source: %s}",
~~~~^
%06lld
../tools/libinput-record.c:545:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_touch_event’:
../tools/libinput-record.c:598:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:598:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s}",
~~~~^
%06lld
../tools/libinput-record.c:600:5:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:611:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, slot: %d, seat_slot: %d, point: [%6.2f, %6.2f], transformed: [%6.2f, %6.2f]}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:611:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, slot: %d, seat_slot: %d, point: [%6.2f, %6.2f], transformed: [%6.2f, %6.2f]}",
~~~~^
%06lld
../tools/libinput-record.c:613:5:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:624:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, slot: %d, seat_slot: %d}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:624:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, slot: %d, seat_slot: %d}",
~~~~^
%06lld
../tools/libinput-record.c:626:5:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_gesture_event’:
../tools/libinput-record.c:679:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, nfingers: %d, "
~~^
%lld
../tools/libinput-record.c:682:5:
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:679:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, nfingers: %d, "
~~~~^
%06lld
../tools/libinput-record.c:683:5:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:699:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, nfingers: %d, "
~~^
%lld
../tools/libinput-record.c:701:5:
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:699:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, nfingers: %d, "
~~~~^
%06lld
../tools/libinput-record.c:702:5:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_tablet_tool_proximity_event’:
../tools/libinput-record.c:877:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, proximity: %s, tool-type: %s, serial: %" PRIu64 ", axes: %s, %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:877:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, proximity: %s, tool-type: %s, serial: %" PRIu64 ", axes: %s, %s}",
~~~~^
%06lld
../tools/libinput-record.c:879:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_tablet_tool_button_event’:
../tools/libinput-record.c:919:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:919:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s}",
~~~~^
%06lld
../tools/libinput-record.c:921:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_tablet_tool_event’:
../tools/libinput-record.c:976:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s%s, tip: %s, %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:976:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s%s, tip: %s, %s}",
~~~~^
%06lld
../tools/libinput-record.c:978:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_tablet_pad_button_event’:
../tools/libinput-record.c:1018:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s, mode: %d, is-toggle: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:1018:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, button: %d, state: %s, mode: %d, is-toggle: %s}",
~~~~^
%06lld
../tools/libinput-record.c:1020:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_tablet_pad_ringstrip_event’:
../tools/libinput-record.c:1085:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, number: %d, position: %.2f, source: %s, mode: %d}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:1085:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, number: %d, position: %.2f, source: %s, mode: %d}",
~~~~^
%06lld
../tools/libinput-record.c:1087:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c: In function ‘buffer_switch_event’:
../tools/libinput-record.c:1123:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, switch: %d, state: %s}",
~~^
%lld
time / (int)1e6,
~~~~~~~~~~~~~~~
../tools/libinput-record.c:1123:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
"{time: %ld.%06ld, type: %s, switch: %d, state: %s}",
~~~~^
%06lld
../tools/libinput-record.c:1125:4:
time % (int)1e6,
~~~~~~~~~~~~~~~
[174/174] Linking target libinput-test-suite-runner.`
`ninja: Entering directory `i586-alt-linux'
[1/2] Running all tests.
1/9 validate-quirks OK 0.02 s
2/9 list-devices OK 0.02 s
3/9 tools-builddir-lookup OK 0.02 s
4/9 tools-builddir-lookup-installed OK 0.02 s
5/9 symbols-leak-test OK 0.02 s
6/9 leftover-rules OK 0.01 s
7/9 test-litest-selftest OK 2.35 s
8/9 libinput-test-suite-runner SKIP 0.01 s
9/9 libinput-test-deviceless FAIL 1.68 s (exit status 3)
OK: 7
FAIL: 1
SKIP: 1
TIMEOUT: 0
The output from the failed tests:
9/9 libinput-test-deviceless FAIL 1.68 s (exit status 3)
--- command ---
/usr/src/RPM/BUILD/libinput-1.12.0/i586-alt-linux/libinput-test-suite-runner --filter-deviceless
--- stdout ---
Running suite(s): quirks:misc:quirks_ctx_ref:deviceless
quirks:misc:quirks_call_NULL:deviceless
quirks:parsing:quirks_parse_dmi_invalid:deviceless
quirks:parsing:quirks_parse_dmi:deviceless
quirks:parsing:quirks_parse_udev_invalid:deviceless
quirks:parsing:quirks_parse_udev:deviceless
quirks:parsing:quirks_parse_name_invalid:deviceless
quirks:parsing:quirks_parse_name:deviceless
quirks:parsing:quirks_parse_version_invalid:deviceless
quirks:parsing:quirks_parse_version:deviceless
quirks:parsing:quirks_parse_product_invalid:deviceless
quirks:parsing:quirks_parse_product:deviceless
quirks:parsing:quirks_parse_vendor_invalid:deviceless
quirks:parsing:quirks_parse_vendor:deviceless
quirks:parsing:quirks_parse_bustype_invalid:deviceless
quirks:parsing:quirks_parse_bustype:deviceless
quirks:parsing:quirks_parse_string_quotes_double:deviceless
quirks:parsing:quirks_parse_string_quotes_single:deviceless
quirks:parsing:quirks_parse_comment_empty:deviceless
quirks:parsing:quirks_parse_comment_inline:deviceless
quirks:parsing:quirks_parse_error_model_not_one:deviceless
quirks:parsing:quirks_parse_error_unknown_prefix:deviceless
quirks:parsing:quirks_parse_error_unknown_model:deviceless
quirks:parsing:quirks_parse_error_unknown_attr:deviceless
quirks:parsing:quirks_parse_error_unknown_match:deviceless
quirks:parsing:quirks_parse_error_trailing_whitespace:deviceless
quirks:parsing:quirks_parse_error_section:deviceless
quirks:structure:quirks_section_duplicate_attr:deviceless
quirks:structure:quirks_section_duplicate_match:deviceless
quirks:structure:quirks_section_match_after_attr:deviceless
quirks:structure:quirks_section_missing_attr:deviceless
quirks:structure:quirks_section_missing_match:deviceless
quirks:structure:quirks_section_double:deviceless
quirks:structure:quirks_section_empty:deviceless
quirks:datadir:quirks_empty_dir:deviceless
quirks:datadir:quirks_invalid_dir:deviceless
misc:versionsort:strverscmp_test:deviceless
misc:list:list_test_append:deviceless
misc:list:list_test_insert:deviceless
misc:library_version:library_version:deviceless
misc:time:time_conversion:deviceless
misc:parser:strjoin_test:deviceless
misc:parser:kvsplit_double_test:deviceless
misc:parser:strsplit_test:deviceless
misc:parser:safe_atod_test:deviceless
misc:parser:safe_atou_base_8_test:deviceless
misc:parser:safe_atou_base_16_test:deviceless
misc:parser:safe_atou_test:deviceless
misc:parser:safe_atoi_base_8_test:deviceless
misc:parser:safe_atoi_base_16_test:deviceless
misc:parser:safe_atoi_test:deviceless
misc:parser:range_prop_parser:deviceless
misc:parser:calibration_prop_parser:deviceless
misc:parser:reliability_prop_parser:deviceless
misc:parser:dimension_prop_parser:deviceless
misc:parser:wheel_click_count_parser:deviceless
misc:parser:wheel_click_parser:deviceless
misc:parser:dpi_parser:deviceless
misc:ratelimit:ratelimit_helpers:deviceless
misc:matrix:matrix_helpers:deviceless
config:status string:config_status_string:deviceless
context:refcount:context_ref_counting:deviceless
misc:bitfield_helpers:bitfield_helpers:deviceless
log:logging:log_handler_NULL:deviceless
log:logging:log_handler_invoked:deviceless
log:defaults:log_default_priority:deviceless
95%: Checks: 66, Failures: 3, Errors: 0
../test/test-misc.c:1249:F:safe_atou_base_8_test:deviceless:t->func:0: Assertion 'success == tests[i].success' failed
../test/test-misc.c:1212:F:safe_atou_base_16_test:deviceless:t->func:0: Assertion 'success == tests[i].success' failed
../test/test-misc.c:1178:F:safe_atou_test:deviceless:t->func:0: Assertion 'success == tests[i].success' failed
--- stderr ---
:: Failure: ../test/test-misc.c:1249:safe_atou_base_8_test:deviceless
:: Failure: ../test/test-misc.c:1212:safe_atou_base_16_test:deviceless
:: Failure: ../test/test-misc.c:1178:safe_atou_test:deviceless
-------
Full log written to /usr/src/RPM/BUILD/libinput-1.12.0/i586-alt-linux/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/python3 -u /usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.