ksymoops: build failure
In file included from ksymoops.h:9,
from oops.c:11:
/usr/include/bfd.h:1272:56: note: expected 'unsigned int' but argument is of type 'asection *' {aka 'struct bfd_section *'}
1272 | bfd_set_section_alignment (asection *sec, unsigned int val)
| ~~~~~~~~~~~~~^~~
oops.c:121:10: error: too many arguments to function 'bfd_set_section_alignment'
121 | if (!bfd_set_section_alignment(obfd, osec,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ksymoops.h:9,
from oops.c:11:
/usr/include/bfd.h:1425:64: note: expected 'bfd_size_type' {aka 'long unsigned int'} but argument is of type 'asection *' {aka 'struct bfd_section *'}
1425 | bfd_boolean bfd_set_section_size (asection *sec, bfd_size_type val);
| ~~~~~~~~~~~~~~^~~
oops.c:139:10: error: too many arguments to function 'bfd_set_section_size'
139 | if (!bfd_set_section_size(obfd, osec, size)) {
| ^~~~~~~~~~~~~~~~~~~~
In file included from ksymoops.h:9,
from oops.c:11:
/usr/include/bfd.h:1257:45: note: expected 'bfd_vma' {aka 'long unsigned int'} but argument is of type 'asection *' {aka 'struct bfd_section *'}
1257 | bfd_set_section_vma (asection *sec, bfd_vma val)
| ~~~~~~~~^~~
oops.c:143:10: error: too many arguments to function 'bfd_set_section_vma'
143 | if (!bfd_set_section_vma(obfd, osec, 0)) {
| ^~~~~~~~~~~~~~~~~~~
See: https://build.alpinelinux.org/buildlogs/build-3-12-ppc64le/main/ksymoops/ksymoops-2.4.11-r7.log