Re: acpica-tools-20250807 fails to build for armv7: error: format specifies type 'unsigned long' but the argument has type 'UINT64' (aka 'unsigned long long')

Robert Clausecker <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hi Mark,

Please file a bug report.

Yours,
Robert Clausecker

Am Wed, Nov 05, 2025 at 07:10:36AM -0800 schrieb Mark Millard:
> 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
> 
> 
> 

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.