Diff of the two buildlogs: -- --- b1/build.log 2021-07-29 03:30:29.297300975 +0000 +++ b2/build.log 2021-07-29 03:31:16.623510397 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 30 21:52:26 -12 2022 -I: pbuilder-time-stamp: 1661939546 +I: Current time: Thu Jul 29 17:30:32 +14 2021 +I: pbuilder-time-stamp: 1627529432 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./wham-align_0.1.5-8.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.u2Bu9MlT/trustedkeys.kbx': General error -gpgv: Signature made Thu Feb 18 19:13:34 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.OM63UJNi/trustedkeys.kbx': General error +gpgv: Signature made Fri Feb 19 21:13:34 2021 +14 gpgv: using RSA key 3E99A526F5DCC0CBBF1CEEA600BAE74B343369F1 gpgv: issuer "npatra974@gmail.com" gpgv: Can't check signature: No public key @@ -32,135 +32,169 @@ 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/1762/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27715/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/27715/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27715/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='1762' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=27715 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/tmp.7Z9nnsRKP0/pbuilderrc_lEtF --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7Z9nnsRKP0/b1 --logfile b1/build.log wham-align_0.1.5-8.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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/tmp.7Z9nnsRKP0/pbuilderrc_7S1M --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7Z9nnsRKP0/b2 --logfile b2/build.log --extrapackages usrmerge wham-align_0.1.5-8.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 21:03:48 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 21:03:48 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Feb 7 2021 more - -rwsr-xr-x 1 root root 51360 Feb 7 2021 mount - -rwxr-xr-x 1 root root 14496 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 29 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Feb 7 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Feb 7 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/1762/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Feb 8 04:38 more + -rwsr-xr-x 1 root root 51360 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 14496 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 29 17:30 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 27 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Feb 8 04:38 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/27715/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +261,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main arm64 debhelper all 13.3.4 [1049 kB] -Fetched 17.9 MB in 0s (43.9 MB/s) +Fetched 17.9 MB in 0s (54.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -366,8 +400,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3097 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21522 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/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 +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -419,6 +490,7 @@ error.cpp:32:7: warning: unused variable 'lineno' [-Wunused-variable] 32 | int lineno = __LINE__; | ^~~~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings short.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++) { @@ -437,7 +509,6 @@ 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 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings short.cpp 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)) { @@ -448,6 +519,13 @@ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 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] @@ -467,49 +545,10 @@ 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)); - | ~~~~~~~^~~~~~~~~~ -In file included from hash.h:29, - from hash.cpp:27: -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; - | ^~~~ -In file included from hash.cpp:27: -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ -g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings hitset.cpp -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) { - | ~~~~^~~~~~~~ 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; | ^~~~~~ -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) { - | ~~~~^~~~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; @@ -530,6 +569,28 @@ 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)); + | ~~~~~~~^~~~~~~~~~ +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)); @@ -540,6 +601,12 @@ hitset.h:86:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 86 | int size; | ^~~~ +In file included from hash.h:29, + from hash.cpp:27: +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; + | ^~~~ In file included from embedhash.cpp:27: hash.h: In function 'uint32 murmurHash(int64*, uint32)': hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] @@ -549,6 +616,11 @@ pair.h:602:15: warning: unused variable 'offset' [-Wunused-variable] 602 | int i, j, offset, min, tmp; | ^~~~~~ +In file included from hash.cpp:27: +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::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; @@ -573,27 +645,67 @@ 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.cpp:1: +In file included from hash.h:29, + from aligner.h:25, + from aligner.cpp:25: 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.cpp: In member function 'int HitPairSet::build(HitSet*, HitSet*, uint32, uint32, bool (*)[2], bool)': -hitset.cpp:90:8: warning: unused variable 'pairMatch' [-Wunused-variable] - 90 | bool pairMatch = false; - | ^~~~~~~~~ +In file included from aligner.h:25, + from aligner.cpp:25: +hash.h: In function 'uint32 murmurHash(int64*, uint32)': +hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] + 86 | uint32 sum = 0; + | ^~~ short.cpp: In member function 'int ShortRead::load(int)': short.cpp:436:34: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] 436 | | (reverse[code] << backward_offset); | ~~~~~~~~~~~~^ +g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings hitset.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 '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); + | ^~ +short.cpp:503:42: note: directive argument in the range [0, 2147483646] + 503 | sprintf(partitions[i]->alFileName, "%s.t%d", alFileName, i); + | ^~~~~~~~ +short.cpp:503:14: note: 'sprintf' output between 4 and 268 bytes into a destination of size 256 + 503 | sprintf(partitions[i]->alFileName, "%s.t%d", alFileName, i); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +short.cpp:510:45: warning: '.t' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 510 | sprintf(partitions[i]->unFileName, "%s.t%d", unFileName, i); + | ^~ +short.cpp:510:42: note: directive argument in the range [0, 2147483646] + 510 | sprintf(partitions[i]->unFileName, "%s.t%d", unFileName, i); + | ^~~~~~~~ +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); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hitset.h:31, - from hash.h:29, - from aligner.h:25, - from aligner.cpp:25: + 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) { | ~~~~^~~~~~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings perfcounters.cpp 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; @@ -622,39 +734,15 @@ 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 hash.h:29, - from aligner.h:25, - from aligner.cpp:25: +In file included from hitset.cpp:1: 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; | ^~~~ -In file included from aligner.h:25, - from aligner.cpp:25: -hash.h: In function 'uint32 murmurHash(int64*, uint32)': -hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] - 86 | uint32 sum = 0; - | ^~~ -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); - | ^~ -short.cpp:503:42: note: directive argument in the range [0, 2147483646] - 503 | sprintf(partitions[i]->alFileName, "%s.t%d", alFileName, i); - | ^~~~~~~~ -short.cpp:503:14: note: 'sprintf' output between 4 and 268 bytes into a destination of size 256 - 503 | sprintf(partitions[i]->alFileName, "%s.t%d", alFileName, i); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -short.cpp:510:45: warning: '.t' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 510 | sprintf(partitions[i]->unFileName, "%s.t%d", unFileName, i); - | ^~ -short.cpp:510:42: note: directive argument in the range [0, 2147483646] - 510 | sprintf(partitions[i]->unFileName, "%s.t%d", unFileName, i); - | ^~~~~~~~ -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 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings perfcounters.cpp +hitset.cpp: In member function 'int HitPairSet::build(HitSet*, HitSet*, uint32, uint32, bool (*)[2], bool)': +hitset.cpp:90:8: warning: unused variable 'pairMatch' [-Wunused-variable] + 90 | bool pairMatch = false; + | ^~~~~~~~~ g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings model.cpp In file included from hitset.h:31, from hash.h:29, @@ -705,168 +793,6 @@ hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] 86 | uint32 sum = 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; - | ^ -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; - | ^~ -g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings writer.cpp -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++) { - | ~~^~~~~~~~~~~~~~~~ -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] = -hash.cpp:411:10: warning: unused variable 'seqOffset' [-Wunused-variable] - 411 | uint32 seqOffset; - | ^~~~~~~~~ -hash.cpp:413:10: warning: unused variable 'counter' [-Wunused-variable] - 413 | uint32 counter = 0; - | ^~~~~~~ -hash.cpp:414:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] - 414 | int64 * seqVector; - | ^~~~~~~~~ -hash.cpp:416:11: warning: unused variable 'target' [-Wunused-variable] - 416 | int64 * target = &tspace[8]; - | ^~~~~~ -hash.cpp:417:8: warning: unused variable 'isBloomFilter' [-Wunused-variable] - 417 | bool isBloomFilter; - | ^~~~~~~~~~~~~ -hash.cpp:418:12: warning: unused variable 'bloomFilter' [-Wunused-variable] - 418 | uint32 * bloomFilter; - | ^~~~~~~~~~~ -hash.cpp:419:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] - 419 | uint32 bloomFilterNum; - | ^~~~~~~~~~~~~~ -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], - | ^~~~ -hash.cpp:469:55: warning: unused variable 'rest1' [-Wunused-variable] - 469 | int64 * query = &ttspace[8], *rest = &ttspace[24], *rest1 = &ttspace[40], - | ^~~~~ -hash.cpp:470:8: warning: unused variable 'rest2' [-Wunused-variable] - 470 | *rest2 = &ttspace[56], *noheadkey = &ttspace[72]; - | ^~~~~ -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; - | ^~~~~~~~~~~ -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]; - | ^~~~~~~ -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]; - | ^~~~~~~ -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; - | ^~~ -hash.cpp:750:11: warning: unused variable 'diff' [-Wunused-variable] - 750 | int64 * diff = &tspace1[8], *target = &tspace2[8]; - | ^~~~ -hash.cpp:753:10: warning: unused variable 'sid' [-Wunused-variable] - 753 | uint32 sid, soffset; - | ^~~ -hash.cpp:753:15: warning: unused variable 'soffset' [-Wunused-variable] - 753 | uint32 sid, soffset; - | ^~~~~~~ -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]; - | ^~~~~~~~~ -hash.cpp:965:8: warning: unused variable 'subkey4' [-Wunused-variable] - 965 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ -hash.cpp:965:32: warning: unused variable 'subkey5' [-Wunused-variable] - 965 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; - | ^~~~~~~ -hash.cpp:973:11: warning: unused variable 'seqVector' [-Wunused-variable] - 973 | int64 * seqVector = sequence->getSequence(); - | ^~~~~~~~~ -hash.cpp: In member function 'bool HashTable::lookup(int64*, uint32)': -hash.cpp:1052:7: warning: unused variable 'num' [-Wunused-variable] - 1052 | int num; - | ^~~ -hash.cpp:1056:11: warning: unused variable 'diff' [-Wunused-variable] - 1056 | int64 * diff = &tspace1[8], *target = &tspace2[8]; - | ^~~~ -hash.cpp:1056:32: warning: unused variable 'target' [-Wunused-variable] - 1056 | int64 * diff = &tspace1[8], *target = &tspace2[8]; - | ^~~~~~ -hash.cpp:1057:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] - 1057 | int64 * seqVector; - | ^~~~~~~~~ -hash.cpp:1059:10: warning: unused variable 'sid' [-Wunused-variable] - 1059 | uint32 sid, soffset; - | ^~~ -hash.cpp:1059:15: warning: unused variable 'soffset' [-Wunused-variable] - 1059 | uint32 sid, soffset; - | ^~~~~~~ -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++) -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]; - | ^~~~ -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; - | ^~~~~~ -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; - | ^~~~~~ -hash.cpp:1690:5: warning: label 'restart' defined but not used [-Wunused-label] - 1690 | restart: if (buckets[bucketId] == HASH_EMPTY - | ^~~~~~~ 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; @@ -900,134 +826,7 @@ model.cpp:198:26: warning: variable 'p2' set but not used [-Wunused-but-set-variable] 198 | double nSpace, p0, p1, p2; | ^~ -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; - | ^~~~~~~~ -embedhash.cpp: In member function 'int EmbedHashTable::preProcessEnd()': -embedhash.cpp:137:16: warning: unused variable 'ln2' [-Wunused-variable] - 137 | const double ln2 = log(2); - | ^~~ -embedhash.cpp: In member function 'void EmbedHashTable::setScanThreshold(double)': -embedhash.cpp:253:9: warning: unused variable 'sum' [-Wunused-variable] - 253 | int64 sum = 0; - | ^~~ -embedhash.cpp:255:9: warning: unused variable 'top' [-Wunused-variable] - 255 | int64 top = total - total * r; - | ^~~ -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] = -embedhash.cpp:328:10: warning: unused variable 'seqOffset' [-Wunused-variable] - 328 | uint32 seqOffset; - | ^~~~~~~~~ -embedhash.cpp:330:10: warning: unused variable 'counter' [-Wunused-variable] - 330 | uint32 counter = 0; - | ^~~~~~~ -embedhash.cpp:331:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] - 331 | int64 * seqVector; - | ^~~~~~~~~ -embedhash.cpp:333:11: warning: unused variable 'target' [-Wunused-variable] - 333 | int64 * target = &tspace[8]; - | ^~~~~~ -embedhash.cpp:334:8: warning: unused variable 'isBloomFilter' [-Wunused-variable] - 334 | bool isBloomFilter; - | ^~~~~~~~~~~~~ -embedhash.cpp:335:12: warning: unused variable 'bloomFilter' [-Wunused-variable] - 335 | uint32 * bloomFilter; - | ^~~~~~~~~~~ -embedhash.cpp:336:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] - 336 | uint32 bloomFilterNum; - | ^~~~~~~~~~~~~~ -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; - | ^~~ -embedhash.cpp:387:34: warning: variable 'startOffset' set but not used [-Wunused-but-set-variable] - 387 | uint32 seqOffset, entryOffset, startOffset; - | ^~~~~~~~~~~ -embedhash.cpp:389:11: warning: unused variable 'diff' [-Wunused-variable] - 389 | int64 * diff = &tspace1[8], *target = &tspace2[8]; - | ^~~~ -embedhash.cpp:392:10: warning: unused variable 'sid' [-Wunused-variable] - 392 | uint32 sid, soffset; - | ^~~ -embedhash.cpp:392:15: warning: unused variable 'soffset' [-Wunused-variable] - 392 | uint32 sid, soffset; - | ^~~~~~~ -In file included from hitset.h:31, - from writer.h:26, - from writer.cpp:21: -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; - | ^~~~~~ -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 | } - | ^ -pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': -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)); - | ~~~~~~~^~~~~~~~~~ -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 writer.h:26, - from writer.cpp:21: -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; - | ^~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings writer.cpp In file included from hitset.h:31, from hash.h:29, from aligner.h:25, @@ -1036,75 +835,10 @@ 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 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 }; - | ^~~~~~~~~~~~~ -In file included from pair.h:26, - from hitset.h:31, - from hash.h:29, - from hash.cpp:27: -rdtsc.h: In function 'long long unsigned int curtick()': -rdtsc.h:32:10: warning: 'tick' is used uninitialized in this function [-Wuninitialized] - 32 | return tick; - | ^~~~ -writer.cpp: In member function 'void SimpleWriter::writeField(int64*, int64*, strand)': -writer.cpp:154:27: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 154 | j = BITS_PER_LONGWORD - (length * BITS_PER_BASE) & BITS_LONGWORD_MASK; -writer.cpp:148:10: warning: unused variable 'sid' [-Wunused-variable] - 148 | uint32 sid = 0, soffset = 0; - | ^~~ -writer.cpp:148:19: warning: unused variable 'soffset' [-Wunused-variable] - 148 | uint32 sid = 0, soffset = 0; - | ^~~~~~~ -writer.cpp: In member function 'void SamWriter::writeValidAlignment(int, HitSet*)': -writer.cpp:271:7: warning: unused variable 'i' [-Wunused-variable] - 271 | int i, j, k, h, lastDiff; - | ^ -writer.cpp:271:10: warning: unused variable 'j' [-Wunused-variable] - 271 | int i, j, k, h, lastDiff; - | ^ -writer.cpp:271:13: warning: unused variable 'k' [-Wunused-variable] - 271 | int i, j, k, h, lastDiff; - | ^ -writer.cpp:271:19: warning: unused variable 'lastDiff' [-Wunused-variable] - 271 | int i, j, k, h, lastDiff; - | ^~~~~~~~ -writer.cpp:272:9: warning: unused variable 'code1' [-Wunused-variable] - 272 | int64 code1, code2; - | ^~~~~ -writer.cpp:272:16: warning: unused variable 'code2' [-Wunused-variable] - 272 | int64 code1, code2; - | ^~~~~ -writer.cpp:278:10: warning: unused variable 'p' [-Wunused-variable] - 278 | double p, sump; - | ^ -writer.cpp:278:13: warning: unused variable 'sump' [-Wunused-variable] - 278 | double p, sump; - | ^~~~ -writer.cpp:279:30: warning: unused variable 'tag' [-Wunused-variable] - 279 | char qseq[128], rseq[128], tag[128]; - | ^~~ -writer.cpp:281:8: warning: unused variable 'shortread' [-Wunused-variable] - 281 | char shortread[256]; - | ^~~~~~~~~ -writer.cpp: In member function 'void SamWriter::getCIGAR(char*, char*, char*, ErrorVector)': -writer.cpp:382:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 382 | for (i = 0, j = 0; i < strlen(query); i++, j++) { - | ~~^~~~~~~~~~~~~~~ -writer.cpp: In member function 'void SamWriter::getMDfield(char*, char*, char*, ErrorVector)': -writer.cpp:431:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 431 | for (i = 0, j = 0; i < strlen(query); 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; | ^~~~~~ -writer.cpp: In member function 'void SamPairWriter::writeValidAlignment(int, HitSet*)': -writer.cpp:619:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 619 | if (!mate1Unmatch && !mate2Unmatch & sid1 == sid2) { - | ~~~~~^~~~~~~ pair.h: In static member function 'static bool PairAligner::pairAlignBitVector64(int64*, int64*, int, int, int)': pair.h:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; @@ -1142,6 +876,24 @@ 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) + | ~~^~~~~~~~~~~~~ +embedhash.cpp: In member function 'int EmbedHashTable::preProcessEnd()': +embedhash.cpp:137:16: warning: unused variable 'ln2' [-Wunused-variable] + 137 | const double ln2 = log(2); + | ^~~ +embedhash.cpp: In member function 'void EmbedHashTable::setScanThreshold(double)': +embedhash.cpp:253:9: warning: unused variable 'sum' [-Wunused-variable] + 253 | int64 sum = 0; + | ^~~ +embedhash.cpp:255:9: warning: unused variable 'top' [-Wunused-variable] + 255 | int64 top = total - total * r; + | ^~~ +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) { + | ~~~~^~~~~~~~~~~~~~~~ sequence.cpp: In member function 'void CompactSequence::extractFileName(char*, char*)': sequence.cpp:97:10: warning: unused variable 'str' [-Wunused-variable] 97 | char * str; @@ -1150,6 +902,34 @@ 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)(((long unsigned int)curOverflowEntry) * 4)))' may be undefined [-Wsequence-point] + 369 | overflowPool[curOverflowEntry] = +embedhash.cpp:328:10: warning: unused variable 'seqOffset' [-Wunused-variable] + 328 | uint32 seqOffset; + | ^~~~~~~~~ +embedhash.cpp:330:10: warning: unused variable 'counter' [-Wunused-variable] + 330 | uint32 counter = 0; + | ^~~~~~~ +embedhash.cpp:331:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] + 331 | int64 * seqVector; + | ^~~~~~~~~ +embedhash.cpp:333:11: warning: unused variable 'target' [-Wunused-variable] + 333 | int64 * target = &tspace[8]; + | ^~~~~~ +embedhash.cpp:334:8: warning: unused variable 'isBloomFilter' [-Wunused-variable] + 334 | bool isBloomFilter; + | ^~~~~~~~~~~~~ +embedhash.cpp:335:12: warning: unused variable 'bloomFilter' [-Wunused-variable] + 335 | uint32 * bloomFilter; + | ^~~~~~~~~~~ +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++) { + | ~~^~~~~~~~~~~~~~~~ sequence.cpp:309:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 309 | ( i = 0; i < nSeq; i++) | ~~^~~~~~ @@ -1159,23 +939,74 @@ 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++) { | ~~^~~~~~~~~~~~~~ +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] = +hash.cpp:411:10: warning: unused variable 'seqOffset' [-Wunused-variable] + 411 | uint32 seqOffset; + | ^~~~~~~~~ +hash.cpp:413:10: warning: unused variable 'counter' [-Wunused-variable] + 413 | uint32 counter = 0; + | ^~~~~~~ +hash.cpp:414:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] + 414 | int64 * seqVector; + | ^~~~~~~~~ +hash.cpp:416:11: warning: unused variable 'target' [-Wunused-variable] + 416 | int64 * target = &tspace[8]; + | ^~~~~~ sequence.cpp:410:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 410 | if (lenSegmentN > numError + 1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +hash.cpp:417:8: warning: unused variable 'isBloomFilter' [-Wunused-variable] + 417 | bool isBloomFilter; + | ^~~~~~~~~~~~~ +hash.cpp:418:12: warning: unused variable 'bloomFilter' [-Wunused-variable] + 418 | uint32 * bloomFilter; + | ^~~~~~~~~~~ +hash.cpp:419:10: warning: unused variable 'bloomFilterNum' [-Wunused-variable] + 419 | uint32 bloomFilterNum; + | ^~~~~~~~~~~~~~ +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; + | ^~~ +embedhash.cpp:387:34: warning: variable 'startOffset' set but not used [-Wunused-but-set-variable] + 387 | uint32 seqOffset, entryOffset, startOffset; + | ^~~~~~~~~~~ sequence.cpp:429:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 429 | if (lenSegmentN > numError + 1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -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 }; - | ^~~~~~~~~~~~~ +embedhash.cpp:389:11: warning: unused variable 'diff' [-Wunused-variable] + 389 | int64 * diff = &tspace1[8], *target = &tspace2[8]; + | ^~~~ +embedhash.cpp:392:10: warning: unused variable 'sid' [-Wunused-variable] + 392 | uint32 sid, soffset; + | ^~~ +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; | ^~~~~~~~ +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], + | ^~~~ +hash.cpp:469:55: warning: unused variable 'rest1' [-Wunused-variable] + 469 | int64 * query = &ttspace[8], *rest = &ttspace[24], *rest1 = &ttspace[40], + | ^~~~~ +hash.cpp:470:8: warning: unused variable 'rest2' [-Wunused-variable] + 470 | *rest2 = &ttspace[56], *noheadkey = &ttspace[72]; + | ^~~~~ +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; + | ^~~~~~~~~~~ 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++) { @@ -1204,6 +1035,16 @@ sequence.cpp:521:54: warning: unused variable 'nNSegment' [-Wunused-variable] 521 | int64 numFileChar, numFileNSeg, numFileSeq, nChar, nNSegment; | ^~~~~~~~~ +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]; + | ^~~~~~~ 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) { @@ -1212,15 +1053,29 @@ sequence.cpp:804:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] 804 | if (ret != size) { | ~~~~^~~~~~~ -In file included from pair.h:26, - from hitset.h:31, - from hash.h:29, - from embedhash.cpp:27: -rdtsc.h: In function 'long long unsigned int curtick()': -rdtsc.h:32:10: warning: 'tick' is used uninitialized in this function [-Wuninitialized] - 32 | return tick; - | ^~~~ -g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings builder.cpp +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]; + | ^~~~~~~ +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; + | ^~~ +hash.cpp:750:11: warning: unused variable 'diff' [-Wunused-variable] + 750 | int64 * diff = &tspace1[8], *target = &tspace2[8]; + | ^~~~ +hash.cpp:753:10: warning: unused variable 'sid' [-Wunused-variable] + 753 | uint32 sid, soffset; + | ^~~ +hash.cpp:753:15: warning: unused variable 'soffset' [-Wunused-variable] + 753 | uint32 sid, soffset; + | ^~~~~~~ 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) { @@ -1228,13 +1083,59 @@ 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 '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]; + | ^~~~~~~~~ +hash.cpp:965:8: warning: unused variable 'subkey4' [-Wunused-variable] + 965 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ +hash.cpp:965:32: warning: unused variable 'subkey5' [-Wunused-variable] + 965 | *subkey4 = &tspace[88], *subkey5 = &tspace[104]; + | ^~~~~~~ +hash.cpp:973:11: warning: unused variable 'seqVector' [-Wunused-variable] + 973 | int64 * seqVector = sequence->getSequence(); + | ^~~~~~~~~ +hash.cpp: In member function 'bool HashTable::lookup(int64*, uint32)': +hash.cpp:1052:7: warning: unused variable 'num' [-Wunused-variable] + 1052 | int num; + | ^~~ +hash.cpp:1056:11: warning: unused variable 'diff' [-Wunused-variable] + 1056 | int64 * diff = &tspace1[8], *target = &tspace2[8]; + | ^~~~ +hash.cpp:1056:32: warning: unused variable 'target' [-Wunused-variable] + 1056 | int64 * diff = &tspace1[8], *target = &tspace2[8]; + | ^~~~~~ +hash.cpp:1057:11: warning: variable 'seqVector' set but not used [-Wunused-but-set-variable] + 1057 | int64 * seqVector; + | ^~~~~~~~~ +hash.cpp:1059:10: warning: unused variable 'sid' [-Wunused-variable] + 1059 | uint32 sid, soffset; + | ^~~ +hash.cpp:1059:15: warning: unused variable 'soffset' [-Wunused-variable] + 1059 | 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.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++) +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++) + | ~~^~~~~~~~~~~~~~~~~~~~ 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: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 'int Aligner::build(char*)': aligner.cpp:724:16: warning: unused variable 'i' [-Wunused-variable] 724 | unsigned int i, j; @@ -1291,6 +1192,13 @@ aligner.cpp:962:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 962 | for (i5 = i4; i5 < lenPartition * (nPartition - 5); i5 += | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:983:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 983 | for (i = 0; i < nHashTable; i++) { | ~~^~~~~~~~~~~~ @@ -1304,6 +1212,13 @@ aligner.cpp:1039:7: warning: unused variable 'nHit' [-Wunused-variable] 1039 | int nHit = 0; | ^~~~ +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; + | ^~~~~~ +hash.cpp:1690:5: warning: label 'restart' defined but not used [-Wunused-label] + 1690 | restart: if (buckets[bucketId] == HASH_EMPTY + | ^~~~~~~ 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; @@ -1385,6 +1300,174 @@ 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') + | ~~~^~~~~~~~~~~~~~~~~~ +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 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 hitset.h:31, + from writer.h:26, + from writer.cpp:21: +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 pair.h:26, + from hitset.h:31, + from hash.h:29, + from embedhash.cpp:27: +rdtsc.h: In function 'long long unsigned int curtick()': +rdtsc.h:32:10: warning: 'tick' is used uninitialized in this function [-Wuninitialized] + 32 | return tick; + | ^~~~ +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: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)); + | ~~~~~~~^~~~~~~~~~ +In file included from writer.h:26, + from writer.cpp:21: +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 '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 | } + | ^ +writer.cpp: In member function 'void SimpleWriter::writeField(int64*, int64*, strand)': +writer.cpp:154:27: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 154 | j = BITS_PER_LONGWORD - (length * BITS_PER_BASE) & BITS_LONGWORD_MASK; +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 }; + | ^~~~~~~~~~~~~ +writer.cpp:148:10: warning: unused variable 'sid' [-Wunused-variable] + 148 | uint32 sid = 0, soffset = 0; + | ^~~ +writer.cpp:148:19: warning: unused variable 'soffset' [-Wunused-variable] + 148 | uint32 sid = 0, soffset = 0; + | ^~~~~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/wham-align-0.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fsigned-char -O3 -Wno-write-strings builder.cpp +writer.cpp: In member function 'void SamWriter::writeValidAlignment(int, HitSet*)': +writer.cpp:271:7: warning: unused variable 'i' [-Wunused-variable] + 271 | int i, j, k, h, lastDiff; + | ^ +writer.cpp:271:10: warning: unused variable 'j' [-Wunused-variable] + 271 | int i, j, k, h, lastDiff; + | ^ +writer.cpp:271:13: warning: unused variable 'k' [-Wunused-variable] + 271 | int i, j, k, h, lastDiff; + | ^ +writer.cpp:271:19: warning: unused variable 'lastDiff' [-Wunused-variable] + 271 | int i, j, k, h, lastDiff; + | ^~~~~~~~ +writer.cpp:272:9: warning: unused variable 'code1' [-Wunused-variable] + 272 | int64 code1, code2; + | ^~~~~ +writer.cpp:272:16: warning: unused variable 'code2' [-Wunused-variable] + 272 | int64 code1, code2; + | ^~~~~ +writer.cpp:278:10: warning: unused variable 'p' [-Wunused-variable] + 278 | double p, sump; + | ^ +writer.cpp:278:13: warning: unused variable 'sump' [-Wunused-variable] + 278 | double p, sump; + | ^~~~ +writer.cpp:279:30: warning: unused variable 'tag' [-Wunused-variable] + 279 | char qseq[128], rseq[128], tag[128]; + | ^~~ +writer.cpp:281:8: warning: unused variable 'shortread' [-Wunused-variable] + 281 | char shortread[256]; + | ^~~~~~~~~ +writer.cpp: In member function 'void SamWriter::getCIGAR(char*, char*, char*, ErrorVector)': +writer.cpp:382:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 382 | for (i = 0, j = 0; i < strlen(query); i++, j++) { + | ~~^~~~~~~~~~~~~~~ +writer.cpp: In member function 'void SamWriter::getMDfield(char*, char*, char*, ErrorVector)': +writer.cpp:431:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 431 | for (i = 0, j = 0; i < strlen(query); i++, j++) { + | ~~^~~~~~~~~~~~~~~ +writer.cpp: In member function 'void SamPairWriter::writeValidAlignment(int, HitSet*)': +writer.cpp:619:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 619 | if (!mate1Unmatch && !mate2Unmatch & sid1 == sid2) { + | ~~~~~^~~~~~~ +In file included from pair.h:26, + from hitset.h:31, + from hash.h:29, + from hash.cpp:27: +rdtsc.h: In function 'long long unsigned int curtick()': +rdtsc.h:32:10: warning: 'tick' is used uninitialized in this function [-Wuninitialized] + 32 | return 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 }; + | ^~~~~~~~~~~~~ +sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': +sequence.cpp:506:15: warning: 'offsetInOrgSeq' may be used uninitialized in this function [-Wmaybe-uninitialized] + 506 | itree->flush(offsetInCmptSeq, 0, curSeq, offsetInOrgSeq); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) { + | ~~~~^~~~~~~~ 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); @@ -1392,6 +1475,10 @@ main.cpp:269:18: note: directive argument in the range [0, 2147483647] 269 | sprintf(buf, ".t%d ", 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; + | ^~~~~~ main.cpp:269:12: note: 'sprintf' output between 5 and 14 bytes into a destination of size 10 269 | sprintf(buf, ".t%d ", i); | ~~~~~~~^~~~~~~~~~~~~~~~~ @@ -1404,22 +1491,6 @@ main.cpp:276:12: note: 'sprintf' output between 4 and 13 bytes into a destination of size 10 276 | sprintf(buf, ".t%d", i); | ~~~~~~~^~~~~~~~~~~~~~~~ -sequence.cpp: In member function 'int CompactSequence::build(char**, int, int, int)': -sequence.cpp:506:15: warning: 'offsetInOrgSeq' may be used uninitialized in this function [-Wmaybe-uninitialized] - 506 | itree->flush(offsetInCmptSeq, 0, curSeq, offsetInOrgSeq); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) { - | ~~~~^~~~~~~~ -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:684:15: warning: unused variable 'num' [-Wunused-variable] 684 | int i, p, num, base, Cscore; @@ -1457,6 +1528,15 @@ hash.h:86:10: warning: unused variable 'sum' [-Wunused-variable] 86 | uint32 sum = 0; | ^~~ +In file included from aligner.h:25, + from aligner.cpp:25: +hash.h: In member function 'int Aligner::initLookupArray()': +hash.h:353:18: warning: 'keySpan' may be used uninitialized in this function [-Wmaybe-uninitialized] + 353 | widthKeySpan = keySpan; + | ~~~~~~~~~~~~~^~~~~~~~~ +aligner.cpp:360:7: note: 'keySpan' was declared here + 360 | int keySpan; + | ^~~~~~~ builder.cpp: In function 'int getArguVal(char*)': builder.cpp:115:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 115 | else if (*c = 'g' || *c == 'G') @@ -1473,15 +1553,6 @@ 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 aligner.h:25, - from aligner.cpp:25: -hash.h: In member function 'int Aligner::initLookupArray()': -hash.h:353:18: warning: 'keySpan' may be used uninitialized in this function [-Wmaybe-uninitialized] - 353 | widthKeySpan = keySpan; - | ~~~~~~~~~~~~~^~~~~~~~~ -aligner.cpp:360:7: note: 'keySpan' was declared here - 360 | int keySpan; - | ^~~~~~~ sequence.cpp: In static member function 'static void CompactSequence::compose(char*, int, int64*)': sequence.cpp:672:19: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] 672 | | (code >> (forward_offset + BITS_PER_BASE - BITS_PER_LONGWORD)); @@ -1494,7 +1565,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/wham-align-0.1.5' dh_auto_test - rm -fr -- /tmp/dh-xdg-rundir-FbY8Iu_g + rm -fr -- /tmp/dh-xdg-rundir-mgEElJ3F create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/wham-align.substvars @@ -1529,10 +1600,10 @@ 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-build.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 + 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 dh_perl dh_link dh_strip_nondeterminism @@ -1592,8 +1663,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_arm64.deb'. dpkg-deb: building package 'wham-align-dbgsym' in '../wham-align-dbgsym_0.1.5-8_arm64.deb'. +dpkg-deb: building package 'wham-align' in '../wham-align_0.1.5-8_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../wham-align_0.1.5-8_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1601,12 +1672,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/27715/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27715/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/1762 and its subdirectories -I: Current time: Tue Aug 30 21:53:28 -12 2022 -I: pbuilder-time-stamp: 1661939608 +I: removing directory /srv/workspace/pbuilder/27715 and its subdirectories +I: Current time: Thu Jul 29 17:31:15 +14 2021 +I: pbuilder-time-stamp: 1627529475