Diff of the two buildlogs: -- --- b1/build.log 2024-01-22 14:25:27.613333344 +0000 +++ b2/build.log 2024-01-22 14:28:34.958352045 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Feb 23 08:46:31 -12 2025 -I: pbuilder-time-stamp: 1740343591 +I: Current time: Tue Jan 23 04:25:31 +14 2024 +I: pbuilder-time-stamp: 1705933531 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -40,51 +40,83 @@ dpkg-source: info: applying fix-pthread-hurd.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/593/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 22 14:25 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='476923d8cf714ae9a2d324524140bd07' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='593' - PS1='# ' - PS2='> ' + INVOCATION_ID=3c84ab420d514d2cb33bbdb4addfe912 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=32565 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.xzZB6ze8/pbuilderrc_OFsL --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xzZB6ze8/b1 --logfile b1/build.log sphinxsearch_2.2.11-8.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.xzZB6ze8/pbuilderrc_SAIy --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xzZB6ze8/b2 --logfile b2/build.log sphinxsearch_2.2.11-8.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) i686 GNU/Linux I: ls -l /bin total 6036 -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash @@ -142,15 +174,15 @@ -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Jul 28 2023 run-parts + -rwxr-xr-x 1 root root 22308 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 22 14:25 sh -> /bin/bash -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty -rwsr-xr-x 1 root root 83492 Mar 23 2023 su -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Jul 28 2023 tempfile + -rwxr-xr-x 1 root root 13860 Jul 28 23:46 tempfile -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch -rwxr-xr-x 1 root root 34664 Sep 20 2022 true -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server @@ -170,7 +202,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/593/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -293,7 +325,7 @@ Get: 67 http://deb.debian.org/debian bookworm/main i386 pkgconf-bin i386 1.8.1-1 [29.8 kB] Get: 68 http://deb.debian.org/debian bookworm/main i386 pkgconf i386 1.8.1-1 [25.9 kB] Get: 69 http://deb.debian.org/debian bookworm/main i386 unixodbc-dev i386 2.3.11-2+deb12u1 [253 kB] -Fetched 28.2 MB in 1s (27.0 MB/s) +Fetched 28.2 MB in 18s (1607 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18156 files and directories currently installed.) @@ -595,7 +627,11 @@ fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sphinxsearch-2.2.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sphinxsearch_2.2.11-8_source.changes +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sphinxsearch-2.2.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sphinxsearch_2.2.11-8_source.changes dpkg-buildpackage: info: source package sphinxsearch dpkg-buildpackage: info: source version 2.2.11-8 dpkg-buildpackage: info: source distribution unstable @@ -996,7 +1032,7 @@ make[1]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' dh_auto_build - make -j16 + make -j7 make[1]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11' Making all in src make[2]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11/src' @@ -1010,57 +1046,6 @@ g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsoundex.o sphinxsoundex.cpp g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxmetaphone.o sphinxmetaphone.cpp g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemen.o sphinxstemen.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemru.o sphinxstemru.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemcz.o sphinxstemcz.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemar.o sphinxstemar.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxutils.o sphinxutils.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp -sphinxutils.cpp:2106:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 2106 | sphSafeInfo ( iFD, "Configured with flags: "CONFIGURE_FLAGS ); - | ^ -sphinxutils.cpp:2110:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 2110 | sphSafeInfo ( iFD, "Host OS is "OS_UNAME ); - | ^ -In file included from sphinx.h:42, - from sphinxutils.cpp:19: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxstd.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxstemar.cpp:30: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxstemcz.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxstemru.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxstemen.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ In file included from sphinx.h:42, from sphinxquery.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': @@ -1068,7 +1053,7 @@ 277 | register DWORD tmp; | ^~~ In file included from sphinx.h:42, - from sphinxsoundex.cpp:16: + from indexer.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; @@ -1080,30 +1065,17 @@ 277 | register DWORD tmp; | ^~~ In file included from sphinx.h:42, - from indexer.cpp:16: + from sphinxsoundex.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ In file included from sphinx.h:42, - from sphinxfilter.h:19, - from sphinxfilter.cpp:16: + from sphinxstemen.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ In file included from sphinx.h:42, from sphinxexcerpt.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': @@ -1126,69 +1098,10 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinx.h:42, - from sphinxsort.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinx.h:42, - from sphinxsearch.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxexpr.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxstd.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -sphinxstemen.cpp: In function 'int stem_en_id(unsigned char)': -sphinxstemen.cpp:50:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 50 | register unsigned char * v = stem_en_doubles; - | ^ -In file included from sphinxstemru.cpp:109: -sphinxstemru.inl: In function 'int stem_ru_adjectival_utf8(short unsigned int*, int)': -sphinxstemru.inl:416:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 416 | register int i = LOC_PREFIX(stem_ru_adj_i) ( word, len ); - | ^ -sphinxstemru.inl: In function 'int stem_ru_verb_ov_utf8(short unsigned int*, int)': -sphinxstemru.inl:425:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 425 | register int i = LOC_PREFIX(stem_ru_verb_i) ( word, len ); - | ^ -In file included from sphinxutils.cpp:21: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ sphinx.cpp:27894:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27894 | "docid="DOCID_FMT, SqlFieldName(iIndex), iPackedLen, m_tDocInfo.m_uDocID ); | ^ @@ -1199,42 +1112,18 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxmetaphone.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ In file included from indexer.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; | ^ -In file included from sphinxfilter.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ +sphinxstemen.cpp: In function 'int stem_en_id(unsigned char)': +sphinxstemen.cpp:50:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 50 | register unsigned char * v = stem_en_doubles; + | ^ In file included from sphinx.h:42, from sphinx.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': @@ -1248,9 +1137,7 @@ | | | | int DWORD {aka long unsigned int} | %ld -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp -In file included from sphinxsearch.h:21, - from sphinxexcerpt.cpp:19: +In file included from sphinxmetaphone.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1259,7 +1146,7 @@ 1078 | register int n = 0; | ^ In file included from sphinxsearch.h:21, - from sphinxsearch.cpp:17: + from sphinxexcerpt.cpp:19: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1267,7 +1154,12 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -In file included from sphinxexpr.cpp:21: +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemru.o sphinxstemru.cpp +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinx.cpp:22: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1275,41 +1167,144 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxjson.o sphinxjson.cpp -In file included from sphinxsort.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; +In file included from sphinx.h:42, + from sphinxstemru.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxstemru.cpp:109: +sphinxstemru.inl: In function 'int stem_ru_adjectival_utf8(short unsigned int*, int)': +sphinxstemru.inl:416:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 416 | register int i = LOC_PREFIX(stem_ru_adj_i) ( word, len ); | ^ +sphinxstemru.inl: In function 'int stem_ru_verb_ov_utf8(short unsigned int*, int)': +sphinxstemru.inl:425:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 425 | register int i = LOC_PREFIX(stem_ru_verb_i) ( word, len ); + | ^ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemcz.o sphinxstemcz.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemar.o sphinxstemar.cpp +In file included from sphinx.h:42, + from sphinxstemcz.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -sphinxrt.cpp:4799:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 4799 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT - | ^ -sphinxstd.cpp: In constructor 'CSphProcessSharedMutex::CSphProcessSharedMutex(int)': -sphinxstd.cpp:841:76: warning: '%s' directive argument is null [-Wformat-overflow=] - 841 | m_sError.SetSprintf ( "storage.alloc, error='%s', warning='%s'", sError.cstr(), sWarning.cstr() ); - | ^~ In file included from sphinx.h:42, - from sphinxrt.cpp:16: + from sphinxstemar.cpp:30: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxutils.o sphinxutils.cpp +sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': +sphinx.cpp:1330:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:1330:63: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] + 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +sphinxutils.cpp:2106:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 2106 | sphSafeInfo ( iFD, "Configured with flags: "CONFIGURE_FLAGS ); + | ^ +sphinxutils.cpp:2110:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 2110 | sphSafeInfo ( iFD, "Host OS is "OS_UNAME ); + | ^ In file included from sphinx.h:42, - from sphinxjson.h:19, - from sphinxjson.cpp:16: + from sphinxutils.cpp:19: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxudf.o sphinxudf.c -In file included from sphinx.cpp:22: +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinx.cpp: In function 'DWORD sphUnzipInt(const BYTE*&)': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' + 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' + 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In function 'SphOffset_t sphUnzipOffset(const BYTE*&)': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' + 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' + 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'DWORD CSphReader::UnzipInt()': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' + 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' + 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'uint64_t CSphReader::UnzipOffset()': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' + 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' + 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'DWORD CSphBin::UnzipInt()': +sphinx.cpp:8727:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8727 | register int b = 0; + | ^ +sphinx.cpp:8728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8728 | register DWORD v = 0; + | ^ +sphinx.cpp: In member function 'SphOffset_t CSphBin::UnzipOffset()': +sphinx.cpp:8741:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8741 | register int b = 0; + | ^ +sphinx.cpp:8742:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8742 | register SphOffset_t v = 0; + | ^ +In file included from sphinxutils.cpp:21: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1317,33 +1312,521 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxaot.o sphinxaot.cpp -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ +sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': +sphinx.cpp:10488:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +10488 | sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); + | ~^ ~~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:10605:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +10605 | sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), *m_pAttrsStatus ); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp: In function 'int encodeVLB(BYTE*, DWORD)': +sphinx.cpp:11541:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +11541 | register BYTE b; + | ^ +sphinx.cpp:11542:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +11542 | register int n = 0; + | ^ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp +sphinx.cpp: In function 'bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)': +sphinx.cpp:14098:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +14098 | sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': +sphinx.cpp:16497:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:16497:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] +16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': +sphinx.cpp:16812:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16812 | fprintf ( fp, "version: %d\n", m_uVersion ); + | ~^ ~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:16901:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16901 | fprintf ( fp, "killlist-size: %u\n", m_uKillListSize ); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | | DWORD {aka long unsigned int} + | unsigned int + | %lu +In file included from sphinx.h:42, + from sphinxstd.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.cpp: In member function 'virtual int CSphIndex_VLN::DebugCheck(FILE*)': +sphinx.cpp:19988:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +19988 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +19989 | , m_uVersion )); + | ~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:19988:91: note: format string is defined here +19988 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" + | ~^ + | | + | int + | %ld +sphinx.cpp:20170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20170 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20171 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20170 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20171 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, +20172 | tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), (int64_t)tRefCP.m_iWordlistOffset )); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20421:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +20421 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20422 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); + | ~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20421:56: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +20421 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20422 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); + | ~~~~~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20430:64: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +20430 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20431 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); + | ~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20430:64: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +20430 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20431 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); + | ~~~~~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20462:48: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20462 | LOC_FAIL(( fp, "doc hit count mismatch (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", doclist=%d, hitlist=%d)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20463 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, pQword->m_uMatchHits, iDocHits )); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20681:64: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20681 | LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20682 | iRow, iItem, uLastID, uOffset )); + | ~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20743:72: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] +20743 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", expected=" INT64_FMT ", got=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20744 | iRow, iItem, uLastID, uMvaID, rdMva.GetPos()/sizeof(DWORD), uSpaOffset )); + | ~~~~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20764:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20764 | LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20765 | iRow, iItem, uLastID, uMvaID, uValues )); + | ~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20792:80: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] +20792 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20793 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20792:80: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20792 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20793 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); + | ~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20829:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20829 | LOC_FAIL(( fp, "float attribute value is unnormalized (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20830 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); + | ~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20834:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20834 | LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20835 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); + | ~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20849:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20849 | LOC_FAIL(( fp, "string offset out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20850 | iRow, iItem, uLastID, uOffset )); + | ~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20863:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20863 | LOC_FAIL(( fp, "string length out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20864 | iRow, iItem, uLastID, uOffset )); + | ~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20872:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20872 | LOC_FAIL(( fp, "string offset is not a string start (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", offset=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20873 | iRow, iItem, uLastID, uOffset )); + | ~~~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20998:72: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] +20998 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20999 | iIndexEntry, iBlock, uMin, uMax )); + | ~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:20998:72: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] +20998 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +20999 | iIndexEntry, iBlock, uMin, uMax )); + | ~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21021:72: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21021 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, expected=" DOCID_FMT ", got=" DOCID_FMT ", block=" INT64_FMT ", index=%u)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21022 | iIndexEntry, iItem, uDocID, uMvaDocID, iBlock, (DWORD)uOff )); + | ~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21038:80: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21038 | 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)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); + | ~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21038 | 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)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); + | ~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21038 | 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)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); + | ~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21038 | 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)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); + | ~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21066:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21066 | LOC_FAIL(( fp, "kill-list size differs (expected=%d, got=" INT64_FMT ")", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21067 | m_uKillListSize, (int64_t)m_pKillList.GetNumEntries() )); + | ~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21073 | uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); + | ~~~~~ + | | + | long unsigned int +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21072:73: note: format string is defined here +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ~^ + | | + | int + | %ld +sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21072:77: note: format string is defined here +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ~^ + | | + | int + | %ld +sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21073 | uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); + | ~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21072:85: note: format string is defined here +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ~^ + | | + | int + | %ld +sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' +19859 | fprintf _args; \ + | ^~~~~ +sphinx.cpp:21072:89: note: format string is defined here +21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", + | ~^ + | | + | int + | %ld sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': -sphinxexpr.cpp:628:80: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] - 628 | m_sBuilder.Appendf ( "%u", *pValues++ ); - | ~^ ~~~~~~~~~~ - | | | - | | long unsigned int - | unsigned int - | %lu +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp +sphinx.cpp: In member function 'SphWordID_t CSphDictKeywords::HitblockGetID(const char*, int, SphWordID_t)': +sphinx.cpp:23640:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +23640 | register int iWordLen = iLen; + | ^~~~~~~~ +sphinx.cpp:23641:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +23641 | register const char * a = pEntry->m_pKeyword; + | ^ +sphinx.cpp:23642:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +23642 | register const char * b = sWord; + | ^ +sphinx.cpp: In member function 'virtual const char* CSphDictKeywords::HitblockGetKeyword(SphWordID_t)': +sphinx.cpp:24369:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +24369 | sphWarning ( "hash missing value in operator [] (wordid=" INT64_FMT ", hash=%d)", (int64_t)uWordID, uHash ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ + | | + | long unsigned int +sphinx.cpp: In function 'DWORD HtmlEntityHash(const BYTE*, int)': +sphinx.cpp:24948:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +24948 | register int hval = len; + | ^~~~ +sphinx.cpp: In function 'int HtmlEntityLookup(const BYTE*, int)': +sphinx.cpp:25331:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +25331 | register int key = HtmlEntityHash ( str, len ); + | ^~~ +sphinx.cpp:25335:47: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +25335 | register const char * s = wordlist[key].m_sName; + | ^ +In file included from sphinxstd.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ In file included from sphinx.h:42, - from sphinxaot.cpp:19: + from sphinxsort.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +sphinx.cpp: In function 'void sphDictBuildInfixes(const char*)': +sphinx.cpp:32460:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +32460 | sphDie ( "infix upgrade: got v.%d header, v.21 to v.26 required", uVersion ); + | ~^ ~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp: In function 'void sphDictBuildSkiplists(const char*)': +sphinx.cpp:32667:53: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +32667 | sphDie ( "skiplists upgrade: got v.%d header, v.%d to v.30 required", uVersion, uLowestVersion ); + | ~^ ~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:32667:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +32667 | sphDie ( "skiplists upgrade: got v.%d header, v.%d to v.30 required", uVersion, uLowestVersion ); + | ~^ ~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +sphinx.cpp:32972:103: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +32972 | sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", + | ~^ + | | + | int + | %ld +32973 | uWordCount, pSkips->m_uEntry ); + | ~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp:32972:111: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +32972 | sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", + | ~^ + | | + | int + | %ld +32973 | uWordCount, pSkips->m_uEntry ); + | ~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ +sphinxstd.cpp: In constructor 'CSphProcessSharedMutex::CSphProcessSharedMutex(int)': +sphinxstd.cpp:841:76: warning: '%s' directive argument is null [-Wformat-overflow=] + 841 | m_sError.SetSprintf ( "storage.alloc, error='%s', warning='%s'", sError.cstr(), sWarning.cstr() ); + | ^~ +In file included from sphinxsort.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': +sphinx.cpp:16949:2: required from here +sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': +sphinx.cpp:16949:2: required from here +sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': +sphinx.cpp:16949:2: required from here +sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | Hitpos_t {aka long unsigned int} +sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': +sphinx.cpp:16949:2: required from here +sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] +17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | Hitpos_t {aka long unsigned int} +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp sphinxsort.cpp: In static member function 'static bool MatchGeneric2_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ @@ -1563,14 +2046,6 @@ sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' 3466 | SPH_TEST_KEYPART(3); | ^~~~~~~~~~~~~~~~ -In file included from sphinxjson.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ sphinxsort.cpp: In static member function 'static bool MatchGeneric5_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ @@ -1692,7 +2167,17 @@ sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' 3485 | SPH_TEST_KEYPART(4); | ^~~~~~~~~~~~~~~~ -In file included from sphinxrt.cpp:17: +In file included from sphinx.h:42, + from sphinxexpr.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxexpr.cpp:21: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1700,72 +2185,61 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -sphinxjson.cpp: In member function 'void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)': -sphinxjson.cpp:442:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 442 | printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ - | | - | DWORD {aka long unsigned int} -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxplugin.o sphinxplugin.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o searchd.o searchd.cpp -In file included from sphinxjson.cpp:542: -llsphinxjson.c: In function 'int my_lex(JsonNode_t*, void*, JsonParser_c*)': -llsphinxjson.c:727:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 727 | register yy_state_type yy_current_state; - | ^~~~~~~~~~~~~~~~ -llsphinxjson.c:728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 728 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxjson.c:728:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 728 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxjson.c:729:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 729 | register int yy_act; - | ^~~~~~ -llsphinxjson.c:779:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 779 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - | ^~~~ -llsphinxjson.c: In function 'int yy_get_next_buffer(yyscan_t)': -llsphinxjson.c:1056:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1056 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - | ^~~~ -llsphinxjson.c:1057:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1057 | register char *source = yyg->yytext_ptr; - | ^~~~~~ -llsphinxjson.c:1058:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1058 | register int number_to_move, i; - | ^~~~~~~~~~~~~~ -llsphinxjson.c:1058:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1058 | register int number_to_move, i; - | ^ -llsphinxjson.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': -llsphinxjson.c:1190:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1190 | register yy_state_type yy_current_state; - | ^~~~~~~~~~~~~~~~ -In file included from sphinxaot.cpp:20: +sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': +sphinxexpr.cpp:628:80: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] + 628 | m_sBuilder.Appendf ( "%u", *pValues++ ); + | ~^ ~~~~~~~~~~ + | | | + | | long unsigned int + | unsigned int + | %lu +sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': +sphinxexpr.cpp:6081:128: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 6081 | m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); + | ~^ + | | + | int + | %ld +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp +In file included from sphinx.h:42, + from sphinxfilter.h:19, + from sphinxfilter.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxfilter.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp +In file included from sphinx.h:42, + from sphinxsearch.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxsearch.h:21, + from sphinxsearch.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; | ^ -llsphinxjson.c:1191:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1191 | register char *yy_cp; - | ^~~~~ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -llsphinxjson.c:1198:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1198 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - | ^~~~ -llsphinxjson.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': -llsphinxjson.c:1223:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1223 | register int yy_is_jam; - | ^~~~~~~~~ -llsphinxjson.c:1225:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1225 | register char *yy_cp = yyg->yy_c_buf_p; - | ^~~~~ -llsphinxjson.c:1227:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1227 | register YY_CHAR yy_c = 1; - | ^~~~ sphinxsearch.cpp: In member function 'DWORD RankerState_Export_fn::Finalize(const CSphMatch&)': sphinxsearch.cpp:8882:67: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", @@ -1819,17 +2293,28 @@ | ~~~~~~~~~~~~~~~ | | | DWORD {aka long unsigned int} -sphinxaot.cpp: In function 'int Utf8ToWin1251(BYTE*, const BYTE*)': -sphinxaot.cpp:1136:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1136 | register BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ]; - | ^~~~ -sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': -sphinxexpr.cpp:6081:128: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 6081 | m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); - | ~^ - | | - | int - | %ld +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp +sphinxrt.cpp:4799:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 4799 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT + | ^ +In file included from sphinx.h:42, + from sphinxrt.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxrt.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ sphinxrt.cpp: In member function 'virtual bool RtIndex_t::Prealloc(bool, bool, CSphString&)': sphinxrt.cpp:4086:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4086 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); @@ -1843,12 +2328,6 @@ | | | | int long unsigned int | %ld -In file included from sphinx.h:42, - from sphinxplugin.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ sphinxrt.cpp: In member function 'virtual int RtIndex_t::DebugCheck(FILE*)': sphinxrt.cpp:4739:64: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4739 | LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", @@ -2418,12 +2897,6 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ -In file included from sphinx.h:42, - from searchd.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ sphinxrt.cpp:5307:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5307 | LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2600,29 +3073,6 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o spelldump.o spelldump.cpp -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxplugin.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -In file included from sphinx.h:42, - from spelldump.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ sphinxrt.cpp: In member function 'void RtBinlog_c::LoadMeta()': sphinxrt.cpp:9357:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 9357 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", @@ -2677,7 +3127,20 @@ | | | | int long unsigned int | %ld -In file included from searchd.cpp:20: +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxjson.o sphinxjson.cpp +In file included from sphinx.h:42, + from sphinxjson.h:19, + from sphinxjson.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxudf.o sphinxudf.c +In file included from sphinxjson.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -2685,10 +3148,123 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ +sphinxjson.cpp: In member function 'void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)': +sphinxjson.cpp:442:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 442 | printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ + | | + | DWORD {aka long unsigned int} +In file included from sphinxjson.cpp:542: +llsphinxjson.c: In function 'int my_lex(JsonNode_t*, void*, JsonParser_c*)': +llsphinxjson.c:727:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 727 | register yy_state_type yy_current_state; + | ^~~~~~~~~~~~~~~~ +llsphinxjson.c:728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 728 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxjson.c:728:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 728 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxjson.c:729:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 729 | register int yy_act; + | ^~~~~~ +llsphinxjson.c:779:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 779 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + | ^~~~ +llsphinxjson.c: In function 'int yy_get_next_buffer(yyscan_t)': +llsphinxjson.c:1056:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1056 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + | ^~~~ +llsphinxjson.c:1057:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1057 | register char *source = yyg->yytext_ptr; + | ^~~~~~ +llsphinxjson.c:1058:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1058 | register int number_to_move, i; + | ^~~~~~~~~~~~~~ +llsphinxjson.c:1058:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1058 | register int number_to_move, i; + | ^ +llsphinxjson.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': +llsphinxjson.c:1190:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1190 | register yy_state_type yy_current_state; + | ^~~~~~~~~~~~~~~~ +llsphinxjson.c:1191:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1191 | register char *yy_cp; + | ^~~~~ +llsphinxjson.c:1198:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1198 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + | ^~~~ +llsphinxjson.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': +llsphinxjson.c:1223:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1223 | register int yy_is_jam; + | ^~~~~~~~~ +llsphinxjson.c:1225:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1225 | register char *yy_cp = yyg->yy_c_buf_p; + | ^~~~~ +llsphinxjson.c:1227:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1227 | register YY_CHAR yy_c = 1; + | ^~~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxaot.o sphinxaot.cpp +In file included from sphinx.h:42, + from sphinxaot.cpp:19: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ +In file included from sphinxaot.cpp:20: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +sphinxaot.cpp: In function 'int Utf8ToWin1251(BYTE*, const BYTE*)': +sphinxaot.cpp:1136:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1136 | register BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ]; + | ^~~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxplugin.o sphinxplugin.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o searchd.o searchd.cpp +In file included from sphinx.h:42, + from sphinxplugin.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinx.h:42, + from searchd.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxplugin.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +In file included from searchd.cpp:20: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ searchd.cpp: In member function 'virtual bool SearchReplyParser_t::ParseReply(MemInputBuffer_c&, AgentConn_t&) const': searchd.cpp:6166:104: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 6166 | default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; @@ -2730,19 +3306,6 @@ searchd.cpp:8592:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 8592 | register float bb = b->GetAttrFloat ( m_tLocator[i] ); | ^~ -sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': -sphinx.cpp:1330:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:1330:63: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] - 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld In file included from searchd.cpp:12035: llsphinxql.c: In function 'int my_lex(SqlNode_t*, void*, SqlParser_c*)': llsphinxql.c:1145:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -2793,79 +3356,6 @@ llsphinxql.c:2254:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2254 | register YY_CHAR yy_c = 1; | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indextool.o indextool.cpp -sphinx.cpp: In function 'DWORD sphUnzipInt(const BYTE*&)': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' - 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' - 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In function 'SphOffset_t sphUnzipOffset(const BYTE*&)': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' - 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' - 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In member function 'DWORD CSphReader::UnzipInt()': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' - 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' - 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In member function 'uint64_t CSphReader::UnzipOffset()': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' - 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' - 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In member function 'DWORD CSphBin::UnzipInt()': -sphinx.cpp:8727:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8727 | register int b = 0; - | ^ -sphinx.cpp:8728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8728 | register DWORD v = 0; - | ^ -In file included from sphinx.h:42, - from indextool.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.cpp: In member function 'SphOffset_t CSphBin::UnzipOffset()': -sphinx.cpp:8741:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8741 | register int b = 0; - | ^ -sphinx.cpp:8742:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8742 | register SphOffset_t v = 0; - | ^ searchd.cpp: In function 'void BuildStatus(VectorLike&)': searchd.cpp:14171:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 14171 | dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_pStats->m_uStarted ); @@ -2926,23 +3416,6 @@ | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int -sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': -sphinx.cpp:10488:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -10488 | sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); - | ~^ ~~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:10605:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -10605 | sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), *m_pAttrsStatus ); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ searchd.cpp: In function 'void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)': searchd.cpp:16981:133: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 16981 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); @@ -2954,21 +3427,6 @@ | ^~~~ ~~~~~~~~~~ | | | long unsigned int -sphinx.cpp: In function 'int encodeVLB(BYTE*, DWORD)': -sphinx.cpp:11541:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -11541 | register BYTE b; - | ^ -sphinx.cpp:11542:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -11542 | register int n = 0; - | ^ -In file included from indextool.cpp:18: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ searchd.cpp: In function 'void CheckPipes()': searchd.cpp:20432:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20432 | sphWarning ( "INTERNAL ERROR: pipe status mismatch (handler=%d, status=%d)", iHandler, uStatus ); @@ -2980,470 +3438,52 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | DWORD {aka long unsigned int} -sphinx.cpp: In function 'bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)': -sphinx.cpp:14098:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -14098 | sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ - | | - | DWORD {aka long unsigned int} searchd.cpp: In function 'void QueryStatus(CSphVariant*)': searchd.cpp:22455:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 22455 | sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | DWORD {aka long unsigned int} -sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': -sphinx.cpp:16497:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:16497:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] -16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld -sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': -sphinx.cpp:16812:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16812 | fprintf ( fp, "version: %d\n", m_uVersion ); - | ~^ ~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:16901:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16901 | fprintf ( fp, "killlist-size: %u\n", m_uKillListSize ); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | | DWORD {aka long unsigned int} - | unsigned int - | %lu -sphinx.cpp: In member function 'virtual int CSphIndex_VLN::DebugCheck(FILE*)': -sphinx.cpp:19988:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -19988 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -19989 | , m_uVersion )); - | ~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:19988:91: note: format string is defined here -19988 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" - | ~^ - | | - | int - | %ld -sphinx.cpp:20170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20170 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20171 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20170 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20171 | i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, -20172 | tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), (int64_t)tRefCP.m_iWordlistOffset )); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20421:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -20421 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20422 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); - | ~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20421:56: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -20421 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20422 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); - | ~~~~~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20430:64: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -20430 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20431 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); - | ~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20430:64: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -20430 | LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20431 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); - | ~~~~~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20462:48: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20462 | LOC_FAIL(( fp, "doc hit count mismatch (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", doclist=%d, hitlist=%d)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20463 | (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, pQword->m_uMatchHits, iDocHits )); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20681:64: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20681 | LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20682 | iRow, iItem, uLastID, uOffset )); - | ~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20743:72: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] -20743 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", expected=" INT64_FMT ", got=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20744 | iRow, iItem, uLastID, uMvaID, rdMva.GetPos()/sizeof(DWORD), uSpaOffset )); - | ~~~~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20764:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20764 | LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20765 | iRow, iItem, uLastID, uMvaID, uValues )); - | ~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20792:80: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] -20792 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20793 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20792:80: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20792 | LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20793 | iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); - | ~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20829:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20829 | LOC_FAIL(( fp, "float attribute value is unnormalized (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20830 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); - | ~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20834:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20834 | LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20835 | iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); - | ~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20849:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20849 | LOC_FAIL(( fp, "string offset out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20850 | iRow, iItem, uLastID, uOffset )); - | ~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20863:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20863 | LOC_FAIL(( fp, "string length out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20864 | iRow, iItem, uLastID, uOffset )); - | ~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20872:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20872 | LOC_FAIL(( fp, "string offset is not a string start (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", offset=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20873 | iRow, iItem, uLastID, uOffset )); - | ~~~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20998:72: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] -20998 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20999 | iIndexEntry, iBlock, uMin, uMax )); - | ~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:20998:72: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] -20998 | LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -20999 | iIndexEntry, iBlock, uMin, uMax )); - | ~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21021:72: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21021 | LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, expected=" DOCID_FMT ", got=" DOCID_FMT ", block=" INT64_FMT ", index=%u)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21022 | iIndexEntry, iItem, uDocID, uMvaDocID, iBlock, (DWORD)uOff )); - | ~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21038:80: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21038 | 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)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); - | ~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21038 | 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)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); - | ~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21038 | 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)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); - | ~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21038:80: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21038 | 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)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21039 | iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); - | ~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21066:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21066 | LOC_FAIL(( fp, "kill-list size differs (expected=%d, got=" INT64_FMT ")", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21067 | m_uKillListSize, (int64_t)m_pKillList.GetNumEntries() )); - | ~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21073 | uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); - | ~~~~~ - | | - | long unsigned int -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21072:73: note: format string is defined here -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ~^ - | | - | int - | %ld -sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21072:77: note: format string is defined here -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ~^ - | | - | int - | %ld -sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -21073 | uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); - | ~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21072:85: note: format string is defined here -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ~^ - | | - | int - | %ld -sphinx.cpp:21072:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' -19859 | fprintf _args; \ - | ^~~~~ -sphinx.cpp:21072:89: note: format string is defined here -21072 | LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", - | ~^ - | | - | int - | %ld -sphinx.cpp: In member function 'SphWordID_t CSphDictKeywords::HitblockGetID(const char*, int, SphWordID_t)': -sphinx.cpp:23640:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -23640 | register int iWordLen = iLen; - | ^~~~~~~~ -sphinx.cpp:23641:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -23641 | register const char * a = pEntry->m_pKeyword; - | ^ -sphinx.cpp:23642:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -23642 | register const char * b = sWord; - | ^ -sphinx.cpp: In member function 'virtual const char* CSphDictKeywords::HitblockGetKeyword(SphWordID_t)': -sphinx.cpp:24369:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -24369 | sphWarning ( "hash missing value in operator [] (wordid=" INT64_FMT ", hash=%d)", (int64_t)uWordID, uHash ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ - | | - | long unsigned int -sphinx.cpp: In function 'DWORD HtmlEntityHash(const BYTE*, int)': -sphinx.cpp:24948:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -24948 | register int hval = len; - | ^~~~ -sphinx.cpp: In function 'int HtmlEntityLookup(const BYTE*, int)': -sphinx.cpp:25331:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -25331 | register int key = HtmlEntityHash ( str, len ); - | ^~~ -sphinx.cpp:25335:47: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -25335 | register const char * s = wordlist[key].m_sName; - | ^ -sphinx.cpp: In function 'void sphDictBuildInfixes(const char*)': -sphinx.cpp:32460:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -32460 | sphDie ( "infix upgrade: got v.%d header, v.21 to v.26 required", uVersion ); - | ~^ ~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp: In function 'void sphDictBuildSkiplists(const char*)': -sphinx.cpp:32667:53: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -32667 | sphDie ( "skiplists upgrade: got v.%d header, v.%d to v.30 required", uVersion, uLowestVersion ); - | ~^ ~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:32667:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -32667 | sphDie ( "skiplists upgrade: got v.%d header, v.%d to v.30 required", uVersion, uLowestVersion ); - | ~^ ~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld -sphinx.cpp:32972:103: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -32972 | sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", - | ~^ - | | - | int - | %ld -32973 | uWordCount, pSkips->m_uEntry ); - | ~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinx.cpp:32972:111: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -32972 | sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", - | ~^ - | | - | int - | %ld -32973 | uWordCount, pSkips->m_uEntry ); - | ~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o spelldump.o spelldump.cpp +In file included from sphinx.h:42, + from spelldump.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinxexpr.cpp: In function '(static initializers for sphinxexpr.cpp)': +sphinxexpr.cpp:1955:62: warning: '%s' directive argument is null [-Wformat-overflow=] + 1955 | sphDie ( "INTERNAL ERROR: lookup for %s() failed, rebuild function hash", sKey.cstr() ); + | ^~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indextool.o indextool.cpp +In file included from sphinx.h:42, + from indextool.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from indextool.cpp:18: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o wordbreaker.o wordbreaker.cpp In file included from wordbreaker.cpp:25: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ -sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': -sphinx.cpp:16949:2: required from here -sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': -sphinx.cpp:16949:2: required from here -sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': -sphinx.cpp:16949:2: required from here -sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | Hitpos_t {aka long unsigned int} -sphinx.cpp: In instantiation of 'void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = FILE]': -sphinx.cpp:16949:2: required from here -sphinx.cpp:17024:47: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] -17024 | fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | Hitpos_t {aka long unsigned int} g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o tests.o tests.cpp In file included from sphinx.h:42, from tests.cpp:16: @@ -3490,10 +3530,6 @@ indextool.cpp:1161:81: warning: '%s' directive argument is null [-Wformat-overflow=] 1161 | sphDie ( "index '%s': failed to create (%s)", sIndex.cstr(), sError.cstr() ); | ^~ -sphinxexpr.cpp: In function '(static initializers for sphinxexpr.cpp)': -sphinxexpr.cpp:1955:62: warning: '%s' directive argument is null [-Wformat-overflow=] - 1955 | sphDie ( "INTERNAL ERROR: lookup for %s() failed, rebuild function hash", sKey.cstr() ); - | ^~ searchd.cpp: In function 'void HandleMysqlDelete(SqlRowBuffer_c&, const SqlStmt_t&, const CSphString&, bool)': searchd.cpp:17287:37: warning: '%s' directive argument is null [-Wformat-overflow=] 17287 | sError.SetSprintf ( "unknown index '%s' in delete request", sError.cstr() ); @@ -3535,7 +3571,7 @@ install -m0755 -d debian/sphinxsearch/etc/sphinxsearch debian/sphinxsearch/var/lib/sphinxsearch/ debian/sphinxsearch/var/lib/sphinxsearch/data/ debian/sphinxsearch/var/log/sphinxsearch/ dh_auto_install --destdir=debian/sphinxsearch/ install -m0755 -d /build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch - make -j16 install DESTDIR=/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch AM_UPDATE_INFO_DIR=no + make -j7 install DESTDIR=/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11' Making install in src make[2]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11/src' @@ -3567,8 +3603,8 @@ /bin/mkdir -p '/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch/etc/sphinxsearch' make[4]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11' mkdir -p /build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch/var/lib/sphinxsearch - /usr/bin/install -c -m 644 sphinx.conf.dist sphinx-min.conf.dist example.sql '/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch/etc/sphinxsearch' make[4]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' + /usr/bin/install -c -m 644 sphinx.conf.dist sphinx-min.conf.dist example.sql '/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch/etc/sphinxsearch' make[3]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' make[2]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' make[1]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' @@ -3594,12 +3630,12 @@ man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/spelldump.1 mv debian/sphinxsearch/usr/share/man/man1/indexer.1.dh-new debian/sphinxsearch/usr/share/man/man1/indexer.1 chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indexer.1 - mv debian/sphinxsearch/usr/share/man/man1/indextool.1.dh-new debian/sphinxsearch/usr/share/man/man1/indextool.1 - chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indextool.1 mv debian/sphinxsearch/usr/share/man/man1/searchd.1.dh-new debian/sphinxsearch/usr/share/man/man1/searchd.1 chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/searchd.1 mv debian/sphinxsearch/usr/share/man/man1/spelldump.1.dh-new debian/sphinxsearch/usr/share/man/man1/spelldump.1 chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/spelldump.1 + mv debian/sphinxsearch/usr/share/man/man1/indextool.1.dh-new debian/sphinxsearch/usr/share/man/man1/indextool.1 + chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indextool.1 dh_installcron install -m0755 -d debian/sphinxsearch/etc/cron.d install -p -m0644 debian/cron.d debian/sphinxsearch/etc/cron.d/sphinxsearch @@ -3640,36 +3676,36 @@ chmod 0644 -- debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu/sphinxsearch.debug chown 0:0 -- debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu/sphinxsearch.debug dh_strip -a - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/56 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/searchd debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/56/8cfe38212d044f372e4fe8d1c90be6145cdc41.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/56/8cfe38212d044f372e4fe8d1c90be6145cdc41.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/56/8cfe38212d044f372e4fe8d1c90be6145cdc41.debug + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/10 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/wordbreaker debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/10/b827ff101925cd4b9f9683774f26df59a3cd6b.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/10/b827ff101925cd4b9f9683774f26df59a3cd6b.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/10/b827ff101925cd4b9f9683774f26df59a3cd6b.debug + strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/wordbreaker + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/10/b827ff101925cd4b9f9683774f26df59a3cd6b.debug debian/sphinxsearch/usr/bin/wordbreaker + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/c7 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/searchd debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/c7/f3d281fd1fe3506e16be584f6026b42411dabc.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/c7/f3d281fd1fe3506e16be584f6026b42411dabc.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/c7/f3d281fd1fe3506e16be584f6026b42411dabc.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/searchd - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/56/8cfe38212d044f372e4fe8d1c90be6145cdc41.debug debian/sphinxsearch/usr/bin/searchd - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7e - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indexer debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7e/5760a073b3010d89bd16728bd7e86e7ccd547f.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7e/5760a073b3010d89bd16728bd7e86e7ccd547f.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7e/5760a073b3010d89bd16728bd7e86e7ccd547f.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/c7/f3d281fd1fe3506e16be584f6026b42411dabc.debug debian/sphinxsearch/usr/bin/searchd + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1b + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indexer debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1b/dd581a436d5b922133da902979c1b9757143cb.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1b/dd581a436d5b922133da902979c1b9757143cb.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1b/dd581a436d5b922133da902979c1b9757143cb.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/indexer - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7e/5760a073b3010d89bd16728bd7e86e7ccd547f.debug debian/sphinxsearch/usr/bin/indexer - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f6 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/wordbreaker debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f6/ff4c01e686593ebd7451caa82f696cae68b800.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f6/ff4c01e686593ebd7451caa82f696cae68b800.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f6/ff4c01e686593ebd7451caa82f696cae68b800.debug - strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/wordbreaker - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f6/ff4c01e686593ebd7451caa82f696cae68b800.debug debian/sphinxsearch/usr/bin/wordbreaker - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/e9 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indextool debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/e9/f2cf821292a3ae902e8faa1181f5a21567afc6.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/e9/f2cf821292a3ae902e8faa1181f5a21567afc6.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/e9/f2cf821292a3ae902e8faa1181f5a21567afc6.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1b/dd581a436d5b922133da902979c1b9757143cb.debug debian/sphinxsearch/usr/bin/indexer + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1e + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indextool debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1e/3393d0a6119ce3b53e4e9d4c73f6ade608610c.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1e/3393d0a6119ce3b53e4e9d4c73f6ade608610c.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1e/3393d0a6119ce3b53e4e9d4c73f6ade608610c.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/indextool - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/e9/f2cf821292a3ae902e8faa1181f5a21567afc6.debug debian/sphinxsearch/usr/bin/indextool - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f9 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/spelldump debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f9/21d8d3edd3dc25714a336e1e613a61a1a76dbe.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f9/21d8d3edd3dc25714a336e1e613a61a1a76dbe.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f9/21d8d3edd3dc25714a336e1e613a61a1a76dbe.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/1e/3393d0a6119ce3b53e4e9d4c73f6ade608610c.debug debian/sphinxsearch/usr/bin/indextool + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/24 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/spelldump debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/24/d92492852180d4d2bcd28b8395fdd0c3d06beb.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/24/d92492852180d4d2bcd28b8395fdd0c3d06beb.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/24/d92492852180d4d2bcd28b8395fdd0c3d06beb.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/spelldump - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f9/21d8d3edd3dc25714a336e1e613a61a1a76dbe.debug debian/sphinxsearch/usr/bin/spelldump + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/24/d92492852180d4d2bcd28b8395fdd0c3d06beb.debug debian/sphinxsearch/usr/bin/spelldump install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/sphinxsearch/usr/lib/debug/.dwz @@ -3681,7 +3717,7 @@ rm -f debian/sphinxsearch/DEBIAN/shlibs dh_shlibdeps -a install -m0755 -d debian/sphinxsearch/DEBIAN - dpkg-shlibdeps -Tdebian/sphinxsearch.substvars debian/sphinxsearch/usr/bin/searchd debian/sphinxsearch/usr/bin/indexer debian/sphinxsearch/usr/bin/wordbreaker debian/sphinxsearch/usr/bin/indextool debian/sphinxsearch/usr/bin/spelldump + dpkg-shlibdeps -Tdebian/sphinxsearch.substvars debian/sphinxsearch/usr/bin/wordbreaker debian/sphinxsearch/usr/bin/searchd debian/sphinxsearch/usr/bin/indexer debian/sphinxsearch/usr/bin/indextool debian/sphinxsearch/usr/bin/spelldump dh_installdeb install -m0755 -d debian/sphinxsearch/DEBIAN cp -f debian/postinst debian/sphinxsearch/DEBIAN/postinst @@ -3708,7 +3744,7 @@ install -m0755 -d debian/sphinxsearch/DEBIAN echo misc:Depends= >> debian/sphinxsearch.substvars install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN - dpkg-gencontrol -psphinxsearch -ldebian/changelog -Tdebian/sphinxsearch.substvars -Pdebian/.debhelper/sphinxsearch/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=sphinxsearch-dbgsym "-DDepends=sphinxsearch (= \${binary:Version})" "-DDescription=debug symbols for sphinxsearch" "-DBuild-Ids=568cfe38212d044f372e4fe8d1c90be6145cdc41 7e5760a073b3010d89bd16728bd7e86e7ccd547f e9f2cf821292a3ae902e8faa1181f5a21567afc6 f6ff4c01e686593ebd7451caa82f696cae68b800 f921d8d3edd3dc25714a336e1e613a61a1a76dbe" -DSection=debug -UMulti-Arch -UReplaces -UBreaks + dpkg-gencontrol -psphinxsearch -ldebian/changelog -Tdebian/sphinxsearch.substvars -Pdebian/.debhelper/sphinxsearch/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=sphinxsearch-dbgsym "-DDepends=sphinxsearch (= \${binary:Version})" "-DDescription=debug symbols for sphinxsearch" "-DBuild-Ids=10b827ff101925cd4b9f9683774f26df59a3cd6b 1bdd581a436d5b922133da902979c1b9757143cb 1e3393d0a6119ce3b53e4e9d4c73f6ade608610c 24d92492852180d4d2bcd28b8395fdd0c3d06beb c7f3d281fd1fe3506e16be584f6026b42411dabc" -DSection=debug -UMulti-Arch -UReplaces -UBreaks dpkg-gencontrol: warning: package sphinxsearch: substitution variable ${misc:Pre-Depends} unused, but is defined chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN/control @@ -3737,12 +3773,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32565/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/593 and its subdirectories -I: Current time: Sun Feb 23 08:48:25 -12 2025 -I: pbuilder-time-stamp: 1740343705 +I: removing directory /srv/workspace/pbuilder/32565 and its subdirectories +I: Current time: Tue Jan 23 04:28:33 +14 2024 +I: pbuilder-time-stamp: 1705933713