Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 18:35:24.079727165 +0000 +++ b2/build.log 2024-05-15 18:43:38.686705226 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 15 06:31:18 -12 2024 -I: pbuilder-time-stamp: 1715797878 +I: Current time: Wed Jun 18 14:58:27 +14 2025 +I: pbuilder-time-stamp: 1750208307 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,51 +30,83 @@ dpkg-source: info: applying 0004-Add-missing-header-includes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1466209/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 18 00:58 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='500d655e2d64418daaaa4f7ab172ce48' - 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='1466209' - PS1='# ' - PS2='> ' + INVOCATION_ID=2d05e4ffa1fa4113a32f86930f641d7d + 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=971806 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QZq3Nf3C/pbuilderrc_T5gW --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QZq3Nf3C/b1 --logfile b1/build.log ots_0.5.0-9.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QZq3Nf3C/pbuilderrc_CT0i --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QZq3Nf3C/b2 --logfile b2/build.log ots_0.5.0-9.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 14 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1466209/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 16 03:14 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -274,7 +306,7 @@ Get: 152 http://deb.debian.org/debian trixie/main amd64 libpopt0 amd64 1.19+dfsg-1+b1 [43.6 kB] Get: 153 http://deb.debian.org/debian trixie/main amd64 libpopt-dev amd64 1.19+dfsg-1+b1 [46.4 kB] Get: 154 http://deb.debian.org/debian trixie/main amd64 libxml2-dev amd64 2.9.14+dfsg-1.3+b3 [787 kB] -Fetched 209 MB in 3s (77.0 MB/s) +Fetched 209 MB in 3s (77.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19699 files and directories currently installed.) @@ -778,8 +810,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 15 18:33:16 UTC 2024. -Universal Time is now: Wed May 15 18:33:16 UTC 2024. +Local time is now: Wed Jun 18 01:02:18 UTC 2025. +Universal Time is now: Wed Jun 18 01:02:18 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (46.0-1) ... @@ -941,7 +973,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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-9_source.changes +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/971806/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-9_source.changes dpkg-buildpackage: info: source package ots dpkg-buildpackage: info: source version 0.5.0-9 dpkg-buildpackage: info: source distribution unstable @@ -1135,104 +1171,29 @@ Making all in src make[3]: Entering directory '/build/reproducible-path/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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o wordlist.lo wordlist.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c wordlist.c -fPIC -DPIC -o .libs/wordlist.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o wordlist.lo wordlist.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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o -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)) - | ^~~~~~~~~~~~~~~ - | | - | char * -In file included from ots.c:28: -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); - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] - 46 | int c,n_args=0; - | ^ -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 */ - | ^~ -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); - | ~~~~~~~^~~~~~~~~~~~ - | | - | unsigned char * -In file included from /usr/include/features.h:502, - 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 92 | __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] - 68 | strncpy (buffer + total_read, fread_buffer, nread); - | ^~~~~~~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -parser.c: In function 'ots_parse_stream': -parser.c:141:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - 141 | ots_append_word (tmpLine, word_buffer->str); - | ~~~~~~~~~~~^~~~~ - | | - | gchar * {aka char *} -In file included from parser.c:25: -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); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~ article.c: In function 'ots_append_word': -parser.c:151:57: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - 151 | if (uc=='\n') {ots_append_word (tmpLine,"\n");} - | ^~~~ - | | - | char * -libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' - 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~ -parser.c:153:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - 153 | {ots_append_word (tmpLine," ");} - | ^~~ - | | - | char * -libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' - 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~ -parser.c:166:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] - 166 | ots_append_word (tmpLine, word_buffer->str); - | ~~~~~~~~~~~^~~~~ - | | - | gchar * {aka char *} -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); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~ @@ -1242,10 +1203,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -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; - | ^ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, @@ -1262,13 +1219,17 @@ /usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'const unsigned char *' 309 | g_strdup_inline (const char *str) | ~~~~~~~~~~~~^~~ +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; + | ^ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24, - from html.c:24: -html.c: In function 'ots_get_doc_HTML': -html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] - 105 | g_string_append_len (text, utf8_data, line_len); + from text.c:25: +text.c: In function 'ots_get_doc_text': +text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] + 79 | g_string_append_len (text, utf8_data, line_len); | ^~~~~~~~~ | | | unsigned char * @@ -1278,9 +1239,10 @@ /usr/include/glib-2.0/glib/gstring.h:215:41: note: expected 'const char *' but argument is of type 'unsigned char *' 215 | const char *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; +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; | ^ +text.c: In function 'ots_get_line_text': /usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1294,10 +1256,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.c:114:3: note: in expansion of macro 'g_string_free' - 114 | g_string_free (text, FALSE); +text.c:51:3: note: in expansion of macro 'g_string_free' + 51 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ -html.c: In function 'ots_get_line_HTML': +text.c: In function 'ots_get_doc_text': /usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1311,9 +1273,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.c:63:3: note: in expansion of macro 'g_string_free' - 63 | g_string_free (text, FALSE); +text.c:87:3: note: in expansion of macro 'g_string_free' + 87 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ +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)) + | ^~~~~~~~~~~~~~~ + | | + | char * +In file included from ots.c:28: +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); + | ~~~~~~~~~~~~~~~~~~~~~^~~~ grader-tc.c: In function 'ots_line_add_wordlist': grader-tc.c:65:83: 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); @@ -1324,6 +1296,9 @@ 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); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] + 46 | int c,n_args=0; + | ^ 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); @@ -1348,154 +1323,6 @@ grader-tc.c:156:26: note: in expansion of macro 'g_string_free' 156 | if (NULL!=title) g_string_free(title,FALSE); | ^~~~~~~~~~~~~ -/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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o relations.lo relations.c -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; - | ^ -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] - 35 | aWord->word = ots_stem_format(wordString,rule); - | ^ -wordlist.c:36:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] - 36 | aWord->stem = ots_stem_strip(wordString,rule); - | ^ -In file included from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56, - from libots.h:24, - from text.c:25: -text.c: In function 'ots_get_doc_text': -text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] - 79 | g_string_append_len (text, utf8_data, line_len); - | ^~~~~~~~~ - | | - | unsigned char * -/usr/include/glib-2.0/glib/gstring.h:247:37: note: in definition of macro 'g_string_append_len' - 247 | g_string_append_len_inline (gstr, val, len) - | ^~~ -/usr/include/glib-2.0/glib/gstring.h:215:41: note: expected 'const char *' but argument is of type 'unsigned char *' - 215 | const char *val, - | ~~~~~~~~~~~~^~~ -In file included from /usr/include/glib-2.0/glib/gstring.h:37, - from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56, - from libots.h:24, - from wordlist.c:25: -wordlist.c: In function 'ots_new_wordEntery': -wordlist.c:45:27: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] - 45 | aWord->word = g_strdup (wordString); - | ^~~~~~~~~~ - | | - | const unsigned char * -/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup' - 324 | #define g_strdup(x) g_strdup_inline (x) - | ^ -/usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'const unsigned char *' - 309 | g_strdup_inline (const char *str) - | ~~~~~~~~~~~~^~~ -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; - | ^ -wordlist.c:46:27: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] - 46 | aWord->stem = g_strdup (wordString); - | ^~~~~~~~~~ - | | - | const unsigned char * -/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup' - 324 | #define g_strdup(x) g_strdup_inline (x) - | ^ -/usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'const unsigned char *' - 309 | g_strdup_inline (const char *str) - | ~~~~~~~~~~~~^~~ -wordlist.c: In function 'ots_union_list': -text.c: In function 'ots_get_line_text': -wordlist.c:117:13: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] - 117 | if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ - | ^~ -/usr/include/glib-2.0/glib/gstrfuncs.h:271:23: note: declared here - 271 | gint g_strncasecmp (const gchar *s1, - | ^~~~~~~~~~~~~ -/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | (__builtin_constant_p (free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 71 | ((free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 72 | (g_string_free) ((str), (free_segment)) : \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | g_string_free_and_steal (str)) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | : \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | (g_string_free) ((str), (free_segment))) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -text.c:51:3: note: in expansion of macro 'g_string_free' - 51 | g_string_free (text, FALSE); - | ^~~~~~~~~~~~~ -wordlist.c: In function 'ots_add_wordstat': -wordlist.c:174:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 174 | if (0==strlen(wordString)) return; - | ^~~~~~~~~~ - | | - | const unsigned char * -In file included from wordlist.c:23: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 175 | if (0==strcmp(wordString," ")) return; - | ^~~~~~~~~~ - | | - | const unsigned char * -text.c: In function 'ots_get_doc_text': -/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | (__builtin_constant_p (free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 71 | ((free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 72 | (g_string_free) ((str), (free_segment)) : \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | g_string_free_and_steal (str)) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | : \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | (g_string_free) ((str), (free_segment))) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -text.c:87:3: note: in expansion of macro 'g_string_free' - 87 | g_string_free (text, FALSE); - | ^~~~~~~~~~~~~ -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 176 | if (0==strcmp(wordString,"\n")) return; - | ^~~~~~~~~~ - | | - | const unsigned char * -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 177 | if (0==strcmp(wordString,"\t")) return; - | ^~~~~~~~~~ - | | - | const unsigned char * -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 180 | tmp = ots_stem_strip (wordString, rule); - | ^ -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); - | ^~~~ - | | - | const unsigned char * -In file included from stemmer.c:24: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -stemmer.c: In function 'ots_stem_remove_pre': dictionary.c: In function 'ots_load_xml_dictionary': dictionary.c:321:40: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 321 | idf_key=xmlGetProp(tf_words,"idf"); @@ -1510,6 +1337,49 @@ /usr/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ +dictionary.c:322:84: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] + 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); + | ^~~~~~~ + | | + | xmlChar * {aka unsigned char *} +In file included from /usr/include/features.h:502, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from dictionary.c:21: +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:25:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} + 25 | __NTH (atof (const char *__nptr)) + | ^~~~~ +dictionary.c:322:75: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] + 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); + | ^~~ + | | + | xmlChar * {aka unsigned char *} +In file included from dictionary.c:25: +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); + | ~~~~~~~~~~~~^~~~ +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 */ + | ^~ +highlighter.c: In function 'ots_highlight_doc_lines': +highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] + 100 | int tmp; + | ^~~ +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); + | ^~~~ + | | + | const unsigned char * +In file included from stemmer.c:24: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 407 | 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] 114 | plen = strlen (pre); | ^~~ @@ -1534,27 +1404,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -dictionary.c:322:84: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] - 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); - | ^~~~~~~ - | | - | xmlChar * {aka unsigned char *} -In file included from /usr/include/features.h:502, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from dictionary.c:21: -/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:25:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} - 25 | __NTH (atof (const char *__nptr)) - | ^~~~~ -dictionary.c:322:75: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] - 322 | Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); - | ^~~ - | | - | xmlChar * {aka unsigned char *} -In file included from dictionary.c:25: -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); - | ~~~~~~~~~~~~^~~~ stemmer.c:122:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 122 | new_str = g_new0 (char, wlen + nlen +5); | ^ @@ -1586,6 +1435,7 @@ stemmer.c:154:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 154 | new_str = g_new0 (char, wlen + nlen +5); | ^ +/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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o relations.lo relations.c 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] 173 | if ((aWord)&&(0 == strcmp (aWord, old))) @@ -1638,10 +1488,6 @@ stemmer.c:197:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 197 | normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ | ^ -highlighter.c: In function 'ots_highlight_doc_lines': -highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] - 100 | int tmp; - | ^~~ stemmer.c:207:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 207 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ @@ -1721,6 +1567,196 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +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; + | ^ +In file included from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56, + from libots.h:24, + from html.c:24: +html.c: In function 'ots_get_doc_HTML': +html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] + 105 | g_string_append_len (text, utf8_data, line_len); + | ^~~~~~~~~ + | | + | unsigned char * +/usr/include/glib-2.0/glib/gstring.h:247:37: note: in definition of macro 'g_string_append_len' + 247 | g_string_append_len_inline (gstr, val, len) + | ^~~ +/usr/include/glib-2.0/glib/gstring.h:215:41: note: expected 'const char *' but argument is of type 'unsigned char *' + 215 | const char *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; + | ^ +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] + 35 | aWord->word = ots_stem_format(wordString,rule); + | ^ +wordlist.c:36:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] + 36 | aWord->stem = ots_stem_strip(wordString,rule); + | ^ +In file included from /usr/include/glib-2.0/glib/gstring.h:37, + from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56, + from libots.h:24, + from wordlist.c:25: +wordlist.c: In function 'ots_new_wordEntery': +wordlist.c:45:27: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] + 45 | aWord->word = g_strdup (wordString); + | ^~~~~~~~~~ + | | + | const unsigned char * +/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup' + 324 | #define g_strdup(x) g_strdup_inline (x) + | ^ +/usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'const unsigned char *' + 309 | g_strdup_inline (const char *str) + | ~~~~~~~~~~~~^~~ +wordlist.c:46:27: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] + 46 | aWord->stem = g_strdup (wordString); + | ^~~~~~~~~~ + | | + | const unsigned char * +/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup' + 324 | #define g_strdup(x) g_strdup_inline (x) + | ^ +/usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'const unsigned char *' + 309 | g_strdup_inline (const char *str) + | ~~~~~~~~~~~~^~~ +/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | (__builtin_constant_p (free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 71 | ((free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 72 | (g_string_free) ((str), (free_segment)) : \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | g_string_free_and_steal (str)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | : \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | (g_string_free) ((str), (free_segment))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html.c:114:3: note: in expansion of macro 'g_string_free' + 114 | g_string_free (text, FALSE); + | ^~~~~~~~~~~~~ +html.c: In function 'ots_get_line_HTML': +/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | (__builtin_constant_p (free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 71 | ((free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 72 | (g_string_free) ((str), (free_segment)) : \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | g_string_free_and_steal (str)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | : \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | (g_string_free) ((str), (free_segment))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html.c:63:3: note: in expansion of macro 'g_string_free' + 63 | g_string_free (text, FALSE); + | ^~~~~~~~~~~~~ +wordlist.c: In function 'ots_union_list': +wordlist.c:117:13: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] + 117 | if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ + | ^~ +/usr/include/glib-2.0/glib/gstrfuncs.h:271:23: note: declared here + 271 | gint g_strncasecmp (const gchar *s1, + | ^~~~~~~~~~~~~ +wordlist.c: In function 'ots_add_wordstat': +wordlist.c:174:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 174 | if (0==strlen(wordString)) return; + | ^~~~~~~~~~ + | | + | const unsigned char * +In file included from wordlist.c:23: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 175 | if (0==strcmp(wordString," ")) return; + | ^~~~~~~~~~ + | | + | const unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 176 | if (0==strcmp(wordString,"\n")) return; + | ^~~~~~~~~~ + | | + | const unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 177 | if (0==strcmp(wordString,"\t")) return; + | ^~~~~~~~~~ + | | + | const unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 180 | tmp = ots_stem_strip (wordString, rule); + | ^ +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); + | ~~~~~~~^~~~~~~~~~~~ + | | + | unsigned char * +In file included from /usr/include/features.h:502, + 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 92 | __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] + 68 | strncpy (buffer + total_read, fread_buffer, nread); + | ^~~~~~~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +parser.c: In function 'ots_parse_stream': +parser.c:141:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + 141 | ots_append_word (tmpLine, word_buffer->str); + | ~~~~~~~~~~~^~~~~ + | | + | gchar * {aka char *} +In file included from parser.c:25: +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); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~ +parser.c:151:57: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + 151 | if (uc=='\n') {ots_append_word (tmpLine,"\n");} + | ^~~~ + | | + | char * +libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' + 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~ +parser.c:153:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + 153 | {ots_append_word (tmpLine," ");} + | ^~~ + | | + | char * +libots.h:96:64: note: expected 'const unsigned char *' but argument is of type 'char *' + 96 | void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~ +parser.c:166:70: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] + 166 | ots_append_word (tmpLine, word_buffer->str); + | ~~~~~~~~~~~^~~~~ + | | + | gchar * {aka char *} +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); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~ 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/sysprof-6 -pthread -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c relations.c -fPIC -DPIC -o .libs/relations.o 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] @@ -1837,12 +1873,12 @@ relations.c:96:1: note: in expansion of macro 'g_string_free' 96 | g_string_free (word, FALSE); | ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o ots ots.o libots-1.la -lglib-2.0 -lxml2 -lpopt libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/ots-0.5.0/src' Making all in dic @@ -1862,6 +1898,7 @@ done; \ fi; \ fi +touch setup-build.stamp /usr/bin/mkdir -p xml && ( \ echo ""; \ echo ""; \ @@ -1871,7 +1908,6 @@ echo ""; \ echo ""; \ ) > xml/gtkdocentities.ent -touch setup-build.stamp _source_dir='' ; \ for i in .. ; do \ _source_dir="${_source_dir} --source-dir=$i" ; \ @@ -1885,7 +1921,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 -I/usr/include/sysprof-6 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" LD="/bin/bash ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now" RUN="/bin/bash ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" 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 -I/usr/include/sysprof-6 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" LD="/bin/sh ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now" RUN="/bin/sh ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ots-0.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" 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 \ @@ -1977,14 +2013,14 @@ make[2]: Entering directory '/build/reproducible-path/ots-0.5.0/src' make[3]: Entering directory '/build/reproducible-path/ots-0.5.0/src' /usr/bin/mkdir -p '/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/ots-0.5.0/debian/tmp/usr/lib/x86_64-linux-gnu/libots-1.so.0.5.0 libtool: install: (cd /build/reproducible-path/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/reproducible-path/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/reproducible-path/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' /usr/bin/mkdir -p '/build/reproducible-path/ots-0.5.0/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c ots '/build/reproducible-path/ots-0.5.0/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c ots '/build/reproducible-path/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/reproducible-path/ots-0.5.0/debian/tmp/usr/bin/ots /usr/bin/mkdir -p '/build/reproducible-path/ots-0.5.0/debian/tmp/usr/include/libots-1/ots' @@ -2050,9 +2086,9 @@ dh_builddeb dpkg-deb: building package 'libots-dev' in '../libots-dev_0.5.0-9_amd64.deb'. dpkg-deb: building package 'libots0' in '../libots0_0.5.0-9_amd64.deb'. +dpkg-deb: building package 'ots' in '../ots_0.5.0-9_amd64.deb'. dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-9_amd64.deb'. dpkg-deb: building package 'ots-dbgsym' in '../ots-dbgsym_0.5.0-9_amd64.deb'. -dpkg-deb: building package 'ots' in '../ots_0.5.0-9_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ots_0.5.0-9_amd64.buildinfo dpkg-genchanges --build=binary -O../ots_0.5.0-9_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2060,12 +2096,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/971806/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/971806/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/1466209 and its subdirectories -I: Current time: Wed May 15 06:35:23 -12 2024 -I: pbuilder-time-stamp: 1715798123 +I: removing directory /srv/workspace/pbuilder/971806 and its subdirectories +I: Current time: Wed Jun 18 15:06:37 +14 2025 +I: pbuilder-time-stamp: 1750208797