+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ots-0.5.0nb14/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ots-0.5.0nb14/work.log ===> Building for ots-0.5.0nb14 /opt/pkg/bin/bmake all-recursive Making all in src /usr/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -c article.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c article.c -fPIC -DPIC -o .libs/article.o article.c: In function 'ots_append_word': article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 107 | if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; | ^~~~~ | | | const unsigned char * In file included from /usr/include/string.h:35, from article.c:23: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0/glib/gstring.h:37, from /home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0/glib/giochannel.h:36, from /home/pbulk/build/textproc/ots/work/.buildlink/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 * /home/pbulk/build/textproc/ots/work/.buildlink/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) | ^ /home/pbulk/build/textproc/ots/work/.buildlink/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) | ~~~~~~~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c article.c -o article.o >/dev/null 2>&1 /usr/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -c dictionary.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c dictionary.c -fPIC -DPIC -o .libs/dictionary.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 /home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2/libxml/parser.h:16, from dictionary.c:29: /home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2/libxml/tree.h:1040:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1040 | 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/stdlib.h:41, from dictionary.c:22: /usr/include/iso/stdlib_iso.h:123:20: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 123 | extern double atof(const char *); | ^~~~~~~~~~~~ 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=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c dictionary.c -o dictionary.o >/dev/null 2>&1 /usr/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -c grader.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c grader.c -fPIC -DPIC -o .libs/grader.o 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 */ | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c grader.c -o grader.o >/dev/null 2>&1 /usr/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/libxml2 -c grader-tf.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/opt/pkg/share/ots/\" -I.. -I/home/pbulk/build/textproc/ots/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/textproc/ots/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include -I/home/pbulk/build/textproc/ots/work/.buildlink/include/libxml2 -Wall -I/home/pbulk/build/textproc/ots/work/.buildlink/include/gio-unix-2.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o grader-tf.c: In function 'ots_calc_idf': grader-tf.c:108:9: error: implicit declaration of function 'log' [-Wimplicit-function-declaration] 108 | return -log(doc_word_count/term_count); | ^~~ grader-tf.c:25:1: note: include '' or provide a declaration of 'log' 24 | #include "libots.h" +++ |+#include 25 | grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' [-Wbuiltin-declaration-mismatch] 108 | return -log(doc_word_count/term_count); | ^~~ grader-tf.c:108:9: note: include '' or provide a declaration of 'log' *** Error code 1 Stop. bmake[2]: stopped making "all" in /home/pbulk/build/textproc/ots/work/ots-0.5.0/src *** Error code 1 Stop. bmake[1]: stopped making "all-recursive" in /home/pbulk/build/textproc/ots/work/ots-0.5.0 *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/textproc/ots/work/ots-0.5.0 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ots *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ots