build fail of directive argument is null for ppc64el on mantic

Bug #2033015 reported by Ivan Hu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Ivan Hu

Bug Description

Got format-overflow, "error:‘%s’ directive argument is null" for ppc64el on mantic as below,

fwts_acpi_object_eval.c:790:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  790 | "%s package element %" PRIu32 " was not the expected "
      | ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:790:34: note: format string is defined here
  790 | "%s package element %" PRIu32 " was not the expected "
      | ^~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/include -I../../../src/libfwtsiasl -I../../../src/acpica/source/include -I../../../src/acpica/source/compiler -DDATAROOTDIR=\"/usr/share\" -Wall -Werror -Wextra -Wno-address-of-packed-member -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -DACPI_DEBUG_OUTPUT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/fwts-23.07.02-0ubuntu1 -c fwts_alloc.c -o libfwts_la-fwts_alloc.o >/dev/null 2>&1
fwts_acpi_object_eval.c: In function ‘fwts_method_package_elements_type__’:
fwts_acpi_object_eval.c:828:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  828 | "%s package element %" PRIu32 " (%s) was not the expected "
      | ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:828:34: note: format string is defined here
  828 | "%s package element %" PRIu32 " (%s) was not the expected "
      | ^~

Ivan Hu (ivan.hu)
description: updated
Changed in fwts:
assignee: nobody → Ivan Hu (ivan.hu)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Ivan Hu (ivan.hu) wrote :
Changed in fwts:
status: In Progress → Fix Committed
Revision history for this message
Ivan Hu (ivan.hu) wrote :

fix released in the fwts release 23.09.00

Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.