* Package: app-text/enchant-1.6.1-r2:0 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc hunspell kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking enchant-1.6.1.tar.gz to /var/tmp/portage/app-text/enchant-1.6.1-r2/work >>> Source unpacked in /var/tmp/portage/app-text/enchant-1.6.1-r2/work >>> Preparing source in /var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1 ... * Applying enchant-1.6.0-hunspell150_fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1 ... * econf: updating enchant-1.6.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating enchant-1.6.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/enchant-1.6.1-r2 --htmldir=/usr/share/doc/enchant-1.6.1-r2/html --with-sysroot=/ --libdir=/usr/lib64 --datadir=/usr/share/enchant-1 --disable-static --disable-aspell --enable-myspell --disable-hspell --disable-ispell --disable-uspell --disable-voikko --disable-zemberek --with-myspell-dir=/usr/share/myspell/ configure: loading site script /usr/share/config.site ./configure: line 2535: 1.6.1: command not found checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for library containing strerror... none required checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking whether x86_64-pc-linux-gnu-g++ supports C++11 features by default... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU Objective C compiler... no checking whether x86_64-pc-linux-gnu-gcc accepts -g... no checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64 checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ssize_t... yes checking for flock... yes checking for lockf... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ENCHANT... yes checking for supported C warning flags... checking whether x86_64-pc-linux-gnu-gcc supports -Wall... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wextra... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wsign-compare... yes checking whether x86_64-pc-linux-gnu-gcc supports -Werror-implicit-function-declaration... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wpointer-arith... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wnested-externs... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wpacked... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wswitch-enum... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wstrict-aliasing=2... yes checking whether x86_64-pc-linux-gnu-gcc supports -Winit-self... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wunsafe-loop-optimizations... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wold-style-definition... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wno-missing-field-initializers... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wno-unused-parameter... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wno-attributes... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wno-long-long... yes checking whether x86_64-pc-linux-gnu-gcc supports -Winline... yes checking whether x86_64-pc-linux-gnu-gcc supports -fno-strict-aliasing... yes checking which C warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing checking for supported C++ warning flags... checking whether x86_64-pc-linux-gnu-g++ supports -Wall... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wextra... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wsign-compare... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wpointer-arith... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wwrite-strings... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wpacked... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wswitch-enum... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wmissing-format-attribute... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wstrict-aliasing=2... yes checking whether x86_64-pc-linux-gnu-g++ supports -Winit-self... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wunsafe-loop-optimizations... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wno-missing-field-initializers... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wno-unused-parameter... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wno-attributes... yes checking whether x86_64-pc-linux-gnu-g++ supports -Wno-long-long... yes checking whether x86_64-pc-linux-gnu-g++ supports -Winline... yes checking whether x86_64-pc-linux-gnu-g++ supports -fno-strict-aliasing... yes checking which C++ warning flags were supported... -Wall -Wextra -Wsign-compare -Wpointer-arith -Wwrite-strings -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing checking for native Win32... no checking for OS X... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for MYSPELL... yes checking for ZEMBEREK... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating enchant.pc config.status: creating enchant-uninstalled.pc config.status: creating enchant.spec config.status: creating src/libenchant.rc config.status: creating src/Makefile config.status: creating src/aspell/Makefile config.status: creating src/ispell/Makefile config.status: creating src/uspell/Makefile config.status: creating src/myspell/Makefile config.status: creating src/hspell/Makefile config.status: creating src/applespell/Makefile config.status: creating src/voikko/Makefile config.status: creating src/zemberek/Makefile config.status: creating tests/Makefile config.status: creating tests/ispell config.status: creating unittests/Makefile config.status: creating unittests/enchant_providers/Makefile config.status: creating unittests/mock_provider/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: executing depfiles commands config.status: executing libtool commands enchant-1.6.1 prefix: /usr compiler: x86_64-pc-linux-gnu-gcc Build Aspell backend: no Build Ispell backend: no Build Uspell backend: no Build Hspell backend: no Build Myspell/Hunspell backend: yes Build Voikko backend (Linux only): no Build Zemberek backend: no Build Apple Spell backend (OS X only): no Build a relocatable library: no >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1/src' Making all in . make[2]: Entering directory '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"enchant\" -DPACKAGE_TARNAME=\"enchant\" -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"enchant\ 1.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_CXX11=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR='"/usr"' -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/lib64/enchant\" -DENCHANT_GLOBAL_ORDERING=\"/usr/share/enchant-1/enchant\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -pipe -march=native -fno-diagnostics-color -c -o enchant.lo enchant.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"enchant\" -DPACKAGE_TARNAME=\"enchant\" -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"enchant\ 1.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_CXX11=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR='"/usr"' -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/lib64/enchant\" -DENCHANT_GLOBAL_ORDERING=\"/usr/share/enchant-1/enchant\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -pipe -march=native -fno-diagnostics-color -c -o pwl.lo pwl.c libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"enchant\" -DPACKAGE_TARNAME=\"enchant\" -DPACKAGE_VERSION=\"1.6.1\" "-DPACKAGE_STRING=\"enchant 1.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_CXX11=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR=\"/usr\" -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"enchant\" -DPACKAGE_TARNAME=\"enchant\" -DPACKAGE_VERSION=\"1.6.1\" "-DPACKAGE_STRING=\"enchant 1.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_CXX11=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR=\"/usr\" -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/lib64/enchant\" -DENCHANT_GLOBAL_ORDERING=\"/usr/share/enchant-1/enchant\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -pipe -march=native -fno-diagnostics-color -c enchant.c -fPIC -DPIC -o .libs/enchant.o attributes -Wno-long-long -Winline -fno-strict-aliasing -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/lib64/enchant\" -DENCHANT_GLOBAL_ORDERING=\"/usr/share/enchant-1/enchant\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -pipe -march=native -fno-diagnostics-color -c pwl.c -fPIC -DPIC -o .libs/pwl.o enchant.c: In function ‘enchant_get_user_dirs’: enchant.c:218:45: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 218 | g_slist_foreach (home_dirs, (GFunc)g_free, NULL); | ^ enchant.c: In function ‘enchant_session_new’: enchant.c:672:44: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 672 | g_slist_foreach (user_config_dirs, (GFunc)g_free, NULL); | ^ enchant.c: In function ‘enchant_dict_suggest’: enchant.c:991:87: error: passing argument 4 of ‘enchant_pwl_suggest’ from incompatible pointer type [-Wincompatible-pointer-types] 991 | l_suggs = enchant_pwl_suggest(session->personal, word, len, dict_suggs, &n_pwl_suggs); | ^~~~~~~~~~ | | | char ** In file included from enchant.c:43: pwl.h:51:63: note: expected ‘const char * const* const’ but argument is of type ‘char **’ 51 | size_t len, const char*const*const suggs, size_t* out_n_suggs); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ enchant.c: In function ‘enchant_load_providers_in_dir’: enchant.c:1437:20: warning: Deprecated pre-processor symbol: replace with "const" 1437 | G_CONST_RETURN char *dir_entry; | ^~~~~~~~~~~~~~~~~~~~ enchant.c: In function ‘enchant_load_providers’: enchant.c:1546:39: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 1546 | g_slist_foreach (module_dirs, (GFunc)g_free, NULL); | ^ enchant.c: In function ‘enchant_load_provider_ordering’: enchant.c:1600:37: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 1600 | g_slist_foreach (conf_dirs, (GFunc)g_free, NULL); | ^ enchant.c: In function ‘enchant_get_version’: : warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] enchant.c:2367:16: note: in expansion of macro ‘ENCHANT_VERSION_STRING’ 2367 | return ENCHANT_VERSION_STRING; | ^~~~~~~~~~~~~~~~~~~~~~ pwl.c: In function ‘enchant_is_all_caps’: pwl.c:541:41: warning: Deprecated pre-processor symbol: replace with "G_UNICODE_SPACING_MARK" 541 | case G_UNICODE_COMBINING_MARK: | ^~~~~~~~~~~~~~~~~~~~~~ pwl.c: In function ‘enchant_pwl_suggest’: pwl.c:739:41: error: passing argument 1 of ‘best_distance’ from incompatible pointer type [-Wincompatible-pointer-types] 739 | max_dist = suggs? best_distance(suggs, word, len) : ENCHANT_PWL_MAX_ERRORS; | ^~~~~ | | | const char * const* pwl.c:701:33: note: expected ‘char **’ but argument is of type ‘const char * const*’ 701 | static int best_distance(char** suggs, const char *const word, size_t len) | ~~~~~~~^~~~~ make[2]: *** [Makefile:570: enchant.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:570: pwl.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1/src' make[1]: *** [Makefile:630: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1/src' make: *** [Makefile:504: all-recursive] Error 1 * ERROR: app-text/enchant-1.6.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/enchant-1.6.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/enchant-1.6.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:enchant-1.6.1-r2:20240522-011058.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/enchant-1.6.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/enchant-1.6.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1' * S: '/var/tmp/portage/app-text/enchant-1.6.1-r2/work/enchant-1.6.1'