[Bug 290818] sysutils/acpica-tools: error: format specifies type 'unsigned long' but the argument has type 'UINT64' (aka 'unsigned long long')

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Nov 2025 15:40:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290818

            Bug ID: 290818
           Summary: sysutils/acpica-tools: error: format specifies type
                    'unsigned long' but the argument has type 'UINT64'
                    (aka 'unsigned long long')
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jkim@FreeBSD.org
          Reporter: marklmi26-fbsd@yahoo.com
             Flags: maintainer-feedback?(jkim@FreeBSD.org)
          Assignee: jkim@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.