Diff of the two buildlogs: -- --- b1/build.log 2024-10-25 08:11:06.305182004 +0000 +++ b2/build.log 2024-10-25 08:15:06.516586904 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 24 20:03:29 -12 2024 -I: pbuilder-time-stamp: 1729843409 +I: Current time: Fri Nov 28 04:34:07 +14 2025 +I: pbuilder-time-stamp: 1764254047 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,54 +31,86 @@ 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/42641/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/118101/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Nov 27 14:34 /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/118101/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/118101/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5f80f3b5589f46c2a13ddc760d87de38' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='42641' - PS1='# ' - PS2='> ' + INVOCATION_ID=30220d3e5acc4e03bba9f6a8f33b2824 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=118101 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.J77PDAR4/pbuilderrc_Rwcn --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.J77PDAR4/b1 --logfile b1/build.log ots_0.5.0-9.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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/r-b-build.J77PDAR4/pbuilderrc_qn6F --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.J77PDAR4/b2 --logfile b2/build.log ots_0.5.0-9.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/42641/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/118101/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -297,7 +329,7 @@ Get: 171 http://deb.debian.org/debian trixie/main i386 libpopt0 i386 1.19+dfsg-1+b1 [45.8 kB] Get: 172 http://deb.debian.org/debian trixie/main i386 libpopt-dev i386 1.19+dfsg-1+b1 [49.2 kB] Get: 173 http://deb.debian.org/debian trixie/main i386 libxml2-dev i386 2.12.7+dfsg+really2.9.14-0.1 [856 kB] -Fetched 212 MB in 4s (55.4 MB/s) +Fetched 212 MB in 2s (94.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 21867 files and directories currently installed.) @@ -869,8 +901,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Oct 25 08:04:27 UTC 2024. -Universal Time is now: Fri Oct 25 08:04:27 UTC 2024. +Local time is now: Thu Nov 27 14:34:48 UTC 2025. +Universal Time is now: Thu Nov 27 14:34:48 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:i386 (47.0-2) ... @@ -1054,7 +1086,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/118101/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/118101/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 @@ -1241,88 +1277,47 @@ make[1]: Leaving directory '/build/reproducible-path/ots-0.5.0' dh_auto_build - make -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/ots-0.5.0' make all-recursive make[2]: Entering directory '/build/reproducible-path/ots-0.5.0' 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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -Wformat -Werror=format-security -c -o highlighter.lo highlighter.c -ots.c: In function 'main': -ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] - 130 | if (!ots_load_xml_dictionary (Art, dictionary_file)) - | ^~~~~~~~~~~~~~~ - | | - | 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; - | ^ -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/i386-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 -Wformat -Werror=format-security -c dictionary.c -fPIC -DPIC -o .libs/dictionary.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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -Wformat -Werror=format-security -c -o relations.lo relations.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -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/i386-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 -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.o -/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/i386-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 -Wformat -Werror=format-security -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/i386-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 -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/i386-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 -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/i386-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 -Wformat -Werror=format-security -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o -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"); - | ^~~~~ - | | - | char * -In file included from /usr/include/libxml2/libxml/parser.h:16, - from /usr/include/libxml2/libxml/globals.h:18, - from /usr/include/libxml2/libxml/threads.h:35, - from /usr/include/libxml2/libxml/xmlmemory.h:218, - from dictionary.c:28: -/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:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from dictionary.c:21: -/usr/include/i386-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); - | ~~~~~~~~~~~~^~~~ +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/i386-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 -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/i386-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 -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/i386-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 -Wformat -Werror=format-security -c parser.c -fPIC -DPIC -o .libs/parser.o grader-tc.c: In function 'ots_line_add_wordlist': +highlighter.c: In function 'ots_highlight_doc_lines': 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); | ^~~~~~~~~~~~~~~~ | | | char * +highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] + 100 | int tmp; + | ^~~ In file included from grader-tc.c:24: libots.h:97:62: note: expected 'const unsigned char *' but argument is of type 'char *' 97 | void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); @@ -1331,6 +1326,54 @@ 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); | ^ +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) + | ~~~~~~~~~~~~^~~ +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 /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from libots.h:24: @@ -1351,39 +1394,37 @@ grader-tc.c:156:26: note: in expansion of macro 'g_string_free' 156 | if (NULL!=title) g_string_free(title,FALSE); | ^~~~~~~~~~~~~ -article.c: In function 'ots_append_word': -article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; - | ^~~~~ - | | - | const unsigned char * -In file included from article.c:23: +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) | ~~~~~~~~~~~~^~~ -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 article.c:25: -article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] - 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); - | ^~~~~ - | | - | 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) - | ~~~~~~~~~~~~^~~ -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 */ - | ^~ +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); + | ^ 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; @@ -1424,7 +1465,6 @@ text.c:51:3: note: in expansion of macro 'g_string_free' 51 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ -parser.c: In function 'ots_parse_file': text.c: In function 'ots_get_doc_text': /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ @@ -1442,121 +1482,6 @@ text.c:87:3: note: in expansion of macro 'g_string_free' 87 | g_string_free (text, FALSE); | ^~~~~~~~~~~~~ -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:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from parser.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'unsigned char *' - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -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); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~ -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; - | ^~~ -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:251:37: note: in definition of macro 'g_string_append_len' - 251 | g_string_append_len_inline (gstr, val, len) - | ^~~ -/usr/include/glib-2.0/glib/gstring.h:219:41: note: expected 'const char *' but argument is of type 'unsigned char *' - 219 | 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; - | ^ -/usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] - 72 | (__builtin_constant_p (free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | ((free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | (g_string_free) ((str), (free_segment)) : \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | g_string_free_and_steal (str)) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | : \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 77 | (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:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] - 72 | (__builtin_constant_p (free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | ((free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | (g_string_free) ((str), (free_segment)) : \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | g_string_free_and_steal (str)) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | : \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 77 | (g_string_free) ((str), (free_segment))) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.c:63:3: note: in expansion of macro 'g_string_free' - 63 | g_string_free (text, 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/i386-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 -Wformat -Werror=format-security -c -o relations.lo relations.c 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); @@ -1573,9 +1498,13 @@ | ^~~ | | | const unsigned char * +html.c: In function 'ots_get_line_HTML': /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:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 62 | utf8_data = text->str; + | ^ stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 115 | wlen = strlen (aWord); | ^~~~~ @@ -1623,7 +1552,70 @@ 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); | ^ +article.c: In function 'ots_append_word': +article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; + | ^~~~~ + | | + | const unsigned char * +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] + 83 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ + | ^~~~ + | | + | const unsigned char * +In file included from article.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) + | ~~~~~~~~~~~~^~~ +In file included from relations.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) + | ~~~~~~~~~~~~^~~ +relations.c:89:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 89 | tmp=ots_word_in_list(Art->ImpWords,i); + | ^ +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': +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 article.c:25: +article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] + 109 | aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); + | ^~~~~ + | | + | 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) + | ^ +relations.c:90:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); + | ^~~ + | | + | unsigned char * +/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/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ stemmer.c: In function 'ots_stem_replace_word': +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:251:37: note: in definition of macro 'g_string_append_len' + 251 | g_string_append_len_inline (gstr, val, len) + | ^~~ +/usr/include/glib-2.0/glib/gstring.h:219:41: note: expected 'const char *' but argument is of type 'unsigned char *' + 219 | const char *val, + | ~~~~~~~~~~~~^~~ 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))) | ^~~~~ @@ -1632,6 +1624,16 @@ /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) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56, + from grader-tc.h:25, + from relations.c:24: +/usr/include/glib-2.0/glib/gstring.h:271:34: warning: pointer targets in initialization of 'const char * const' from 'unsigned char *' differ in signedness [-Wpointer-sign] + 271 | const char * const __val = (val); \ + | ^ +relations.c:90:36: note: in expansion of macro 'g_string_append' + 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); + | ^~~~~~~~~~~~~~~ stemmer.c:173:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 173 | if ((aWord)&&(0 == strcmp (aWord, old))) | ^~~ @@ -1656,13 +1658,30 @@ /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) | ~~~~~~~~~~~~^~~ +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; + | ^ /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 324 | #define g_strdup(x) g_strdup_inline (x) | ^~~~~~~~~~~~~~~~~~~ stemmer.c:175:14: note: in expansion of macro 'g_strdup' 175 | return g_strdup (new); | ^~~~~~~~ +relations.c:90:57: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] + 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); + | ^~~ + | | + | unsigned char * +/usr/include/glib-2.0/glib/gstring.h:251:37: note: in definition of macro 'g_string_append_len' + 251 | g_string_append_len_inline (gstr, val, len) + | ^~~ +relations.c:90:36: note: in expansion of macro 'g_string_append' + 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); + | ^~~~~~~~~~~~~~~ stemmer.c: In function 'ots_stem_format': +/usr/include/glib-2.0/glib/gstring.h:219:41: note: expected 'const char *' but argument is of type 'unsigned char *' + 219 | const char *val, + | ~~~~~~~~~~~~^~~ stemmer.c:197:30: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] 197 | normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ | ^~~~~ @@ -1675,14 +1694,40 @@ 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 */ | ^ +relations.c:95:4: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 95 | str=word->str; + | ^ +relations.c:99:8: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] + 99 | return str; + | ^~~ +relations.c: In function 'ots_text_stem_list': +relations.c:117:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 117 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); + | ^~~~ + | | + | const unsigned char * +/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: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); | ^~~~~~ | | | char * +relations.c:123:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 123 | tmp=ots_stem_in_list(Art->ImpWords,i); + | ^ stemmer.c:71:58: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ +relations.c:124:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 124 | if ((tmp)&&(strlen(tmp)>0)) + | ^~~ + | | + | unsigned char * +/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) + | ~~~~~~~~~~~~^~~ stemmer.c:207:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 207 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ @@ -1691,11 +1736,39 @@ stemmer.c:71:80: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ +/usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | (__builtin_constant_p (free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | ((free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | (g_string_free) ((str), (free_segment)) : \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | g_string_free_and_steal (str)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | : \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | (g_string_free) ((str), (free_segment))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html.c:114:3: note: in expansion of macro 'g_string_free' + 114 | g_string_free (text, FALSE); + | ^~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gstring.h:37: +relations.c:125:38: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] + 125 | topics=g_list_append(topics,g_strdup(tmp)); + | ^~~ + | | + | 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) + | ^ stemmer.c:208:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] 208 | rep = ots_stem_remove_pre (normWord, prefix, newfix); | ^~~~~~ | | | char * +/usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'unsigned char *' + 309 | g_strdup_inline (const char *str) + | ~~~~~~~~~~~~^~~ stemmer.c:107:70: note: expected 'const unsigned char *' but argument is of type 'char *' 107 | ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~ @@ -1707,27 +1780,59 @@ stemmer.c:107:95: note: expected 'const unsigned char *' but argument is of type 'char *' 107 | ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~ +relations.c: In function 'ots_topic_list_score': +relations.c:145:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 145 | tmplist1 = g_list_first(topic_list1); + | ^~~~~~~~~~~ stemmer.c:220:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 220 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * +In file included from /usr/include/glib-2.0/glib/ghash.h:36, + from /usr/include/glib-2.0/glib.h:52: +/usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} + 134 | GList* g_list_first (GList *list); + | ~~~~~~~~~~~~~~~~~~^~~~ stemmer.c:71:58: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ +relations.c:148:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 148 | tmplist2 = g_list_first(topic_list2); + | ^~~~~~~~~~~ stemmer.c:220:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] 220 | ots_stem_break (li->data, prefix, newfix); | ^~~~~~ | | | char * +/usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} + 134 | GList* g_list_first (GList *list); + | ~~~~~~~~~~~~~~~~~~^~~~ stemmer.c:71:80: note: expected 'unsigned char *' but argument is of type 'char *' 71 | ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ | ~~~~~~~~~~~~~~~^~~~~~ +html.c: In function 'ots_get_line_HTML': stemmer.c:221:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] 221 | rep = ots_stem_remove_post(normWord, prefix, newfix); | ^~~~~~ | | | char * +/usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | (__builtin_constant_p (free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | ((free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | (g_string_free) ((str), (free_segment)) : \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | g_string_free_and_steal (str)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | : \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | (g_string_free) ((str), (free_segment))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html.c:63:3: note: in expansion of macro 'g_string_free' + 63 | g_string_free (text, FALSE); + | ^~~~~~~~~~~~~ stemmer.c:136:71: note: expected 'const unsigned char *' but argument is of type 'char *' 136 | ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) | ~~~~~~~~~~~~~~~~~~~~~^~~~ @@ -1746,193 +1851,6 @@ stemmer.c:254:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 254 | 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] - 324 | if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ - | ^~~~~~~~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~ -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/i386-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 -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o -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) - | ~~~~~~~~~~~~^~~ -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); - | ^ -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/i386-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 -Wformat -Werror=format-security -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] - 83 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ - | ^~~~ - | | - | const unsigned char * -In file included from relations.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) - | ~~~~~~~~~~~~^~~ -relations.c:89:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 89 | tmp=ots_word_in_list(Art->ImpWords,i); - | ^ -relations.c:90:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); - | ^~~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~ -In file included from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56, - from grader-tc.h:25, - from relations.c:24: -/usr/include/glib-2.0/glib/gstring.h:271:34: warning: pointer targets in initialization of 'const char * const' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 271 | const char * const __val = (val); \ - | ^ -relations.c:90:36: note: in expansion of macro 'g_string_append' - 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); - | ^~~~~~~~~~~~~~~ -relations.c:90:57: warning: pointer targets in passing argument 2 of 'g_string_append_len_inline' differ in signedness [-Wpointer-sign] - 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); - | ^~~ - | | - | unsigned char * -/usr/include/glib-2.0/glib/gstring.h:251:37: note: in definition of macro 'g_string_append_len' - 251 | g_string_append_len_inline (gstr, val, len) - | ^~~ -relations.c:90:36: note: in expansion of macro 'g_string_append' - 90 | if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); - | ^~~~~~~~~~~~~~~ -/usr/include/glib-2.0/glib/gstring.h:219:41: note: expected 'const char *' but argument is of type 'unsigned char *' - 219 | const char *val, - | ~~~~~~~~~~~~^~~ -relations.c:95:4: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - 95 | str=word->str; - | ^ -relations.c:99:8: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] - 99 | return str; - | ^~~ -relations.c: In function 'ots_text_stem_list': -relations.c:117:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 117 | if (text!=NULL) ots_parse_stream (text,strlen(text), Art); - | ^~~~ - | | - | const unsigned char * -/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) - | ~~~~~~~~~~~~^~~ -relations.c:123:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 123 | tmp=ots_stem_in_list(Art->ImpWords,i); - | ^ -relations.c:124:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 124 | if ((tmp)&&(strlen(tmp)>0)) - | ^~~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~ -In file included from /usr/include/glib-2.0/glib/gstring.h:37: -relations.c:125:38: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] - 125 | topics=g_list_append(topics,g_strdup(tmp)); - | ^~~ - | | - | 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 'unsigned char *' - 309 | g_strdup_inline (const char *str) - | ~~~~~~~~~~~~^~~ -relations.c: In function 'ots_topic_list_score': -relations.c:145:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 145 | tmplist1 = g_list_first(topic_list1); - | ^~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/ghash.h:36, - from /usr/include/glib-2.0/glib.h:52: -/usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} - 134 | GList* g_list_first (GList *list); - | ~~~~~~~~~~~~~~~~~~^~~~ -relations.c:148:33: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 148 | tmplist2 = g_list_first(topic_list2); - | ^~~~~~~~~~~ -/usr/include/glib-2.0/glib/glist.h:134:60: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} - 134 | GList* g_list_first (GList *list); - | ~~~~~~~~~~~~~~~~~~^~~~ relations.c: In function 'ots_text_topics': /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ @@ -1950,12 +1868,130 @@ 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 -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/i386-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 +stemmer.c:324:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 324 | if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ + | ^~~~~~~~ + | | + | unsigned char * +/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) + | ~~~~~~~~~~~~^~~ +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 */ + | ^~ +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; + | ^ +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:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from parser.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'unsigned char *' + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +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); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~ +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"); + | ^~~~~ + | | + | char * +In file included from /usr/include/libxml2/libxml/parser.h:16, + from /usr/include/libxml2/libxml/globals.h:18, + from /usr/include/libxml2/libxml/threads.h:35, + from /usr/include/libxml2/libxml/xmlmemory.h:218, + from dictionary.c:28: +/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:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from dictionary.c:21: +/usr/include/i386-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); + | ~~~~~~~~~~~~^~~~ +/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 -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/i386-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 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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/reproducible-path/ots-0.5.0/src' Making all in dic @@ -1998,7 +2034,7 @@ scanobj_options="--verbose"; \ fi; \ fi; \ - CC="/bin/bash ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/i386-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 -Wformat -Werror=format-security" 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 -Wformat -Werror=format-security -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 -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/i386-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 -Wformat -Werror=format-security" 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security" LDFLAGS=" -Wl,-z,relro -Wl,-z,now" \ gtkdoc-scangobj --type-init-func="g_type_init ()" $scanobj_options --module=ots; \ else \ for i in ots.actions ots.args ots.hierarchy ots.interfaces ots.prerequisites ots.signals ; do \ @@ -2066,7 +2102,7 @@ make[2]: Leaving directory '/build/reproducible-path/ots-0.5.0' make[1]: Leaving directory '/build/reproducible-path/ots-0.5.0' dh_auto_test - make -j11 check "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 check "TESTSUITEFLAGS=-j21 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ots-0.5.0' Making check in src make[2]: Entering directory '/build/reproducible-path/ots-0.5.0/src' @@ -2091,14 +2127,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/i386-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/i386-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/i386-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/i386-linux-gnu/libots-1.so.0.5.0 libtool: install: (cd /build/reproducible-path/ots-0.5.0/debian/tmp/usr/lib/i386-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/i386-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/i386-linux-gnu/libots-1.la libtool: warning: remember to run 'libtool --finish /usr/lib/i386-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/i386-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' @@ -2163,10 +2199,10 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libots-dev' in '../libots-dev_0.5.0-9_i386.deb'. +dpkg-deb: building package 'ots' in '../ots_0.5.0-9_i386.deb'. +dpkg-deb: building package 'ots-dbgsym' in '../ots-dbgsym_0.5.0-9_i386.deb'. dpkg-deb: building package 'libots0' in '../libots0_0.5.0-9_i386.deb'. dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-9_i386.deb'. -dpkg-deb: building package 'ots-dbgsym' in '../ots-dbgsym_0.5.0-9_i386.deb'. -dpkg-deb: building package 'ots' in '../ots_0.5.0-9_i386.deb'. dpkg-genbuildinfo --build=binary -O../ots_0.5.0-9_i386.buildinfo dpkg-genchanges --build=binary -O../ots_0.5.0-9_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2174,12 +2210,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/118101/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/118101/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/42641 and its subdirectories -I: Current time: Thu Oct 24 20:11:05 -12 2024 -I: pbuilder-time-stamp: 1729843865 +I: removing directory /srv/workspace/pbuilder/118101 and its subdirectories +I: Current time: Fri Nov 28 04:38:03 +14 2025 +I: pbuilder-time-stamp: 1764254283