acpica-tools-20250807 fails to build for armv7: error: format specifies type 'unsigned long' but the argument has type 'UINT64' (aka 'unsigned long long')
Date: Wed, 05 Nov 2025 15:10:36 UTC
My poudriere-devel build failed :
[00:01:07] [01] [00:00:48] Finished sysutils/acpica-tools | acpica-tools-20250807: Failed: build
The log shows:
obj/iasl ../../../source/components/disassembler/dmresrc.c
../../../source/components/executer/extrace.c:304:63: error: format specifies type 'unsigned long' but the argument has type 'UINT64' (aka 'unsigned long long') [-Werror,-Wformat]
304 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "%lx", obj_desc->Integer.Value));
| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~
| %llx
../../../source/include/acoutput.h:463:63: note: expanded from macro 'ACPI_DEBUG_PRINT_RAW'
463 | #define ACPI_DEBUG_PRINT_RAW(plist) ACPI_ACTUAL_DEBUG_RAW plist
| ^~~~~
../../../source/include/acoutput.h:460:42: note: expanded from macro 'ACPI_ACTUAL_DEBUG_RAW'
460 | Filename, Modulename, Component, __VA_ARGS__)
| ^~~~~~~~~~~
../../../source/include/acoutput.h:450:69: note: expanded from macro 'ACPI_DO_DEBUG_PRINT'
450 | Function (Level, Line, Filename, Modulename, Component, __VA_ARGS__); \
| ^~~~~~~~~~~
../../../source/include/acoutput.h:430:44: note: expanded from macro 'ACPI_DO_WHILE0'
430 | #define ACPI_DO_WHILE0(a) do a while(0)
| ^
1 error generated.
===
Mark Millard
marklmi at yahoo.com