var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:811:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 811 | onig_st_foreach(t, i_free_name_entry, 0); | ^~~~~~~~~~~~~~~~~ | | | int (*)(OnigUChar *, NameEntry *, void *) {aka int (*)(unsigned char *, NameEntry *, void *)} In file included from /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:37: /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, void *)' {aka 'int (*)(unsigned char *, NameEntry *, void *)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c: In function 'onig_foreach_name': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:880:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 880 | onig_st_foreach(t, i_names, (HashDataType )&narg); | ^~~~~~~ | | | int (*)(OnigUChar *, NameEntry *, INamesArg *) {aka int (*)(unsigned char *, NameEntry *, INamesArg *)} /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, INamesArg *)' {aka 'int (*)(unsigned char *, NameEntry *, INamesArg *)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c: In function 'onig_renumber_name_table': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:908:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 908 | onig_st_foreach(t, i_renumber_name, (HashDataType )map); | ^~~~~~~~~~~~~~~ | | | int (*)(OnigUChar *, NameEntry *, GroupNumMap *) {aka int (*)(unsigned char *, NameEntry *, GroupNumMap *)} /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, GroupNumMap *)' {aka 'int (*)(unsigned char *, NameEntry *, GroupNumMap *)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c: In function 'callout_name_table_clear': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:1393:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 1393 | onig_st_foreach(t, i_free_callout_name_entry, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(st_callout_name_key *, CalloutNameEntry *, void *) /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(st_callout_name_key *, CalloutNameEntry *, void *)' 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c -o regversion.lo /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regversion.c /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c: In function 'setup_ext_callout_list_values': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:1891:56: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 1891 | onig_st_foreach((CalloutTagTable *)ext->tag_table, i_callout_callout_list_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)} /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c: In function 'callout_tag_table_clear': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regparse.c:1939:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 1939 | onig_st_foreach(t, i_free_callout_tag_entry, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)} /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c -o st.lo /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c -o reggnu.lo /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/reggnu.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regversion.c -fPIC -DPIC -o .libs/regversion.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c -fPIC -DPIC -o .libs/st.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src -I/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9 -Wall -DUSE_POSIX_API -O2 -pipe -c /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/reggnu.c -fPIC -DPIC -o .libs/reggnu.o /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c: In function 'onig_st_cleanup_safe': /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c:454:21: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 454 | st_foreach(table, delete_never, never); | ^~~~~~~~~~~~ | | | int (*)(st_data_t, st_data_t, st_data_t) {aka int (*)(long unsigned int, long unsigned int, long unsigned int)} In file included from /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c:10: /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(st_data_t, st_data_t, st_data_t)' {aka 'int (*)(long unsigned int, long unsigned int, long unsigned int)'} 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:35:18: note: in definition of macro '_' 35 | # define _(args) args | ^~~~ In file included from /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c:9: /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c: At top level: /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regint.h:229:37: error: conflicting types for 'onig_st_foreach'; have 'int(st_table *, int (*)(st_data_t, st_data_t, st_data_t), st_data_t)' {aka 'int(st_table *, int (*)(long unsigned int, long unsigned int, long unsigned int), long unsigned int)'} 229 | #define st_foreach onig_st_foreach | ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.c:459:1: note: in expansion of macro 'st_foreach' 459 | st_foreach(st_table* table, int (*func)(st_data_t, st_data_t, st_data_t), st_data_t arg) | ^~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/regint.h:229:37: note: previous declaration of 'onig_st_foreach' with type 'int(st_table *, int (*)(void), st_data_t)' {aka 'int(st_table *, int (*)(void), long unsigned int)'} 229 | #define st_foreach onig_st_foreach | ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9/src/st.h:55:5: note: in expansion of macro 'st_foreach' 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t)); | ^~~~~~~~~~ make[2]: *** [Makefile:597: st.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:597: regparse.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9-abi_x86_64.amd64/src' make[1]: *** [Makefile:428: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/oniguruma-6.9.9/work/onig-6.9.9-abi_x86_64.amd64/src' make: *** [Makefile:500: all-recursive] Error 1 * ERROR: dev-libs/oniguruma-6.9.9::gentoo failed (compile phase): * emake failed Reproducible: Always
Created attachment 910221 [details] dev-libs/oniguruma-6.9.9 build log
Created attachment 910222 [details] OldManSeph emerge --info
Let me start off by thanking you for the help reporting these new bugs, as it really is a huge help to Gentoo. I've noticed there are quite a few dupes though (Looks like Sam noticed the same thing to try and guide you earlier.) To help you, I'll guide you through the next couple on IRC/discord, however in the meantime https://wiki.gentoo.org/wiki/LTO#Troubleshooting.2C_Fixing_and_Reporting_LTO_Issues is great flowchart system which will help you check, as while not 100% same, the principal is. *** This bug has been marked as a duplicate of bug 943665 ***