Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ots.spec'], chrootPath='/var/lib/mock/f38-build-687742-82056/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ots.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/ots-0.5.0-27.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ots.spec'], chrootPath='/var/lib/mock/f38-build-687742-82056/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ots.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SC0lfQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ots-0.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ots-0.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ots-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PL99q2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ots-0.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2007-04-08 14:16:30.000000000 -0400 +++ ./configure 2023-03-02 09:14:52.210457618 -0500 @@ -6516,7 +6516,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --with-html-dir=/usr/share/gtk-doc/html/ots checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory 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... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 >= 2.0 libxml-2.0 >= 2.4.23... yes checking OTS_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 checking OTS_LIBS... -lglib-2.0 -lxml2 checking for poptParseArgvString in -lpopt... yes checking for native Win32... no checking for Win32 platform in general... no checking for gtkdoc-mkdb... false checking for db2html... false configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating libots-1.pc config.status: creating ots.spec config.status: creating src/Makefile config.status: WARNING: src/Makefile.in seems to ignore the --datarootdir setting config.status: creating dic/Makefile config.status: WARNING: dic/Makefile.in seems to ignore the --datarootdir setting config.status: creating doc/Makefile config.status: WARNING: doc/Makefile.in seems to ignore the --datarootdir setting config.status: creating articles/Makefile config.status: WARNING: articles/Makefile.in seems to ignore the --datarootdir setting config.status: creating ots-config.h config.status: executing default-1 commands ots-0.5.0 prefix: /usr compiler: gcc + touch ./gtk-doc.make + /usr/bin/make LIBTOOL=/usr/bin/libtool /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ots-0.5.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/src' /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c article.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c article.c -fPIC -DPIC -o .libs/article.o article.c: In function 'ots_append_word': article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; | ^~~~~ | | | const unsigned char * In file included from article.c:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, from article.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:211:36: warning: pointer targets in initialization of 'const char * const' from 'const unsigned char *' differ in signedness [-Wpointer-sign] 211 | const char *const ___str = ((STR)); \ | ^ article.c:109:58: note: in expansion of macro 'g_strdup' 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:221:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 221 | (g_strdup) ((STR)) \ | ^~~~~ | | | const unsigned char * article.c:109:58: note: in expansion of macro 'g_strdup' 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:301:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' 301 | gchar* (g_strdup) (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c article.c -o article.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c dictionary.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c dictionary.c -fPIC -DPIC -o .libs/dictionary.o dictionary.c: In function 'ots_load_xml_dictionary': dictionary.c:321:40: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 321 | idf_key=xmlGetProp(tf_words,"idf"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from dictionary.c:28: /usr/include/libxml2/libxml/tree.h:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ dictionary.c:322:84: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dictionary.c:21: /usr/include/bits/stdlib-float.h:25:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 25 | __NTH (atof (const char *__nptr)) | ^~~~~ dictionary.c:322:75: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from dictionary.c:25: libots.h:114:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 114 | OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); | ~~~~~~~~~~~~^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c dictionary.c -o dictionary.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader.c -fPIC -DPIC -o .libs/grader.o grader.c: In function 'ots_grade_structure': grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 45 | if (Doc->lines!=NULL) | ^~ grader.c:47:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 47 | if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader.c -o grader.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tf.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o grader-tf.c: In function 'ots_calc_idf': grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] 108 | return -log(doc_word_count/term_count); | ^~~ grader-tf.c:25:1: note: include '' or provide a declaration of 'log' 24 | #include "libots.h" +++ |+#include 25 | grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' [-Wbuiltin-declaration-mismatch] 108 | return -log(doc_word_count/term_count); | ^~~ grader-tf.c:108:9: note: include '' or provide a declaration of 'log' libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tf.c -o grader-tf.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tc.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tc.c -fPIC -DPIC -o .libs/grader-tc.o grader-tc.c: In function 'ots_line_add_wordlist': grader-tc.c:65:83: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] 65 | if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); | ^~~~~~~~~~~~~~~~ | | | char * In file included from grader-tc.c:24: libots.h:97:62: note: expected 'const unsigned char *' but argument is of type 'char *' 97 | void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ grader-tc.c: In function 'ots_grade_line': grader-tc.c:112:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 112 | tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); | ^ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24: grader-tc.c: In function 'ots_create_title_tc': /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grader-tc.c:156:26: note: in expansion of macro 'g_string_free' 156 | if (NULL!=title) g_string_free(title,FALSE); | ^~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c grader-tc.c -o grader-tc.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c html.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c html.c -fPIC -DPIC -o .libs/html.o html.c: In function 'ots_get_line_HTML': html.c:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 62 | utf8_data = text->str; | ^ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, from html.c:24: html.c: In function 'ots_get_doc_HTML': html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] 105 | g_string_append_len (text, utf8_data, line_len); | ^~~~~~~~~ | | | unsigned char * /usr/include/glib-2.0/glib/gstring.h:235:37: note: in definition of macro 'g_string_append_len' 235 | g_string_append_len_inline (gstr, val, len) | ^~~ /usr/include/glib-2.0/glib/gstring.h:207:41: note: expected 'const char *' but argument is of type 'unsigned char *' 207 | const char *val, | ~~~~~~~~~~~~^~~ html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 112 | utf8_data = text->str; | ^ /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ html.c:114:3: note: in expansion of macro 'g_string_free' 114 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ html.c: In function 'ots_get_line_HTML': /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ html.c:63:3: note: in expansion of macro 'g_string_free' 63 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c html.c -o html.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c parser.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c parser.c -fPIC -DPIC -o .libs/parser.o parser.c: In function 'ots_parse_file': parser.c:68:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 68 | strncpy (buffer + total_read, fread_buffer, nread); | ~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:491, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser.c:21: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ parser.c:68:37: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 68 | strncpy (buffer + total_read, fread_buffer, nread); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ parser.c: In function 'ots_parse_stream': parser.c:141:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] 141 | ots_append_word (tmpLine, word_buffer->str); | ~~~~~~~~~~~^~~~~ | | | gchar * {aka char *} In file included from parser.c:25: libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ parser.c:151:57: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] 151 | if (uc=='\n') {ots_append_word (tmpLine,"\n");} | ^~~~ | | | char * libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ parser.c:153:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] 153 | {ots_append_word (tmpLine," ");} | ^~~ | | | char * libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ parser.c:166:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] 166 | ots_append_word (tmpLine, word_buffer->str); | ~~~~~~~~~~~^~~~~ | | | gchar * {aka char *} libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c parser.c -o parser.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c text.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c text.c -fPIC -DPIC -o .libs/text.o text.c: In function 'ots_get_line_text': text.c:50:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 50 | utf8_data = text->str; | ^ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, from text.c:25: text.c: In function 'ots_get_doc_text': text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] 79 | g_string_append_len (text, utf8_data, line_len); | ^~~~~~~~~ | | | unsigned char * /usr/include/glib-2.0/glib/gstring.h:235:37: note: in definition of macro 'g_string_append_len' 235 | g_string_append_len_inline (gstr, val, len) | ^~~ /usr/include/glib-2.0/glib/gstring.h:207:41: note: expected 'const char *' but argument is of type 'unsigned char *' 207 | const char *val, | ~~~~~~~~~~~~^~~ text.c:85:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 85 | utf8_data = text->str; | ^ text.c: In function 'ots_get_line_text': /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:51:3: note: in expansion of macro 'g_string_free' 51 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ text.c: In function 'ots_get_doc_text': /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:87:3: note: in expansion of macro 'g_string_free' 87 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c text.c -o text.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c stemmer.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o stemmer.c: In function 'ots_stem_break': stemmer.c:81:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 81 | clen = strlen (comp); | ^~~~ | | | const unsigned char * In file included from stemmer.c:24: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c: In function 'ots_stem_remove_pre': stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 114 | plen = strlen (pre); | ^~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 115 | wlen = strlen (aWord); | ^~~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:116:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 116 | nlen = strlen (new); | ^~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:122:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 122 | new_str = g_new0 (char, wlen + nlen +5); | ^ stemmer.c: In function 'ots_stem_remove_post': stemmer.c:143:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 143 | wlen = strlen (aWord); | ^~~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:144:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 144 | plen = strlen (post); | ^~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:145:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 145 | nlen = strlen (new); | ^~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ stemmer.c:154:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 154 | new_str = g_new0 (char, wlen + nlen +5); | ^ stemmer.c: In function 'ots_stem_replace_word': stemmer.c:173:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 173 | if ((aWord)&&(0 == strcmp (aWord, old))) | ^~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ stemmer.c:173:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 173 | if ((aWord)&&(0 == strcmp (aWord, old))) | ^~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, from stemmer.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:211:36: warning: pointer targets in initialization of 'const char * const' from 'const unsigned char *' differ in signedness [-Wpointer-sign] 211 | const char *const ___str = ((STR)); \ | ^ stemmer.c:175:14: note: in expansion of macro 'g_strdup' 175 | return g_strdup (new); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:221:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 221 | (g_strdup) ((STR)) \ | ^~~~~ | | | const unsigned char * stemmer.c:175:14: note: in expansion of macro 'g_strdup' 175 | return g_strdup (new); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:301:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' 301 | gchar* (g_strdup) (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:220:5: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 208 | (__builtin_constant_p ((STR)) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | (G_LIKELY ((STR) != NULL) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | G_GNUC_EXTENSION ({ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | const char *const ___str = ((STR)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | const char *const __str = _G_STR_NONNULL (___str); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | const size_t __str_len = strlen (__str) + 1; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | char *__dup_str = (char *) g_malloc (__str_len); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | (char *) memcpy (__dup_str, __str, __str_len); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | }) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | (char *) (NULL) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 219 | ) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | (g_strdup) ((STR)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | ) | ~ stemmer.c:175:14: note: in expansion of macro 'g_strdup' 175 | return g_strdup (new); | ^~~~~~~~ stemmer.c: In function 'ots_stem_format': stemmer.c:197:30: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] 197 | normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ | ^~~~~ | | | const unsigned char * In file included from /usr/include/glib-2.0/glib/gstring.h:35: /usr/include/glib-2.0/glib/gunicode.h:908:37: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' 908 | gchar *g_utf8_strdown (const gchar *str, | ~~~~~~~~~~~~~^~~ stemmer.c:197:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 197 | normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ | ^ stemmer.c:207:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 207 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:71:58: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ stemmer.c:207:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 207 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:71:80: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ stemmer.c:208:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] 208 | rep = ots_stem_remove_pre (normWord, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:107:70: note: expected 'const unsigned char *' but argument is of type 'char *' 107 | ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~ stemmer.c:208:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] 208 | rep = ots_stem_remove_pre (normWord, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:107:95: note: expected 'const unsigned char *' but argument is of type 'char *' 107 | ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~ stemmer.c:220:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 220 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:71:58: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ stemmer.c:220:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 220 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:71:80: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ stemmer.c:221:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] 221 | rep = ots_stem_remove_post(normWord, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:136:71: note: expected 'const unsigned char *' but argument is of type 'char *' 136 | ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~~ stemmer.c:221:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] 221 | rep = ots_stem_remove_post(normWord, prefix, newfix); | ^~~~~~ | | | char * stemmer.c:136:97: note: expected 'const unsigned char *' but argument is of type 'char *' 136 | ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~ stemmer.c: In function 'ots_stem_strip': stemmer.c:253:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 253 | prefix = g_new0 (char, MAX_PREFIX_SIZE); | ^ stemmer.c:254:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 254 | newfix = g_new0 (char, MAX_PREFIX_SIZE); | ^ stemmer.c:324:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 324 | if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c stemmer.c -o stemmer.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c highlighter.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o highlighter.c: In function 'ots_highlight_doc_lines': highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 100 | int tmp; | ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c highlighter.c -o highlighter.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c wordlist.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o wordlist.c: In function 'ots_new_wordEntery_strip': wordlist.c:35:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 35 | aWord->word = ots_stem_format(wordString,rule); | ^ wordlist.c:36:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 36 | aWord->stem = ots_stem_strip(wordString,rule); | ^ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, from wordlist.c:25: wordlist.c: In function 'ots_new_wordEntery': /usr/include/glib-2.0/glib/gstrfuncs.h:211:36: warning: pointer targets in initialization of 'const char * const' from 'const unsigned char *' differ in signedness [-Wpointer-sign] 211 | const char *const ___str = ((STR)); \ | ^ wordlist.c:45:17: note: in expansion of macro 'g_strdup' 45 | aWord->word = g_strdup (wordString); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:221:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 221 | (g_strdup) ((STR)) \ | ^~~~~ | | | const unsigned char * wordlist.c:45:17: note: in expansion of macro 'g_strdup' 45 | aWord->word = g_strdup (wordString); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:301:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' 301 | gchar* (g_strdup) (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:211:36: warning: pointer targets in initialization of 'const char * const' from 'const unsigned char *' differ in signedness [-Wpointer-sign] 211 | const char *const ___str = ((STR)); \ | ^ wordlist.c:46:17: note: in expansion of macro 'g_strdup' 46 | aWord->stem = g_strdup (wordString); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:221:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 221 | (g_strdup) ((STR)) \ | ^~~~~ | | | const unsigned char * wordlist.c:46:17: note: in expansion of macro 'g_strdup' 46 | aWord->stem = g_strdup (wordString); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:301:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' 301 | gchar* (g_strdup) (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ wordlist.c: In function 'ots_union_list': wordlist.c:117:13: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] 117 | if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:288:23: note: declared here 288 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ wordlist.c: In function 'ots_add_wordstat': wordlist.c:174:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 174 | if (0==strlen(wordString)) return; | ^~~~~~~~~~ | | | const unsigned char * In file included from wordlist.c:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 175 | if (0==strcmp(wordString," ")) return; | ^~~~~~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | if (0==strcmp(wordString,"\n")) return; | ^~~~~~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 177 | if (0==strcmp(wordString,"\t")) return; | ^~~~~~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 180 | tmp = ots_stem_strip (wordString, rule); | ^ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c wordlist.c -o wordlist.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c relations.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c relations.c -fPIC -DPIC -o .libs/relations.o relations.c: In function 'ots_text_topics': relations.c:83:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 83 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ | ^~~~ | | | const unsigned char * In file included from relations.c:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ relations.c:89:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 89 | tmp=ots_word_in_list(Art->ImpWords,i); | ^ relations.c:90:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from grader-tc.h:25, from relations.c:24: /usr/include/glib-2.0/glib/gstring.h:255:34: warning: pointer targets in initialization of 'const char * const' from 'unsigned char *' differ in signedness [-Wpointer-sign] 255 | const char * const __val = (val); \ | ^ relations.c:90:36: note: in expansion of macro 'g_string_append' 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); | ^~~~~~~~~~~~~~~ relations.c:90:57: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); | ^~~ | | | unsigned char * /usr/include/glib-2.0/glib/gstring.h:235:37: note: in definition of macro 'g_string_append_len' 235 | g_string_append_len_inline (gstr, val, len) | ^~~ relations.c:90:36: note: in expansion of macro 'g_string_append' 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:207:41: note: expected 'const char *' but argument is of type 'unsigned char *' 207 | const char *val, | ~~~~~~~~~~~~^~~ relations.c:95:4: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 95 | str=word->str; | ^ relations.c:99:8: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 99 | return str; | ^~~ relations.c: In function 'ots_text_stem_list': relations.c:117:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 117 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); | ^~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ relations.c:123:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 123 | tmp=ots_stem_in_list(Art->ImpWords,i); | ^ relations.c:124:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 124 | if ((tmp)&&(strlen(tmp)>0)) | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37: /usr/include/glib-2.0/glib/gstrfuncs.h:211:36: warning: pointer targets in initialization of 'const char * const' from 'unsigned char *' differ in signedness [-Wpointer-sign] 211 | const char *const ___str = ((STR)); \ | ^ relations.c:125:29: note: in expansion of macro 'g_strdup' 125 | topics=g_list_append(topics,g_strdup(tmp)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:221:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 221 | (g_strdup) ((STR)) \ | ^~~~~ | | | unsigned char * relations.c:125:29: note: in expansion of macro 'g_strdup' 125 | topics=g_list_append(topics,g_strdup(tmp)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:301:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' 301 | gchar* (g_strdup) (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ relations.c: In function 'ots_topic_list_score': relations.c:145:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | tmplist1 = g_list_first(topic_list1); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/ghash.h:36, from /usr/include/glib-2.0/glib.h:52: /usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} 134 | GList* g_list_first (GList *list); | ~~~~~~~~~~~~~~~~~~^~~~ relations.c:148:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | tmplist2 = g_list_first(topic_list2); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} 134 | GList* g_list_first (GList *list); | ~~~~~~~~~~~~~~~~~~^~~~ relations.c: In function 'ots_text_topics': /usr/include/glib-2.0/glib/gstring.h:72:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relations.c:96:1: note: in expansion of macro 'g_string_free' 96 | g_string_free (word, FALSE); | ^~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c relations.c -o relations.o >/dev/null 2>&1 /usr/bin/libtool --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libots-1.la -rpath /usr/lib64 -version-info 5:0:5 article.lo dictionary.lo grader.lo grader-tf.lo grader-tc.lo html.lo parser.lo text.lo stemmer.lo highlighter.lo wordlist.lo relations.lo -lglib-2.0 -lxml2 libtool: link: gcc -shared -fPIC -DPIC .libs/article.o .libs/dictionary.o .libs/grader.o .libs/grader-tf.o .libs/grader-tc.o .libs/html.o .libs/parser.o .libs/text.o .libs/stemmer.o .libs/highlighter.o .libs/wordlist.o .libs/relations.o -lglib-2.0 -lxml2 -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libots-1.so.0 -o .libs/libots-1.so.0.5.0 libtool: link: (cd ".libs" && rm -f "libots-1.so.0" && ln -s "libots-1.so.0.5.0" "libots-1.so.0") libtool: link: (cd ".libs" && rm -f "libots-1.so" && ln -s "libots-1.so.0.5.0" "libots-1.so") libtool: link: ar cr .libs/libots-1.a article.o dictionary.o grader.o grader-tf.o grader-tc.o html.o parser.o text.o stemmer.o highlighter.o wordlist.o relations.o libtool: link: ranlib .libs/libots-1.a libtool: link: ( cd ".libs" && rm -f "libots-1.la" && ln -s "../libots-1.la" "libots-1.la" ) gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ots.c ots.c: In function 'main': ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] 130 | if (!ots_load_xml_dictionary (Art, dictionary_file)) | ^~~~~~~~~~~~~~~ | | | char * In file included from ots.c:28: libots.h:101:73: note: expected 'const unsigned char *' but argument is of type 'char *' 101 | gboolean ots_load_xml_dictionary (OtsArticle * Doc,unsigned const char *name); | ~~~~~~~~~~~~~~~~~~~~~^~~~ ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] 46 | int c,n_args=0; | ^ /usr/bin/libtool --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ots ots.o ../src/libots-1.la -lglib-2.0 -lxml2 -lpopt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ots ots.o ../src/.libs/libots-1.so -lglib-2.0 -lxml2 -lpopt make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/src' Making all in dic make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/dic' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/dic' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/doc' make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0' make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0' make[1]: Leaving directory '/builddir/build/BUILD/ots-0.5.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VX1iJ9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ots-0.5.0 + rm -rf /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/ots-0.5.0/src' make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c libots-1.la /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.la /usr/bin/install -c .libs/libots-1.so.0.5.0 /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.so.0.5.0 (cd /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64 && rm -f libots-1.so.0 && ln -s libots-1.so.0.5.0 libots-1.so.0) (cd /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64 && rm -f libots-1.so && ln -s libots-1.so.0.5.0 libots-1.so) /usr/bin/install -c .libs/libots-1.lai /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.la /usr/bin/install -c .libs/libots-1.a /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.a chmod 644 /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.a ranlib /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c ots /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/bin/ots libtool: install: warning: `../src/libots-1.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ots /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/bin/ots /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/include/libots-1/ots mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/include mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/include/libots-1 mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/include/libots-1/ots /usr/bin/install -c -m 644 libots.h /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/include/libots-1/ots/libots.h make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/src' make[1]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/src' Making install in dic make[1]: Entering directory '/builddir/build/BUILD/ots-0.5.0/dic' make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/dic' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots /usr/bin/install -c -m 644 ./bg.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/bg.xml /usr/bin/install -c -m 644 ./ca.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ca.xml /usr/bin/install -c -m 644 ./cs.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/cs.xml /usr/bin/install -c -m 644 ./cy.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/cy.xml /usr/bin/install -c -m 644 ./da.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/da.xml /usr/bin/install -c -m 644 ./de.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/de.xml /usr/bin/install -c -m 644 ./el.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/el.xml /usr/bin/install -c -m 644 ./en.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/en.xml /usr/bin/install -c -m 644 ./eo.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/eo.xml /usr/bin/install -c -m 644 ./es.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/es.xml /usr/bin/install -c -m 644 ./et.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/et.xml /usr/bin/install -c -m 644 ./eu.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/eu.xml /usr/bin/install -c -m 644 ./fi.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/fi.xml /usr/bin/install -c -m 644 ./fr.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/fr.xml /usr/bin/install -c -m 644 ./ga.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ga.xml /usr/bin/install -c -m 644 ./gl.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/gl.xml /usr/bin/install -c -m 644 ./he.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/he.xml /usr/bin/install -c -m 644 ./hu.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/hu.xml /usr/bin/install -c -m 644 ./ia.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ia.xml /usr/bin/install -c -m 644 ./id.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/id.xml /usr/bin/install -c -m 644 ./is.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/is.xml /usr/bin/install -c -m 644 ./it.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/it.xml /usr/bin/install -c -m 644 ./lv.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/lv.xml /usr/bin/install -c -m 644 ./mi.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/mi.xml /usr/bin/install -c -m 644 ./ms.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ms.xml /usr/bin/install -c -m 644 ./mt.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/mt.xml /usr/bin/install -c -m 644 ./nl.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/nl.xml /usr/bin/install -c -m 644 ./nn.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/nn.xml /usr/bin/install -c -m 644 ./pl.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/pl.xml /usr/bin/install -c -m 644 ./pt.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/pt.xml /usr/bin/install -c -m 644 ./ro.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ro.xml /usr/bin/install -c -m 644 ./ru.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/ru.xml /usr/bin/install -c -m 644 ./sv.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/sv.xml /usr/bin/install -c -m 644 ./tl.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/tl.xml /usr/bin/install -c -m 644 ./tr.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/tr.xml /usr/bin/install -c -m 644 ./uk.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/uk.xml /usr/bin/install -c -m 644 ./yi.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/yi.xml /usr/bin/install -c -m 644 ./en.xml /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/ots/en.xml make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/dic' make[1]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/dic' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/ots-0.5.0/doc' make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/doc' make[1]: Leaving directory '/builddir/build/BUILD/ots-0.5.0/doc' make[1]: Entering directory '/builddir/build/BUILD/ots-0.5.0' make[2]: Entering directory '/builddir/build/BUILD/ots-0.5.0' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/pkgconfig mkdir /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/pkgconfig /usr/bin/install -c -m 644 ./libots-1.pc /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/pkgconfig/libots-1.pc make[2]: Leaving directory '/builddir/build/BUILD/ots-0.5.0' make[1]: Leaving directory '/builddir/build/BUILD/ots-0.5.0' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.5.0-27.fc38 --unique-debug-suffix -0.5.0-27.fc38.riscv64 --unique-debug-src-base ots-0.5.0-27.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ots-0.5.0 extracting debug info from /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/bin/ots extracting debug info from /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/libots-1.so.0.5.0 original debug info size: 448kB, size after compression: 444kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 119 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libots-1.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ots-0.5.0-27.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iTSAyn + umask 022 + cd /builddir/build/BUILD + cd ots-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr AUTHORS /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr COPYING /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr ChangeLog /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr NEWS /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr README /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + cp -pr TODO /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots + RPM_EC=0 ++ jobs -p + exit 0 Provides: ots = 0.5.0-27.fc38 ots(riscv-64) = 0.5.0-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libglib-2.0.so.0()(64bit) libots-1.so.0()(64bit) rtld(GNU_HASH) Processing files: ots-devel-0.5.0-27.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DMnBRS + umask 022 + cd /builddir/build/BUILD + cd ots-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-devel + cp -pr COPYING /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ots-devel = 0.5.0-27.fc38 ots-devel(riscv-64) = 0.5.0-27.fc38 pkgconfig(libots-1) = 0.5.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libots-1.so.0()(64bit) pkgconfig(glib-2.0) Processing files: ots-libs-0.5.0-27.fc38.riscv64 warning: File not found: /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/*.la Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CpnzQp + umask 022 + cd /builddir/build/BUILD + cd ots-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-libs + cp -pr COPYING /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/share/doc/ots-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libots-1.so.0()(64bit) ots-libs = 0.5.0-27.fc38 ots-libs(riscv-64) = 0.5.0-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libglib-2.0.so.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH) Processing files: ots-debugsource-0.5.0-27.fc38.riscv64 Provides: ots-debugsource = 0.5.0-27.fc38 ots-debugsource(riscv-64) = 0.5.0-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ots-debuginfo-0.5.0-27.fc38.riscv64 Provides: debuginfo(build-id) = dc99aaf96f0649811087652ebd2e69857d4feb1e ots-debuginfo = 0.5.0-27.fc38 ots-debuginfo(riscv-64) = 0.5.0-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ots-debugsource(riscv-64) = 0.5.0-27.fc38 Processing files: ots-libs-debuginfo-0.5.0-27.fc38.riscv64 Provides: debuginfo(build-id) = e444bdfa4d6791250a9caef77d1cabb71906f167 libots-1.so.0.5.0-0.5.0-27.fc38.riscv64.debug()(64bit) ots-libs-debuginfo = 0.5.0-27.fc38 ots-libs-debuginfo(riscv-64) = 0.5.0-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ots-debugsource(riscv-64) = 0.5.0-27.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 Wrote: /builddir/build/RPMS/ots-debuginfo-0.5.0-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ots-debugsource-0.5.0-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ots-libs-debuginfo-0.5.0-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ots-0.5.0-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ots-devel-0.5.0-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ots-libs-0.5.0-27.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DwD2Xw + umask 022 + cd /builddir/build/BUILD + cd ots-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LiX0jU + umask 022 + cd /builddir/build/BUILD + rm -rf ots-0.5.0 ots-0.5.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File not found: /builddir/build/BUILDROOT/ots-0.5.0-27.fc38.riscv64/usr/lib64/*.la Child return code was: 0