<86>Apr 10 14:40:55 userdel[4094088]: delete user 'rooter' <86>Apr 10 14:40:55 groupadd[4094322]: group added to /etc/group: name=rooter, GID=666 <86>Apr 10 14:40:55 groupadd[4094322]: group added to /etc/gshadow: name=rooter <86>Apr 10 14:40:55 groupadd[4094322]: new group: name=rooter, GID=666 <86>Apr 10 14:40:55 useradd[4094334]: new user: name=rooter, UID=666, GID=666, home=/root, shell=/bin/bash <86>Apr 10 14:40:56 userdel[4094461]: delete user 'builder' <86>Apr 10 14:40:56 userdel[4094461]: removed group 'builder' owned by 'builder' <86>Apr 10 14:40:56 userdel[4094461]: removed shadow group 'builder' owned by 'builder' <86>Apr 10 14:40:56 groupadd[4095102]: group added to /etc/group: name=builder, GID=667 <86>Apr 10 14:40:56 groupadd[4095102]: group added to /etc/gshadow: name=builder <86>Apr 10 14:40:56 groupadd[4095102]: new group: name=builder, GID=667 <86>Apr 10 14:40:56 useradd[4095316]: new user: name=builder, UID=667, GID=667, home=/usr/src, shell=/bin/bash <13>Apr 10 14:41:03 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Apr 10 14:41:03 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Apr 10 14:41:03 rpmi: libcom_err-devel-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Apr 10 14:41:03 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Apr 10 14:41:03 rpmi: libstemmer-2.0.0-alt1 sisyphus+253893.100.1.1 1596636642 installed <13>Apr 10 14:41:03 rpmi: libltdl7-2.4.6-alt2 sisyphus+263722.100.1.1 1608561894 installed <13>Apr 10 14:41:03 rpmi: libunixODBC2-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 10 14:41:03 rpmi: libunixODBC-devel-compat-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 10 14:41:03 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 10 14:41:03 rpmi: openldap-common-2.4.57-alt1 sisyphus+266287.100.1.1 1613244218 installed <13>Apr 10 14:41:03 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Apr 10 14:41:03 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Apr 10 14:41:03 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Apr 10 14:41:04 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 10 14:41:05 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 10 14:41:05 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 10 14:41:05 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 10 14:41:05 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 10 14:41:05 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 10 14:41:05 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 10 14:41:05 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 10 14:41:05 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 10 14:41:05 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 10 14:41:05 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <86>Apr 10 14:41:05 groupadd[4118465]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 10 14:41:05 groupadd[4118465]: group added to /etc/gshadow: name=_keytab <86>Apr 10 14:41:05 groupadd[4118465]: new group: name=_keytab, GID=499 <13>Apr 10 14:41:05 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>Apr 10 14:41:05 groupadd[4119585]: group added to /etc/group: name=sasl, GID=498 <86>Apr 10 14:41:05 groupadd[4119585]: group added to /etc/gshadow: name=sasl <86>Apr 10 14:41:05 groupadd[4119585]: new group: name=sasl, GID=498 <13>Apr 10 14:41:05 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Apr 10 14:41:05 rpmi: libldap-2.4.57-alt1 sisyphus+266287.100.1.1 1613244306 installed <13>Apr 10 14:41:06 rpmi: libpq5-13.2-alt1 sisyphus+266168.100.1.1 1613037925 installed <13>Apr 10 14:41:06 rpmi: libecpg6-13.2-alt1 sisyphus+266168.100.1.1 1613037925 installed <13>Apr 10 14:41:06 rpmi: libkrb5-ldap-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>Apr 10 14:41:06 rpmi: libkrb5-devel-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>Apr 10 14:41:06 rpmi: libmysqlclient21-8.0.23-alt1 sisyphus+266017.100.2.1 1613376155 installed <13>Apr 10 14:41:06 rpmi: libmysqlclient21-devel-8.0.23-alt1 sisyphus+266017.100.2.1 1613376155 installed <13>Apr 10 14:41:07 rpmi: postgresql-devel-13.2-alt1 sisyphus+266168.100.1.1 1613037925 installed <13>Apr 10 14:41:07 rpmi: libssl-devel-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 10 14:41:07 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Apr 10 14:41:07 rpmi: libexpat-devel-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 10 14:41:07 rpmi: libunixODBC-devel-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 10 14:41:07 rpmi: libstemmer-devel-2.0.0-alt1 sisyphus+253893.100.1.1 1596636642 installed <13>Apr 10 14:41:07 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sphinx-2.3.2-alt3.nosrc.rpm (w1.gzdio) Installing sphinx-2.3.2-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.4560 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sphinx-2.3.2 + echo 'Source #0 (sphinx-2.3.2.tar):' Source #0 (sphinx-2.3.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/sphinx-2.3.2.tar + cd sphinx-2.3.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (sphinx-crash.patch):' Patch #0 (sphinx-crash.patch): + /usr/bin/patch -p2 patching file src/searchd.cpp + sed -i 's/\r//' api/ruby/spec/sphinx/sphinx_test.sql + sed -i 's/\r//' api/java/mk.cmd + sed -i 's/\r//' api/ruby/spec/fixtures/keywords.php + sed -i 's/\r//' api/ruby/lib/sphinx/response.rb + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.5691 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sphinx-2.3.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --sysconfdir=/etc/sphinx --with-mysql --with-pgsql --with-libstemmer configure: WARNING: unrecognized options: --without-included-gettext checking build environment -------------------------- checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for compiler programs ------------------------------ checking whether to compile debug version... no checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for header files ------------------------- checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for types ------------------ checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for library functions ------------------------------ checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for library containing setsockopt... none required checking for library containing gethostbyname... none required checking for library containing inflate... -lz checking for library containing logf... -lm checking for dup2... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strnlen... yes checking for strstr... yes checking for strtol... yes checking for logf... yes checking for pread... yes checking for poll... yes checking for backtrace... yes checking for backtrace_symbols... yes checking for epoll_ctl... yes checking for eventfd... yes checking for clock_gettime in -lrt... yes checking for clock_gettime... yes checking for LOCK_EX in sys/file.h... yes checking for F_SETLKW in fcntl.h... yes checking for library containing dlopen... -ldl checking for dlopen... yes checking for dlerror... yes checking for interlocked builtins... yes configuring Sphinx ------------------ checking whether to use dynamic linking for DB drivers... no checking for CFLAGS needed for pthreads... -pthread checking for LIBS needed for pthreads... -lpthread checking for pthreads... found checking for pthread_mutex_timedlock... yes checking whether to compile with MySQL support... dynamic checking for mysql_config... mysql_config checking for mysql_real_connect... yes checking MySQL include files... -I/usr/include/mysql checking MySQL libraries... -L/usr/lib -lmysqlclient checking for Syslog... yes checking whether to compile with PostgreSQL support... dynamic checking for pg_config... /usr/bin/pg_config checking PostgreSQL C flags... -I/usr/include/pgsql checking PostgreSQL linker flags... -L/usr/lib -lpq checking whether to use 64-bit document/word IDs... yes checking whether to compile with libstemmer support... yes, external checking whether to compile with RE2 library support... no checking whether to compile with RLP library support... no checking for libexpat... checking for library containing XML_Parse... -lexpat found checking for libiconv... checking for library containing iconv... none required found checking for iconv() arg types... char ** checking for UnixODBC... checking for library containing SQLDriverConnect... -lodbc found checking whether to enable c++ memory routines override... yes checking for Syslog... yes checking for unaligned RAM access... yes checking whether byte ordering is bigendian... no generating configuration files ------------------------------ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating libstemmer_c/Makefile config.status: creating doc/Makefile config.status: creating sphinx.conf.dist config.status: creating sphinx-min.conf.dist config.status: creating config/config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext configuration done ------------------ You can now run 'make install' to build and install Sphinx binaries. On a multi-core machine, try 'make -j4 install' to speed up the build. Updates, articles, help forum, and commercial support, consulting, training, and development services are available at http://sphinxsearch.com/ Thank you for choosing Sphinx! + make -j8 Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' /bin/sh git_commit_id.sh make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make all-am make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxsoundex.o sphinxsoundex.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxstemar.o sphinxstemar.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxstemcz.o sphinxstemcz.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxstd.o sphinxstd.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxstemru.o sphinxstemru.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxstemen.o sphinxstemen.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxutils.o sphinxutils.cpp sphinxutils.cpp: In function 'bool sphWildcardMatchRec(const T1*, const T2*)': sphinxutils.cpp:190:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 190 | for ( p++; *p=='*' || *p=='?'; p++ ) | ^~~ sphinxutils.cpp:199:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 199 | if ( !*p ) | ^~ sphinxutils.cpp: In member function 'bool CSphConfigParser::Parse(const char*, const char*)': sphinxutils.cpp:1194:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1194 | if ( !AddSection ( m_sSectionType.cstr(), sToken ) ) break; sToken[0] = '\0'; | ^~ sphinxutils.cpp:1194:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1194 | if ( !AddSection ( m_sSectionType.cstr(), sToken ) ) break; sToken[0] = '\0'; | ^~~~~~ sphinxutils.cpp: In function 'void UItoA(char**, Uint, int, int, int, char)': sphinxutils.cpp:1884:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1884 | if ( iWidth ) | ^~ sphinxutils.cpp:1891:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1891 | if ( iPrec ) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxmetaphone.o sphinxmetaphone.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxfilter.o sphinxfilter.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxjson.o sphinxjson.cpp sphinxjson.cpp: In member function 'void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)': sphinxjson.cpp:442:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 442 | printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | DWORD {aka long unsigned int} make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -c sphinxudf.c sphinxudf.c: In function 'sphinx_get_field_factor_float': sphinxudf.c:305:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 305 | return *(float*)&r; | ^~~~~~~~~~ sphinxudf.c: In function 'sphinx_get_term_factor_float': sphinxudf.c:312:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 312 | return *(float*)&r; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxaot.o sphinxaot.cpp In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinxaot.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual BYTE* CSphAotTokenizerRu::GetToken()' at sphinxaot.cpp:1576:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual BYTE* CSphAotTokenizer::GetToken()' at sphinxaot.cpp:1721:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxplugin.o sphinxplugin.cpp In file included from /usr/include/dlfcn.h:24, from sphinxplugin.cpp:24: sphinxplugin.cpp:251:31: warning: 'offsetof' within non-standard-layout type 'PluginUDF_c' is conditionally-supported [-Winvalid-offsetof] 251 | { static_cast( offsetof(PluginUDF_c, m_fnInit)), "init", false }, | ^ sphinxplugin.cpp:252:31: warning: 'offsetof' within non-standard-layout type 'PluginUDF_c' is conditionally-supported [-Winvalid-offsetof] 252 | { static_cast( offsetof(PluginUDF_c, m_fnFunc)), "", true }, | ^ sphinxplugin.cpp:253:31: warning: 'offsetof' within non-standard-layout type 'PluginUDF_c' is conditionally-supported [-Winvalid-offsetof] 253 | { static_cast( offsetof(PluginUDF_c, m_fnDeinit)), "deinit", false }, | ^ sphinxplugin.cpp:260:31: warning: 'offsetof' within non-standard-layout type 'PluginRanker_c' is conditionally-supported [-Winvalid-offsetof] 260 | { static_cast( offsetof(PluginRanker_c, m_fnInit)), "init", false }, | ^ sphinxplugin.cpp:261:31: warning: 'offsetof' within non-standard-layout type 'PluginRanker_c' is conditionally-supported [-Winvalid-offsetof] 261 | { static_cast( offsetof(PluginRanker_c, m_fnUpdate)), "update", false }, | ^ sphinxplugin.cpp:262:31: warning: 'offsetof' within non-standard-layout type 'PluginRanker_c' is conditionally-supported [-Winvalid-offsetof] 262 | { static_cast( offsetof(PluginRanker_c, m_fnFinalize)), "finalize", true }, | ^ sphinxplugin.cpp:263:31: warning: 'offsetof' within non-standard-layout type 'PluginRanker_c' is conditionally-supported [-Winvalid-offsetof] 263 | { static_cast( offsetof(PluginRanker_c, m_fnDeinit)), "deinit", false }, | ^ sphinxplugin.cpp:270:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 270 | { static_cast( offsetof(PluginTokenFilter_c, m_fnInit)), "init", false }, | ^ sphinxplugin.cpp:271:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 271 | { static_cast( offsetof(PluginTokenFilter_c, m_fnBeginDocument)), "begin_document", false }, | ^ sphinxplugin.cpp:272:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 272 | { static_cast( offsetof(PluginTokenFilter_c, m_fnBeginField)), "begin_field", false }, | ^ sphinxplugin.cpp:273:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 273 | { static_cast( offsetof(PluginTokenFilter_c, m_fnPushToken)), "push_token", true }, | ^ sphinxplugin.cpp:274:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 274 | { static_cast( offsetof(PluginTokenFilter_c, m_fnGetExtraToken)), "get_extra_token", false }, | ^ sphinxplugin.cpp:275:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 275 | { static_cast( offsetof(PluginTokenFilter_c, m_fnEndField)), "end_field", false }, | ^ sphinxplugin.cpp:276:31: warning: 'offsetof' within non-standard-layout type 'PluginTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 276 | { static_cast( offsetof(PluginTokenFilter_c, m_fnDeinit)), "deinit", false }, | ^ sphinxplugin.cpp:283:31: warning: 'offsetof' within non-standard-layout type 'PluginQueryTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 283 | { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnInit)), "init", false }, | ^ sphinxplugin.cpp:284:31: warning: 'offsetof' within non-standard-layout type 'PluginQueryTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 284 | { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnPreMorph)), "pre_morph", false }, | ^ sphinxplugin.cpp:285:31: warning: 'offsetof' within non-standard-layout type 'PluginQueryTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 285 | { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnPostMorph)), "post_morph", false }, | ^ sphinxplugin.cpp:286:31: warning: 'offsetof' within non-standard-layout type 'PluginQueryTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 286 | { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnPushToken)), "push_token", false }, | ^ sphinxplugin.cpp:287:31: warning: 'offsetof' within non-standard-layout type 'PluginQueryTokenFilter_c' is conditionally-supported [-Winvalid-offsetof] 287 | { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnDeinit)), "deinit", false }, | ^ sphinxplugin.cpp: In function 'PluginLib_c* LoadPluginLibrary(const char*, CSphString&, bool)': sphinxplugin.cpp:302:33: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 302 | sTmpfile.SetSprintf ( "%s/%s.%u", g_sPluginDir.cstr(), sLibName, sphRand() ); | ~^ ~~~~~~~~~ | | | | unsigned int DWORD {aka long unsigned int} | %lu make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxexcerpt.o sphinxexcerpt.cpp In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinxexcerpt.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'int FindAddZone(const char*, int, SmallStringHash_T&)' at sphinxexcerpt.cpp:73:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int SnippetsDocIndex_c::_ZN18SnippetsDocIndex_c12ExtractWordsEP8XQNode_tP13ISphTokenizerP8CSphDicti.part.0(XQNode_t*, ISphTokenizer*, CSphDict*, int)' at sphinxexcerpt.cpp:622:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void SnippetsDocIndex_c::ParseQuery(const char*, ISphTokenizer*, CSphDict*, DWORD)' at sphinxexcerpt.cpp:469:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void SnippetsDocIndex_c::ParseQuery(const char*, ISphTokenizer*, CSphDict*, DWORD)' at sphinxexcerpt.cpp:475:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const CSphVector* HitCollector_c::GetHitlist(const XQKeyword_t&) const' at sphinxexcerpt.cpp:1278:12, inlined from 'virtual ISphQword* SnippetsFastQwordSetup_c::QwordSpawn(const XQKeyword_t&) const' at sphinxexcerpt.cpp:3376:62: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'HitCollector_c::HitCollector_c(SnippetsDocIndex_c&, ISphTokenizer*, CSphDict*, const ExcerptQuery_t&, const CSphIndexSettings&, const char*, int, CacheStreamer_c&)' at sphinxexcerpt.cpp:1190:11, inlined from 'void DoHighlighting(const ExcerptQuery_t&, const CSphIndexSettings&, const XQQuery_t&, DWORD, const char*, int, CSphDict*, ISphTokenizer*, const CSphHTMLStripper*, CSphString&, CSphString&, ISphTokenizer*, CSphVector&)' at sphinxexcerpt.cpp:3619:122: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'HitCollector_c::HitCollector_c(SnippetsDocIndex_c&, ISphTokenizer*, CSphDict*, const ExcerptQuery_t&, const CSphIndexSettings&, const char*, int, CacheStreamer_c&)' at sphinxexcerpt.cpp:1192:11, inlined from 'void DoHighlighting(const ExcerptQuery_t&, const CSphIndexSettings&, const XQQuery_t&, DWORD, const char*, int, CSphDict*, ISphTokenizer*, const CSphHTMLStripper*, CSphString&, CSphString&, ISphTokenizer*, CSphVector&)' at sphinxexcerpt.cpp:3619:122: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 142 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxrlp.o sphinxrlp.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxqcache.o sphinxqcache.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxquery.o sphinxquery.cpp sphinxquery.cpp: In function 'CSphString sphReconstructNode(const XQNode_t*, const CSphSchema*)': sphinxquery.cpp:1911:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 1911 | sFields.SetSprintf ( "%s,%d", sFields.cstr(), pNode->m_dSpec.m_dFieldMask.GetMask32() ); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinxquery.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool XQParser_t::AddField(FieldMask_t&, const char*, int)' at sphinxquery.cpp:493:19: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool XQParser_t::ParseFields(FieldMask_t&, int&, bool&)' at sphinxquery.cpp:597:24: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'int XQParser_t::ParseZone(const char*)' at sphinxquery.cpp:712:20: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'int XQParser_t::ParseZone(const char*)' at sphinxquery.cpp:677:19: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o searchdha.o searchdha.cpp In file included from searchdha.cpp:22: searchdha.h: In member function 'int StaticStorage_T::AllocItem()': searchdha.h:266:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 266 | for ( int i=0; i::AllocItem() [with DATA = HostDashboard_t; int SIZE = 2048]': searchdha.cpp:715:62: required from here searchdha.h:272:12: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct HostDashboard_t' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 272 | memset ( &m_dItemStats[iRes], 0, sizeof(DATA) ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchdha.h:231:8: note: 'struct HostDashboard_t' declared here 231 | struct HostDashboard_t | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from searchdha.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool ConfigureAgent(MetaAgentDesc_t&, const CSphVariant*, const char*, AgentOptions_t)' at searchdha.cpp:952:28: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o http_parser.o `test -f 'http/http_parser.c' || echo './'`http/http_parser.c make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxexpr.o sphinxexpr.cpp sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': sphinxexpr.cpp:891:31: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 891 | m_sBuilder.Appendf ( "%u", *pValues++ ); | ~^ ~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %lu sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': sphinxexpr.cpp:6718:93: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 6718 | m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); | ~^ | | | int | %ld In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinxexpr.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'CSphString::CSphString(const char*, int)' at sphinxstd.h:1800:13, inlined from 'virtual int Expr_StrEq_c::IntEval(const CSphMatch&) const' at sphinxexpr.cpp:1673:61: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'CSphString::CSphString(const char*, int)' at sphinxstd.h:1800:13, inlined from 'virtual int Expr_StrEq_c::IntEval(const CSphMatch&) const' at sphinxexpr.cpp:1674:64: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o indexer.o indexer.cpp In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from indexer.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'T& CSphMTFHash::Add(const char*, int, T&) [with T = int; int SIZE = 1048576; HASHFUNC = CSphStopwordBuilderDict::HashFunc_t]' at indexer.cpp:127:30, inlined from 'virtual SphWordID_t CSphStopwordBuilderDict::GetWordID(const BYTE*, int, bool)' at indexer.cpp:285:50: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxsearch.o sphinxsearch.cpp sphinxsearch.cpp: In member function 'virtual const ExtHit_t* ExtAndZonespanned_c::GetHitsChunk(const ExtDoc_t*)': sphinxsearch.cpp:2909:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2909 | if ( pCurL && pCurR && pCurL->m_uDocid==m_uMatchedDocid && pCurR->m_uDocid==m_uMatchedDocid ) | ^~ sphinxsearch.cpp:2942:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2942 | if ( pCurL && pCurL->m_uDocid==m_uMatchedDocid && !( pCurR && pCurR->m_uDocid==DOCID_MAX ) ) | ^~ sphinxsearch.cpp: In member function 'DWORD RankerState_Export_fn::Finalize(const CSphMatch&)': sphinxsearch.cpp:9007:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9007 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", | ~^ | | | int | %ld 9008 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxsearch.cpp:9007:78: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9007 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", | ~^ | | | int | %ld 9008 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxsearch.cpp:9007:97: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9007 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", | ~^ | | | int | %ld 9008 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); | ~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxsearch.cpp:9017:26: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9017 | "(lcs=%d, hit_count=%d, word_count=%d, " | ~^ | | | int | %ld ...... 9021 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], | ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxsearch.cpp:9017:41: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9017 | "(lcs=%d, hit_count=%d, word_count=%d, " | ~^ | | | int | %ld ...... 9021 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], | ~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o spelldump.o spelldump.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o searchdhttp.o searchdhttp.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o wordbreaker.o wordbreaker.cpp In file included from /usr/include/string.h:532, from sphinxstd.h:44, from wordbreaker.cpp:25: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'Prob_t LangModel_c::GetProb(const char*, int) const' at wordbreaker.cpp:116:19: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o tests.o tests.cpp tests.cpp: In function 'void TestQueryParser()': tests.cpp:1094:8: warning: unused variable 'bOK' [-Wunused-variable] 1094 | bool bOK = sphParseExtendedQuery ( tQuery, "me -test NEAR/2 off", NULL, pTokenizer.Ptr (), &tSchema, pDict.Ptr (), tTmpSettings ); | ^~~ tests.cpp:1100:8: warning: variable 'bOK' set but not used [-Wunused-but-set-variable] 1100 | bool bOK = false; | ^~~ tests.cpp: In function 'void BenchStemmer()': tests.cpp:3164:61: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 3164 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", | ~~~^ | | | unsigned int | %08lx 3165 | iToks, iBytes, (int)(tmStem/1000), 3166 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); | ~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} tests.cpp:3164:66: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 3164 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", | ~~~^ | | | unsigned int | %08lx 3165 | iToks, iBytes, (int)(tmStem/1000), 3166 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o indextool.o indextool.cpp In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from indextool.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool BuildIDF(const CSphString&, const CSphVector&, CSphString&, bool)' at indextool.cpp:480:13: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 270 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ indextool.cpp: In function 'int main(int, char**)': indextool.cpp:1160:13: warning: '%s' directive argument is null [-Wformat-overflow=] 1160 | sphDie ( "index '%s': failed to create (%s)", sIndex.cstr(), sError.cstr() ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxrt.o sphinxrt.cpp sphinxrt.cpp: In member function 'virtual bool RtIndex_t::Prealloc(bool)': sphinxrt.cpp:4171:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4171 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); | ~^ ~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinxrt.cpp:4171:55: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 4171 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld sphinxrt.cpp: In member function 'virtual int RtIndex_t::DebugCheck(FILE*)': sphinxrt.cpp:4865:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4865 | LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4866 | iSegment, (DWORD)(pStringStart-pStr), sErrorStr.cstr() )); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4865:80: note: format string is defined here 4865 | LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", | ~^ | | | unsigned int | %lu sphinxrt.cpp:4907:20: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4907 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4908 | sWord+1, tWord.m_uDocs, tWord.m_uHits )); | ~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4907:81: note: format string is defined here 4907 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, | ~^ | | | unsigned int | %lu sphinxrt.cpp:4907:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4907 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4908 | sWord+1, tWord.m_uDocs, tWord.m_uHits )); | ~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4907:90: note: format string is defined here 4907 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, | ~^ | | | unsigned int | %lu sphinxrt.cpp:4925:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4925 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid=" UINT64_FMT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4926 | ", read_word=%s, docs=%u, hits=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4927 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, 4928 | sWord+1, tWord.m_uDocs, tWord.m_uHits )); | ~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4925:20: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4925 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid=" UINT64_FMT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4926 | ", read_word=%s, docs=%u, hits=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4927 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, 4928 | sWord+1, tWord.m_uDocs, tWord.m_uHits )); | ~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4947:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4947 | LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4948 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4949 | iSegment, nWordsRead, 4950 | (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); | ~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4947:20: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4947 | LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4948 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4949 | iSegment, nWordsRead, 4950 | (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); | ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4956:20: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4956 | LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4957 | "doclist_offset=%u, expected_offset=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4958 | (uint64_t)tWord.m_uWordID, sWord+1, nWordsRead, 4959 | tWord.m_uDoc, uDocOffset )); | ~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4956:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4956 | LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4957 | "doclist_offset=%u, expected_offset=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4958 | (uint64_t)tWord.m_uWordID, sWord+1, nWordsRead, 4959 | tWord.m_uDoc, uDocOffset )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4963:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4963 | LOC_FAIL(( fp, "doclist offset pointing past doclist (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4964 | "read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4965 | iSegment, nWordsRead, 4966 | sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:4964:38: note: format string is defined here 4964 | "read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~^ | | | unsigned int | %lu sphinxrt.cpp:4988:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4988 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4989 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4990 | iSegment, nWordsRead, 4991 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5000:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5000 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5001 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5002 | iSegment, nWordsRead, 5003 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5011:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5011 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5012 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5013 | iSegment, nWordsRead, 5014 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5026:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5026 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5027 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5028 | iSegment, nWordsRead, 5029 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5036:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5036 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5037 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5038 | iSegment, nWordsRead, 5039 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5049:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5049 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5050 | "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5051 | iSegment, nWordsRead, 5052 | (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5089:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5089 | LOC_FAIL(( fp, "invalid field id in an embedded hit (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5090 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5091 | iSegment, nWordsRead, 5092 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5097:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5097 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5098 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5099 | iSegment, nWordsRead, 5100 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5097:22: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5097 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5098 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5099 | iSegment, nWordsRead, 5100 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); | ~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5107:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5107 | LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5108 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5109 | iSegment, nWordsRead, 5110 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5107:22: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5107 | LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5108 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5109 | iSegment, nWordsRead, 5110 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); | ~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5115:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5115 | LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5116 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5115:22: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5115 | LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5116 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); | ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5144:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5144 | LOC_FAIL(( fp, "invalid field id in a hitlist (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5145 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5146 | iSegment, nWordsRead, 5147 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5152:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5152 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5153 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5154 | iSegment, nWordsRead, 5155 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5152:23: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5152 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5153 | "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5154 | iSegment, nWordsRead, 5155 | (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); | ~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5166:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5166 | LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5167 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5166:23: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5166 | LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5167 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); | ~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5187:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5187 | LOC_FAIL(( fp, "wrong document field mask (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", mask=%u, total_fields=%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5188 | iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uDocFields, m_tSchema.m_dFields.GetLength() )); | ~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5220:20: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5220 | LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5221 | i, iSegment, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), tCP.m_iOffset, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5220:84: note: format string is defined here 5220 | LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", | ~^ | | | unsigned int | %lu sphinxrt.cpp:5220:20: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5220 | LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5221 | i, iSegment, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), tCP.m_iOffset, 5222 | tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), tRefCP.m_iOffset )); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5220:123: note: format string is defined here 5220 | LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", | ~^ | | | unsigned int | %lu sphinxrt.cpp:5310:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5310 | LOC_FAIL(( fp, "empty attribute string found (segment=%d, offset=%u)", iSegment, (DWORD)(pCurStr-pBaseStr) )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5310:72: note: format string is defined here 5310 | LOC_FAIL(( fp, "empty attribute string found (segment=%d, offset=%u)", iSegment, (DWORD)(pCurStr-pBaseStr) )); | ~^ | | | unsigned int | %lu sphinxrt.cpp:5314:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5314 | LOC_FAIL(( fp, "string length out of bounds (segment=%d, offset=%u, len=%d)", iSegment, (DWORD)(pCurStr-pBaseStr), iLen )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5314:71: note: format string is defined here 5314 | LOC_FAIL(( fp, "string length out of bounds (segment=%d, offset=%u, len=%d)", iSegment, (DWORD)(pCurStr-pBaseStr), iLen )); | ~^ | | | unsigned int | %lu sphinxrt.cpp:5341:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5341 | LOC_FAIL(( fp, "docid decreased in attributes (segment=%d, row=%u, docid=" DOCID_FMT ", lastid=" DOCID_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5342 | iSegment, uRow, DOCINFO2ID(pRow), uLastID )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5362:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5362 | LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5363 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5362:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5362 | LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5363 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5369:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5369 | LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5370 | iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5369:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5369 | LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5370 | iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5369:22: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] 5369 | LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5370 | iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5380:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5380 | LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5381 | iSegment, uRow, iItem, uLastID, uValues )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5380:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5380 | LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5381 | iSegment, uRow, iItem, uLastID, uValues )); | ~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5404:23: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5404 | LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5405 | iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5404:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5404 | LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5405 | iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5404:23: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5404 | LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5405 | iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5428:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5428 | LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5429 | iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5428:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5428 | LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5429 | iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5433:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5433 | LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5434 | iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5433:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5433 | LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5434 | iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5448:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5448 | LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5449 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5448:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5448 | LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5449 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5458:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5458 | LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5459 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5458:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5458 | LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5459 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5458:21: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5458 | LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5459 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5463:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5463 | LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5464 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5463:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5463 | LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5464 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5477:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 5477 | LOC_FAIL(( fp, "embedded zero in a string (segment=%d, offset=%u, string=%s)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5478 | iSegment, uOffset, sErrorStr.cstr() )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5477:70: note: format string is defined here 5477 | LOC_FAIL(( fp, "embedded zero in a string (segment=%d, offset=%u, string=%s)", | ~^ | | | unsigned int | %lu sphinxrt.cpp:5498:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5498 | LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5499 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5498:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5498 | LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5499 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5507:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5507 | LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5508 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5507:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5507 | LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5508 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5507:21: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5507 | LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5508 | iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); | ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5512:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5512 | LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5513 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp:5512:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 5512 | LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5513 | iSegment, uRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 4686 | fprintf _args; \ | ^~~~~ sphinxrt.cpp: In member function 'virtual int RtIndex_t::UpdateAttributes(const CSphAttrUpdate&, int, CSphString&, CSphString&)': sphinxrt.cpp:7964:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CSphAttrLocator'; use assignment or value-initialization instead [-Wclass-memaccess] 7964 | memset ( dLocators.Begin(), 0, dLocators.GetSizeBytes() ); | ^ In file included from sphinxrt.cpp:16: sphinx.h:1135:8: note: 'struct CSphAttrLocator' declared here 1135 | struct CSphAttrLocator | ^~~~~~~~~~~~~~~ sphinxrt.cpp: In member function 'void RtBinlog_c::LoadMeta()': sphinxrt.cpp:9906:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9906 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", | ~^ | | | int | %ld 9907 | sMeta.cstr(), uVersion, BINLOG_VERSION ); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:9906:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 9906 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", | ~^ | | | int | %ld 9907 | sMeta.cstr(), uVersion, BINLOG_VERSION ); | ~~~~~~~~~~~~~~ | | | long unsigned int sphinxrt.cpp:9918:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9918 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", | ~^ | | | int | %ld 9919 | sMeta.cstr(), uVersion, BINLOG_VERSION ); | ~~~~~~~~ | | | DWORD {aka long unsigned int} sphinxrt.cpp:9918:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 9918 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", | ~^ | | | int | %ld 9919 | sMeta.cstr(), uVersion, BINLOG_VERSION ); | ~~~~~~~~~~~~~~ | | | long unsigned int sphinxrt.cpp: In member function 'int RtBinlog_c::ReplayBinlog(const SmallStringHash_T&, DWORD, int)': sphinxrt.cpp:10114:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 10114 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); | ~^ ~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinxrt.cpp:10114:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 10114 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); | ~^ ~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinxrt.cpp:16: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'CSphString::CSphString(const char*, int)' at sphinxstd.h:1800:13, inlined from 'bool sphRTSchemaConfigure(const CSphConfigSection&, CSphSchema*, CSphString*)' at sphinxrt.cpp:10723:72: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinxsort.o sphinxsort.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o searchd.o searchd.cpp searchd.cpp: In member function 'virtual bool SearchReplyParser_t::ParseReply(MemInputBuffer_c&, AgentConn_t&) const': searchd.cpp:3301:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 3301 | default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In function 'void LogQueryPlain(const CSphQuery&, const CSphQueryResult&)': searchd.cpp:4212:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4212 | tBuf.Appendf ( "ios=%d kb=%d.%d ioms=%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4213 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, | ~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp: In function 'void FormatOption(const CSphQuery&, CSphStringBuilder&)': searchd.cpp:4522:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 4522 | tBuf.Appendf ( "max_query_time=%u", tQuery.m_uMaxQueryMsec ); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp: In function 'void LogQuerySphinxql(const CSphQuery&, const CSphQueryResult&, const CSphVector&, int)': searchd.cpp:4700:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4700 | tBuf.Appendf ( " ios=%d kb=%d.%d ioms=%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4701 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, | ~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp: In member function 'void SearchHandler_c::RunSubset(int, int)': searchd.cpp:8112:73: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct QueryStatPerIndex_t'; use assignment or value-initialization instead [-Wclass-memaccess] 8112 | memset ( tDistr.m_dStats.Begin(), 0, tDistr.m_dStats.GetSizeBytes() ); | ^ searchd.cpp:6686:8: note: 'struct QueryStatPerIndex_t' declared here 6686 | struct QueryStatPerIndex_t | ^~~~~~~~~~~~~~~~~~~ searchd.cpp: In function 'void BuildStatus(VectorLike&)': searchd.cpp:11359:30: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 11359 | dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_tStats.m_uStarted ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In function 'void BuildDistIndexStatus(VectorLike&, const CSphString&)': searchd.cpp:11631:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 11631 | dStatus.Add().SetSprintf ( "%d", (DWORD)( dWeights[j]) ); | ^~~~ searchd.cpp: In function 'void BuildAgentStatus(VectorLike&, const CSphString&)': searchd.cpp:11656:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 11656 | dStatus.Add().SetSprintf ( "%d", g_uHAPeriodKarma ); | ^~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In function 'void AddIOStatsToMeta(VectorLike&, const CSphIOStats&, const char*)': searchd.cpp:11687:30: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 11687 | dStatus.Add().SetSprintf ( "%u", tStats.m_iReadOps ); | ^~~~ ~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11696:30: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 11696 | dStatus.Add().SetSprintf ( "%u", tStats.m_iWriteOps ); | ^~~~ ~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp: In function 'void BuildMeta(VectorLike&, const CSphQueryResultMeta&)': searchd.cpp:11737:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11737 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11739:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11739 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11741:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11741 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11750:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11750 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs + tMeta.m_iAgentFetchedDocs ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11752:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11752 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits + tMeta.m_iAgentFetchedHits ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp:11754:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 11754 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips + tMeta.m_iAgentFetchedSkips ); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int searchd.cpp: In function 'void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)': searchd.cpp:14464:77: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 14464 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); | ^~~~~ ~~~~~~~~~~ | | | long unsigned int searchd.cpp:14464:85: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 14464 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); | ^~~~ ~~~~~~~~~~ | | | long unsigned int searchd.cpp: In lambda function: searchd.cpp:15607:20: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 15607 | sBuf.Appendf ( "\"%s_sec\":%d.%03d", sType, DWORD ( uStat/1000 ), DWORD ( uStat%1000 ) ); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:15607:20: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] searchd.cpp: In function 'void QueryStatus(CSphVariant*)': searchd.cpp:19287:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19287 | sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'void CSphEventsEpoll::IterateRemove()': searchd.cpp:20059:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20059 | sphLogDebugv ( "%p epoll remove, ev=0x%u, sock=%d", m_tIter.m_pWork, m_tIter.m_uEvents, m_tIter.m_pWork->m_iSock ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'void CSphNetLoop::Tick()': searchd.cpp:20584:19: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20584 | sphLogDebugv ( "got events=%d, tick=%u", iGotEvents, m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e NetActionAccept_t::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:20888:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20888 | sphLogDebugv ( "%p accepted %d connections all, tick=%u", this, m_iConnections-iLastConn, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:20950:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20950 | sphLogDebugv ( "%p accepted %s, sock=%d, tick=%u", this, g_dProtoNames[m_tListener.m_eProto], pAction->m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'void NetReceiveDataAPI_t::AddJobAPI(CSphNetLoop*)': searchd.cpp:21044:17: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21044 | sphLogDebugv ( "%p receive API job created (%p), buf=%d, sock=%d, tick=%u", this, pJob, iLen, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e NetReceiveDataAPI_t::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:21088:18: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21088 | sphLogDebugv ( "%p pre-API phase=%d, buf=%d, write=%d, sock=%d, tick=%u", this, m_ePhase, m_tState->m_dBuf.GetLength(), (int)bWrite, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:21205:18: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21205 | sphLogDebugv ( "%p post-API phase=%d, buf=%d, write=%d, sock=%d, tick=%u", this, m_ePhase, m_tState->m_dBuf.GetLength(), (int)bNextWrite, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e NetReceiveDataQL_t::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:21308:18: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21308 | sphLogDebugv ( "%p pre-QL phase=%d, buf=%d, append=%d, write=%d, sock=%d, tick=%u", this, m_ePhase, m_tState->m_dBuf.GetLength(), (int)m_bAppend, (int)m_bWrite, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:21473:18: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21473 | sphLogDebugv ( "%p post-QL phase=%d, buf=%d, append=%d, write=%d, sock=%d, tick=%u", this, m_ePhase, m_tState->m_dBuf.GetLength(), (int)m_bAppend, (int)m_bWrite, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e NetSendData_t::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:21525:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21525 | sphLogDebugv ( "%p send %s job created, sent=%d, sock=%d, tick=%u", this, g_dProtoNames[m_eProto], m_tState->m_iPos, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e NetReceiveDataHttp_t::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:21744:18: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21744 | sphLogDebugv ( "%p HTTP buf=%d, header=%d, content-len=%d, sock=%d, tick=%u", this, m_tState->m_dBuf.GetLength(), m_tHeadParser.m_iHeaderEnd, m_tHeadParser.m_iFieldContentLenVal, m_iSock, pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual void ThdJobAPI_t::Call()': searchd.cpp:21772:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21772 | sphLogDebugv ( "%p API job started, command=%d, tick=%u", this, m_iCommand, m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:21800:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21800 | sphLogDebugv ( "%p API job done, command=%d, tick=%u", this, m_iCommand, m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual void ThdJobQL_t::Call()': searchd.cpp:21832:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21832 | sphLogDebugv ( "%p QL job started, tick=%u", this, m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:21859:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21859 | sphLogDebugv ( "%p QL job done, tick=%u", this, m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual void ThdJobHttp_t::Call()': searchd.cpp:21922:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21922 | sphLogDebugv ( "%p http job started, buffer len=%d, tick=%u", this, m_tState->m_dBuf.GetLength(), m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp:21946:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 21946 | sphLogDebugv ( "%p http job done, tick=%u", this, m_pLoop->m_uTick ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} searchd.cpp: In member function 'virtual NetEvent_e CSphWakeupEvent::Tick(DWORD, CSphVector&, CSphNetLoop*)': searchd.cpp:20156:11: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 20156 | ::read ( m_iReadFD, &uVal, sizeof ( uVal ) ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from searchd.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void sphLog(ESphLogLevel, const char*, va_list)' at searchd.cpp:1185:11: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin___strncpy_chk(char*, const char*, unsigned int, unsigned int)' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool SqlParser_c::AddSchemaItem(SqlNode_t*)' at searchd.cpp:9711:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ParsePredictedTimeCosts(const char*)' at searchd.cpp:22002:20, inlined from 'void ConfigureSearchd(const CSphConfig&, bool)' at searchd.cpp:22150:27: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ParsePredictedTimeCosts(const char*)' at searchd.cpp:22019:20, inlined from 'void ConfigureSearchd(const CSphConfig&, bool)' at searchd.cpp:22150:27: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include -I/usr/include/mysql -I/usr/include/pgsql -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -c -o sphinx.o sphinx.cpp sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': sphinx.cpp:1199:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 1199 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); | ~^ ~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinx.cpp:1199:49: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 1199 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld sphinx.cpp: In member function 'virtual int CSphIndex_VLN::UpdateAttributes(const CSphAttrUpdate&, int, CSphString&, CSphString&)': sphinx.cpp:8685:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CSphAttrLocator'; use assignment or value-initialization instead [-Wclass-memaccess] 8685 | memset ( dLocators.Begin(), 0, dLocators.GetSizeBytes() ); | ^ In file included from sphinx.cpp:16: sphinx.h:1135:8: note: 'struct CSphAttrLocator' declared here 1135 | struct CSphAttrLocator | ^~~~~~~~~~~~~~~ sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': sphinx.cpp:9332:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9332 | sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); | ~^ ~~~~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinx.cpp:9443:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 9443 | sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), m_uAttrsStatus ); | ~^ ~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld sphinx.cpp: In function 'bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)': sphinx.cpp:12906:26: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 12906 | sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': sphinx.cpp:15336:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 15336 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); | ~^ ~~~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinx.cpp:15336:55: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 15336 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': sphinx.cpp:15624:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 15624 | fprintf ( fp, "version: %d\n", m_uVersion ); | ~^ ~~~~~~~~~~ | | | | int DWORD {aka long unsigned int} | %ld sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::Prealloc(bool)': sphinx.cpp:15930:16: warning: format '%lli' expects argument of type 'long long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 15930 | sphWarning ( "wordlist size mismatch (size=" INT64_FMT ", checkpoints=%d)", m_tWordlist.m_tBuf.GetLengthBytes(), m_tWordlist.m_dCheckpoints.GetLength() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} sphinx.cpp: In member function 'virtual void CSphIndex_VLN::Preread()': sphinx.cpp:16105:54: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 16105 | sphLogDebug ( "Preread successfully finished, hash=%u", (DWORD)uRead ); | ~^ ~~~~~~~~~~~~ | | | | | DWORD {aka long unsigned int} | unsigned int | %lu sphinx.cpp: In member function 'virtual int CSphIndex_VLN::DebugCheck(FILE*)': sphinx.cpp:18593:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 18593 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18594 | , m_uVersion )); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:18593:77: note: format string is defined here 18593 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" | ~^ | | | int | %ld sphinx.cpp:18776:19: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 18776 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18777 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:18776:19: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 18776 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18777 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, 18778 | tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), (int64_t)tRefCP.m_iWordlistOffset )); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19027:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 19027 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19028 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); | ~~~~ | | | Hitpos_t {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19027:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 19027 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19028 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); | ~~~~~~~~ | | | Hitpos_t {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19036:22: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 19036 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19037 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); | ~~~~ | | | Hitpos_t {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19036:22: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 19036 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19037 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); | ~~~~~~~~ | | | Hitpos_t {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19068:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19068 | LOC_FAIL(( fp, "doc hit count mismatch (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", doclist=%d, hitlist=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19069 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, pQword->m_uMatchHits, iDocHits )); | ~~~~~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19287:22: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19287 | LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19288 | iRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19349:23: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] 19349 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", expected=" INT64_FMT ", got=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19350 | iRow, iItem, uLastID, uMvaID, rdMva.GetPos()/sizeof(DWORD), uSpaOffset )); | ~~~~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19370:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19370 | LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19371 | iRow, iItem, uLastID, uMvaID, uValues )); | ~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19398:24: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 19398 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19399 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19398:24: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19398 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19399 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); | ~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19435:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19435 | LOC_FAIL(( fp, "float attribute value is unnormalized (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19436 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19440:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19440 | LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19441 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); | ~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19455:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19455 | LOC_FAIL(( fp, "string offset out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19456 | iRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19469:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19469 | LOC_FAIL(( fp, "string length out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19470 | iRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19478:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19478 | LOC_FAIL(( fp, "string offset is not a string start (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", offset=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19479 | iRow, iItem, uLastID, uOffset )); | ~~~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19604:23: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 19604 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19605 | iIndexEntry, iBlock, uMin, uMax )); | ~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19604:23: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 19604 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19605 | iIndexEntry, iBlock, uMin, uMax )); | ~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19627:23: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19627 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, expected=" DOCID_FMT ", got=" DOCID_FMT ", block=" INT64_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19628 | iIndexEntry, iItem, uDocID, uMvaDocID, iBlock, (DWORD)uOff )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19644:24: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19644 | LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19645 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); | ~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19644:24: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19644 | LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19645 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19644:24: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19644 | LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19645 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19644:24: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19644 | LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19645 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); | ~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19674 | uID-1, (DWORD)m_tKillList[uID-1], uID, (DWORD)m_tKillList[uID] )); | ~~~~~ | | | long unsigned int sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19673:52: note: format string is defined here 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ~^ | | | int | %ld sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19673:56: note: format string is defined here 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ~^ | | | int | %ld sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19674 | uID-1, (DWORD)m_tKillList[uID-1], uID, (DWORD)m_tKillList[uID] )); | ~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19673:64: note: format string is defined here 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ~^ | | | int | %ld sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 18464 | fprintf _args; \ | ^~~~~ sphinx.cpp:19673:68: note: format string is defined here 19673 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", | ~^ | | | int | %ld sphinx.cpp: In function 'bool GetFileStats(const char*, CSphSavedFile&, CSphString*)': sphinx.cpp:19937:40: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct CSphSavedFile' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 19937 | memset ( &tInfo, 0, sizeof ( tInfo ) ); | ^ In file included from sphinx.cpp:16: sphinx.h:457:8: note: 'struct CSphSavedFile' declared here 457 | struct CSphSavedFile | ^~~~~~~~~~~~~ sphinx.cpp: In member function 'virtual const char* CSphDictKeywords::HitblockGetKeyword(SphWordID_t)': sphinx.cpp:22954:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 22954 | sphWarning ( "hash missing value in operator [] (wordid=" INT64_FMT ", hash=%d)", (int64_t)uWordID, uHash ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | long unsigned int sphinx.cpp: In function 'const char* SubstituteParams(const char*, const char* const*, const char**, int)': sphinx.cpp:25683:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 25683 | for ( i=0; im_uEntry ); | ~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp:31899:83: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 31899 | sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", | ~^ | | | int | %ld 31900 | uWordCount, pSkips->m_uEntry ); | ~~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': sphinx.cpp:15761:2: required from here sphinx.cpp:15836:19: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 15836 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Hitpos_t {aka long unsigned int} sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': sphinx.cpp:15761:2: required from here sphinx.cpp:15836:19: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': sphinx.cpp:15761:2: required from here sphinx.cpp:15836:19: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': sphinx.cpp:15761:2: required from here sphinx.cpp:15836:19: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] In file included from /usr/include/string.h:532, from sphinxstd.h:44, from sphinx.h:42, from sphinx.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void FillStoredTokenInfo(StoredToken_t&, const BYTE*, ISphTokenizer*)' at sphinx.cpp:2759:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual BYTE* CSphMultiformTokenizer::GetToken()' at sphinx.cpp:5250:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual BYTE* CSphMultiformTokenizer::GetToken()' at sphinx.cpp:5419:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual BYTE* CSphMultiformTokenizer::GetToken()' at sphinx.cpp:5397:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool CSphTokenizerBase2::CheckException(const BYTE*, const BYTE*, bool)' at sphinx.cpp:4894:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 129 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool CSphSource_BaseSV::Setup(const CSphConfigSection&, FILE*, CSphString&)' at sphinx.cpp:29246:20: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2031:11: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool CSphSource_ODBC::Setup(const CSphSourceParams_ODBC&)' at sphinx.cpp:28912:19: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const' at sphinx.cpp:2017:16, inlined from 'void ExceptionsTrie_c::Export(CSphWriter&) const' at sphinx.cpp:2002:10, inlined from 'virtual void CSphTokenizerBase::WriteSynonyms(CSphWriter&)' at sphinx.cpp:4090:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'virtual int CSphIndex_VLN::DebugCheck(FILE*)' at sphinx.cpp:18555:23: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void TransformAotFilterKeyword(XQNode_t*, const XQKeyword_t&, const CSphWordforms*, const CSphIndexSettings&)' at sphinx.cpp:17629:11: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void TransformAotFilterKeyword(XQNode_t*, const XQKeyword_t&, const CSphWordforms*, const CSphIndexSettings&)' at sphinx.cpp:17661:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void ISphQueryFilter::GetKeywords(CSphVector&, const ExpansionContext_t&)' at sphinx.cpp:16604:11: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void ISphQueryFilter::GetKeywords(CSphVector&, const ExpansionContext_t&)' at sphinx.cpp:16622:13: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void ISphQueryFilter::GetKeywords(CSphVector&, const ExpansionContext_t&)' at sphinx.cpp:16624:13: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void ISphQueryFilter::GetKeywords(CSphVector&, const ExpansionContext_t&)' at sphinx.cpp:16517:11: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 130 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void CSphString::SetBinary(const char*, int)' at sphinxstd.h:1861:11, inlined from 'bool CSphHTMLStripper::SetRemovedElements(const char*, CSphString&)' at sphinx.cpp:23347:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' rm -f libsphinx.a ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxstemar.o sphinxutils.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o sphinxjson.o sphinxudf.o sphinxaot.o sphinxplugin.o sphinxqcache.o sphinxrlp.o ranlib libsphinx.a make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o wordbreaker wordbreaker.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o spelldump spelldump.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o indextool indextool.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o searchd searchd.o searchdha.o http_parser.o searchdhttp.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o indexer indexer.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-rtti -std=c++11 -o tests tests.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib -lmysqlclient -L/usr/lib -lpq -lodbc -lexpat -ldl -lm -lz -L/usr/local/lib -lrt -lpthread make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' Making all in test make[1]: Nothing to be done for 'all'. Making all in doc make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' All docs are already pre-built by developer. If you want to rebuild them, install docbook-xsl and xsltproc and then run 'make docs' instead of simple 'make'. make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' make[1]: Nothing to be done for 'all-am'. + cd api/libsphinxclient/ + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n ' -march=i586 -mtune=generic' ']' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for egrep... grep -E checking for ld used by i586-alt-linux-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... nm checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking how to run the C preprocessor... i586-alt-linux-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 how to run the C++ preprocessor... /lib/cpp checking the maximum length of command line arguments... 32768 checking command to parse nm output from i586-alt-linux-gcc object... failed checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc static flag works... yes checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC works... yes checking if i586-alt-linux-gcc supports -c -o file.o... yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for a BSD-compatible install... /bin/install -c checking for size_t... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating sphinxclient_config.h config.status: executing depfiles commands + make make: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' make all-am make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' /bin/sh ./libtool --mode=compile --tag=CC i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sphinxclient.lo sphinxclient.c mkdir .libs i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c sphinxclient.c -fPIC -DPIC -o .libs/sphinxclient.o sphinxclient.c: In function 'net_create_inet_sock': sphinxclient.c:1524:22: warning: variable 'optval' set but not used [-Wunused-but-set-variable] 1524 | int sock, res, err, optval; | ^~~~~~ sphinxclient.c: In function 'net_create_unix_sock': sphinxclient.c:1583:22: warning: variable 'optval' set but not used [-Wunused-but-set-variable] 1583 | int sock, res, err, optval, len; | ^~~~~~ sphinxclient.c:1581:19: warning: unused variable 'hp' [-Wunused-variable] 1581 | struct hostent * hp; | ^~ sphinxclient.c: In function 'net_get_response': sphinxclient.c:1825:25: warning: variable 'ver' set but not used [-Wunused-but-set-variable] 1825 | unsigned short status, ver; | ^~~ sphinxclient.c: In function 'sphinx_status_extended': sphinxclient.c:2611:12: warning: variable 'pmax' set but not used [-Wunused-but-set-variable] 2611 | char *p, *pmax, *req, *buf, **res; | ^~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c sphinxclient.c -o sphinxclient.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link --tag=CC i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o libsphinxclient.la -rpath /usr/lib -release 0.0.1 sphinxclient.lo i586-alt-linux-gcc -shared .libs/sphinxclient.o -march=i586 -mtune=generic -Wl,-soname -Wl,libsphinxclient-0.0.1.so -o .libs/libsphinxclient-0.0.1.so (cd .libs && rm -f libsphinxclient.so && ln -s libsphinxclient-0.0.1.so libsphinxclient.so) ar cru .libs/libsphinxclient.a sphinxclient.o ranlib .libs/libsphinxclient.a creating libsphinxclient.la (cd .libs && rm -f libsphinxclient.la && ln -s ../libsphinxclient.la libsphinxclient.la) i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c test.c test.c: In function 'test_persist_work': test.c:236:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 236 | memcpy ( docs[0], words, sizeof(words)-1 ); | ^~~~~~ test.c:236:2: warning: incompatible implicit declaration of built-in function 'memcpy' test.c:25:1: note: include '' or provide a declaration of 'memcpy' 24 | #include "sphinxclient.h" +++ |+#include 25 | test.c:271:44: warning: passing argument 3 of 'sphinx_build_excerpts' from incompatible pointer type [-Wincompatible-pointer-types] 271 | res = sphinx_build_excerpts ( client, 1, docs, index, words, &opts ); | ^~~~ | | | char ** In file included from test.c:24: sphinxclient.h:252:92: note: expected 'const char **' but argument is of type 'char **' 252 | char ** sphinx_build_excerpts ( sphinx_client * client, int num_docs, const char ** docs, const char * index, const char * words, sphinx_excerpt_options * opts ); | ~~~~~~~~~~~~~~^~~~ test.c: In function 'test_status': test.c:363:22: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] 363 | if ( !g_smoke || ( strstr ( status[k], "time" )==NULL && strstr ( status[k], "wall" )==NULL && strstr ( status[k], "wait" )==NULL ) ) | ^~~~~~ test.c:363:22: warning: incompatible implicit declaration of built-in function 'strstr' test.c:363:22: note: include '' or provide a declaration of 'strstr' test.c: In function 'title': test.c:408:17: warning: ' ' flag used with '%s' gnu_printf format [-Wformat=] 408 | printf ( "-> % s <-\n\n", name ); | ^ test.c: In function 'main': test.c:420:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 420 | if ( strcmp ( argv[i], "--smoke" )==0 ) | ^~~~~~ /bin/sh ./libtool --mode=link --tag=CC i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o test test.o .libs/libsphinxclient.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o test test.o .libs/libsphinxclient.a make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' make: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61821 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sphinx-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sphinx-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd sphinx-2.3.2 + make install DESTDIR=/usr/src/tmp/sphinx-buildroot 'INSTALL=/bin/install -p -c' make: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' /bin/sh git_commit_id.sh make install-am make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[3]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' test -z "/usr/bin" || /bin/mkdir -p "/usr/src/tmp/sphinx-buildroot/usr/bin" /bin/install -p -c indexer searchd spelldump indextool wordbreaker '/usr/src/tmp/sphinx-buildroot/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/src' Making install in test make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/test' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/test' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || /bin/mkdir -p "/usr/src/tmp/sphinx-buildroot/usr/share/man/man1" /bin/install -p -c -m 644 searchd.1 indexer.1 indextool.1 spelldump.1 '/usr/src/tmp/sphinx-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2' make[2]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2' test -z "/etc/sphinx" || /bin/mkdir -p "/usr/src/tmp/sphinx-buildroot/etc/sphinx" /bin/install -p -c -m 644 sphinx.conf.dist sphinx-min.conf.dist example.sql '/usr/src/tmp/sphinx-buildroot/etc/sphinx' make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2' mkdir -p /usr/src/tmp/sphinx-buildroot/var/data && mkdir -p /usr/src/tmp/sphinx-buildroot/var/log make[3]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2' make[2]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2' make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2' make: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2' + install -p -D -m 0755 /usr/src/RPM/SOURCES/sphinx.init /usr/src/tmp/sphinx-buildroot/etc/rc.d/init.d/searchd + install -p -D -m 0644 /usr/src/RPM/SOURCES/sphinx.unit /usr/src/tmp/sphinx-buildroot/lib/systemd/system/searchd.service + mkdir -p /usr/src/tmp/sphinx-buildroot/var/log/sphinx + mkdir -p /usr/src/tmp/sphinx-buildroot/var/lib/sphinx + cp /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx-min.conf.dist /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx.conf + sed -i 's/\/var\/log\/searchd.log/\/var\/log\/sphinx\/searchd.log/g' /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx.conf + sed -i 's/\/var\/log\/query.log/\/var\/log\/sphinx\/query.log/g' /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx.conf + sed -i 's/\/var\/log\/searchd.pid/\/var\/run\/sphinx\/searchd.pid/g' /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx.conf + sed -i 's|/var/data|/var/lib/sphinx|g' /usr/src/tmp/sphinx-buildroot/etc/sphinx/sphinx.conf + mkdir -p /usr/src/tmp/sphinx-buildroot/etc/logrotate.d + cat + mkdir -p /usr/src/tmp/sphinx-buildroot/lib/tmpfiles.d + cat + cd api/libsphinxclient/ + make install DESTDIR=/usr/src/tmp/sphinx-buildroot 'INSTALL=/bin/install -p -c' make: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' make[1]: Entering directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' test -z "/usr/lib" || mkdir -p -- "/usr/src/tmp/sphinx-buildroot/usr/lib" /bin/sh ./libtool --mode=install /bin/install -p -c -s 'libsphinxclient.la' '/usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.la' /bin/install -p -c .libs/libsphinxclient-0.0.1.so /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient-0.0.1.so strip --strip-unneeded /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient-0.0.1.so (cd /usr/src/tmp/sphinx-buildroot/usr/lib && rm -f libsphinxclient.so && ln -s libsphinxclient-0.0.1.so libsphinxclient.so) /bin/install -p -c .libs/libsphinxclient.lai /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.la /bin/install -p -c .libs/libsphinxclient.a /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.a strip --strip-debug /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.a ranlib /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.a chmod 644 /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient.a libtool: install: warning: remember to run `libtool --finish /usr/lib' test -z "/usr/include" || mkdir -p -- "/usr/src/tmp/sphinx-buildroot/usr/include" /bin/install -p -c -m 644 'sphinxclient.h' '/usr/src/tmp/sphinx-buildroot/usr/include/sphinxclient.h' make[1]: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' make: Leaving directory '/usr/src/RPM/BUILD/sphinx-2.3.2/api/libsphinxclient' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sphinx-buildroot (auto) removed './usr/lib/libsphinxclient.la' mode of './usr/lib/libsphinxclient-0.0.1.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/sphinx-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/sphinx-buildroot/ (default) Compressing files in /usr/src/tmp/sphinx-buildroot (auto) Adjusting library links in /usr/src/tmp/sphinx-buildroot ./lib: (from :0) ./var/lib: (from :0) ./usr/lib: (from :0) libsphinxclient-0.0.1.so -> libsphinxclient-0.0.1.so 056-debuginfo.brp: WARNING: You have 1 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/lib/libsphinxclient-0.0.1.so Verifying ELF objects in /usr/src/tmp/sphinx-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libsphinxclient-0.0.1.so: uses non-LFS functions: fcntl Hardlinking identical .pyc and .pyo files Processing files: sphinx-2.3.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.86320 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sphinx-2.3.2 + DOCDIR=/usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + export DOCDIR + rm -rf /usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + /bin/mkdir -p /usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + cp -prL COPYING doc/sphinx.txt sphinx-min.conf.dist sphinx.conf.dist example.sql /usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + chmod -R go-w /usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + chmod -R a+rX /usr/src/tmp/sphinx-buildroot/usr/share/doc/sphinx-2.3.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KO8lxI find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.K0oKFI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aZqfMI Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lGD32I Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TpEJuL Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libexpat.so.1 >= set:kgE3cnblKryMM4w2uuNDgj2yqZt6G1, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libmysqlclient.so.21 >= set:kgX1TnLTenFZcmzGPlPrWc6zqnmAujHtyLFj9J, libmysqlclient.so.21(libmysqlclient_21.0), libodbc.so.2 >= set:lhPDrtyaILGorxIYHjbob0GZIZJKPjFR5QUa0, libpq.so.5 >= set:lhmyNuL6fTofV2wfMOXAJD9z3S9fsqXERIa8, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.1.1), libpthread.so.0(GLIBC_2.2), libpthread.so.0(GLIBC_2.3.2), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstemmer.so.0 >= set:li9TCBZCGk8G7s, libz.so.1 >= set:khM4gQu4GUlZF0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Conflicts: mnogosearch Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lWIcGJ Creating sphinx-debuginfo package Processing files: libsphinxclient-2.3.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11776 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sphinx-2.3.2 + DOCDIR=/usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + export DOCDIR + rm -rf /usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + /bin/mkdir -p /usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + cp -prL api/java api/ruby api/sphinxapi.php api/test.php api/test2.php api/sphinxapi.py api/test.py api/test2.py api/libsphinxclient/README /usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + chmod -R go-w /usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + chmod -R a+rX /usr/src/tmp/sphinx-buildroot/usr/share/doc/libsphinxclient-2.3.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qg4wqK find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/sphinx-buildroot/usr/lib/libsphinxclient-0.0.1.so: 54 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bWRnJI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libsphinxclient-0.0.1.so = set:jdHTEW7bniacgZJf1cXxAkzcM4jQ23gb3rqvcRMmoZwfSCazfKf9jqxqSuD98hCSB5nlpjNaVZ1YSTw5hI5WcfdDCbZ2Hngp2kntoqmJ9qdfd Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6cxycK Processing files: libsphinxclient-devel-2.3.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f2GzqI find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RkMCYH find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libsphinxclient = 2.3.2-alt3, /usr/lib/libsphinxclient-0.0.1.so Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2XQfBI Processing files: libsphinxclient-devel-static-2.3.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3JHN2I find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4P5CAI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libsphinxclient-devel = 2.3.2-alt3, glibc-devel-static Conflicts: libsphinxclient-static Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xwdV3J Processing files: sphinx-debuginfo-2.3.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g7T8rI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4OMIUK find-requires: running scripts (debuginfo) Requires: sphinx = 2.3.2-alt3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdl.so.2), debug(libexpat.so.1), debug(libgcc_s.so.1), debug(libm.so.6), debug(libmysqlclient.so.21), debug(libodbc.so.2), debug(libpq.so.5), debug(libpthread.so.0), debug(libstdc++.so.6), debug(libstemmer.so.0), debug(libz.so.1) Adding to sphinx-debuginfo a strict dependency on sphinx Adding to libsphinxclient-devel a strict dependency on libsphinxclient Adding to libsphinxclient-devel-static a strict dependency on libsphinxclient-devel Removing 1 extra deps from libsphinxclient-devel due to dependency on libsphinxclient Wrote: /usr/src/RPM/RPMS/i586/sphinx-2.3.2-alt3.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libsphinxclient-2.3.2-alt3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libsphinxclient-devel-2.3.2-alt3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libsphinxclient-devel-static-2.3.2-alt3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/sphinx-debuginfo-2.3.2-alt3.i586.rpm (w2T8.xzdio) 237.36user 9.75system 2:57.82elapsed 138%CPU (0avgtext+0avgdata 340968maxresident)k 0inputs+0outputs (0major+3714628minor)pagefaults 0swaps 244.49user 13.01system 3:22.41elapsed 127%CPU (0avgtext+0avgdata 340968maxresident)k 8inputs+0outputs (0major+4111167minor)pagefaults 0swaps --- sphinx-2.3.2-alt3.i586.rpm.repo 2021-03-19 14:12:04.000000000 +0000 +++ sphinx-2.3.2-alt3.i586.rpm.hasher 2021-04-10 14:44:15.180824574 +0000 @@ -74,3 +74,3 @@ Requires: /usr/sbin/preun_service -Requires: rpmlib(PayloadIsLzma) +Requires: rpmlib(PayloadIsXz) Provides: sphinx = 2.3.2-alt3:sisyphus+268010.100.2.1 --- sphinx-debuginfo-2.3.2-alt3.i586.rpm.repo 2021-03-19 14:12:04.000000000 +0000 +++ sphinx-debuginfo-2.3.2-alt3.i586.rpm.hasher 2021-04-10 14:44:15.218824286 +0000 @@ -86,3 +86,3 @@ Requires: sphinx = 2.3.2-alt3:sisyphus+268010.100.2.1 -Requires: rpmlib(PayloadIsLzma) +Requires: rpmlib(PayloadIsXz) Provides: sphinx-debuginfo = 2.3.2-alt3:sisyphus+268010.100.2.1