Source: librtas
Version: 2.0.4-1
Severity: serious
Tags: ftbfs

librtas fails to build from source in unstable.

https://debusine.debian.net/debian/developers/artifact/3341142/
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtas_src/syscall_calls.c  -fPIC -DPIC -o librtas_src/.libs/syscall_calls.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c librtas_src/ofdt.c 
 -fPIC -DPIC -o librtas_src/.libs/ofdt.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/print_rtas_event.c  -fPIC -DPIC -o 
librtasevent_src/.libs/print_rtas_event.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/rtas_epow.c  -fPIC -DPIC -o librtasevent_src/.libs/rtas_epow.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtas_src/syscall_rmo.c  -fPIC -DPIC -o librtas_src/.libs/syscall_rmo.o
| 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
| make[2]: *** Waiting for unfinished jobs....
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/rtas_cpu.c -o librtasevent_src/rtas_cpu.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c librtas_src/ofdt.c 
-o librtas_src/ofdt.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/rtas_dump.c -o librtasevent_src/rtas_dump.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/rtas_epow.c -o librtasevent_src/rtas_epow.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtasevent_src/get_rtas_event.c -o librtasevent_src/get_rtas_event.o 
>/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtas_src/syscall_rmo.c -o librtas_src/syscall_rmo.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./librtas_src/ 
-I./librtasevent_src/ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/librtas-2.0.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -c 
librtas_src/syscall_calls.c -o librtas_src/syscall_calls.o >/dev/null 2>&1
| make[2]: Leaving directory '/build/reproducible-path/librtas-2.0.4'
| make[1]: *** [Makefile:441: all] Error 2
| make[1]: Leaving directory '/build/reproducible-path/librtas-2.0.4'
| dh_auto_build: error: make -j8 returned exit code 2
| make: *** [debian/rules:8: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess failed with 
exit status 2

Helmut

Reply via email to