Diff of the two buildlogs: -- --- b1/build.log 2021-08-20 01:47:07.491572015 +0000 +++ b2/build.log 2021-08-20 01:50:47.387384742 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 19 13:44:21 -12 2021 -I: pbuilder-time-stamp: 1629423861 +I: Current time: Thu Sep 22 22:10:11 +14 2022 +I: pbuilder-time-stamp: 1663834211 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 [./ots_0.5.0-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.hXwoc_yL/trustedkeys.kbx': General error -gpgv: Signature made Tue Feb 2 03:50:48 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.7DNWyGbj/trustedkeys.kbx': General error +gpgv: Signature made Wed Feb 3 05:50:48 2021 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ots_0.5.0-6.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying makefile-dependencies.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20641/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8667/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-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/8667/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8667/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='20641' - 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=8667 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.K4ydNFvace/pbuilderrc_DygB --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.K4ydNFvace/b1 --logfile b1/build.log ots_0.5.0-6.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.K4ydNFvace/pbuilderrc_iteW --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.K4ydNFvace/b2 --logfile b2/build.log ots_0.5.0-6.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 codethink10-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 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 Jul 28 07:09 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 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 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 Jul 28 07:09 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 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 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 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 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 14 21:25 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 Jul 28 07:09 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 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/20641/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 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 Jul 29 2021 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 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 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 Jul 29 2021 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 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 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 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 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 Sep 22 22:10 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 18 05:48 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 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 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 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/8667/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +393,7 @@ Get: 153 http://deb.debian.org/debian bullseye/main arm64 libpopt0 arm64 1.18-2 [48.8 kB] Get: 154 http://deb.debian.org/debian bullseye/main arm64 libpopt-dev arm64 1.18-2 [55.0 kB] Get: 155 http://deb.debian.org/debian bullseye/main arm64 libxml2-dev arm64 2.9.10+dfsg-6.7 [754 kB] -Fetched 187 MB in 6s (32.7 MB/s) +Fetched 187 MB in 4s (49.7 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.) @@ -1021,7 +1055,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/ots-0.5.0/ && 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 > ../ots_0.5.0-6_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/ots-0.5.0/ && 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 > ../ots_0.5.0-6_source.changes dpkg-buildpackage: info: source package ots dpkg-buildpackage: info: source version 0.5.0-6 dpkg-buildpackage: info: source distribution unstable @@ -1186,14 +1221,13 @@ Making all in src make[3]: Entering directory '/build/ots-0.5.0/src' gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ots.o ots.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o article.lo article.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dictionary.lo dictionary.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader.lo grader.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tf.lo grader-tf.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tc.lo grader-tc.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o html.lo html.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.c -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c article.c -fPIC -DPIC -o .libs/article.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o article.lo article.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dictionary.lo dictionary.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader.lo grader.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tf.lo grader-tf.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tc.lo grader-tc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o html.lo html.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.c ots.c: In function 'main': ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] 130 | if (!ots_load_xml_dictionary (Art, dictionary_file)) @@ -1204,57 +1238,37 @@ libots.h:101:73: note: expected 'const unsigned char *' but argument is of type 'char *' 101 | gboolean ots_load_xml_dictionary (OtsArticle * Doc,unsigned const char *name); | ~~~~~~~~~~~~~~~~~~~~~^~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c article.c -fPIC -DPIC -o .libs/article.o ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] 46 | int c,n_args=0; | ^ -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader.c -fPIC -DPIC -o .libs/grader.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader-tc.c -fPIC -DPIC -o .libs/grader-tc.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.c -fPIC -DPIC -o .libs/parser.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c dictionary.c -fPIC -DPIC -o .libs/dictionary.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader.c -fPIC -DPIC -o .libs/grader.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.o -article.c: In function 'ots_append_word': -article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; - | ^~~~~ - | | - | const unsigned char * -In file included from article.c:23: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] - 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); - | ^~~~~ - | | - | const unsigned char * -In file included from /usr/include/glib-2.0/glib.h:82, +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c dictionary.c -fPIC -DPIC -o .libs/dictionary.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.c -fPIC -DPIC -o .libs/parser.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text.lo text.c +html.c: In function 'ots_get_line_HTML': +html.c:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 62 | utf8_data = text->str; + | ^ +html.c: In function 'ots_get_doc_HTML': +html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] + 105 | g_string_append_len (text, utf8_data, line_len); + | ^~~~~~~~~ + | | + | unsigned char * +In file included from /usr/include/glib-2.0/glib/giochannel.h:34, + from /usr/include/glib-2.0/glib.h:54, from libots.h:24, - from article.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; - | ~~~~~~~~~~~~~^~~ -grader.c: In function 'ots_grade_structure': -grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 45 | if (Doc->lines!=NULL) - | ^~ -grader.c:47:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 47 | if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ - | ^~ -grader-tc.c: In function 'ots_line_add_wordlist': -grader-tc.c:65:62: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] - 65 | if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); - | ^~~~~~~~~~~~~~~~ - | | - | char * -In file included from grader-tc.c:24: -libots.h:97:62: note: expected 'const unsigned char *' but argument is of type 'char *' - 97 | void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -grader-tc.c: In function 'ots_grade_line': -grader-tc.c:112:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 112 | tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); - | ^ + from html.c:24: +/usr/include/glib-2.0/glib/gstring.h:84:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' + 84 | const gchar *val, + | ~~~~~~~~~~~~~~~~~^~~ +html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 112 | utf8_data = text->str; + | ^ parser.c: In function 'ots_parse_file': parser.c:68:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 68 | strncpy (buffer + total_read, fread_buffer, nread); @@ -1317,40 +1331,6 @@ libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text.lo text.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stemmer.lo stemmer.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o highlighter.lo highlighter.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wordlist.lo wordlist.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.c -grader-tf.c: In function 'ots_calc_idf': -grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] - 108 | return -log(doc_word_count/term_count); - | ^~~ -grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' -grader-tf.c:25:1: note: include '' or provide a declaration of 'log' - 24 | #include "libots.h" - +++ |+#include - 25 | -html.c: In function 'ots_get_line_HTML': -html.c:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - 62 | utf8_data = text->str; - | ^ -html.c: In function 'ots_get_doc_HTML': -html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] - 105 | g_string_append_len (text, utf8_data, line_len); - | ^~~~~~~~~ - | | - | unsigned char * -In file included from /usr/include/glib-2.0/glib/giochannel.h:34, - from /usr/include/glib-2.0/glib.h:54, - from libots.h:24, - from html.c:24: -/usr/include/glib-2.0/glib/gstring.h:84:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' - 84 | const gchar *val, - | ~~~~~~~~~~~~~~~~~^~~ -html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - 112 | utf8_data = text->str; - | ^ dictionary.c: In function 'ots_load_xml_dictionary': dictionary.c:321:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 321 | idf_key=xmlGetProp(tf_words,"idf"); @@ -1386,11 +1366,63 @@ libots.h:114:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 114 | OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); | ~~~~~~~~~~~~^~~~ +article.c: In function 'ots_append_word': +article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; + | ^~~~~ + | | + | const unsigned char * +In file included from article.c:23: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] + 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); + | ^~~~~ + | | + | const unsigned char * +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from article.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; + | ~~~~~~~~~~~~~^~~ +grader-tc.c: In function 'ots_line_add_wordlist': +grader-tc.c:65:62: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] + 65 | if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); + | ^~~~~~~~~~~~~~~~ + | | + | char * +In file included from grader-tc.c:24: +libots.h:97:62: note: expected 'const unsigned char *' but argument is of type 'char *' + 97 | void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +grader-tc.c: In function 'ots_grade_line': +grader-tc.c:112:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 112 | tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); + | ^ +grader-tf.c: In function 'ots_calc_idf': +grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] + 108 | return -log(doc_word_count/term_count); + | ^~~ +grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' +grader-tf.c:25:1: note: include '' or provide a declaration of 'log' + 24 | #include "libots.h" + +++ |+#include + 25 | +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stemmer.lo stemmer.c +grader.c: In function 'ots_grade_structure': +grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 45 | if (Doc->lines!=NULL) + | ^~ +grader.c:47:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 47 | if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ + | ^~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o highlighter.lo highlighter.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wordlist.lo wordlist.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c text.c -fPIC -DPIC -o .libs/text.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.o text.c: In function 'ots_get_line_text': text.c:50:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 50 | utf8_data = text->str; @@ -1411,6 +1443,9 @@ text.c:85:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 85 | utf8_data = text->str; | ^ +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.o stemmer.c: In function 'ots_stem_break': stemmer.c:81:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 81 | clen = strlen (comp); @@ -1791,12 +1826,12 @@ /usr/include/glib-2.0/glib/glist.h:132:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} 132 | GList* g_list_first (GList *list); | ~~~~~~~~~~~~~~~~~~^~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/aarch64-linux-gnu article.lo dictionary.lo grader.lo grader-tf.lo grader-tc.lo html.lo parser.lo text.lo stemmer.lo highlighter.lo wordlist.lo relations.lo -lglib-2.0 -lxml2 +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/aarch64-linux-gnu article.lo dictionary.lo grader.lo grader-tf.lo grader-tc.lo html.lo parser.lo text.lo stemmer.lo highlighter.lo wordlist.lo relations.lo -lglib-2.0 -lxml2 libtool: link: gcc -shared -fPIC -DPIC .libs/article.o .libs/dictionary.o .libs/grader.o .libs/grader-tf.o .libs/grader-tc.o .libs/html.o .libs/parser.o .libs/text.o .libs/stemmer.o .libs/highlighter.o .libs/wordlist.o .libs/relations.o -lglib-2.0 -lxml2 -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libots-1.so.0 -o .libs/libots-1.so.0.5.0 libtool: link: (cd ".libs" && rm -f "libots-1.so.0" && ln -s "libots-1.so.0.5.0" "libots-1.so.0") libtool: link: (cd ".libs" && rm -f "libots-1.so" && ln -s "libots-1.so.0.5.0" "libots-1.so") libtool: link: ( cd ".libs" && rm -f "libots-1.la" && ln -s "../libots-1.la" "libots-1.la" ) -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o ots ots.o libots-1.la -lglib-2.0 -lxml2 -lpopt +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o ots ots.o libots-1.la -lglib-2.0 -lxml2 -lpopt libtool: link: gcc -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/ots ots.o ./.libs/libots-1.so -lglib-2.0 -lxml2 -lpopt make[3]: Leaving directory '/build/ots-0.5.0/src' Making all in dic @@ -1839,7 +1874,7 @@ scanobj_options="--verbose"; \ fi; \ fi; \ - CC="/bin/bash ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LD="/bin/bash ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" RUN="/bin/bash ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=" -Wl,-z,relro -Wl,-z,now" \ + CC="/bin/sh ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LD="/bin/sh ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" RUN="/bin/sh ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -fdebug-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=" -Wl,-z,relro -Wl,-z,now" \ gtkdoc-scangobj --type-init-func="g_type_init ()" $scanobj_options --module=ots; \ else \ for i in ots.actions ots.args ots.hierarchy ots.interfaces ots.prerequisites ots.signals ; do \ @@ -1931,14 +1966,14 @@ make[2]: Entering directory '/build/ots-0.5.0/src' make[3]: Entering directory '/build/ots-0.5.0/src' /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libots-1.so.0.5.0 /build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu/libots-1.so.0.5.0 libtool: install: (cd /build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libots-1.so.0.5.0 libots-1.so.0 || { rm -f libots-1.so.0 && ln -s libots-1.so.0.5.0 libots-1.so.0; }; }) libtool: install: (cd /build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libots-1.so.0.5.0 libots-1.so || { rm -f libots-1.so && ln -s libots-1.so.0.5.0 libots-1.so; }; }) libtool: install: /usr/bin/install -c .libs/libots-1.lai /build/ots-0.5.0/debian/tmp/usr/lib/aarch64-linux-gnu/libots-1.la libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c ots '/build/ots-0.5.0/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c ots '/build/ots-0.5.0/debian/tmp/usr/bin' libtool: warning: 'libots-1.la' has not been installed in '/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/ots /build/ots-0.5.0/debian/tmp/usr/bin/ots /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/include/libots-1/ots' @@ -2004,9 +2039,9 @@ dh_builddeb dpkg-deb: building package 'libots-dev' in '../libots-dev_0.5.0-6_arm64.deb'. dpkg-deb: building package 'libots0' in '../libots0_0.5.0-6_arm64.deb'. -dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-6_arm64.deb'. -dpkg-deb: building package 'ots-dbgsym' in '../ots-dbgsym_0.5.0-6_arm64.deb'. dpkg-deb: building package 'ots' in '../ots_0.5.0-6_arm64.deb'. +dpkg-deb: building package 'ots-dbgsym' in '../ots-dbgsym_0.5.0-6_arm64.deb'. +dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-6_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ots_0.5.0-6_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2014,12 +2049,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/8667/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8667/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/20641 and its subdirectories -I: Current time: Thu Aug 19 13:47:06 -12 2021 -I: pbuilder-time-stamp: 1629424026 +I: removing directory /srv/workspace/pbuilder/8667 and its subdirectories +I: Current time: Thu Sep 22 22:13:46 +14 2022 +I: pbuilder-time-stamp: 1663834426