Diff of the two buildlogs: -- --- b1/build.log 2025-09-11 09:14:34.022803873 +0000 +++ b2/build.log 2025-09-11 09:13:49.618746653 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 14 03:36:50 -12 2026 -I: pbuilder-time-stamp: 1791992210 +I: Current time: Thu Sep 11 23:09:28 +14 2025 +I: pbuilder-time-stamp: 1757581768 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ dpkg-source: info: applying cross-build.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1788686/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2410396/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 Sep 11 09:09 /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/2410396/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2410396/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='aa7c27848ee54c5aa77c963d763cedb7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='1788686' - PS1='# ' - PS2='> ' + INVOCATION_ID=e4b7ff69e94f446ba102fcf7b12b8bc8 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2410396 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.fLQxdf31/pbuilderrc_KtAm --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fLQxdf31/b1 --logfile b1/build.log wham-align_0.1.5-8.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.fLQxdf31/pbuilderrc_FlVZ --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fLQxdf31/b2 --logfile b2/build.log wham-align_0.1.5-8.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1788686/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2410396/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -138,7 +170,7 @@ Get: 27 http://deb.debian.org/debian forky/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.26 [939 kB] -Fetched 11.2 MB in 0s (129 MB/s) +Fetched 11.2 MB in 0s (116 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (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 ... 21054 files and directories currently installed.) @@ -269,7 +301,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/wham-align-0.1.5/ && 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 > ../wham-align_0.1.5-8_source.changes +I: user script /srv/workspace/pbuilder/2410396/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/2410396/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/wham-align-0.1.5/ && 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 > ../wham-align_0.1.5-8_source.changes dpkg-buildpackage: info: source package wham-align dpkg-buildpackage: info: source version 0.1.5-8 dpkg-buildpackage: info: source distribution unstable @@ -279,7 +315,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 clean + make -j40 clean make[1]: Entering directory '/build/reproducible-path/wham-align-0.1.5' rm -f wham wham-build *.o make[1]: Leaving directory '/build/reproducible-path/wham-align-0.1.5' @@ -302,7 +338,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j42 "INSTALL=install --strip-program=true" + make -j40 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/wham-align-0.1.5' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/wham-align-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fsigned-char -O3 -Wno-write-strings hash.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/wham-align-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fsigned-char -O3 -Wno-write-strings embedhash.cpp @@ -329,6 +365,10 @@ interval.cpp:67:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] 67 | for (int i = 0; i < numLevel - 1; i++) { | ~~^~~~~~~~~~~~~~ +short.cpp: In member function 'int ShortRead::preProcess(int)': +short.cpp:212:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 212 | while (len = readLine(file, str, 256)) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ model.cpp: In static member function 'static int AlignerModel::estimateNumPartition(unsigned int, int, int, bool)': model.cpp:76:16: warning: variable 'nIndex' set but not used [-Wunused-but-set-variable] 76 | unsigned int nIndex, nLookup, nBucket; @@ -372,24 +412,20 @@ interval.cpp:370:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] 370 | if (ret != numIEntry) { | ~~~~^~~~~~~~~~~~ +short.cpp: In member function 'ShortRead** ShortRead::split(int)': +short.cpp:483:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 483 | if (szPartition <= nRead - curRead) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ model.cpp: In static member function 'static unsigned int AlignerModel::estimateHashtableSpace(unsigned int, int, int, int)': model.cpp:198:26: warning: variable 'p2' set but not used [-Wunused-but-set-variable] 198 | double nSpace, p0, p1, p2; | ^~ -short.cpp: In member function 'int ShortRead::preProcess(int)': -short.cpp:212:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 212 | while (len = readLine(file, str, 256)) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hitset.h:31, from hitset.cpp:1: pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 265 | if (num > nError) { | ~~~~^~~~~~~~ -short.cpp: In member function 'ShortRead** ShortRead::split(int)': -short.cpp:483:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 483 | if (szPartition <= nRead - curRead) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from hitset.h:31, from writer.h:26, from writer.cpp:21: @@ -417,10 +453,6 @@ pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': -pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] - 602 | int i, j, offset, min, tmp; - | ^~~~~~ pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~ @@ -430,6 +462,20 @@ pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] 685 | int a; | ^ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': +pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~ +pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~~ +pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] + 756 | int a; + | ^ +pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': +pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] + 602 | int i, j, offset, min, tmp; + | ^~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; @@ -455,6 +501,10 @@ pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] 685 | int a; | ^ +pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': +pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); + | ~~~~~~~^~~~~~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] 755 | int i, p, num, base, Cscore; @@ -465,28 +515,14 @@ pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] 756 | int a; | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': -pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~ -pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] - 756 | int a; - | ^ -pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': -pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); - | ~~~~~~~^~~~~~~~~~ -pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': -pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); - | ~~~~~~~^~~~~~~~~~ hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; | ^~~~ +pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': +pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); + | ~~~~~~~^~~~~~~~~~ hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; @@ -549,30 +585,11 @@ | ~~~~~^~~~~~~ In file included from hitset.h:31, from hash.h:29, - from aligner.h:25, - from builder.cpp:31: -pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': -pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] - 265 | if (num > nError) { - | ~~~~^~~~~~~~ -In file included from hitset.h:31, - from hash.h:29, from embedhash.cpp:27: pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 265 | if (num > nError) { | ~~~~^~~~~~~~ -In file included from hitset.h:31, - from hash.h:29, - from hash.cpp:27: -pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': -pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] - 265 | if (num > nError) { - | ~~~~^~~~~~~~ -edit_distance.cpp: In function 'scoreinfo edit_distance(char*, char*, int, int, char*, char*, int)': -edit_distance.cpp:61:7: warning: unused variable 'i' [-Wunused-variable] - 61 | int i; - | ^ pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] 602 | int i, j, offset, min, tmp; @@ -593,70 +610,55 @@ pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ -edit_distance.cpp: In function 'scoreinfo edit_distance_align(int**, char**, char*, char*, int, int, char*, char*, int)': -edit_distance.cpp:181:10: warning: unused variable 'tmp_trace' [-Wunused-variable] - 181 | char tmp_trace = traceback[i][j]; - | ^~~~~~~~~ -pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': -pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] - 602 | int i, j, offset, min, tmp; - | ^~~~~~ -edit_distance.cpp:132:14: warning: unused variable 'x' [-Wunused-variable] - 132 | int k = 0, x = 0, y = 0; - | ^ -edit_distance.cpp:132:21: warning: unused variable 'y' [-Wunused-variable] - 132 | int k = 0, x = 0, y = 0; - | ^ -edit_distance.cpp:178:7: warning: unused variable 'kk' [-Wunused-variable] - 178 | int kk = 0; - | ^~ pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~ -pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': -pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] - 602 | int i, j, offset, min, tmp; - | ^~~~~~ pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~~ pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] 685 | int a; | ^ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': +pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~ +pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~~ +pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] + 756 | int a; + | ^ In file included from hitset.h:31, from hash.h:29, from aligner.h:25, - from aligner.cpp:25: + from builder.cpp:31: pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 265 | if (num > nError) { | ~~~~^~~~~~~~ +pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': +pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); + | ~~~~~~~^~~~~~~~~~ +hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': +hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] + 86 | int size; + | ^~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': +pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] + 602 | int i, j, offset, min, tmp; + | ^~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': -pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ -pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ @@ -666,15 +668,10 @@ pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~ -pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] - 684 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] - 685 | int a; - | ^ -pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] - 684 | int i, p, num, base, Cscore; - | ^~~ +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~~ @@ -691,34 +688,21 @@ pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] 756 | int a; | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': -pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': -pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~ -pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] - 756 | int a; - | ^ -pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] - 756 | int a; - | ^ -pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': -pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); - | ~~~~~~~^~~~~~~~~~ -pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': -pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); - | ~~~~~~~^~~~~~~~~~ +In file included from hitset.h:31, + from hash.h:29, + from hash.cpp:27: +pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': +pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] + 265 | if (num > nError) { + | ~~~~^~~~~~~~ +In file included from hitset.h:31, + from hash.h:29, + from aligner.h:25, + from aligner.cpp:25: +pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': +pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] + 265 | if (num > nError) { + | ~~~~^~~~~~~~ pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); @@ -731,10 +715,10 @@ pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] 602 | int i, j, offset, min, tmp; | ^~~~~~ -hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': -hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] - 86 | int size; - | ^~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': +pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] + 602 | int i, j, offset, min, tmp; + | ^~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; @@ -742,19 +726,40 @@ pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ -hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': -hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] - 86 | int size; - | ^~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': +pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ +pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 682 | register unsigned long long P, M, X, U, Y; | ^ +pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] + 684 | int i, p, num, base, Cscore; + | ^~~ +pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] + 684 | int i, p, num, base, Cscore; + | ^~~~ +pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] + 685 | int a; + | ^ pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; | ^~~ @@ -764,6 +769,10 @@ pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] 685 | int a; | ^ +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] 755 | int i, p, num, base, Cscore; @@ -771,29 +780,56 @@ pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] 755 | int i, p, num, base, Cscore; | ^~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': +pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~ +pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] + 756 | int a; + | ^ +pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~~ pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] 756 | int a; | ^ -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); | ~~~~~~~^~~~~~~~~~ -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ +pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': +pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); + | ~~~~~~~^~~~~~~~~~ +edit_distance.cpp: In function 'scoreinfo edit_distance(char*, char*, int, int, char*, char*, int)': +edit_distance.cpp:61:7: warning: unused variable 'i' [-Wunused-variable] + 61 | int i; + | ^ +hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': +hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] + 86 | int size; + | ^~~~ hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; | ^~~~ +edit_distance.cpp: In function 'scoreinfo edit_distance_align(int**, char**, char*, char*, int, int, char*, char*, int)': +edit_distance.cpp:181:10: warning: unused variable 'tmp_trace' [-Wunused-variable] + 181 | char tmp_trace = traceback[i][j]; + | ^~~~~~~~~ +edit_distance.cpp:132:14: warning: unused variable 'x' [-Wunused-variable] + 132 | int k = 0, x = 0, y = 0; + | ^ +edit_distance.cpp:132:21: warning: unused variable 'y' [-Wunused-variable] + 132 | int k = 0, x = 0, y = 0; + | ^ +edit_distance.cpp:178:7: warning: unused variable 'kk' [-Wunused-variable] + 178 | int kk = 0; + | ^~ +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ hash.h: In function 'uint32 murmurHash(int64*, uint32)': hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] 86 | uint32 sum = 0; @@ -890,65 +926,6 @@ hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; | ^~~~ -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ -In file included from hitset.h:31, - from hash.h:29, - from aligner.h:25, - from sequence.cpp:30: -pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': -pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] - 265 | if (num > nError) { - | ~~~~^~~~~~~~ -pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': -pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] - 602 | int i, j, offset, min, tmp; - | ^~~~~~ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': -pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 682 | register unsigned long long P, M, X, U, Y; - | ^ -pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] - 684 | int i, p, num, base, Cscore; - | ^~~ -pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] - 684 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] - 685 | int a; - | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': -pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~ -pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] - 755 | int i, p, num, base, Cscore; - | ^~~~ -pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] - 756 | int a; - | ^ -pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': -pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); - | ~~~~~~~^~~~~~~~~~ -hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': -hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] - 86 | int size; - | ^~~~ embedhash.cpp: In member function 'int EmbedHashTable::preProcessEnd()': embedhash.cpp:137:16: warning: unused variable 'ln2' [-Wunused-variable] 137 | const double ln2 = log(2); @@ -960,24 +937,6 @@ embedhash.cpp:255:9: warning: unused variable 'top' [-Wunused-variable] 255 | int64 top = total - total * r; | ^~~ -hash.cpp: In member function 'int HashTable::preProcessEnd()': -hash.cpp:236:11: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] - 236 | if (h >= nHistogram) - | ~~^~~~~~~~~~~~~ -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ -aligner.cpp: In member function 'int Aligner::initLookupArray()': -aligner.cpp:365:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 365 | if ((indexBits[i] >> j) & 0x1 == 1) { - | ~~~~^~~~ -hash.cpp:285:33: warning: comparison of integer expressions of different signedness: 'uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 285 | if (useEmbedTables() && tmp > embedShreshold) { - | ~~~~^~~~~~~~~~~~~~~~ -aligner.cpp:371:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 371 | if ((indexBits[i] >> j) & 0x1 == 1) { - | ~~~~^~~~ embedhash.cpp: In member function 'void EmbedHashTable::insert(int64*, unsigned int)': embedhash.cpp:369:38: warning: operation on '*(((EmbedHashTable*)this)->EmbedHashTable::overflowPool + ((sizetype)(((long unsigned int)curOverflowEntry) * 4)))' may be undefined [-Wsequence-point] 369 | overflowPool[curOverflowEntry] = @@ -1002,10 +961,6 @@ embedhash.cpp:336:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] 336 | uint32 bloomFilterNum; | ^~~~~~~~~~~~~~ -hash.cpp: In member function 'void HashTable::setScanThreshold(double)': -hash.cpp:343:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 343 | for (int i = 0; i < nHistogram - 1; i++) { - | ~~^~~~~~~~~~~~~~~~ embedhash.cpp: In member function 'unsigned int EmbedHashTable::lookup(int64*, int64*, int, char*, strand, int, HitSet*, bool)': embedhash.cpp:385:7: warning: unused variable 'num' [-Wunused-variable] 385 | int num; @@ -1022,10 +977,28 @@ embedhash.cpp:392:15: warning: unused variable 'soffset' [-Wunused-variable] 392 | uint32 sid, soffset; | ^~~~~~~ -aligner.cpp: In member function 'int Aligner::preProcessHashTables()': -aligner.cpp:534:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 534 | for (i = 0; i < nHashTable; i++) { - | ~~^~~~~~~~~~~~ +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ +hash.cpp: In member function 'int HashTable::preProcessEnd()': +hash.cpp:236:11: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] + 236 | if (h >= nHistogram) + | ~~^~~~~~~~~~~~~ +hash.cpp:285:33: warning: comparison of integer expressions of different signedness: 'uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 285 | if (useEmbedTables() && tmp > embedShreshold) { + | ~~~~^~~~~~~~~~~~~~~~ +hash.cpp: In member function 'void HashTable::setScanThreshold(double)': +hash.cpp:343:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 343 | for (int i = 0; i < nHistogram - 1; i++) { + | ~~^~~~~~~~~~~~~~~~ +aligner.cpp: In member function 'int Aligner::initLookupArray()': +aligner.cpp:365:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 365 | if ((indexBits[i] >> j) & 0x1 == 1) { + | ~~~~^~~~ +aligner.cpp:371:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 371 | if ((indexBits[i] >> j) & 0x1 == 1) { + | ~~~~^~~~ hash.cpp: In member function 'void HashTable::insert(int64*, unsigned int)': hash.cpp:460:38: warning: operation on '*(((HashTable*)this)->HashTable::overflowPool + ((sizetype)(((long unsigned int)curOverflowEntry) * 4)))' may be undefined [-Wsequence-point] 460 | overflowPool[curOverflowEntry] = @@ -1050,20 +1023,10 @@ hash.cpp:419:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] 419 | uint32 bloomFilterNum; | ^~~~~~~~~~~~~~ -aligner.cpp:712:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 712 | for (i = 0; i < nHashTable; i++) { +aligner.cpp: In member function 'int Aligner::preProcessHashTables()': +aligner.cpp:534:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 534 | for (i = 0; i < nHashTable; i++) { | ~~^~~~~~~~~~~~ -sequence.cpp: In member function 'void CompactSequence::extractFileName(char*, char*)': -sequence.cpp:97:10: warning: unused variable 'str' [-Wunused-variable] - 97 | char * str; - | ^~~ -aligner.cpp: In member function 'int Aligner::build(char*)': -aligner.cpp:724:16: warning: unused variable 'i' [-Wunused-variable] - 724 | unsigned int i, j; - | ^ -aligner.cpp:724:19: warning: unused variable 'j' [-Wunused-variable] - 724 | unsigned int i, j; - | ^ hash.cpp: In member function 'int HashTable::buildEmbedTable()': hash.cpp:469:33: warning: unused variable 'rest' [-Wunused-variable] 469 | int64 * query = &ttspace[8], *rest = &ttspace[24], *rest1 = &ttspace[40], @@ -1077,44 +1040,61 @@ hash.cpp:470:31: warning: unused variable 'noheadkey' [-Wunused-variable] 470 | *rest2 = &ttspace[56], *noheadkey = &ttspace[72]; | ^~~~~~~~~ +hash.cpp:472:34: warning: variable 'startOffset' set but not used [-Wunused-but-set-variable] + 472 | uint32 seqOffset, entryOffset, startOffset; + | ^~~~~~~~~~~ +aligner.cpp:712:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 712 | for (i = 0; i < nHashTable; i++) { + | ~~^~~~~~~~~~~~ +hash.cpp: In member function 'void HashTable::preinsertEmbedTableEntry(int64*, int, int)': +hash.cpp:587:11: warning: unused variable 'noheadkey' [-Wunused-variable] + 587 | int64 * noheadkey = &tspace[8], *rest = &tspace[24]; + | ^~~~~~~~~ +hash.cpp:590:8: warning: unused variable 'subkey4' [-Wunused-variable] + 590 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ +hash.cpp:590:32: warning: unused variable 'subkey5' [-Wunused-variable] + 590 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ +aligner.cpp: In member function 'int Aligner::build(char*)': +aligner.cpp:724:16: warning: unused variable 'i' [-Wunused-variable] + 724 | unsigned int i, j; + | ^ +aligner.cpp:724:19: warning: unused variable 'j' [-Wunused-variable] + 724 | unsigned int i, j; + | ^ aligner.cpp: In member function 'int Aligner::buildHashTables(char*)': aligner.cpp:807:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 807 | for (i = 0; i < nHashTable; i++) { | ~~^~~~~~~~~~~~ -hash.cpp:472:34: warning: variable 'startOffset' set but not used [-Wunused-but-set-variable] - 472 | uint32 seqOffset, entryOffset, startOffset; - | ^~~~~~~~~~~ aligner.cpp:844:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 844 | for (i1 = 0; i1 < lenPartition * (nPartition - 1); i1 += lenPartition) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': -sequence.cpp:238:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 238 | for (i = 0; i < numFile; i++) { - | ~~^~~~~~~~~ aligner.cpp:864:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 864 | for (i1 = 0; i1 < lenPartition * (nPartition - 2); i1 += lenPartition) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aligner.cpp:871:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 871 | for (i2 = i1; i2 < lenPartition * (nPartition - 2); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hash.cpp: In member function 'void HashTable::insertEmbedTableEntry(int64*, uint32, int, int)': +hash.cpp:662:11: warning: unused variable 'noheadkey' [-Wunused-variable] + 662 | int64 * noheadkey = &tspace[8], *rest = &tspace[24]; + | ^~~~~~~~~ +hash.cpp:665:8: warning: unused variable 'subkey4' [-Wunused-variable] + 665 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ +hash.cpp:665:32: warning: unused variable 'subkey5' [-Wunused-variable] + 665 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ aligner.cpp:894:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 894 | for (i1 = 0; i1 < lenPartition * (nPartition - 3); i1 += lenPartition) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sequence.cpp:309:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 309 | ( i = 0; i < nSeq; i++) - | ~~^~~~~~ aligner.cpp:901:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 901 | for (i2 = i1; i2 < lenPartition * (nPartition - 3); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aligner.cpp:909:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 909 | for (i3 = i2; i3 < lenPartition * (nPartition - 3); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sequence.cpp:324:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 324 | for (i = 0; i < numFile; i++) { - | ~~^~~~~~~~~ -sequence.cpp:344:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 344 | for (j = 0; j < numError + 1; j++) { - | ~~^~~~~~~~~~~~~~ aligner.cpp:928:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 928 | for (i1 = 0; i1 < lenPartition * (nPartition - 4); i1 += lenPartition) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1127,16 +1107,6 @@ aligner.cpp:936:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 936 | for (i4 = i3; i4 < lenPartition * (nPartition - 4); i4 += | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hash.cpp: In member function 'void HashTable::preinsertEmbedTableEntry(int64*, int, int)': -hash.cpp:587:11: warning: unused variable 'noheadkey' [-Wunused-variable] - 587 | int64 * noheadkey = &tspace[8], *rest = &tspace[24]; - | ^~~~~~~~~ -hash.cpp:590:8: warning: unused variable 'subkey4' [-Wunused-variable] - 590 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ -hash.cpp:590:32: warning: unused variable 'subkey5' [-Wunused-variable] - 590 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ aligner.cpp:951:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 951 | for (i1 = 0; i1 < lenPartition * (nPartition - 5); i1 += lenPartition) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1155,42 +1125,9 @@ aligner.cpp:983:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 983 | for (i = 0; i < nHashTable; i++) { | ~~^~~~~~~~~~~~ -sequence.cpp:410:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 410 | if (lenSegmentN > numError + 1) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -sequence.cpp:429:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 429 | if (lenSegmentN > numError + 1) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ aligner.cpp:1006:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1006 | for (i = 0; i < nHashTable; i++) { | ~~^~~~~~~~~~~~ -hash.cpp: In member function 'void HashTable::insertEmbedTableEntry(int64*, uint32, int, int)': -hash.cpp:662:11: warning: unused variable 'noheadkey' [-Wunused-variable] - 662 | int64 * noheadkey = &tspace[8], *rest = &tspace[24]; - | ^~~~~~~~~ -hash.cpp:665:8: warning: unused variable 'subkey4' [-Wunused-variable] - 665 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ -hash.cpp:665:32: warning: unused variable 'subkey5' [-Wunused-variable] - 665 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ -sequence.cpp:223:16: warning: unused variable 'step' [-Wunused-variable] - 223 | unsigned int step, nextstep; - | ^~~~ -sequence.cpp:223:22: warning: unused variable 'nextstep' [-Wunused-variable] - 223 | unsigned int step, nextstep; - | ^~~~~~~~ -sequence.cpp: In member function 'int CompactSequence::filter(Aligner*, char**, int, char*)': -sequence.cpp:534:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 534 | for (i = 0; i < numFile; i++) { - | ~~^~~~~~~~~ -aligner.cpp: In member function 'unsigned int Aligner::alignFirst(int64*, char*, strand, int, HitSet*, bool)': -aligner.cpp:1035:10: warning: unused variable 'offset' [-Wunused-variable] - 1035 | uint32 offset; - | ^~~~~~ -aligner.cpp:1039:7: warning: unused variable 'nHit' [-Wunused-variable] - 1039 | int nHit = 0; - | ^~~~ hash.cpp: In member function 'unsigned int HashTable::lookup(int64*, int64*, int, char*, strand, int, HitSet*, bool)': hash.cpp:746:7: warning: unused variable 'num' [-Wunused-variable] 746 | int num; @@ -1204,41 +1141,6 @@ hash.cpp:753:15: warning: unused variable 'soffset' [-Wunused-variable] 753 | uint32 sid, soffset; | ^~~~~~~ -sequence.cpp:599:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 599 | if (lenSegmentN > nError + 1) - | ~~~~~~~~~~~~^~~~~~~~~~~~ -sequence.cpp:520:16: warning: unused variable 'step' [-Wunused-variable] - 520 | unsigned int step, nextstep; - | ^~~~ -sequence.cpp:520:22: warning: unused variable 'nextstep' [-Wunused-variable] - 520 | unsigned int step, nextstep; - | ^~~~~~~~ -sequence.cpp:521:9: warning: unused variable 'numFileChar' [-Wunused-variable] - 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; - | ^~~~~~~~~~~ -sequence.cpp:521:22: warning: unused variable 'numFileNSeg' [-Wunused-variable] - 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; - | ^~~~~~~~~~~ -sequence.cpp:521:35: warning: unused variable 'numFileSeq' [-Wunused-variable] - 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; - | ^~~~~~~~~~ -sequence.cpp:521:47: warning: unused variable 'nChar' [-Wunused-variable] - 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; - | ^~~~~ -sequence.cpp:521:54: warning: unused variable 'nNSegment' [-Wunused-variable] - 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; - | ^~~~~~~~~ -aligner.cpp: In member function 'unsigned int Aligner::align(int64*, char*, strand, int, HitSet*, bool, bool)': -aligner.cpp:1119:10: warning: variable 'offset' set but not used [-Wunused-but-set-variable] - 1119 | uint32 offset; - | ^~~~~~ -aligner.cpp:1123:7: warning: variable 'nHit' set but not used [-Wunused-but-set-variable] - 1123 | int nHit = 0; - | ^~~~ -sequence.cpp: In member function 'int CompactSequence::save(char*)': -sequence.cpp:738:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 738 | if (ret != size) { - | ~~~~^~~~~~~ hash.cpp: In member function 'unsigned int HashTable::lookupEmbedTable(int64*, uint32, int, char*, strand, int, HitSet*, bool)': hash.cpp:962:11: warning: unused variable 'noheadkey' [-Wunused-variable] 962 | int64 * noheadkey = &tspace[8], *rest = &tspace[24]; @@ -1252,20 +1154,13 @@ hash.cpp:973:11: warning: unused variable 'seqVector' [-Wunused-variable] 973 | int64 * seqVector = sequence->getSequence(); | ^~~~~~~~~ -aligner.cpp: In member function 'int Aligner::check(int)': -aligner.cpp:1436:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1436 | for (i = 0; i < num; i++) { - | ~~^~~~~ -sequence.cpp: In member function 'int CompactSequence::load(char*)': -sequence.cpp:804:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 804 | if (ret != size) { - | ~~~~^~~~~~~ -aligner.cpp:1452:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1452 | for (j = 0; j < nError; j++) { - | ~~^~~~~~~~ -aligner.cpp:1426:7: warning: unused variable 'ret' [-Wunused-variable] - 1426 | int ret; - | ^~~ +aligner.cpp: In member function 'unsigned int Aligner::alignFirst(int64*, char*, strand, int, HitSet*, bool)': +aligner.cpp:1035:10: warning: unused variable 'offset' [-Wunused-variable] + 1035 | uint32 offset; + | ^~~~~~ +aligner.cpp:1039:7: warning: unused variable 'nHit' [-Wunused-variable] + 1039 | int nHit = 0; + | ^~~~ hash.cpp: In member function 'bool HashTable::lookup(int64*, uint32)': hash.cpp:1052:7: warning: unused variable 'num' [-Wunused-variable] 1052 | int num; @@ -1285,6 +1180,37 @@ hash.cpp:1059:15: warning: unused variable 'soffset' [-Wunused-variable] 1059 | uint32 sid, soffset; | ^~~~~~~ +aligner.cpp: In member function 'unsigned int Aligner::align(int64*, char*, strand, int, HitSet*, bool, bool)': +aligner.cpp:1119:10: warning: variable 'offset' set but not used [-Wunused-but-set-variable] + 1119 | uint32 offset; + | ^~~~~~ +aligner.cpp:1123:7: warning: variable 'nHit' set but not used [-Wunused-but-set-variable] + 1123 | int nHit = 0; + | ^~~~ +hash.cpp: In member function 'uint32 HashTable::printOverflowList(uint32, uint32, int64*)': +hash.cpp:1184:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 1184 | for (int i = 0; i < keyOffset / BITS_PER_BASE; i++) +hash.cpp:1188:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 1188 | for (int i = 0; i < (lenSeq - keyOffset - lenKey) / BITS_PER_BASE; i++) +aligner.cpp: In member function 'int Aligner::check(int)': +aligner.cpp:1436:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1436 | for (i = 0; i < num; i++) { + | ~~^~~~~ +aligner.cpp:1452:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1452 | for (j = 0; j < nError; j++) { + | ~~^~~~~~~~ +aligner.cpp:1426:7: warning: unused variable 'ret' [-Wunused-variable] + 1426 | int ret; + | ^~~ +hash.cpp:1247:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 1247 | for (int j = 0; j < strlen(set[i].str); j++) + | ~~^~~~~~~~~~~~~~~~~~~~ +hash.cpp:1254:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 1254 | for (int j = 0; j < strlen(set[i].str); j++) + | ~~^~~~~~~~~~~~~~~~~~~~ +hash.cpp:1137:11: warning: unused variable 'diff' [-Wunused-variable] + 1137 | int64 * diff = &tspace1[8], *target = &tspace2[8]; + | ^~~~ aligner.cpp: In member function 'AlignRes Aligner::alignSingleEnd(AlignInfo*, char*)': aligner.cpp:1541:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1541 | for (i = 0; i < nHashTable; i++) { @@ -1292,11 +1218,6 @@ aligner.cpp:1547:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1547 | for (i = 0; i < res.nRead; i++) { | ~~^~~~~~~~~~~ -hash.cpp: In member function 'uint32 HashTable::printOverflowList(uint32, uint32, int64*)': -hash.cpp:1184:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 1184 | for (int i = 0; i < keyOffset / BITS_PER_BASE; i++) -hash.cpp:1188:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 1188 | for (int i = 0; i < (lenSeq - keyOffset - lenKey) / BITS_PER_BASE; i++) aligner.cpp:1629:3: warning: deleting object of abstract class type 'Writer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 1629 | delete writer; | ^~~~~~~~~~~~~ @@ -1318,19 +1239,17 @@ aligner.cpp:1514:31: warning: unused variable 'strata' [-Wunused-variable] 1514 | bool sorted = info->sorted, strata = info->strata; | ^~~~~~ -hash.cpp:1247:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 1247 | for (int j = 0; j < strlen(set[i].str); j++) - | ~~^~~~~~~~~~~~~~~~~~~~ -hash.cpp:1254:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 1254 | for (int j = 0; j < strlen(set[i].str); j++) - | ~~^~~~~~~~~~~~~~~~~~~~ -hash.cpp:1137:11: warning: unused variable 'diff' [-Wunused-variable] - 1137 | int64 * diff = &tspace1[8], *target = &tspace2[8]; - | ^~~~ aligner.cpp: In member function 'AlignRes Aligner::alignPairEnd(AlignInfo*, char*)': aligner.cpp:1685:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1685 | for (i = 0; i < res.nRead; i++) { | ~~^~~~~~~~~~~ +hash.cpp: In member function 'int HashTable::sortList()': +hash.cpp:1430:14: warning: variable 'pool' set but not used [-Wunused-but-set-variable] + 1430 | uint32 * pool; + | ^~~~ +hash.cpp:1321:34: warning: variable 'offset' set but not used [-Wunused-but-set-variable] + 1321 | uint32 entryOffset, seqOffset, offset; + | ^~~~~~ aligner.cpp:1754:3: warning: deleting object of abstract class type 'Writer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 1754 | delete writer; | ^~~~~~~~~~~~~ @@ -1349,27 +1268,17 @@ aligner.cpp:1652:31: warning: unused variable 'strata' [-Wunused-variable] 1652 | bool sorted = info->sorted, strata = info->strata; | ^~~~~~ -hash.cpp: In member function 'int HashTable::sortList()': -hash.cpp:1430:14: warning: variable 'pool' set but not used [-Wunused-but-set-variable] - 1430 | uint32 * pool; - | ^~~~ aligner.cpp: In member function 'AlignRes Aligner::mergeSingleEnd(AlignInfo*, int, char*)': aligner.cpp:1851:3: warning: deleting object of abstract class type 'Writer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 1851 | delete writer; | ^~~~~~~~~~~~~ -hash.cpp:1321:34: warning: variable 'offset' set but not used [-Wunused-but-set-variable] - 1321 | uint32 entryOffset, seqOffset, offset; - | ^~~~~~ aligner.cpp:1775:10: warning: unused variable 'ret' [-Wunused-variable] 1775 | int i, ret; | ^~~ -aligner.cpp: In member function 'AlignRes Aligner::mergePairEnd(AlignInfo*, int, char*)': -aligner.cpp:1989:3: warning: deleting object of abstract class type 'Writer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 1989 | delete writer; - | ^~~~~~~~~~~~~ -aligner.cpp:1874:10: warning: unused variable 'ret' [-Wunused-variable] - 1874 | int i, ret; - | ^~~ +main.cpp: In function 'int getArguVal(char*)': +main.cpp:159:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 159 | else if (*c = 'g' || *c == 'G') + | ~~~^~~~~~~~~~~~~~~~~~ hash.cpp: In member function 'void HashTable::checkRepeat(uint32)': hash.cpp:1673:34: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 1673 | uint32 entryOffset, seqOffset, offset; @@ -1377,10 +1286,13 @@ hash.cpp:1690:5: warning: label 'restart' defined but not used [-Wunused-label] 1690 | restart: if (buckets[bucketId] == HASH_EMPTY | ^~~~~~~ -main.cpp: In function 'int getArguVal(char*)': -main.cpp:159:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 159 | else if (*c = 'g' || *c == 'G') - | ~~~^~~~~~~~~~~~~~~~~~ +aligner.cpp: In member function 'AlignRes Aligner::mergePairEnd(AlignInfo*, int, char*)': +aligner.cpp:1989:3: warning: deleting object of abstract class type 'Writer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 1989 | delete writer; + | ^~~~~~~~~~~~~ +aligner.cpp:1874:10: warning: unused variable 'ret' [-Wunused-variable] + 1874 | int i, ret; + | ^~~ main.cpp: In function 'int align(char*, AlignInfo*, char*, int)': main.cpp:350:7: warning: unused variable 'i' [-Wunused-variable] 350 | int i, j, ret; @@ -1388,6 +1300,11 @@ main.cpp:350:10: warning: unused variable 'j' [-Wunused-variable] 350 | int i, j, ret; | ^ +In file included from builder.cpp:34: +edit_distance.h: At global scope: +edit_distance.h:25:18: warning: 'obj_score_mat' defined but not used [-Wunused-variable] + 25 | static score_mat obj_score_mat = { 1, 1, 1, 1 }; + | ^~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:523:7: warning: unused variable 'numKeys' [-Wunused-variable] 523 | int numKeys; @@ -1398,22 +1315,141 @@ main.cpp:532:21: warning: unused variable 'sequence' [-Wunused-variable] 532 | CompactSequence * sequence; | ^~~~~~~~ -In file included from builder.cpp:34: -edit_distance.h: At global scope: -edit_distance.h:25:18: warning: 'obj_score_mat' defined but not used [-Wunused-variable] - 25 | static score_mat obj_score_mat = { 1, 1, 1, 1 }; - | ^~~~~~~~~~~~~ main.cpp:534:15: warning: unused variable 'threadpool' [-Wunused-variable] 534 | pthread_t * threadpool; | ^~~~~~~~~~ main.cpp:536:9: warning: unused variable 'threadid' [-Wunused-variable] 536 | int * threadid; | ^~~~~~~~ +In file included from hitset.h:31, + from hash.h:29, + from aligner.h:25, + from sequence.cpp:30: +pair.h: In static member function 'static ErrorVector PairAligner::pairAlignDBA(int64*, int64*, int, int, int)': +pair.h:265:13: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] + 265 | if (num > nError) { + | ~~~~^~~~~~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignDP(int64*, int64*, int, int, int, bool)': +pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] + 602 | int i, j, offset, min, tmp; + | ^~~~~~ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': +pair.h:682:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:682:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 682 | register unsigned long long P, M, X, U, Y; + | ^ +pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] + 684 | int i, p, num, base, Cscore; + | ^~~ +pair.h:684:20: warning: unused variable 'base' [-Wunused-variable] + 684 | int i, p, num, base, Cscore; + | ^~~~ +pair.h:685:9: warning: unused variable 'a' [-Wunused-variable] + 685 | int a; + | ^ +pair.h: In static member function 'static bool PairAligner::pairAlignBitVector(int64*, int64*, int, int, int)': +pair.h:755:15: warning: unused variable 'num' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~ +pair.h:755:20: warning: unused variable 'base' [-Wunused-variable] + 755 | int i, p, num, base, Cscore; + | ^~~~ +pair.h:756:9: warning: unused variable 'a' [-Wunused-variable] + 756 | int a; + | ^ +pair.h: In static member function 'static int128 PairAligner::Bit128RemoveSmearRightmost1(int128)': +pair.h:974:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 974 | tmp.high = x.high ^ - x.high | (0LL - (x.low != 0)); + | ~~~~~~~^~~~~~~~~~ +hitset.h: In constructor 'HitSet::HitSet(int, int, int, bool, bool)': +hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] + 86 | int size; + | ^~~~ +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ +sequence.cpp: In member function 'void CompactSequence::extractFileName(char*, char*)': +sequence.cpp:97:10: warning: unused variable 'str' [-Wunused-variable] + 97 | char * str; + | ^~~ +sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': +sequence.cpp:238:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 238 | for (i = 0; i < numFile; i++) { + | ~~^~~~~~~~~ +sequence.cpp:309:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 309 | ( i = 0; i < nSeq; i++) + | ~~^~~~~~ +sequence.cpp:324:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 324 | for (i = 0; i < numFile; i++) { + | ~~^~~~~~~~~ +sequence.cpp:344:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 344 | for (j = 0; j < numError + 1; j++) { + | ~~^~~~~~~~~~~~~~ +sequence.cpp:410:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 410 | if (lenSegmentN > numError + 1) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +sequence.cpp:429:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 429 | if (lenSegmentN > numError + 1) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +sequence.cpp:223:16: warning: unused variable 'step' [-Wunused-variable] + 223 | unsigned int step, nextstep; + | ^~~~ +sequence.cpp:223:22: warning: unused variable 'nextstep' [-Wunused-variable] + 223 | unsigned int step, nextstep; + | ^~~~~~~~ +sequence.cpp: In member function 'int CompactSequence::filter(Aligner*, char**, int, char*)': +sequence.cpp:534:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 534 | for (i = 0; i < numFile; i++) { + | ~~^~~~~~~~~ +sequence.cpp:599:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 599 | if (lenSegmentN > nError + 1) + | ~~~~~~~~~~~~^~~~~~~~~~~~ +sequence.cpp:520:16: warning: unused variable 'step' [-Wunused-variable] + 520 | unsigned int step, nextstep; + | ^~~~ +sequence.cpp:520:22: warning: unused variable 'nextstep' [-Wunused-variable] + 520 | unsigned int step, nextstep; + | ^~~~~~~~ +sequence.cpp:521:9: warning: unused variable 'numFileChar' [-Wunused-variable] + 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; + | ^~~~~~~~~~~ +sequence.cpp:521:22: warning: unused variable 'numFileNSeg' [-Wunused-variable] + 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; + | ^~~~~~~~~~~ +sequence.cpp:521:35: warning: unused variable 'numFileSeq' [-Wunused-variable] + 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; + | ^~~~~~~~~~ +sequence.cpp:521:47: warning: unused variable 'nChar' [-Wunused-variable] + 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; + | ^~~~~ +sequence.cpp:521:54: warning: unused variable 'nNSegment' [-Wunused-variable] + 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; + | ^~~~~~~~~ +sequence.cpp: In member function 'int CompactSequence::save(char*)': +sequence.cpp:738:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 738 | if (ret != size) { + | ~~~~^~~~~~~ In file included from embedhash.cpp:32: edit_distance.h: At global scope: edit_distance.h:25:18: warning: 'obj_score_mat' defined but not used [-Wunused-variable] 25 | static score_mat obj_score_mat = { 1, 1, 1, 1 }; | ^~~~~~~~~~~~~ +sequence.cpp: In member function 'int CompactSequence::load(char*)': +sequence.cpp:804:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 804 | if (ret != size) { + | ~~~~^~~~~~~ hash.cpp: In member function 'unsigned int HashTable::lookupEmbedTable(int64*, uint32, int, char*, strand, int, HitSet*, bool)': hash.cpp:1049:1: warning: control reaches end of non-void function [-Wreturn-type] 1049 | } @@ -1481,7 +1517,7 @@ g++ -o wham-build sequence.o hash.o embedhash.o builder.o aligner.o interval.o edit_distance.o error.o short.o hitset.o model.o perfcounters.o writer.o -lpthread make[1]: Leaving directory '/build/reproducible-path/wham-align-0.1.5' dh_auto_test - rm -fr -- /tmp/dh-xdg-rundir-lWg_JvdS + rm -fr -- /tmp/dh-xdg-rundir-zkU05fKk create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/wham-align.substvars @@ -1544,16 +1580,16 @@ objcopy --compress-debug-sections debian/wham-align/usr/lib/debug/.dwz/x86_64-linux-gnu/wham-align.debug chmod 0644 -- debian/wham-align/usr/lib/debug/.dwz/x86_64-linux-gnu/wham-align.debug dh_strip -a - install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5 - objcopy --only-keep-debug --compress-debug-sections debian/wham-align/usr/bin/wham-build debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug - chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug - strip --remove-section=.comment --remove-section=.note debian/wham-align/usr/bin/wham-build - objcopy --add-gnu-debuglink debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug debian/wham-align/usr/bin/wham-build install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/42 objcopy --only-keep-debug --compress-debug-sections debian/wham-align/usr/bin/wham debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/42/001a2fb38896edce0ff6254ec035b9c2429f49.debug chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/42/001a2fb38896edce0ff6254ec035b9c2429f49.debug strip --remove-section=.comment --remove-section=.note debian/wham-align/usr/bin/wham objcopy --add-gnu-debuglink debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/42/001a2fb38896edce0ff6254ec035b9c2429f49.debug debian/wham-align/usr/bin/wham + install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5 + objcopy --only-keep-debug --compress-debug-sections debian/wham-align/usr/bin/wham-build debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug + chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug + strip --remove-section=.comment --remove-section=.note debian/wham-align/usr/bin/wham-build + objcopy --add-gnu-debuglink debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b5/0f38cd467d83c4d115a1f2574ae2ace85adc7c.debug debian/wham-align/usr/bin/wham-build install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/wham-align/usr/lib/debug/.dwz/x86_64-linux-gnu debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/wham-align/usr/lib/debug/.dwz @@ -1565,7 +1601,7 @@ rm -f debian/wham-align/DEBIAN/shlibs dh_shlibdeps -a install -m0755 -d debian/wham-align/DEBIAN - dpkg-shlibdeps -Tdebian/wham-align.substvars debian/wham-align/usr/bin/wham-build debian/wham-align/usr/bin/wham + dpkg-shlibdeps -Tdebian/wham-align.substvars debian/wham-align/usr/bin/wham debian/wham-align/usr/bin/wham-build dh_installdeb install -m0755 -d debian/wham-align/DEBIAN dh_gencontrol @@ -1587,8 +1623,8 @@ dh_builddeb dpkg-deb --root-owner-group --build debian/wham-align .. dpkg-deb --root-owner-group --build debian/.debhelper/wham-align/dbgsym-root .. -dpkg-deb: building package 'wham-align' in '../wham-align_0.1.5-8_amd64.deb'. dpkg-deb: building package 'wham-align-dbgsym' in '../wham-align-dbgsym_0.1.5-8_amd64.deb'. +dpkg-deb: building package 'wham-align' in '../wham-align_0.1.5-8_amd64.deb'. dpkg-genbuildinfo --build=binary -O../wham-align_0.1.5-8_amd64.buildinfo dpkg-genchanges --build=binary -O../wham-align_0.1.5-8_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1596,12 +1632,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/2410396/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2410396/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/1788686 and its subdirectories -I: Current time: Wed Oct 14 03:37:33 -12 2026 -I: pbuilder-time-stamp: 1791992253 +I: removing directory /srv/workspace/pbuilder/2410396 and its subdirectories +I: Current time: Thu Sep 11 23:13:49 +14 2025 +I: pbuilder-time-stamp: 1757582029