+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmlindent-0.2.16nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmlindent-0.2.16nb1/work.log ===> Building for xmlindent-0.2.16nb1 --- lexer --- --- error.o --- --- indent.o --- --- error.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -c error.c --- lexer --- flex xmlindent.yy --- indent.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -c indent.c --- buffer.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -c buffer.c --- main.o --- --- indent.o --- In file included from indent.c:38: lex.yy.c: In function 'yylex': lex.yy.c:1035:3: error: 'i' undeclared (first use in this function) 1035 | | ^ lex.yy.c:1035:3: note: each undeclared identifier is reported only once for each function it appears in lex.yy.c:1035:4: error: expected ';' before 'extern' 1035 | | ^ | ; indent.c:48:13: error: invalid storage class for function 'newline' 48 | static void newline(void); | ^~~~~~~ indent.c:95:13: error: invalid storage class for function 'set_options' 95 | static void set_options(struct indent_options * opts) | ^~~~~~~~~~~ indent.c:134:13: error: invalid storage class for function 'print_indent' 134 | static void print_indent(FILE * output, int indent_level) | ^~~~~~~~~~~~ indent.c:143:13: error: invalid storage class for function 'xml_declaration' 143 | static void xml_declaration(void) | ^~~~~~~~~~~~~~~ indent.c:148:13: error: invalid storage class for function 'cdata_section' 148 | static void cdata_section(void) | ^~~~~~~~~~~~~ indent.c:153:13: error: invalid storage class for function 'doctype_declaration' 153 | static void doctype_declaration(void) | ^~~~~~~~~~~~~~~~~~~ indent.c:163:20: error: invalid storage class for function 'is_newline' 163 | static inline bool is_newline(int current) | ^~~~~~~~~~ indent.c:174:20: error: invalid storage class for function 'is_whitespace' 174 | static inline bool is_whitespace(int c) | ^~~~~~~~~~~~~ indent.c:180:13: error: invalid storage class for function 'eat_whitespace' 180 | static void eat_whitespace(void) | ^~~~~~~~~~~~~~ indent.c:195:13: error: invalid storage class for function 'force_newline_before_tag' 195 | static void force_newline_before_tag(struct buffer * buffer) | ^~~~~~~~~~~~~~~~~~~~~~~~ indent.c:216:13: error: invalid storage class for function 'force_newline_after_tag' --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -c main.c --- indent.o --- 216 | static void force_newline_after_tag(struct buffer * buffer) | ^~~~~~~~~~~~~~~~~~~~~~~ indent.c:227:13: error: invalid storage class for function 'using_primary_buf' 227 | static bool using_primary_buf(void) | ^~~~~~~~~~~~~~~~~ indent.c:234:13: error: invalid storage class for function 'merge_buffers_start_tag' 234 | static void merge_buffers_start_tag(void) | ^~~~~~~~~~~~~~~~~~~~~~~ indent.c:253:13: error: invalid storage class for function 'merge_buffers' 253 | static void merge_buffers(void) | ^~~~~~~~~~~~~ indent.c:268:13: error: invalid storage class for function 'force_newline_for_wrap' 268 | static void force_newline_for_wrap(struct buffer * buffer) | ^~~~~~~~~~~~~~~~~~~~~~ indent.c:284:13: error: invalid storage class for function 'start_tag' 284 | static void start_tag(void) | ^~~~~~~~~ indent.c:304:13: error: invalid storage class for function 'end_tag' 304 | static void end_tag(void) | ^~~~~~~ indent.c:333:13: error: invalid storage class for function 'empty_element_tag' 333 | static void empty_element_tag(void) | ^~~~~~~~~~~~~~~~~ indent.c:366:12: error: invalid storage class for function 'input_and_push' 366 | static int input_and_push(void) | ^~~~~~~~~~~~~~ indent.c:373:13: error: invalid storage class for function 'comment' 373 | static void comment(void) | ^~~~~~~ indent.c:391:13: error: invalid storage class for function 'do_newline' 391 | static void do_newline(struct buffer * buffer, const char * text) | ^~~~~~~~~~ indent.c:403:13: error: invalid storage class for function 'newline' 403 | static void newline(void) | ^~~~~~~ indent.c:420:22: error: invalid storage class for function 'indent_size' 420 | static unsigned long indent_size(void) | ^~~~~~~~~~~ indent.c:427:13: error: invalid storage class for function 'need_wrap' 427 | static bool need_wrap(struct buffer * buffer) | ^~~~~~~~~ indent.c:436:13: error: invalid storage class for function 'content' 436 | static void content(void) | ^~~~~~~ indent.c:494:13: error: invalid storage class for function 'processing_insn' 494 | static void processing_insn(void) | ^~~~~~~~~~~~~~~ indent.c:497:1: error: expected declaration or statement at end of input 497 | } | ^ indent.c:497:1: error: expected declaration or statement at end of input indent.c:497:1: error: expected declaration or statement at end of input indent.c:497:1: error: expected declaration or statement at end of input indent.c:497:1: error: expected declaration or statement at end of input indent.c: At top level: indent.c:27:13: warning: 'xml_declaration' used but never defined 27 | static void xml_declaration(void); | ^~~~~~~~~~~~~~~ indent.c:28:13: warning: 'cdata_section' used but never defined 28 | static void cdata_section(void); | ^~~~~~~~~~~~~ indent.c:29:13: warning: 'doctype_declaration' used but never defined 29 | static void doctype_declaration(void); | ^~~~~~~~~~~~~~~~~~~ indent.c:30:13: warning: 'start_tag' used but never defined 30 | static void start_tag(void); | ^~~~~~~~~ indent.c:31:13: warning: 'end_tag' used but never defined 31 | static void end_tag(void); | ^~~~~~~ indent.c:32:13: warning: 'empty_element_tag' used but never defined 32 | static void empty_element_tag(void); | ^~~~~~~~~~~~~~~~~ indent.c:33:13: warning: 'comment' used but never defined 33 | static void comment(void); | ^~~~~~~ indent.c:34:13: warning: 'content' used but never defined 34 | static void content(void); | ^~~~~~~ indent.c:35:13: warning: 'processing_insn' used but never defined 35 | static void processing_insn(void); | ^~~~~~~~~~~~~~~ indent.c:36:13: warning: 'do_newline' used but never defined 36 | static void do_newline(struct buffer * buffer, const char * text); | ^~~~~~~~~~ lex.yy.c:289:13: warning: 'yyensure_buffer_stack' used but never defined 289 | | ^ lex.yy.c:290:13: warning: 'yy_load_buffer_state' used but never defined 290 | static void yyensure_buffer_stack ( void ); | ^~~~~~~~~~~~~~~~~~~~ lex.yy.c:738:12: warning: 'input' used but never defined 738 | #else | ^ lex.yy.c:722:17: warning: 'yyunput' used but never defined 722 | | ^ *** [indent.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/textproc/xmlindent/work/xmlindent-0.2.16 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/textproc/xmlindent/work/xmlindent-0.2.16 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/xmlindent *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/xmlindent