Diff of the two buildlogs: -- --- b1/build.log 2021-12-08 14:46:41.793061183 +0000 +++ b2/build.log 2021-12-08 14:49:15.876285817 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 10 09:07:22 -12 2023 -I: pbuilder-time-stamp: 1673384842 +I: Current time: Thu Dec 9 04:46:43 +14 2021 +I: pbuilder-time-stamp: 1638974803 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri Aug 17 11:44:15 2018 -12 +gpgv: Signature made Sat Aug 18 13:44:15 2018 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ots_0.5.0-3.dsc @@ -30,136 +30,170 @@ dpkg-source: info: applying makefile-dependencies.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1883586/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2041023/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/2041023/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2041023/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0f4ae66511d84b59b1648c8449ae9054' - 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='1883586' - PS1='# ' - PS2='> ' + INVOCATION_ID=f36408094c534a9fae69830fc8bbbbea + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2041023 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.DwLWQrFGSe/pbuilderrc_C6BA --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.DwLWQrFGSe/b1 --logfile b1/build.log ots_0.5.0-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.DwLWQrFGSe/pbuilderrc_WOUQ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.DwLWQrFGSe/b2 --logfile b2/build.log ots_0.5.0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 10 16:21 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/1883586/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 9 04:46 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 8 11:58 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/2041023/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -398,7 +432,7 @@ Get: 189 http://deb.debian.org/debian buster/main amd64 libpopt0 amd64 1.16-12 [49.4 kB] Get: 190 http://deb.debian.org/debian buster/main amd64 libpopt-dev amd64 1.16-12 [51.0 kB] Get: 191 http://deb.debian.org/debian buster/main amd64 libxml2-dev amd64 2.9.4+dfsg1-7+deb10u2 [784 kB] -Fetched 201 MB in 3s (79.0 MB/s) +Fetched 201 MB in 5s (40.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -1220,7 +1254,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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-3_source.changes +hostname: Name or service not known +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-3_source.changes dpkg-buildpackage: info: source package ots dpkg-buildpackage: info: source version 0.5.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1380,25 +1415,25 @@ make[1]: Leaving directory '/build/ots-0.5.0' dh_auto_build -O--parallel - make -j16 + make -j15 make[1]: Entering directory '/build/ots-0.5.0' make all-recursive make[2]: Entering directory '/build/ots-0.5.0' 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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text.lo text.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stemmer.lo stemmer.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.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] if (!ots_load_xml_dictionary (Art, dictionary_file)) @@ -1411,10 +1446,26 @@ 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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c article.c -fPIC -DPIC -o .libs/article.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.c -fPIC -DPIC -o .libs/parser.o +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] + if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); + ^~~~~~~~~~~~~~~~ +In file included from grader-tc.c:27: +grader-tc.h:53:6: note: expected 'const unsigned char *' but argument is of type 'char *' + 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] + tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); + ^ 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] if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; @@ -1432,25 +1483,8 @@ /usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^~~~~~~~ -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o -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] - if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); - ^~~~~~~~~~~~~~~~ -In file included from grader-tc.c:27: -grader-tc.h:53:6: note: expected 'const unsigned char *' but argument is of type 'char *' - 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] - tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); - ^ +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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o grader.c: In function 'ots_grade_structure': grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Doc->lines!=NULL) @@ -1458,86 +1492,6 @@ grader.c:47:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ ^~ -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] - 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] - g_string_append_len (text, utf8_data, line_len); - ^~~~~~~~~ -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:83:14: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' - GString* g_string_append_len (GString *string, - ^~~~~~~~~~~~~~~~~~~ -html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - utf8_data = text->str; - ^ -grader-tf.c: In function 'ots_calc_idf': -grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] - return -log(doc_word_count/term_count); - ^~~ -grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' -grader-tf.c:108:9: note: include '' or provide a declaration of 'log' -grader-tf.c:25:1: -+#include - -grader-tf.c:108:9: - return -log(doc_word_count/term_count); - ^~~ -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] - strncpy (buffer + total_read, fread_buffer, nread); - ~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/features.h:424, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from parser.c:21: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - ^~~~~ -parser.c:68:37: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - strncpy (buffer + total_read, fread_buffer, nread); - ^~~~~~~~~~~~ -In file included from /usr/include/features.h:424, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from parser.c:21: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - ^~~~~ -parser.c: In function 'ots_parse_stream': -parser.c:141:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - ots_append_word (tmpLine, word_buffer->str); - ~~~~~~~~~~~^~~~~ -In file included from parser.c:25: -libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} - void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - ^~~~~~~~~~~~~~~ -parser.c:151:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - if (uc=='\n') {ots_append_word (tmpLine,"\n");} - ^~~~ -In file included from parser.c:25: -libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' - void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - ^~~~~~~~~~~~~~~ -parser.c:153:29: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - {ots_append_word (tmpLine," ");} - ^~~ -In file included from parser.c:25: -libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' - void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - ^~~~~~~~~~~~~~~ -parser.c:166:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - ots_append_word (tmpLine, word_buffer->str); - ~~~~~~~~~~~^~~~~ -In file included from parser.c:25: -libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} - void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - ^~~~~~~~~~~~~~~ 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] idf_key=xmlGetProp(tf_words,"idf"); @@ -1567,106 +1521,29 @@ libots.h:114:13: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); ^~~~~~~~~~~~~~~~~ -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] - clen = strlen (comp); - ^~~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c: In function 'ots_stem_remove_pre': -stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - plen = strlen (pre); - ^~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - wlen = strlen (aWord); - ^~~~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:116:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - nlen = strlen (new); - ^~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:122:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - new_str = g_new0 (char, wlen + nlen +5); - ^ -stemmer.c: In function 'ots_stem_remove_post': -stemmer.c:143:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - wlen = strlen (aWord); - ^~~~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:144:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - plen = strlen (post); - ^~~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:145:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - nlen = strlen (new); - ^~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:154:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - new_str = g_new0 (char, wlen + nlen +5); - ^ -stemmer.c: In function 'ots_stem_replace_word': -stemmer.c:173:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - if ((aWord)&&(0 == strcmp (aWord, old))) - ^~~~~ -In file included from stemmer.c:24: -/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern int strcmp (const char *__s1, const char *__s2) - ^~~~~~ -stemmer.c:173:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - if ((aWord)&&(0 == strcmp (aWord, old))) - ^~~ -In file included from stemmer.c:24: -/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern int strcmp (const char *__s1, const char *__s2) - ^~~~~~ -stemmer.c:175:24: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] - return g_strdup (new); - ^~~ -In file included from /usr/include/glib-2.0/glib.h:82, - from libots.h:24, - from stemmer.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; - ^~~~~~~~ -stemmer.c:175:14: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] - return g_strdup (new); - ^~~~~~~~~~~~~~ -stemmer.c: In function 'ots_stem_format': -stemmer.c:197:30: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] - normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ - ^~~~~ -In file included from /usr/include/glib-2.0/glib/gstring.h:33, - from /usr/include/glib-2.0/glib/giochannel.h:34, +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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.o +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] + 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] + g_string_append_len (text, utf8_data, line_len); + ^~~~~~~~~ +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 stemmer.c:25: -/usr/include/glib-2.0/glib/gunicode.h:855:8: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - gchar *g_utf8_strdown (const gchar *str, - ^~~~~~~~~~~~~~ -stemmer.c:197:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ - ^ + from html.c:24: +/usr/include/glib-2.0/glib/gstring.h:83:14: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' + GString* g_string_append_len (GString *string, + ^~~~~~~~~~~~~~~~~~~ +html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + utf8_data = text->str; + ^ +highlighter.c: In function 'ots_highlight_doc_lines': +highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] + int tmp; + ^~~ 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] utf8_data = text->str; @@ -1685,68 +1562,6 @@ text.c:85:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ -stemmer.c:207:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] - ots_stem_break (li->data, prefix, newfix); - ^~~~~~ -stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' - ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ - ^~~~~~~~~~~~~~ -stemmer.c:207:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] - ots_stem_break (li->data, prefix, newfix); - ^~~~~~ -stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' - ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ - ^~~~~~~~~~~~~~ -stemmer.c:208:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] - rep = ots_stem_remove_pre (normWord, prefix, newfix); - ^~~~~~ -stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' - ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) - ^~~~~~~~~~~~~~~~~~~ -stemmer.c:208:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] - rep = ots_stem_remove_pre (normWord, prefix, newfix); - ^~~~~~ -stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' - ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) - ^~~~~~~~~~~~~~~~~~~ -stemmer.c:220:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] - ots_stem_break (li->data, prefix, newfix); - ^~~~~~ -stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' - ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ - ^~~~~~~~~~~~~~ -stemmer.c:220:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] - ots_stem_break (li->data, prefix, newfix); - ^~~~~~ -stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' - ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ - ^~~~~~~~~~~~~~ -stemmer.c:221:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] - rep = ots_stem_remove_post(normWord, prefix, newfix); - ^~~~~~ -stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' - ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) - ^~~~~~~~~~~~~~~~~~~~ -stemmer.c:221:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] - rep = ots_stem_remove_post(normWord, prefix, newfix); - ^~~~~~ -stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' - ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) - ^~~~~~~~~~~~~~~~~~~~ -stemmer.c: In function 'ots_stem_strip': -stemmer.c:253:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - prefix = g_new0 (char, MAX_PREFIX_SIZE); - ^ -stemmer.c:254:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - newfix = g_new0 (char, MAX_PREFIX_SIZE); - ^ -stemmer.c:324:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ - ^~~~~~~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ wordlist.c: In function 'ots_new_wordEntery_strip': wordlist.c:35:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] aWord->word = ots_stem_format(wordString,rule); @@ -1815,10 +1630,6 @@ wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] tmp = ots_stem_strip (wordString, rule); ^ -highlighter.c: In function 'ots_highlight_doc_lines': -highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] - int tmp; - ^~~ relations.c: In function 'ots_text_topics': relations.c:83:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ @@ -1901,12 +1712,236 @@ /usr/include/glib-2.0/glib/glist.h:128:10: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} GList* g_list_first (GList *list); ^~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-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/x86_64-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 +grader-tf.c: In function 'ots_calc_idf': +grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] + return -log(doc_word_count/term_count); + ^~~ +grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' +grader-tf.c:108:9: note: include '' or provide a declaration of 'log' +grader-tf.c:25:1: ++#include + +grader-tf.c:108:9: + return -log(doc_word_count/term_count); + ^~~ +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] + clen = strlen (comp); + ^~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c: In function 'ots_stem_remove_pre': +stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + plen = strlen (pre); + ^~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + wlen = strlen (aWord); + ^~~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:116:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + nlen = strlen (new); + ^~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:122:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + new_str = g_new0 (char, wlen + nlen +5); + ^ +stemmer.c: In function 'ots_stem_remove_post': +stemmer.c:143:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + wlen = strlen (aWord); + ^~~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:144:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + plen = strlen (post); + ^~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:145:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + nlen = strlen (new); + ^~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +stemmer.c:154:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + new_str = g_new0 (char, wlen + nlen +5); + ^ +stemmer.c: In function 'ots_stem_replace_word': +stemmer.c:173:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + if ((aWord)&&(0 == strcmp (aWord, old))) + ^~~~~ +In file included from stemmer.c:24: +/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern int strcmp (const char *__s1, const char *__s2) + ^~~~~~ +stemmer.c:173:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + if ((aWord)&&(0 == strcmp (aWord, old))) + ^~~ +In file included from stemmer.c:24: +/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern int strcmp (const char *__s1, const char *__s2) + ^~~~~~ +stemmer.c:175:24: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] + return g_strdup (new); + ^~~ +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from stemmer.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; + ^~~~~~~~ +stemmer.c:175:14: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] + return g_strdup (new); + ^~~~~~~~~~~~~~ +stemmer.c: In function 'ots_stem_format': +stemmer.c:197:30: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] + normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ + ^~~~~ +In file included from /usr/include/glib-2.0/glib/gstring.h:33, + from /usr/include/glib-2.0/glib/giochannel.h:34, + from /usr/include/glib-2.0/glib.h:54, + from libots.h:24, + from stemmer.c:25: +/usr/include/glib-2.0/glib/gunicode.h:855:8: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + gchar *g_utf8_strdown (const gchar *str, + ^~~~~~~~~~~~~~ +stemmer.c:197:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ + ^ +stemmer.c:207:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] + ots_stem_break (li->data, prefix, newfix); + ^~~~~~ +stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' + ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ + ^~~~~~~~~~~~~~ +stemmer.c:207:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] + ots_stem_break (li->data, prefix, newfix); + ^~~~~~ +stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' + ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ + ^~~~~~~~~~~~~~ +stemmer.c:208:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] + rep = ots_stem_remove_pre (normWord, prefix, newfix); + ^~~~~~ +stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' + ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) + ^~~~~~~~~~~~~~~~~~~ +stemmer.c:208:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] + rep = ots_stem_remove_pre (normWord, prefix, newfix); + ^~~~~~ +stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' + ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) + ^~~~~~~~~~~~~~~~~~~ +stemmer.c:220:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] + ots_stem_break (li->data, prefix, newfix); + ^~~~~~ +stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' + ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ + ^~~~~~~~~~~~~~ +stemmer.c:220:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] + ots_stem_break (li->data, prefix, newfix); + ^~~~~~ +stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' + ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ + ^~~~~~~~~~~~~~ +stemmer.c:221:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] + rep = ots_stem_remove_post(normWord, prefix, newfix); + ^~~~~~ +stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' + ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) + ^~~~~~~~~~~~~~~~~~~~ +stemmer.c:221:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] + rep = ots_stem_remove_post(normWord, prefix, newfix); + ^~~~~~ +stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' + ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) + ^~~~~~~~~~~~~~~~~~~~ +stemmer.c: In function 'ots_stem_strip': +stemmer.c:253:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + prefix = g_new0 (char, MAX_PREFIX_SIZE); + ^ +stemmer.c:254:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + newfix = g_new0 (char, MAX_PREFIX_SIZE); + ^ +stemmer.c:324:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ + ^~~~~~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +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] + strncpy (buffer + total_read, fread_buffer, nread); + ~~~~~~~^~~~~~~~~~~~ +In file included from /usr/include/features.h:424, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from parser.c:21: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + ^~~~~ +parser.c:68:37: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + strncpy (buffer + total_read, fread_buffer, nread); + ^~~~~~~~~~~~ +In file included from /usr/include/features.h:424, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from parser.c:21: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + ^~~~~ +parser.c: In function 'ots_parse_stream': +parser.c:141:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + ots_append_word (tmpLine, word_buffer->str); + ~~~~~~~~~~~^~~~~ +In file included from parser.c:25: +libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} + void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + ^~~~~~~~~~~~~~~ +parser.c:151:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + if (uc=='\n') {ots_append_word (tmpLine,"\n");} + ^~~~ +In file included from parser.c:25: +libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' + void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + ^~~~~~~~~~~~~~~ +parser.c:153:29: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + {ots_append_word (tmpLine," ");} + ^~~ +In file included from parser.c:25: +libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' + void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + ^~~~~~~~~~~~~~~ +parser.c:166:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + ots_append_word (tmpLine, word_buffer->str); + ~~~~~~~~~~~^~~~~ +In file included from parser.c:25: +libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} + void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + ^~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-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/x86_64-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 -ffile-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 -ffile-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 -ffile-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 @@ -1949,7 +1984,7 @@ scanobj_options="--verbose"; \ fi; \ fi; \ - CC="/bin/bash ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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 -ffile-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 -ffile-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/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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 -ffile-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 -ffile-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.args ots.hierarchy ots.interfaces ots.prerequisites ots.signals ; do \ @@ -2016,7 +2051,7 @@ make[2]: Leaving directory '/build/ots-0.5.0' make[1]: Leaving directory '/build/ots-0.5.0' dh_auto_test -O--parallel - make -j16 check VERBOSE=1 + make -j15 check VERBOSE=1 make[1]: Entering directory '/build/ots-0.5.0' Making check in src make[2]: Entering directory '/build/ots-0.5.0/src' @@ -2043,14 +2078,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/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/ots-0.5.0/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/ots-0.5.0/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libots-1.so.0.5.0 /build/ots-0.5.0/debian/tmp/usr/lib/x86_64-linux-gnu/libots-1.so.0.5.0 libtool: install: (cd /build/ots-0.5.0/debian/tmp/usr/lib/x86_64-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/x86_64-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/x86_64-linux-gnu/libots-1.la libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-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/x86_64-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' @@ -2114,8 +2149,8 @@ dh_gencontrol -O--parallel dh_md5sums -O--parallel dh_builddeb -O--parallel -dpkg-deb: building package 'libots0' in '../libots0_0.5.0-3_amd64.deb'. dpkg-deb: building package 'libots-dev' in '../libots-dev_0.5.0-3_amd64.deb'. +dpkg-deb: building package 'libots0' in '../libots0_0.5.0-3_amd64.deb'. dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-3_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ots_0.5.0-3_amd64.changes @@ -2124,12 +2159,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/2041023/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2041023/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/1883586 and its subdirectories -I: Current time: Tue Jan 10 09:09:49 -12 2023 -I: pbuilder-time-stamp: 1673384989 +I: removing directory /srv/workspace/pbuilder/2041023 and its subdirectories +I: Current time: Thu Dec 9 04:49:15 +14 2021 +I: pbuilder-time-stamp: 1638974955