+ 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/oto-0.4nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/oto-0.4nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for oto-0.4nb4 cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /usr/bin/bash ./config.status creating config.h config.h is unchanged /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/fonts/oto/work/oto-0.4' Making all in config gmake[2]: Entering directory '/home/pbulk/build/fonts/oto/work/oto-0.4/config' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/fonts/oto/work/oto-0.4/config' Making all in src gmake[2]: Entering directory '/home/pbulk/build/fonts/oto/work/oto-0.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c misc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c u2c.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c directory.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c name.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/usr/include -DPKGDATADIR=\"/opt/pkg/share/oto\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -c cmap.c In file included from ot.h:26, from directory.c:25: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ u2c.h:46:12: error: expected ';' before 'typedef' 46 | __END_DECLS | ^ | ; In file included from directory.c:25: ot.h:208:14: error: expected ';' before 'extern' 208 | __BEGIN_DECLS | ^ | ; 209 | 210 | extern void read_table(uint8_t *p, uint32_t length, | ~~~~~~ In file included from ot.h:26, from misc.c:24: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ ot.h:252:1: error: unknown type name '__END_DECLS' 252 | __END_DECLS | ^~~~~~~~~~~ directory.c:27:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 27 | FontDirectory *new_font_directory(void) | ^ u2c.h:46:12: error: expected ';' before 'typedef' 46 | __END_DECLS | ^ | ; In file included from misc.c:24: ot.h:208:14: error: expected ';' before 'extern' 208 | __BEGIN_DECLS | ^ | ; 209 | 210 | extern void read_table(uint8_t *p, uint32_t length, | ~~~~~~ ot.h:252:12: error: expected ';' before 'void' 252 | __END_DECLS | ^ | ; misc.c: In function 'to_utf8_string': misc.c:81:17: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 81 | s = (char *)calloc(count, 1); | ^~~~~~ misc.c:81:17: warning: incompatible implicit declaration of built-in function 'calloc' misc.c:25:1: note: include '' or provide a declaration of 'calloc' 24 | #include "ot.h" +++ |+#include 25 | misc.c:82:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 82 | if ((strcmp(from, "GBK") == 0) | ^~~~~~ misc.c:95:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 95 | memcpy(s, buffer, count); | ^~~~~~ misc.c:95:9: warning: incompatible implicit declaration of built-in function 'memcpy' misc.c:25:1: note: include '' or provide a declaration of 'memcpy' 24 | #include "ot.h" +++ |+#include 25 | misc.c:103:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 103 | iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); | ^~~~~~ | | | char ** In file included from misc.c:21: /home/pbulk/build/fonts/oto/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ misc.c:108:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 108 | free(s); | ^~~~ misc.c:108:5: warning: incompatible implicit declaration of built-in function 'free' misc.c:108:5: note: include '' or provide a declaration of 'free' misc.c: In function 'from_utf8_string': misc.c:131:20: warning: incompatible implicit declaration of built-in function 'calloc' 131 | s = (uint8_t *)calloc(count, 1); | ^~~~~~ misc.c:131:20: note: include '' or provide a declaration of 'calloc' misc.c:138:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 138 | iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); | ^~~~~~ | | | char ** In file included from misc.c:21: /home/pbulk/build/fonts/oto/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ misc.c:175:9: warning: incompatible implicit declaration of built-in function 'memcpy' 175 | memcpy(buffer, s, count); | ^~~~~~ misc.c:175:9: note: include '' or provide a declaration of 'memcpy' misc.c:178:5: warning: incompatible implicit declaration of built-in function 'free' 178 | free(s); | ^~~~ misc.c:178:5: note: include '' or provide a declaration of 'free' In file included from ot.h:26, from main.c:27: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ u2c.h:46:12: error: expected ';' before 'typedef' 46 | __END_DECLS | ^ | ; In file included from main.c:27: ot.h:208:14: error: expected ';' before 'extern' 208 | __BEGIN_DECLS | ^ | ; 209 | 210 | extern void read_table(uint8_t *p, uint32_t length, | ~~~~~~ ot.h:252:12: error: expected ';' before 'void' 252 | __END_DECLS | ^ | ; In file included from u2c.c:26: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ u2c.h:46:12: error: expected ';' before 'static' 46 | __END_DECLS | ^ | ; u2c.c: In function 'u2c_open': u2c.c:49:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 49 | strcpy(path, PKGDATADIR); | ^~~~~~ u2c.c:49:9: warning: incompatible implicit declaration of built-in function 'strcpy' u2c.c:27:1: note: include '' or provide a declaration of 'strcpy' 26 | #include "u2c.h" +++ |+#include 27 | u2c.c:50:9: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 50 | strcat(path, "/"); | ^~~~~~ u2c.c:50:9: warning: incompatible implicit declaration of built-in function 'strcat' u2c.c:50:9: note: include '' or provide a declaration of 'strcat' u2c.c:90:17: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 90 | if (strcmp(file, BIG5) == 0) | ^~~~~~ gmake[2]: *** [Makefile:145: directory.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from ot.h:26, from name.c:26: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ u2c.h:46:12: error: expected ';' before 'typedef' 46 | __END_DECLS | ^ | ; In file included from name.c:26: ot.h:208:14: error: expected ';' before 'extern' 208 | __BEGIN_DECLS | ^ | ; 209 | 210 | extern void read_table(uint8_t *p, uint32_t length, | ~~~~~~ ot.h:252:1: error: unknown type name '__END_DECLS' 252 | __END_DECLS | ^~~~~~~~~~~ name.c:28:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 28 | NameTable *new_name_table(void) | ^ gmake[2]: *** [Makefile:145: misc.o] Error 1 gmake[2]: *** [Makefile:145: u2c.o] Error 1 In file included from ot.h:26, from cmap.c:27: u2c.h:40:14: error: expected ';' before 'extern' 40 | __BEGIN_DECLS | ^ | ; 41 | 42 | extern U2C *u2c_open(char *file); | ~~~~~~ u2c.h:46:12: error: expected ';' before 'typedef' 46 | __END_DECLS | ^ | ; In file included from cmap.c:27: ot.h:208:14: error: expected ';' before 'extern' 208 | __BEGIN_DECLS | ^ | ; 209 | 210 | extern void read_table(uint8_t *p, uint32_t length, | ~~~~~~ gmake[2]: *** [Makefile:145: main.o] Error 1 ot.h:252:1: error: unknown type name '__END_DECLS' 252 | __END_DECLS | ^~~~~~~~~~~ cmap.c:29:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 29 | CMapTable *new_cmap_table(void) | ^ gmake[2]: *** [Makefile:145: name.o] Error 1 gmake[2]: *** [Makefile:145: cmap.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/fonts/oto/work/oto-0.4/src' gmake[1]: *** [Makefile:136: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/fonts/oto/work/oto-0.4' gmake: *** [Makefile:280: all-recursive-am] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/fonts/oto *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/fonts/oto