Public bug reported:

librtas 2.0.4-1build1 FTBFS in Resolute

https://people.canonical.com/~ginggs/ftbfs-report/test-
rebuild-20251215-resolute-resolute.html

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=3 -Wall -g -O3 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/librtas-2.0.4-1build1 -c 
librtas_src/syscall_rmo.c -o librtas_src/syscall_rmo.o >/dev/null 2>&1
librtasevent_src/print_rtas_event.c:64:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   64 |     print_re_hdr_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:64:5: note: (near initialization for 
‘re_print_fns[1]’)
In file included from librtasevent_src/print_rtas_event.c:31:
librtasevent_src/rtas_event.h:61:5: note: ‘print_re_hdr_scn’ declared here
   61 | int print_re_hdr_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:65:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   65 |     print_re_exthdr_scn,
      |     ^~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:65:5: note: (near initialization for 
‘re_print_fns[2]’)
librtasevent_src/rtas_event.h:62:5: note: ‘print_re_exthdr_scn’ declared here
   62 | int print_re_exthdr_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:66:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   66 |     print_re_epow_scn,
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:66:5: note: (near initialization for 
‘re_print_fns[3]’)
librtasevent_src/rtas_event.h:63:5: note: ‘print_re_epow_scn’ declared here
   63 | int print_re_epow_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:67:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   67 |     print_re_io_scn,
      |     ^~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:67:5: note: (near initialization for 
‘re_print_fns[4]’)
librtasevent_src/rtas_event.h:64:5: note: ‘print_re_io_scn’ declared here
   64 | int print_re_io_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:68:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   68 |     print_re_cpu_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:68:5: note: (near initialization for 
‘re_print_fns[5]’)
librtasevent_src/rtas_event.h:65:5: note: ‘print_re_cpu_scn’ declared here
   65 | int print_re_cpu_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:69:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   69 |     print_re_ibm_diag_scn,
      |     ^~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:69:5: note: (near initialization for 
‘re_print_fns[6]’)
librtasevent_src/rtas_event.h:66:5: note: ‘print_re_ibm_diag_scn’ declared here
   66 | int print_re_ibm_diag_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:70:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   70 |     print_re_mem_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:70:5: note: (near initialization for 
‘re_print_fns[7]’)
librtasevent_src/rtas_event.h:67:5: note: ‘print_re_mem_scn’ declared here
   67 | int print_re_mem_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:71:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   71 |     print_re_post_scn,
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:71:5: note: (near initialization for 
‘re_print_fns[8]’)
librtasevent_src/rtas_event.h:68:5: note: ‘print_re_post_scn’ declared here
   68 | int print_re_post_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:72:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   72 |     print_re_ibmsp_scn,
      |     ^~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:72:5: note: (near initialization for 
‘re_print_fns[9]’)
librtasevent_src/rtas_event.h:69:5: note: ‘print_re_ibmsp_scn’ declared here
   69 | int print_re_ibmsp_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:73:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   73 |     print_re_vend_errlog_scn,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:73:5: note: (near initialization for 
‘re_print_fns[10]’)
librtasevent_src/rtas_event.h:70:5: note: ‘print_re_vend_errlog_scn’ declared 
here
   70 | int print_re_vend_errlog_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:74:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   74 |     print_re_priv_hdr_scn,
      |     ^~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:74:5: note: (near initialization for 
‘re_print_fns[11]’)
librtasevent_src/rtas_event.h:71:5: note: ‘print_re_priv_hdr_scn’ declared here
   71 | int print_re_priv_hdr_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:75:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   75 |     print_re_usr_hdr_scn,
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:75:5: note: (near initialization for 
‘re_print_fns[12]’)
librtasevent_src/rtas_event.h:72:5: note: ‘print_re_usr_hdr_scn’ declared here
   72 | int print_re_usr_hdr_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:76:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   76 |     print_re_dump_scn,
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:76:5: note: (near initialization for 
‘re_print_fns[13]’)
librtasevent_src/rtas_event.h:73:5: note: ‘print_re_dump_scn’ declared here
   73 | int print_re_dump_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:77:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   77 |     print_re_lri_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:77:5: note: (near initialization for 
‘re_print_fns[14]’)
librtasevent_src/rtas_event.h:74:5: note: ‘print_re_lri_scn’ declared here
   74 | int print_re_lri_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:78:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   78 |     print_re_mt_scn,
      |     ^~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:78:5: note: (near initialization for 
‘re_print_fns[15]’)
librtasevent_src/rtas_event.h:75:5: note: ‘print_re_mt_scn’ declared here
   75 | int print_re_mt_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:79:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   79 |     print_re_src_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:79:5: note: (near initialization for 
‘re_print_fns[16]’)
librtasevent_src/rtas_event.h:76:5: note: ‘print_re_src_scn’ declared here
   76 | int print_re_src_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:80:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   80 |     print_re_src_scn,
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:80:5: note: (near initialization for 
‘re_print_fns[17]’)
librtasevent_src/rtas_event.h:76:5: note: ‘print_re_src_scn’ declared here
   76 | int print_re_src_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:81:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   81 |     print_re_generic_scn,
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:81:5: note: (near initialization for 
‘re_print_fns[18]’)
librtasevent_src/rtas_event.h:77:5: note: ‘print_re_generic_scn’ declared here
   77 | int print_re_generic_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:82:5: error: initialization of ‘int 
(*)(void)’ from incompatible pointer type ‘int (*)(struct scn_header *, int)’ 
[-Wincompatible-pointer-types]
   82 |     print_re_hotplug_scn
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:82:5: note: (near initialization for 
‘re_print_fns[19]’)
librtasevent_src/rtas_event.h:78:5: note: ‘print_re_hotplug_scn’ declared here
   78 | int print_re_hotplug_scn(struct scn_header *, int);
      |     ^~~~~~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c: In function ‘rtas_print_scn’:
librtasevent_src/print_rtas_event.c:410:11: error: too many arguments to 
function ‘re_print_fns[shdr->scn_id]’; expected 0, have 2
  410 |     len = re_print_fns[shdr->scn_id](shdr, verbosity);
      |           ^~~~~~~~~~~~               ~~~~
make[2]: *** [Makefile:682: librtasevent_src/print_rtas_event.lo] Error 1

** Affects: librtas (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138230

Title:
  librtas: FTBFS in Resolute (ppc64el)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/librtas/+bug/2138230/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to