Diff of the two buildlogs: -- --- b1/build.log 2020-03-27 01:05:15.523020649 +0000 +++ b2/build.log 2020-03-27 01:10:17.500864346 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Mar 26 12:53:29 -12 2020 -I: pbuilder-time-stamp: 1585270409 +I: Current time: Thu Apr 29 21:28:17 +14 2021 +I: pbuilder-time-stamp: 1619681297 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri Aug 17 11:44:15 2018 -12 +gpgv: Signature made Sat Aug 18 13:44:15 2018 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ots_0.5.0-3.dsc @@ -31,6 +31,18 @@ dpkg-source: info: applying makefile-dependencies.patch I: using fakeroot in build. I: Installing the build-deps +I: user script /srv/workspace/pbuilder/3268/tmp/hooks/D01_modify_environment starting +disorder-fs debug: Running on profitbricks-build16-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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3268/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +281,7 @@ Get: 189 http://deb.debian.org/debian buster/main i386 libpopt0 i386 1.16-12 [51.7 kB] Get: 190 http://deb.debian.org/debian buster/main i386 libpopt-dev i386 1.16-12 [53.8 kB] Get: 191 http://deb.debian.org/debian buster/main i386 libxml2-dev i386 2.9.4+dfsg1-7+b3 [843 kB] -Fetched 202 MB in 1min 10s (2884 kB/s) +Fetched 202 MB in 7s (28.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19231 files and directories currently installed.) @@ -1091,7 +1103,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ots-0.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ots-0.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ots dpkg-buildpackage: info: source version 0.5.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1251,52 +1263,60 @@ make[1]: Leaving directory '/build/ots-0.5.0' dh_auto_build -O--parallel - make -j10 + make -j18 make[1]: Entering directory '/build/ots-0.5.0' make all-recursive make[2]: Entering directory '/build/ots-0.5.0' Making all in src make[3]: Entering directory '/build/ots-0.5.0/src' gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ots.o ots.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o article.lo article.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dictionary.lo dictionary.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader.lo grader.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tf.lo grader-tf.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tc.lo grader-tc.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o html.lo html.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text.lo text.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stemmer.lo stemmer.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o article.lo article.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dictionary.lo dictionary.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader.lo grader.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tf.lo grader-tf.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grader-tc.lo grader-tc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o html.lo html.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text.lo text.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stemmer.lo stemmer.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o highlighter.lo highlighter.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wordlist.lo wordlist.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.c +ots.c: In function 'main': +ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] + if (!ots_load_xml_dictionary (Art, dictionary_file)) + ^~~~~~~~~~~~~~~ +In file included from ots.c:28: +libots.h:101:10: note: expected 'const unsigned char *' but argument is of type 'char *' + gboolean ots_load_xml_dictionary (OtsArticle * Doc,unsigned const char *name); + ^~~~~~~~~~~~~~~~~~~~~~~ +ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] + 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/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader.c -fPIC -DPIC -o .libs/grader.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c article.c -fPIC -DPIC -o .libs/article.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c dictionary.c -fPIC -DPIC -o .libs/dictionary.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c text.c -fPIC -DPIC -o .libs/text.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader-tc.c -fPIC -DPIC -o .libs/grader-tc.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.c -fPIC -DPIC -o .libs/parser.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c html.c -fPIC -DPIC -o .libs/html.o libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o -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/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c grader.c -fPIC -DPIC -o .libs/grader.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c text.c -fPIC -DPIC -o .libs/text.o +libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.o +grader.c: In function 'ots_grade_structure': +grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 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' + if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ + ^~ grader-tf.c: In function 'ots_calc_idf': -grader-tc.c: In function 'ots_line_add_wordlist': -parser.c: In function 'ots_parse_file': grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] return -log(doc_word_count/term_count); ^~~ -grader-tc.c:65:62: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] - if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); - ^~~~~~~~~~~~~~~~ -parser.c:68:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - strncpy (buffer + total_read, fread_buffer, nread); - ~~~~~~~^~~~~~~~~~~~ grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' -html.c: In function 'ots_get_line_HTML': -html.c:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - utf8_data = text->str; - ^ -In file included from grader-tc.c:27: -grader-tc.h:53:6: note: expected 'const unsigned char *' but argument is of type 'char *' - void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); - ^~~~~~~~~~~~~~~~ grader-tf.c:108:9: note: include '' or provide a declaration of 'log' grader-tf.c:25:1: +#include @@ -1304,6 +1324,72 @@ grader-tf.c:108:9: return -log(doc_word_count/term_count); ^~~ +article.c: In function 'ots_append_word': +article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; + ^~~~~ +In file included from article.c:23: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ +article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] + aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); + ^~~~~ +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from article.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; + ^~~~~~~~ +grader-tc.c: In function 'ots_line_add_wordlist': +grader-tc.c:65:62: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] + if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); + ^~~~~~~~~~~~~~~~ +In file included from grader-tc.c:27: +grader-tc.h:53:6: note: expected 'const unsigned char *' but argument is of type 'char *' + void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); + ^~~~~~~~~~~~~~~~ +grader-tc.c: In function 'ots_grade_line': +grader-tc.c:112:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); + ^ +highlighter.c: In function 'ots_highlight_doc_lines': +highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] + int tmp; + ^~~ +dictionary.c: In function 'ots_load_xml_dictionary': +dictionary.c:321:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] + idf_key=xmlGetProp(tf_words,"idf"); + ^~~~~ +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:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' + xmlGetProp (const xmlNode *node, + ^~~~~~~~~~ +dictionary.c:322:77: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] + Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); + ^~~~~~~ +In file included from /usr/include/features.h:424, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + 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 *'} + __NTH (atof (const char *__nptr)) + ^~~~~ +dictionary.c:322:68: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] + Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); + ^~~ +In file included from dictionary.c:25: +libots.h:114:13: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} + OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); + ^~~~~~~~~~~~~~~~~ +html.c: In function 'ots_get_line_HTML': +html.c:62:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + utf8_data = text->str; + ^ html.c: In function 'ots_get_doc_HTML': html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] g_string_append_len (text, utf8_data, line_len); @@ -1318,21 +1404,46 @@ html.c:112:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ -grader-tc.c: In function 'ots_grade_line': -article.c: In function 'ots_append_word': -grader-tc.c:112:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); - ^ -article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; - ^~~~~ -In file included from article.c:23: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] - aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); - ^~~~~ +wordlist.c: In function 'ots_new_wordEntery_strip': +wordlist.c:35:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] + aWord->word = ots_stem_format(wordString,rule); + ^ +wordlist.c:36:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] + aWord->stem = ots_stem_strip(wordString,rule); + ^ +wordlist.c: In function 'ots_new_wordEntery': +wordlist.c:45:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] + aWord->word = g_strdup (wordString); + ^~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from wordlist.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; + ^~~~~~~~ +wordlist.c:46:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] + aWord->stem = g_strdup (wordString); + ^~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from wordlist.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' + gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; + ^~~~~~~~ +wordlist.c: In function 'ots_union_list': +wordlist.c:117:6: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] + if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ + ^~ +In file included from /usr/include/glib-2.0/glib.h:82, + from libots.h:24, + from wordlist.c:25: +/usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here + gint g_strncasecmp (const gchar *s1, + ^~~~~~~~~~~~~ +parser.c: In function 'ots_parse_file': +parser.c:68:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + strncpy (buffer + total_read, fread_buffer, nread); + ~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1350,17 +1461,11 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ -In file included from /usr/include/glib-2.0/glib.h:82, - from libots.h:24, - from article.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; - ^~~~~~~~ -stemmer.c: In function 'ots_stem_break': -stemmer.c:81:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - clen = strlen (comp); - ^~~~ -In file included from stemmer.c:24: +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] + if (0==strlen(wordString)) return; + ^~~~~~~~~~ +In file included from wordlist.c:23: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ @@ -1368,21 +1473,38 @@ parser.c:141:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] ots_append_word (tmpLine, word_buffer->str); ~~~~~~~~~~~^~~~~ +wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + if (0==strcmp(wordString," ")) return; + ^~~~~~~~~~ +In file included from wordlist.c:23: +/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern int strcmp (const char *__s1, const char *__s2) + ^~~~~~ In file included from parser.c:25: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^~~~~~~~~~~~~~~ -stemmer.c: In function 'ots_stem_remove_pre': -stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - plen = strlen (pre); - ^~~ -In file included from stemmer.c:24: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - wlen = strlen (aWord); - ^~~~~ +wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + if (0==strcmp(wordString,"\n")) return; + ^~~~~~~~~~ +In file included from wordlist.c:23: +/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern int strcmp (const char *__s1, const char *__s2) + ^~~~~~ +wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + if (0==strcmp(wordString,"\t")) return; + ^~~~~~~~~~ +In file included from wordlist.c:23: +/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern int strcmp (const char *__s1, const char *__s2) + ^~~~~~ +wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + tmp = ots_stem_strip (wordString, rule); + ^ +stemmer.c: In function 'ots_stem_break': +stemmer.c:81:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + clen = strlen (comp); + ^~~~ In file included from stemmer.c:24: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) @@ -1401,13 +1523,28 @@ libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^~~~~~~~~~~~~~~ +stemmer.c: In function 'ots_stem_remove_pre': +stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + plen = strlen (pre); + ^~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ parser.c:166:42: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] ots_append_word (tmpLine, word_buffer->str); ~~~~~~~~~~~^~~~~ +stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + wlen = strlen (aWord); + ^~~~~ In file included from parser.c:25: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^~~~~~~~~~~~~~~ +In file included from stemmer.c:24: +/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' + extern size_t strlen (const char *__s) + ^~~~~~ stemmer.c:116:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nlen = strlen (new); ^~~ @@ -1440,16 +1577,9 @@ /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ -grader.c: In function 'ots_grade_structure': -grader.c:45:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (Doc->lines!=NULL) - ^~ stemmer.c:154:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] new_str = g_new0 (char, wlen + nlen +5); ^ -grader.c:47:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (NULL!=first_line) first_line->score *= 2; /*first line/title is very important so we increase its score */ - ^~ stemmer.c: In function 'ots_stem_replace_word': stemmer.c:173:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if ((aWord)&&(0 == strcmp (aWord, old))) @@ -1554,142 +1684,6 @@ /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ -text.c: In function 'ots_get_line_text': -text.c:50:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - utf8_data = text->str; - ^ -text.c: In function 'ots_get_doc_text': -text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] - g_string_append_len (text, utf8_data, line_len); - ^~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/giochannel.h:34, - from /usr/include/glib-2.0/glib.h:54, - from libots.h:24, - from text.c:25: -/usr/include/glib-2.0/glib/gstring.h:83:14: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' - GString* g_string_append_len (GString *string, - ^~~~~~~~~~~~~~~~~~~ -text.c:85:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - utf8_data = text->str; - ^ -ots.c: In function 'main': -ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] - if (!ots_load_xml_dictionary (Art, dictionary_file)) - ^~~~~~~~~~~~~~~ -In file included from ots.c:28: -libots.h:101:10: note: expected 'const unsigned char *' but argument is of type 'char *' - gboolean ots_load_xml_dictionary (OtsArticle * Doc,unsigned const char *name); - ^~~~~~~~~~~~~~~~~~~~~~~ -ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] - int c,n_args=0; - ^ -dictionary.c: In function 'ots_load_xml_dictionary': -dictionary.c:321:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] - idf_key=xmlGetProp(tf_words,"idf"); - ^~~~~ -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:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' - xmlGetProp (const xmlNode *node, - ^~~~~~~~~~ -dictionary.c:322:77: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] - Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); - ^~~~~~~ -In file included from /usr/include/features.h:424, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - 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 *'} - __NTH (atof (const char *__nptr)) - ^~~~~ -dictionary.c:322:68: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] - Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); - ^~~ -In file included from dictionary.c:25: -libots.h:114:13: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} - OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); - ^~~~~~~~~~~~~~~~~ -/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/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o highlighter.lo highlighter.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wordlist.lo wordlist.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relations.lo relations.c -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/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o -libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -c relations.c -fPIC -DPIC -o .libs/relations.o -highlighter.c: In function 'ots_highlight_doc_lines': -highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] - int tmp; - ^~~ -wordlist.c: In function 'ots_new_wordEntery_strip': -wordlist.c:35:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] - aWord->word = ots_stem_format(wordString,rule); - ^ -wordlist.c:36:15: warning: pointer targets in assignment from 'unsigned char *' to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] - aWord->stem = ots_stem_strip(wordString,rule); - ^ -wordlist.c: In function 'ots_new_wordEntery': -wordlist.c:45:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] - aWord->word = g_strdup (wordString); - ^~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib.h:82, - from libots.h:24, - from wordlist.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; - ^~~~~~~~ -wordlist.c:46:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] - aWord->stem = g_strdup (wordString); - ^~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib.h:82, - from libots.h:24, - from wordlist.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:217:22: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const unsigned char *' - gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; - ^~~~~~~~ -wordlist.c: In function 'ots_union_list': -wordlist.c:117:6: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] - if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ - ^~ -In file included from /usr/include/glib-2.0/glib.h:82, - from libots.h:24, - from wordlist.c:25: -/usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here - 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] - if (0==strlen(wordString)) return; - ^~~~~~~~~~ -In file included from wordlist.c:23: -/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern size_t strlen (const char *__s) - ^~~~~~ -wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - if (0==strcmp(wordString," ")) return; - ^~~~~~~~~~ -In file included from wordlist.c:23: -/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern int strcmp (const char *__s1, const char *__s2) - ^~~~~~ -wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - if (0==strcmp(wordString,"\n")) return; - ^~~~~~~~~~ -In file included from wordlist.c:23: -/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern int strcmp (const char *__s1, const char *__s2) - ^~~~~~ -wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - if (0==strcmp(wordString,"\t")) return; - ^~~~~~~~~~ -In file included from wordlist.c:23: -/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const unsigned char *' - extern int strcmp (const char *__s1, const char *__s2) - ^~~~~~ -wordlist.c:180:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - tmp = ots_stem_strip (wordString, rule); - ^ relations.c: In function 'ots_text_topics': relations.c:83:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ @@ -1772,12 +1766,30 @@ /usr/include/glib-2.0/glib/glist.h:128:10: note: expected 'GList *' {aka 'struct _GList *'} but argument is of type 'const GList *' {aka 'const struct _GList *'} GList* g_list_first (GList *list); ^~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/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 +text.c: In function 'ots_get_line_text': +text.c:50:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + utf8_data = text->str; + ^ +text.c: In function 'ots_get_doc_text': +text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] + g_string_append_len (text, utf8_data, line_len); + ^~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/giochannel.h:34, + from /usr/include/glib-2.0/glib.h:54, + from libots.h:24, + from text.c:25: +/usr/include/glib-2.0/glib/gstring.h:83:14: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' + GString* g_string_append_len (GString *string, + ^~~~~~~~~~~~~~~~~~~ +text.c:85:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + utf8_data = text->str; + ^ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 5:0:5 -Wl,-z,relro -Wl,-z,now -o libots-1.la -rpath /usr/lib/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 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o ots ots.o libots-1.la -lglib-2.0 -lxml2 -lpopt +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o ots ots.o libots-1.la -lglib-2.0 -lxml2 -lpopt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/ots ots.o ./.libs/libots-1.so -lglib-2.0 -lxml2 -lpopt make[3]: Leaving directory '/build/ots-0.5.0/src' Making all in dic @@ -1797,6 +1809,7 @@ done; \ fi; \ fi +touch setup-build.stamp /bin/mkdir -p xml && ( \ echo ""; \ echo ""; \ @@ -1806,7 +1819,6 @@ echo ""; \ echo ""; \ ) > xml/gtkdocentities.ent -touch setup-build.stamp _source_dir='' ; \ for i in .. ; do \ _source_dir="${_source_dir} --source-dir=$i" ; \ @@ -1820,7 +1832,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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LD="/bin/bash ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" RUN="/bin/bash ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=" -Wl,-z,relro -Wl,-z,now" \ + CC="/bin/sh ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LD="/bin/sh ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" RUN="/bin/sh ../libtool --mode=execute" CFLAGS="-I.. -g -O2 -ffile-prefix-map=/build/ots-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=" -Wl,-z,relro -Wl,-z,now" \ gtkdoc-scangobj --type-init-func="g_type_init ()" $scanobj_options --module=ots; \ else \ for i in ots.args ots.hierarchy ots.interfaces ots.prerequisites ots.signals ; do \ @@ -1887,7 +1899,7 @@ make[2]: Leaving directory '/build/ots-0.5.0' make[1]: Leaving directory '/build/ots-0.5.0' dh_auto_test -O--parallel - make -j10 check VERBOSE=1 + make -j18 check VERBOSE=1 make[1]: Entering directory '/build/ots-0.5.0' Making check in src make[2]: Entering directory '/build/ots-0.5.0/src' @@ -1914,14 +1926,14 @@ make[2]: Entering directory '/build/ots-0.5.0/src' make[3]: Entering directory '/build/ots-0.5.0/src' /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/lib/i386-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/ots-0.5.0/debian/tmp/usr/lib/i386-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libots-1.la '/build/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/ots-0.5.0/debian/tmp/usr/lib/i386-linux-gnu/libots-1.so.0.5.0 libtool: install: (cd /build/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/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/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' /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c ots '/build/ots-0.5.0/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c ots '/build/ots-0.5.0/debian/tmp/usr/bin' libtool: warning: 'libots-1.la' has not been installed in '/usr/lib/i386-linux-gnu' libtool: install: /usr/bin/install -c .libs/ots /build/ots-0.5.0/debian/tmp/usr/bin/ots /bin/mkdir -p '/build/ots-0.5.0/debian/tmp/usr/include/libots-1/ots' @@ -1986,20 +1998,22 @@ dh_md5sums -O--parallel dh_builddeb -O--parallel dpkg-deb: building package 'libots-dev' in '../libots-dev_0.5.0-3_i386.deb'. -dpkg-deb: building package 'libots0' in '../libots0_0.5.0-3_i386.deb'. dpkg-deb: building package 'libots0-dbgsym' in '../libots0-dbgsym_0.5.0-3_i386.deb'. +dpkg-deb: building package 'libots0' in '../libots0_0.5.0-3_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ots_0.5.0-3_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/3268/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3268/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/5028 and its subdirectories -I: Current time: Thu Mar 26 13:05:14 -12 2020 -I: pbuilder-time-stamp: 1585271114 +I: removing directory /srv/workspace/pbuilder/3268 and its subdirectories +I: Current time: Thu Apr 29 21:33:16 +14 2021 +I: pbuilder-time-stamp: 1619681596