Bug ID 1220476
Summary GCC 14: freeipmi package fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter michal.jires@suse.com
QA Contact qa-bugs@suse.de
CC kkaempf@suse.com, mjambor@suse.com
Target Milestone ---
Found By ---
Blocker ---

Building freeipmi with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/freeipmi/standard/x86_64

Due to:

sel/ipmi-sel-string-supermicro-x10dimm-common.c: In function
‘sel_string_output_supermicro_x10dimm_event_data2_event_data3’:
sel/ipmi-sel-string-supermicro-x10dimm-common.c:87:14: error: implicit
declaration of function
‘sel_string_output_supermicro_dimm_event_data2_event_data3’; did you mean
‘sel_string_output_supermicro_x10dimm_event_data2_event_data3’?
[-Wimplicit-function-declaration]
   87 |   if ((ret = sel_string_output_supermicro_dimm_event_data2_event_data3
(ctx,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             
sel_string_output_supermicro_x10dimm_event_data2_event_data3

ipmi-sensors-oem-intel.c: In function
‘ipmi_sensors_oem_intel_output_oem_record’:
ipmi-sensors-oem-intel.c:98:18: error: implicit declaration of function
‘ipmi_sensors_oem_intel_s2600wp_output_oem_record’; did you mean
‘ipmi_sensors_oem_intel_s2600jf_output_oem_record’?
[-Wimplicit-function-declaration]
   98 |       if ((ret = ipmi_sensors_oem_intel_s2600wp_output_oem_record
(state_data,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  ipmi_sensors_oem_intel_s2600jf_output_oem_record


Builds with:

Index:
freeipmi.spec_dir/freeipmi-1.6.14/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
===================================================================
---
freeipmi.spec_dir.orig/freeipmi-1.6.14/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
+++
freeipmi.spec_dir/freeipmi-1.6.14/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
@@ -38,5 +38,14 @@ int sel_string_output_supermicro_overhea
                                                                  unsigned int
flags,
                                                                  unsigned int
*wlen,
                                                                  struct
ipmi_sel_system_event_record_data *system_event_record_data);
+int sel_string_output_supermicro_dimm_event_data2_event_data3 (ipmi_sel_ctx_t
ctx,
+                                                               struct
ipmi_sel_entry *sel_entry,
+                                                               uint8_t
sel_record_type,
+                                                               char *buf,
+                                                               unsigned int
buflen,
+                                                               unsigned int
flags,
+                                                               unsigned int
*wlen,
+                                                               struct
ipmi_sel_system_event_record_data *system_event_record_data,
+                                                               int *oem_rv);

 #endif /* IPMI_SEL_STRING_SUPERMICRO_COMMON_H */
Index: freeipmi.spec_dir/freeipmi-1.6.14/ipmi-sensors/ipmi-sensors-oem-intel.c
===================================================================
---
freeipmi.spec_dir.orig/freeipmi-1.6.14/ipmi-sensors/ipmi-sensors-oem-intel.c
+++ freeipmi.spec_dir/freeipmi-1.6.14/ipmi-sensors/ipmi-sensors-oem-intel.c
@@ -34,6 +34,7 @@
 #include "ipmi-sensors-oem-intel.h"
 #include "ipmi-sensors-oem-intel-s5500wb.h"
 #include "ipmi-sensors-oem-intel-s2600jf.h"
+#include "ipmi-sensors-oem-intel-s2600wp.h"
 #include "ipmi-sensors-oem-intel-quanta-qssc-s4r.h"
 #include "ipmi-sensors-oem-intel-node-manager.h"


You are receiving this mail because: