D: [iurt_root_command] chroot warning: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64enchant1-devel Installing /home/pterjan/rpmbuild/SRPMS/enchant-1.6.1-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A19L8q + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf enchant-1.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/enchant-1.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd enchant-1.6.1 + rm -rf /home/pterjan/rpmbuild/BUILD/enchant-1.6.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/enchant-1.6.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/enchant-1.6.0-add-more-myspell-dicts-dirs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/hunspell-1.4.0-has-no-limit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eEv5U3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd enchant-1.6.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-system-myspell=yes --enable-zemberek=yes --disable-ispell --disable-aspell --disable-uspell --disable-hspell --with-myspell-dir=/usr/share/hunspell configure: WARNING: unrecognized options: --with-system-myspell ./configure: line 2535: 1.6.1: command not found checking for a BSD-compatible install... /usr/bin/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-mageia-linux-gnu checking host system type... x86_64-mageia-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-mageia-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for library containing strerror... none required checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether g++ supports C++11 features by default... yes checking for x86_64-mageia-linux-gnu-gcc... no checking for x86_64-mageia-linux-gnu-objcc... no checking for x86_64-mageia-linux-gnu-objc... no checking for x86_64-mageia-linux-gnu-cc... no checking for x86_64-mageia-linux-gnu-CC... no checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... 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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no 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-mageia-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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/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... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/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-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-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 gcc supports -Wall... yes checking whether gcc supports -Wextra... yes checking whether gcc supports -Wsign-compare... yes checking whether gcc supports -Werror-implicit-function-declaration... yes checking whether gcc supports -Wpointer-arith... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wmissing-declarations... yes checking whether gcc supports -Wnested-externs... yes checking whether gcc supports -Wpacked... yes checking whether gcc supports -Wswitch-enum... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-aliasing=2... yes checking whether gcc supports -Winit-self... yes checking whether gcc supports -Wunsafe-loop-optimizations... yes checking whether gcc supports -Wdeclaration-after-statement... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-attributes... yes checking whether gcc supports -Wno-long-long... yes checking whether gcc supports -Winline... yes checking whether 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 g++ supports -Wall... yes checking whether g++ supports -Wextra... yes checking whether g++ supports -Wsign-compare... yes checking whether g++ supports -Wpointer-arith... yes checking whether g++ supports -Wwrite-strings... yes checking whether g++ supports -Wpacked... yes checking whether g++ supports -Wswitch-enum... yes checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wstrict-aliasing=2... yes checking whether g++ supports -Winit-self... yes checking whether g++ supports -Wunsafe-loop-optimizations... yes checking whether g++ supports -Wno-missing-field-initializers... yes checking whether g++ supports -Wno-unused-parameter... yes checking whether g++ supports -Wno-attributes... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Winline... yes checking whether 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 voikko_init in -lvoikko... yes checking for ZEMBEREK... yes 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 configure: WARNING: unrecognized options: --with-system-myspell enchant-1.6.1 prefix: /usr compiler: 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): yes Build Zemberek backend: yes Build Apple Spell backend (OS X only): no Build a relocatable library: no The Zemberek Turkish spell-checking plugin is enabled. It is known to cause crashes with WebKit. Use at your own discretion. + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src Making all in . make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enchant-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile 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.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -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\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pwl.lo pwl.c libtool: compile: 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.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -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\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pwl.c -fPIC -DPIC -o .libs/pwl.o 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: pwl.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enchant-1.6.1/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enchant-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile 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.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -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\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o enchant.lo enchant.c libtool: compile: 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.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -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\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.1\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c enchant.c -fPIC -DPIC -o .libs/enchant.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 | pwl_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; | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:570: enchant.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enchant-1.6.1/src' make[1]: *** [Makefile:630: all-recursive] Error 1 make: *** [Makefile:504: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eEv5U3 (%build) RPM build warnings: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64enchant1-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eEv5U3 (%build) I: [iurt_root_command] ERROR: chroot