Diff of the two buildlogs: -- --- b1/build.log 2025-02-05 19:07:30.381519245 +0000 +++ b2/build.log 2025-02-05 19:08:51.565861673 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 5 07:05:07 -12 2025 -I: pbuilder-time-stamp: 1738782307 +I: Current time: Thu Feb 6 09:07:42 +14 2025 +I: pbuilder-time-stamp: 1738782463 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ 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/2446/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21473/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 Feb 5 19:07 /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/21473/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21473/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b5768a838f7c4e198278abad8a417c9b' - 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='2446' - PS1='# ' - PS2='> ' + INVOCATION_ID=895a17a462df450ba855b764c86b6c9b + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=21473 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.HFFWfBza/pbuilderrc_aBp7 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HFFWfBza/b1 --logfile b1/build.log wham-align_0.1.5-8.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.HFFWfBza/pbuilderrc_vuVv --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HFFWfBza/b2 --logfile b2/build.log wham-align_0.1.5-8.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2446/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/21473/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: 28 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.24.1 [920 kB] -Fetched 19.7 MB in 0s (48.3 MB/s) +Fetched 19.7 MB in 2s (10.5 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 ... 19568 files and directories currently installed.) @@ -273,7 +305,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/21473/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21473/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 @@ -283,7 +319,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 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' @@ -306,14 +342,15 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "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 -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings embedhash.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings main.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings sequence.cpp In file included from hitset.h:31, from hash.h:29, - from hash.cpp:27: + 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) { @@ -371,8 +408,7 @@ | ^~~ In file included from hitset.h:31, from hash.h:29, - from aligner.h:25, - from main.cpp:34: + 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) { @@ -430,7 +466,8 @@ | ^~~ In file included from hitset.h:31, from hash.h:29, - from embedhash.cpp:27: + from aligner.h:25, + from main.cpp:34: 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) { @@ -482,42 +519,10 @@ hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; | ^~~~ -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.h: In function 'uint32 murmurHash(int64*, uint32)': hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] 86 | uint32 sum = 0; | ^~~ -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; - | ^ -main.cpp:350:10: warning: unused variable 'j' [-Wunused-variable] - 350 | int i, j, ret; - | ^ -main.cpp: In function 'int main(int, char**)': -main.cpp:523:7: warning: unused variable 'numKeys' [-Wunused-variable] - 523 | int numKeys; - | ^~~~~~~ -main.cpp:526:7: warning: unused variable 'nSeq' [-Wunused-variable] - 526 | int nSeq = 1; - | ^~~~ -main.cpp:532:21: warning: unused variable 'sequence' [-Wunused-variable] - 532 | CompactSequence * sequence; - | ^~~~~~~~ -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 main.cpp:38: -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 }; - | ^~~~~~~~~~~~~ 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) @@ -589,6 +594,14 @@ hash.cpp:665:32: warning: unused variable 'subkey5' [-Wunused-variable] 665 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; | ^~~~~~~ +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) { + | ~~~~^~~~~~~~ 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; @@ -639,15 +652,54 @@ 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++) +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; + | ^~~~~~ hash.cpp:1247:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1247 | for (int j = 0; j < strlen(set[i].str); j++) | ~~^~~~~~~~~~~~~~~~~~~~ +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; + | ^ hash.cpp:1254:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1254 | for (int j = 0; j < strlen(set[i].str); j++) | ~~^~~~~~~~~~~~~~~~~~~~ +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; + | ^ hash.cpp:1137:11: warning: unused variable 'diff' [-Wunused-variable] 1137 | int64 * diff = &tspace1[8], *target = &tspace2[8]; | ^~~~ +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; + | ^ 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; @@ -655,6 +707,14 @@ hash.cpp:1321:34: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 1321 | uint32 entryOffset, seqOffset, offset; | ^~~~~~ +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.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; @@ -662,23 +722,14 @@ hash.cpp:1690:5: warning: label 'restart' defined but not used [-Wunused-label] 1690 | restart: if (buckets[bucketId] == HASH_EMPTY | ^~~~~~~ -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 | } - | ^ -In file included from hash.cpp:31: -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 }; - | ^~~~~~~~~~~~~ -In file included from pair.h:26: -rdtsc.h: In function 'long long unsigned int curtick()': -rdtsc.h:32:10: warning: 'tick' is used uninitialized [-Wuninitialized] - 32 | return tick; - | ^~~~ -rdtsc.h:20:22: note: 'tick' was declared here - 20 | unsigned long long tick; - | ^~~~ +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; + | ^~~ embedhash.cpp: In member function 'int EmbedHashTable::preProcessEnd()': embedhash.cpp:137:16: warning: unused variable 'ln2' [-Wunused-variable] 137 | const double ln2 = log(2); @@ -690,6 +741,10 @@ embedhash.cpp:255:9: warning: unused variable 'top' [-Wunused-variable] 255 | int64 top = total - total * r; | ^~~ +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++) { + | ~~^~~~~~~~~ embedhash.cpp: In member function 'void EmbedHashTable::insert(int64*, unsigned int)': embedhash.cpp:369:38: warning: operation on '*(((EmbedHashTable*)this)->EmbedHashTable::overflowPool + ((sizetype)(curOverflowEntry * 4)))' may be undefined [-Wsequence-point] 369 | overflowPool[curOverflowEntry] = @@ -714,6 +769,21 @@ embedhash.cpp:336:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] 336 | uint32 bloomFilterNum; | ^~~~~~~~~~~~~~ +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) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ 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; @@ -730,11 +800,97 @@ embedhash.cpp:392:15: warning: unused variable 'soffset' [-Wunused-variable] 392 | uint32 sid, soffset; | ^~~~~~~ +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) { + | ~~~~^~~~~~~ +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) { + | ~~~~^~~~~~~ +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') + | ~~~^~~~~~~~~~~~~~~~~~ +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; + | ^ +main.cpp:350:10: warning: unused variable 'j' [-Wunused-variable] + 350 | int i, j, ret; + | ^ +main.cpp: In function 'int main(int, char**)': +main.cpp:523:7: warning: unused variable 'numKeys' [-Wunused-variable] + 523 | int numKeys; + | ^~~~~~~ +main.cpp:526:7: warning: unused variable 'nSeq' [-Wunused-variable] + 526 | int nSeq = 1; + | ^~~~ +main.cpp:532:21: warning: unused variable 'sequence' [-Wunused-variable] + 532 | CompactSequence * sequence; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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 | } + | ^ 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 }; | ^~~~~~~~~~~~~ +In file included from hash.cpp:31: +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 }; + | ^~~~~~~~~~~~~ +In file included from pair.h:26: +rdtsc.h: In function 'long long unsigned int curtick()': +rdtsc.h:32:10: warning: 'tick' is used uninitialized [-Wuninitialized] + 32 | return tick; + | ^~~~ +rdtsc.h:20:22: note: 'tick' was declared here + 20 | unsigned long long tick; + | ^~~~ In file included from pair.h:26: rdtsc.h: In function 'long long unsigned int curtick()': rdtsc.h:32:10: warning: 'tick' is used uninitialized [-Wuninitialized] @@ -743,6 +899,11 @@ rdtsc.h:20:22: note: 'tick' was declared here 20 | unsigned long long tick; | ^~~~ +In file included from main.cpp:38: +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 'void mergeFiles(std::string)': main.cpp:269:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 269 | sprintf(buf, ".t%d ", i); @@ -762,8 +923,41 @@ main.cpp:276:12: note: 'sprintf' output between 4 and 13 bytes into a destination of size 10 276 | sprintf(buf, ".t%d", i); | ~~~~~~~^~~~~~~~~~~~~~~~ -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings sequence.cpp +sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': +sequence.cpp:430:27: warning: 'offsetInOrgSeq' may be used uninitialized [-Wmaybe-uninitialized] + 430 | offsetInOrgSeq++; + | ~~~~~~~~~~~~~~^~ +sequence.cpp:221:33: note: 'offsetInOrgSeq' was declared here + 221 | unsigned int offsetInCmptSeq, offsetInOrgSeq; + | ^~~~~~~~~~~~~~ +sequence.cpp: In static member function 'static void CompactSequence::compose(char*, int, int64*)': +sequence.cpp:676:20: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] + 676 | forward_word = (forward_word << BITS_PER_BASE) | code; + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sequence.cpp:630:23: note: 'code' was declared here + 630 | int64 forward_word, code; + | ^~~~ 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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings aligner.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings interval.cpp +interval.cpp: In constructor 'IntervalTree::IntervalTree(uint32, uint32)': +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++) { + | ~~^~~~~~~~~~~~~~ +interval.cpp: In member function 'int IntervalTree::save(char*)': +interval.cpp:304:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 304 | if (ret != numLEntry) { + | ~~~~^~~~~~~~~~~~ +interval.cpp:310:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 310 | if (ret != numIEntry) { + | ~~~~^~~~~~~~~~~~ +interval.cpp: In member function 'int IntervalTree::load(char*)': +interval.cpp:359:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 359 | if (ret != numLEntry) { + | ~~~~^~~~~~~~~~~~ +interval.cpp:370:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 370 | if (ret != numIEntry) { + | ~~~~^~~~~~~~~~~~ +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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings edit_distance.cpp In file included from hitset.h:31, from hash.h:29, from aligner.h:25, @@ -780,6 +974,7 @@ 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; | ^ +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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings error.cpp 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; | ^ @@ -823,130 +1018,39 @@ 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; - | ^~~~ -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) { - | ~~~~^~~~~~~ -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) { - | ~~~~^~~~~~~ +error.cpp: In function 'void elog(int, char*, ...)': +error.cpp:31:9: warning: unused variable 'filename' [-Wunused-variable] + 31 | char *filename = __FILE__; + | ^~~~~~~~ +error.cpp:32:7: warning: unused variable 'lineno' [-Wunused-variable] + 32 | int lineno = __LINE__; + | ^~~~~~ +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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings short.cpp +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; + | ^ +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; + | ^~ +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)) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 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) { @@ -1111,83 +1215,6 @@ aligner.cpp:1874:10: warning: unused variable 'ret' [-Wunused-variable] 1874 | int i, ret; | ^~~ -sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': -sequence.cpp:430:27: warning: 'offsetInOrgSeq' may be used uninitialized [-Wmaybe-uninitialized] - 430 | offsetInOrgSeq++; - | ~~~~~~~~~~~~~~^~ -sequence.cpp:221:33: note: 'offsetInOrgSeq' was declared here - 221 | unsigned int offsetInCmptSeq, offsetInOrgSeq; - | ^~~~~~~~~~~~~~ -sequence.cpp: In static member function 'static void CompactSequence::compose(char*, int, int64*)': -sequence.cpp:676:20: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] - 676 | forward_word = (forward_word << BITS_PER_BASE) | code; - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sequence.cpp:630:23: note: 'code' was declared here - 630 | int64 forward_word, code; - | ^~~~ -In member function 'void HashTable::setLookupInfo(int, int*)', - inlined from 'int Aligner::initLookupArray()' at aligner.cpp:375:32: -hash.h:353:18: warning: 'keySpan' may be used uninitialized [-Wmaybe-uninitialized] - 353 | widthKeySpan = keySpan; - | ~~~~~~~~~~~~~^~~~~~~~~ -aligner.cpp: In member function 'int Aligner::initLookupArray()': -aligner.cpp:360:7: note: 'keySpan' was declared here - 360 | int keySpan; - | ^~~~~~~ -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings interval.cpp -interval.cpp: In constructor 'IntervalTree::IntervalTree(uint32, uint32)': -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++) { - | ~~^~~~~~~~~~~~~~ -interval.cpp: In member function 'int IntervalTree::save(char*)': -interval.cpp:304:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 304 | if (ret != numLEntry) { - | ~~~~^~~~~~~~~~~~ -interval.cpp:310:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 310 | if (ret != numIEntry) { - | ~~~~^~~~~~~~~~~~ -interval.cpp: In member function 'int IntervalTree::load(char*)': -interval.cpp:359:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 359 | if (ret != numLEntry) { - | ~~~~^~~~~~~~~~~~ -interval.cpp:370:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 370 | if (ret != numIEntry) { - | ~~~~^~~~~~~~~~~~ -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings edit_distance.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings error.cpp -error.cpp: In function 'void elog(int, char*, ...)': -error.cpp:31:9: warning: unused variable 'filename' [-Wunused-variable] - 31 | char *filename = __FILE__; - | ^~~~~~~~ -error.cpp:32:7: warning: unused variable 'lineno' [-Wunused-variable] - 32 | int lineno = __LINE__; - | ^~~~~~ -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings short.cpp -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; - | ^ -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; - | ^~ -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)) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ short.cpp: In member function 'int ShortRead::load(int)': short.cpp:424:28: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] 424 | forward_word = (forward_word << BITS_PER_BASE) | code; @@ -1195,6 +1222,7 @@ short.cpp:310:38: note: 'code' was declared here 310 | int64 forward_word, backward_word, code; | ^~~~ +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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings hitset.cpp short.cpp: In member function 'ShortRead** ShortRead::split(int)': short.cpp:503:45: warning: '.t' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 503 | sprintf(partitions[i]->alFileName, "%s.t%d", alFileName, i); @@ -1214,16 +1242,8 @@ short.cpp:510:14: note: 'sprintf' output between 4 and 268 bytes into a destination of size 256 510 | sprintf(partitions[i]->unFileName, "%s.t%d", unFileName, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings hitset.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings perfcounters.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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings model.cpp -aligner.cpp: In member function 'unsigned int Aligner::alignFirst(int64*, char*, strand, int, HitSet*, bool)': -aligner.cpp:1097:3: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] - 1097 | if (ret == MSG_HITSETFULL) - | ^~ -aligner.cpp:1040:7: note: 'ret' was declared here - 1040 | int ret; - | ^~~ 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)': @@ -1315,6 +1335,15 @@ 198 | double nSpace, p0, p1, p2; | ^~ 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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings writer.cpp +In member function 'void HashTable::setLookupInfo(int, int*)', + inlined from 'int Aligner::initLookupArray()' at aligner.cpp:375:32: +hash.h:353:18: warning: 'keySpan' may be used uninitialized [-Wmaybe-uninitialized] + 353 | widthKeySpan = keySpan; + | ~~~~~~~~~~~~~^~~~~~~~~ +aligner.cpp: In member function 'int Aligner::initLookupArray()': +aligner.cpp:360:7: note: 'keySpan' was declared here + 360 | int keySpan; + | ^~~~~~~ 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 -Wall -pedantic -fsigned-char -O3 -Wno-write-strings builder.cpp In file included from hitset.h:31, from writer.h:26, @@ -1497,11 +1526,18 @@ 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 }; | ^~~~~~~~~~~~~ +aligner.cpp: In member function 'unsigned int Aligner::alignFirst(int64*, char*, strand, int, HitSet*, bool)': +aligner.cpp:1097:3: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] + 1097 | if (ret == MSG_HITSETFULL) + | ^~ +aligner.cpp:1040:7: note: 'ret' was declared here + 1040 | int ret; + | ^~~ g++ -o wham sequence.o hash.o embedhash.o main.o aligner.o interval.o edit_distance.o error.o short.o hitset.o model.o perfcounters.o writer.o -lpthread 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-0AGAB04_ + rm -fr -- /tmp/dh-xdg-rundir-5Oqn1vgn create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/wham-align.substvars @@ -1536,12 +1572,12 @@ install -p -m0644 ./debian/wham-build.1 debian/wham-align/usr/share/man/man1/wham-build.1 install -m0755 -d debian/wham-align/usr/share/man/man1/ install -p -m0644 ./debian/wham.1 debian/wham-align/usr/share/man/man1/wham.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/wham-align/usr/share/man/man1/wham.1 man-recode --to-code UTF-8 --suffix .dh-new debian/wham-align/usr/share/man/man1/wham-build.1 - mv debian/wham-align/usr/share/man/man1/wham.1.dh-new debian/wham-align/usr/share/man/man1/wham.1 - chmod 0644 -- debian/wham-align/usr/share/man/man1/wham.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/wham-align/usr/share/man/man1/wham.1 mv debian/wham-align/usr/share/man/man1/wham-build.1.dh-new debian/wham-align/usr/share/man/man1/wham-build.1 chmod 0644 -- debian/wham-align/usr/share/man/man1/wham-build.1 + mv debian/wham-align/usr/share/man/man1/wham.1.dh-new debian/wham-align/usr/share/man/man1/wham.1 + chmod 0644 -- debian/wham-align/usr/share/man/man1/wham.1 dh_perl dh_link dh_strip_nondeterminism @@ -1564,16 +1600,16 @@ objcopy --compress-debug-sections debian/wham-align/usr/lib/debug/.dwz/arm-linux-gnueabihf/wham-align.debug chmod 0644 -- debian/wham-align/usr/lib/debug/.dwz/arm-linux-gnueabihf/wham-align.debug dh_strip -a - install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7 - objcopy --only-keep-debug --compress-debug-sections debian/wham-align/usr/bin/wham debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.debug - chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.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/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.debug debian/wham-align/usr/bin/wham install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/9e 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/9e/df7ef0fe5799e42b28ae23f31ca99035cb9f27.debug chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/9e/df7ef0fe5799e42b28ae23f31ca99035cb9f27.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/9e/df7ef0fe5799e42b28ae23f31ca99035cb9f27.debug debian/wham-align/usr/bin/wham-build + install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7 + objcopy --only-keep-debug --compress-debug-sections debian/wham-align/usr/bin/wham debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.debug + chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.build-id/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.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/b7/9b81739b1fb12751f4f23ce6ffd3493c1bae63.debug debian/wham-align/usr/bin/wham install -m0755 -d debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/wham-align/usr/lib/debug/.dwz/arm-linux-gnueabihf debian/.debhelper/wham-align/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/wham-align/usr/lib/debug/.dwz @@ -1585,7 +1621,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 debian/wham-align/usr/bin/wham-build + dpkg-shlibdeps -Tdebian/wham-align.substvars debian/wham-align/usr/bin/wham-build debian/wham-align/usr/bin/wham dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect @@ -1609,10 +1645,10 @@ cd debian/.debhelper/wham-align/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/wham-align/dbgsym-root/DEBIAN/md5sums dh_builddeb - dpkg-deb --root-owner-group --build debian/.debhelper/wham-align/dbgsym-root .. -dpkg-deb: building package 'wham-align-dbgsym' in '../wham-align-dbgsym_0.1.5-8_armhf.deb'. 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_armhf.deb'. +dpkg-deb: building package 'wham-align-dbgsym' in '../wham-align-dbgsym_0.1.5-8_armhf.deb'. dpkg-genbuildinfo --build=binary -O../wham-align_0.1.5-8_armhf.buildinfo dpkg-genchanges --build=binary -O../wham-align_0.1.5-8_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1620,12 +1656,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/21473/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21473/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/2446 and its subdirectories -I: Current time: Wed Feb 5 07:07:25 -12 2025 -I: pbuilder-time-stamp: 1738782445 +I: removing directory /srv/workspace/pbuilder/21473 and its subdirectories +I: Current time: Thu Feb 6 09:08:47 +14 2025 +I: pbuilder-time-stamp: 1738782527