<86>Jul 25 14:07:01 userdel[869315]: delete user 'rooter' <86>Jul 25 14:07:01 userdel[869315]: removed group 'rooter' owned by 'rooter' <86>Jul 25 14:07:01 userdel[869315]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 25 14:07:01 groupadd[869321]: group added to /etc/group: name=rooter, GID=624 <86>Jul 25 14:07:01 groupadd[869321]: group added to /etc/gshadow: name=rooter <86>Jul 25 14:07:01 groupadd[869321]: new group: name=rooter, GID=624 <86>Jul 25 14:07:01 useradd[869326]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Jul 25 14:07:01 userdel[869338]: delete user 'builder' <86>Jul 25 14:07:01 userdel[869338]: removed group 'builder' owned by 'builder' <86>Jul 25 14:07:01 userdel[869338]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 14:07:01 groupadd[869357]: group added to /etc/group: name=builder, GID=625 <86>Jul 25 14:07:01 groupadd[869357]: group added to /etc/gshadow: name=builder <86>Jul 25 14:07:01 groupadd[869357]: new group: name=builder, GID=625 <86>Jul 25 14:07:01 useradd[869372]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash <13>Jul 25 14:07:04 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 14:07:04 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Jul 25 14:07:04 rpmi: libcom_err-devel-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Jul 25 14:07:04 rpmi: libverto-devel-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 14:07:04 rpmi: libstemmer-0-alt1.svn585 1428058060 installed <13>Jul 25 14:07:04 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Jul 25 14:07:04 rpmi: libunixODBC2-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Jul 25 14:07:04 rpmi: libunixODBC-devel-compat-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Jul 25 14:07:04 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jul 25 14:07:04 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 25 14:07:04 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 25 14:07:04 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 14:07:05 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 14:07:05 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 14:07:05 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jul 25 14:07:05 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 14:07:05 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 14:07:05 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jul 25 14:07:05 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jul 25 14:07:05 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 14:07:05 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 14:07:05 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <86>Jul 25 14:07:05 groupadd[878753]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 25 14:07:05 groupadd[878753]: group added to /etc/gshadow: name=_keytab <86>Jul 25 14:07:05 groupadd[878753]: new group: name=_keytab, GID=499 <13>Jul 25 14:07:05 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <86>Jul 25 14:07:05 groupadd[878891]: group added to /etc/group: name=sasl, GID=498 <86>Jul 25 14:07:05 groupadd[878891]: group added to /etc/gshadow: name=sasl <86>Jul 25 14:07:05 groupadd[878891]: new group: name=sasl, GID=498 <13>Jul 25 14:07:05 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226720 installed <13>Jul 25 14:07:05 rpmi: libldap-2.4.57-alt0.M90P.1 p9+266288.100.1.1 1613244862 installed <13>Jul 25 14:07:05 rpmi: libpq5-12.7-alt0.M90P.1 p9+272061.100.1.1 1621317143 installed <13>Jul 25 14:07:05 rpmi: libecpg6-12.7-alt0.M90P.1 p9+272061.100.1.1 1621317143 installed <13>Jul 25 14:07:05 rpmi: libkrb5-ldap-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Jul 25 14:07:05 rpmi: libkrb5-devel-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Jul 25 14:07:06 rpmi: libmysqlclient21-8.0.20-alt2 p9+252360.100.1.1 1590698673 installed <13>Jul 25 14:07:06 rpmi: libmysqlclient21-devel-8.0.20-alt2 p9+252360.100.1.1 1590698673 installed <13>Jul 25 14:07:06 rpmi: postgresql-devel-12.7-alt0.M90P.1 p9+272061.100.1.1 1621317143 installed <13>Jul 25 14:07:06 rpmi: libssl-devel-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 14:07:06 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jul 25 14:07:06 rpmi: libexpat-devel-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jul 25 14:07:06 rpmi: libunixODBC-devel-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Jul 25 14:07:06 rpmi: libstemmer-devel-0-alt1.svn585 1428058060 installed <13>Jul 25 14:07:06 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.46956 + 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.46956 + 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 + readlink -e -- ./configure + 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 -- '{}' + ./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 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 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 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 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 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 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 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] 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' 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] 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' 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] if ( iWidth ) ^~ sphinxutils.cpp:1891:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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 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 sphinxexcerpt.o sphinxexcerpt.cpp In file included from /usr/include/string.h:508, 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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] 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] 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 sphinxquery.o sphinxquery.cpp sphinxquery.cpp: In function 'CSphString sphReconstructNode(const XQNode_t*, const CSphSchema*)': sphinxquery.cpp:1911:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sFields.SetSprintf ( "%s,%d", sFields.cstr(), pNode->m_dSpec.m_dFieldMask.GetMask32() ); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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=] printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { 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] { static_cast( offsetof(PluginQueryTokenFilter_c, m_fnDeinit)), "deinit", false }, ^ sphinxplugin.cpp: In function 'PluginLib_c* LoadPluginLibrary(const char*, CSphString&, bool)': sphinxplugin.cpp:302:25: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sTmpfile.SetSprintf ( "%s/%s.%u", g_sPluginDir.cstr(), sLibName, sphRand() ); ^~~~~~~~~~ ~~~~~~~~~ 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 sphinxaot.o sphinxaot.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 sphinxexpr.o sphinxexpr.cpp sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': sphinxexpr.cpp:891:29: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] m_sBuilder.Appendf ( "%u", *pValues++ ); ^~~~ ~~~~~~~~~~ sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': sphinxexpr.cpp:6718:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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] 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] memset ( &m_dItemStats[iRes], 0, sizeof(DATA) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchdha.h:231:8: note: 'struct HostDashboard_t' declared here struct HostDashboard_t ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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:508, 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, inlined from 'void UrlBreak(Split_t&, const char*)' at wordbreaker.cpp:340:51: /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483652, 2147483647] [-Warray-bounds] 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 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 indextool.o indextool.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 tests.o tests.cpp tests.cpp: In function 'void TestQueryParser()': tests.cpp:1094:8: warning: unused variable 'bOK' [-Wunused-variable] 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] bool bOK = false; ^~~ tests.cpp: In function 'void BenchStemmer()': tests.cpp:3164:11: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests.cpp:3166:3: (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); ~~~~~~~~~~~~~~~~~~~~ tests.cpp:3164:11: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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] 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' 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:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); ~~~~~~~~~~ sphinxsearch.cpp:9007:46: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinxsearch.cpp:9007:46: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinxsearch.cpp:9016:34: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] snprintf ( sTmp, MAX_STR_LEN, ", field%d=" ^~~~~~~~~~~~ "(lcs=%d, hit_count=%d, word_count=%d, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "tf_idf=%f, min_idf=%f, max_idf=%f, sum_idf=%f, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "min_hit_pos=%d, min_best_span_pos=%d, exact_hit=%d, max_window_hits=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:9021:16: m_uLCS[i], m_uHitCount[i], m_uWordCount[i], ~~~~~~~~~~~~~~ sphinxsearch.cpp:9016:34: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinxrt.cpp:4171:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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=] LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, (DWORD)(pStringStart-pStr), sErrorStr.cstr() )); ~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:4907:20: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:4907:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:4925:20: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid=" UINT64_FMT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ", read_word=%s, docs=%u, hits=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4928:15: sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid=" UINT64_FMT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ", read_word=%s, docs=%u, hits=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4928:30: sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4950:42: (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); ~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4950:56: (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "doclist_offset=%u, expected_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4959:6: tWord.m_uDoc, uDocOffset )); ~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "doclist_offset=%u, expected_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4959:20: tWord.m_uDoc, uDocOffset )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "doclist offset pointing past doclist (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4966:16: sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:4988:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4991:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5003:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5014:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5029:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5039:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5052:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id in an embedded hit (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5092:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5100:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5100:70: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5110:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); ~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5110:73: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); ~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); ~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id in a hitlist (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5147:61: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5155:61: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5155:71: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); ~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); ~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "wrong document field mask (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", mask=%u, total_fields=%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uDocFields, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, iSegment, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), tCP.m_iOffset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5220:20: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5222:22: tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), tRefCP.m_iOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5310:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "empty attribute string found (segment=%d, offset=%u)", iSegment, (DWORD)(pCurStr-pBaseStr) )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5314:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string length out of bounds (segment=%d, offset=%u, len=%d)", iSegment, (DWORD)(pCurStr-pBaseStr), iLen )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5341:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "docid decreased in attributes (segment=%d, row=%u, docid=" DOCID_FMT ", lastid=" DOCID_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, DOCINFO2ID(pRow), uLastID )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5362:22: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5369:22: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValues )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValues )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5404:23: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5428:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5433:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5448:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5458:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5463:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5477:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "embedded zero in a string (segment=%d, offset=%u, string=%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uOffset, sErrorStr.cstr() )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5498:21: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5498:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5507:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinxrt.cpp:5512:21: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4686:10: note: in definition of macro 'LOC_FAIL' 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] memset ( dLocators.Begin(), 0, dLocators.GetSizeBytes() ); ^ In file included from sphinxrt.cpp:16: sphinx.h:1135:8: note: 'struct CSphAttrLocator' declared here struct CSphAttrLocator ^~~~~~~~~~~~~~~ sphinxrt.cpp: In member function 'void RtBinlog_c::LoadMeta()': sphinxrt.cpp:9906:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sMeta.cstr(), uVersion, BINLOG_VERSION ); ~~~~~~~~ sphinxrt.cpp:9906:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinxrt.cpp:9918:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sMeta.cstr(), uVersion, BINLOG_VERSION ); ~~~~~~~~ sphinxrt.cpp:9918:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinxrt.cpp: In member function 'int RtBinlog_c::ReplayBinlog(const SmallStringHash_T&, DWORD, int)': sphinxrt.cpp:10114:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinxrt.cpp:10114:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] In file included from /usr/include/string.h:508, 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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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=] default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] tBuf.Appendf ( "ios=%d kb=%d.%d ioms=%d.%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, ~~~~~~~~~~~~~~~~~~ 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] tBuf.Appendf ( "max_query_time=%u", tQuery.m_uMaxQueryMsec ); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] tBuf.Appendf ( " ios=%d kb=%d.%d ioms=%d.%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, ~~~~~~~~~~~~~~~~~~ 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] memset ( tDistr.m_dStats.Begin(), 0, tDistr.m_dStats.GetSizeBytes() ); ^ searchd.cpp:6686:8: note: 'struct QueryStatPerIndex_t' declared here 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=] dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_tStats.m_uStarted ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 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=] dStatus.Add().SetSprintf ( "%d", g_uHAPeriodKarma ); ^~~~ ~~~~~~~~~~~~~~~~ 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] dStatus.Add().SetSprintf ( "%u", tStats.m_iReadOps ); ^~~~ ~~~~~~~~~~~~~~~~~ searchd.cpp:11696:30: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] dStatus.Add().SetSprintf ( "%u", tStats.m_iWriteOps ); ^~~~ ~~~~~~~~~~~~~~~~~~ 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:11739:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:11741:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:11750:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs + tMeta.m_iAgentFetchedDocs ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:11752:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits + tMeta.m_iAgentFetchedHits ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:11754:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips + tMeta.m_iAgentFetchedSkips ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp: In function 'void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)': searchd.cpp:14464:102: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); ~~~~~~~~~~ ^ searchd.cpp:14464:102: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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=] sBuf.Appendf ( "\"%s_sec\":%d.%03d", sType, DWORD ( uStat/1000 ), DWORD ( uStat%1000 ) ); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ 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=] sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ 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=] sphLogDebugv ( "%p epoll remove, ev=0x%u, sock=%d", m_tIter.m_pWork, m_tIter.m_uEvents, m_tIter.m_pWork->m_iSock ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ 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=] sphLogDebugv ( "got events=%d, tick=%u", iGotEvents, m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ 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=] sphLogDebugv ( "%p accepted %d connections all, tick=%u", this, m_iConnections-iLastConn, pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ searchd.cpp:20950:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugv ( "%p accepted %s, sock=%d, tick=%u", this, g_dProtoNames[m_tListener.m_eProto], pAction->m_iSock, pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] sphLogDebugv ( "%p receive API job created (%p), buf=%d, sock=%d, tick=%u", this, pJob, iLen, m_iSock, pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ searchd.cpp:21205:18: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ searchd.cpp:21473:18: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] 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 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] sphLogDebugv ( "%p API job started, command=%d, tick=%u", this, m_iCommand, m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ searchd.cpp:21800:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugv ( "%p API job done, command=%d, tick=%u", this, m_iCommand, m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ 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=] sphLogDebugv ( "%p QL job started, tick=%u", this, m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ searchd.cpp:21859:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugv ( "%p QL job done, tick=%u", this, m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ 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=] sphLogDebugv ( "%p http job started, buffer len=%d, tick=%u", this, m_tState->m_dBuf.GetLength(), m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ searchd.cpp:21946:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugv ( "%p http job done, tick=%u", this, m_pLoop->m_uTick ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ 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] ::read ( m_iReadFD, &uVal, sizeof ( uVal ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 sphinx.o sphinx.cpp sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': sphinx.cpp:1199:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinx.cpp:1199:23: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 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] memset ( dLocators.Begin(), 0, dLocators.GetSizeBytes() ); ^ In file included from sphinx.cpp:16: sphinx.h:1135:8: note: 'struct CSphAttrLocator' declared here struct CSphAttrLocator ^~~~~~~~~~~~~~~ sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': sphinx.cpp:9332:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ sphinx.cpp:9443:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), m_uAttrsStatus ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ 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=] sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': sphinx.cpp:15336:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ sphinx.cpp:15336:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': sphinx.cpp:15624:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] fprintf ( fp, "version: %d\n", m_uVersion ); ^~~~~~~~~~~~~~~ ~~~~~~~~~~ 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=] sphWarning ( "wordlist size mismatch (size=" INT64_FMT ", checkpoints=%d)", m_tWordlist.m_tBuf.GetLengthBytes(), m_tWordlist.m_dCheckpoints.GetLength() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp: In member function 'virtual void CSphIndex_VLN::Preread()': sphinx.cpp:16105:16: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphLogDebug ( "Preread successfully finished, hash=%u", (DWORD)uRead ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ 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=] LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , m_uVersion )); ~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:18776:19: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18778:22: tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), (int64_t)tRefCP.m_iWordlistOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "doc hit count mismatch (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", doclist=%d, hitlist=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, pQword->m_uMatchHits, iDocHits )); ~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19287:22: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19349:23: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", expected=" INT64_FMT ", got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, rdMva.GetPos()/sizeof(DWORD), uSpaOffset )); ~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, uValues )); ~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19398:24: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19435:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "float attribute value is unnormalized (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19440:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19455:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string offset out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19469:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string length out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19478:21: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "string offset is not a string start (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19604:23: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iBlock, uMin, uMax )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19604:23: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iBlock, uMin, uMax )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, expected=" DOCID_FMT ", got=" DOCID_FMT ", block=" INT64_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, uMvaDocID, iBlock, (DWORD)uOff )); ~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' 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=] 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)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uID-1, (DWORD)m_tKillList[uID-1], uID, (DWORD)m_tKillList[uID] )); ~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uID-1, (DWORD)m_tKillList[uID-1], uID, (DWORD)m_tKillList[uID] )); ~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ sphinx.cpp:19673:19: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:18464:11: note: in definition of macro 'LOC_FAIL' fprintf _args; \ ^~~~~ 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] memset ( &tInfo, 0, sizeof ( tInfo ) ); ^ In file included from sphinx.cpp:16: sphinx.h:457:8: note: 'struct CSphSavedFile' declared here 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 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphWarning ( "hash missing value in operator [] (wordid=" INT64_FMT ", hash=%d)", (int64_t)uWordID, uHash ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ 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] for ( i=0; im_uEntry ); ~~~~~~~~~~ sphinx.cpp:31899:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_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=] fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_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 = _IO_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 = _IO_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:508, from sphinxstd.h:44, from sphinx.h:42, from sphinx.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 '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:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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_BaseSV::Setup(const CSphConfigSection&, FILE*, CSphString&)' at sphinx.cpp:29246:20: /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 CSphHTMLStripper::SetRemovedElements(const char*, CSphString&)' at sphinx.cpp:23347:18: /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' pointer overflow between offset 0 and size [2147483648, 2147483647] [-Warray-bounds] 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 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 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 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 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' 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' 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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./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] 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] int sock, res, err, optval, len; ^~~~~~ sphinxclient.c:1581:19: warning: unused variable 'hp' [-Wunused-variable] 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] 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] 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] memcpy ( docs[0], words, sizeof(words)-1 ); ^~~~~~ test.c:236:2: warning: incompatible implicit declaration of built-in function 'memcpy' test.c:236:2: note: include '' or provide a declaration of 'memcpy' test.c:25:1: +#include test.c:236:2: memcpy ( docs[0], words, sizeof(words)-1 ); ^~~~~~ test.c:271:44: warning: passing argument 3 of 'sphinx_build_excerpts' from incompatible pointer type [-Wincompatible-pointer-types] res = sphinx_build_excerpts ( client, 1, docs, index, words, &opts ); ^~~~ In file included from test.c:24: sphinxclient.h:252:14: note: expected 'const char **' but argument is of type 'char **' 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] 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=] printf ( "-> % s <-\n\n", name ); ^ test.c: In function 'main': test.c:420:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 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.54346 + 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: ./var/lib: ./usr/lib: 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) Hardlinking identical .pyc and .pyo files Processing files: sphinx-2.3.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.5838 + 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.7ZOdiZ 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.f10Mg1 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.gNl2s9 Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ewz9yy Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1SbFUd 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.2), libc.so.6(GLIBC_2.27), 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), librt.so.1(GLIBC_2.2), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstemmer.so.0 >= set:kh9TZr4xSWhyz0, 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.NVVr95 Creating sphinx-debuginfo package Processing files: libsphinxclient-2.3.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.83754 + 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.VG79Ok 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.qz1J6Q 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.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.s6z9mB 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.5z778B 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.EodsGI 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.IQJG51 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.vbRhhD 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.BtYPfr 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.A76nHw 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.TArqaW find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nj59Rx 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(librt.so.1), 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) 235.33user 12.50system 1:43.00elapsed 240%CPU (0avgtext+0avgdata 346484maxresident)k 0inputs+0outputs (0major+3873796minor)pagefaults 0swaps 242.26user 16.67system 1:54.05elapsed 227%CPU (0avgtext+0avgdata 346484maxresident)k 0inputs+0outputs (0major+4263703minor)pagefaults 0swaps --- libsphinxclient-devel-static-2.3.2-alt3.i586.rpm.repo 2021-03-20 13:04:18.000000000 +0000 +++ libsphinxclient-devel-static-2.3.2-alt3.i586.rpm.hasher 2021-07-25 14:08:54.621423907 +0000 @@ -6,3 +6,3 @@ Conflicts: libsphinxclient-static -File: /usr/lib/libsphinxclient.a 100644 root:root 94c374502f349fe94c04009dbd097cf4 -RPMIdentity: 83b13d695d57931fa6afb274a3d15a65 +File: /usr/lib/libsphinxclient.a 100644 root:root 784d109d65b3364f9bf94f75e8ff93b3 +RPMIdentity: c8c1a0395010d5a416cee3013ec45ac7