==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_81fa1104-8d8f-4c96-817c-d0879afc7e02]...done ==> Making package: zh-autoconvert 0.3.16-5.2 (Sun Apr 26 20:00:47 2026) ==> Retrieving sources... -> Downloading zh-autoconvert-0.3.16.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 268.9k 100 268.9k 0 0 308.6k 0 0 100 268.9k 100 268.9k 0 0 308.5k 0 0 100 268.9k 100 268.9k 0 0 308.5k 0 0 -> Found autoconvert.patch ==> Validating source files with sha512sums... zh-autoconvert-0.3.16.tar.gz ... Passed autoconvert.patch ... Passed ==> Making package: zh-autoconvert 0.3.16-5.2 (Sun Apr 26 18:00:53 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found zh-autoconvert-0.3.16.tar.gz -> Found autoconvert.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting zh-autoconvert-0.3.16.tar.gz with bsdtar ==> Starting build()... patching file Makefile cd hzconvert;make make[1]: Entering directory '/startdir/src/autoconvert-0.3.16/hzconvert' gcc -I../include -fPIC -O2 -Wall -g -c b2g.c gcc -I../include -fPIC -O2 -Wall -g -c b2u.c gcc -I../include -fPIC -O2 -Wall -g -c g2u.c gcc -I../include -fPIC -O2 -Wall -g -c hz2gb.c gcc -I../include -fPIC -O2 -Wall -g -c b2g_tables.c gcc -I../include -fPIC -O2 -Wall -g -c b2u_tables.c gcc -I../include -fPIC -O2 -Wall -g -c g2u_tables.c gcc -I../include -fPIC -O2 -Wall -g -c io.c gcc -I../include -fPIC -O2 -Wall -g -c unicode.c gcc -I../include -fPIC -O2 -Wall -g -c judge.c gcc -I../include -fPIC -O2 -Wall -g -c judge3.c gcc -I../include -fPIC -O2 -Wall -g -c gbpercent.c gcc -I../include -fPIC -O2 -Wall -g -c b5percent.c gcc -I../include -fPIC -O2 -Wall -g -c search.c io.c: In function ‘hzconvert’: io.c:28:7: warning: old-style function definition [-Wold-style-definition] 28 | char *hzconvert (s, plen, psaved, dbcvrt) | ^~~~~~~~~ unicode.c: In function ‘u8toun’: unicode.c:31:12: warning: old-style function definition [-Wold-style-definition] 31 | static int u8toun(p, len, pu1, pu2) | ^~~~~~ hz2gb.c: In function ‘hzdecode’: hz2gb.c:45:13: warning: old-style function definition [-Wold-style-definition] 45 | static char hzdecode(c, inst) | ^~~~~~~~ b2g.c: In function ‘g2b’: b2g.c:39:13: warning: old-style function definition [-Wold-style-definition] 39 | static void g2b(s) | ^~~ b2u.c: In function ‘b2u’: b2u.c:37:13: warning: old-style function definition [-Wold-style-definition] 37 | static void b2u(s, t) | ^~~ g2u.c: In function ‘g2u’: g2u.c:38:13: warning: old-style function definition [-Wold-style-definition] 38 | static void g2u(s, t) | ^~~ io.c:47:33: error: too many arguments to function ‘dbcvrt’; expected 0, have 1 47 | dbcvrt (p++); | ^~~~~~ ~~~ io.c:45:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 45 | if ((*p) & 0x80) /* hi-bit on: hanzi */ | ^ g2u.c: In function ‘u2g’: g2u.c:57:13: warning: old-style function definition [-Wold-style-definition] 57 | static void u2g(s, t) | ^~~ unicode.c: In function ‘utf8_uni_init’: unicode.c:71:5: warning: old-style function definition [-Wold-style-definition] 71 | int utf8_uni_init (arg) | ^~~~~~~~~~~~~ unicode.c:73:1: error: number of arguments doesn’t match prototype 73 | { | ^ hz2gb.c: In function ‘hz2gb’: In file included from unicode.c:27: ../include/hz.h:46:22: error: prototype declaration 46 | int uni_utf8_init(), utf8_uni_init(); /* unicode.c */ | ^~~~~~~~~~~~~ hz2gb.c:130:7: warning: old-style function definition [-Wold-style-definition] 130 | char *hz2gb (s,plen,inst) | ^~~~~ hz2gb.c:134:1: error: number of arguments doesn’t match prototype 134 | { | ^ g2u.c: In function ‘gb2uni_init’: g2u.c:71:5: warning: old-style function definition [-Wold-style-definition] 71 | int gb2uni_init (arg) | ^~~~~~~~~~~ g2u.c:73:1: error: number of arguments doesn’t match prototype 73 | { | ^ In file included from hz2gb.c:27: ../include/hz.h:39:7: error: prototype declaration 39 | char *hz2gb(),*gb2hz(); /* hz2gb.c */ | ^~~~~ unicode.c: In function ‘utf8_uni’: In file included from g2u.c:27: ../include/hz.h:51:5: error: prototype declaration 51 | int gb2uni_init(), uni2gb_init(); /* g2u.c */ | ^~~~~~~~~~~ unicode.c:92:7: warning: old-style function definition [-Wold-style-definition] 92 | char *utf8_uni (s,plen,inst) | ^~~~~~~~ unicode.c:96:1: error: number of arguments doesn’t match prototype 96 | { | ^ ../include/hz.h:45:20: error: prototype declaration 45 | char *uni_utf8(), *utf8_uni(); /* unicode.c */ | ^~~~~~~~ g2u.c: In function ‘uni2gb_init’: unicode.c:114:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 114 | memcpy(p,s, len); | ^~~~~~ g2u.c:88:5: warning: old-style function definition [-Wold-style-definition] 88 | int uni2gb_init (arg) | ^~~~~~~~~~~ unicode.c:28:1: note: include ‘’ or provide a declaration of ‘memcpy’ 27 | #include "hz.h" +++ |+#include 28 | g2u.c:90:1: error: number of arguments doesn’t match prototype 90 | { | ^ unicode.c:114:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 114 | memcpy(p,s, len); | ^~~~~~ ../include/hz.h:51:20: error: prototype declaration 51 | int gb2uni_init(), uni2gb_init(); /* g2u.c */ | ^~~~~~~~~~~ unicode.c:114:9: note: include ‘’ or provide a declaration of ‘memcpy’ g2u.c: In function ‘gb2uni’: g2u.c:104:7: warning: old-style function definition [-Wold-style-definition] 104 | char *gb2uni (s,plen,inst) | ^~~~~~ g2u.c:108:1: error: number of arguments doesn’t match prototype 108 | { | ^ ../include/hz.h:50:7: error: prototype declaration 50 | char *gb2uni(), *uni2gb(); /* g2u.c */ | ^~~~~~ g2u.c:121:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 121 | memcpy(p, s, len); | ^~~~~~ g2u.c:28:1: note: include ‘’ or provide a declaration of ‘memcpy’ 27 | #include "hz.h" +++ |+#include 28 | g2u.c:121:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 121 | memcpy(p, s, len); | ^~~~~~ g2u.c:121:9: note: include ‘’ or provide a declaration of ‘memcpy’ hz2gb.c: In function ‘gb2hz’: hz2gb.c:144:7: warning: old-style function definition [-Wold-style-definition] 144 | char *gb2hz (s,plen,inst) | ^~~~~ unicode.c: In function ‘uni_utf8_init’: unicode.c:148:5: warning: old-style function definition [-Wold-style-definition] 148 | int uni_utf8_init (arg) | ^~~~~~~~~~~~~ unicode.c:150:1: error: number of arguments doesn’t match prototype 150 | { | ^ ../include/hz.h:46:5: error: prototype declaration 46 | int uni_utf8_init(), utf8_uni_init(); /* unicode.c */ | ^~~~~~~~~~~~~ hz2gb.c:148:1: error: number of arguments doesn’t match prototype 148 | { | ^ ../include/hz.h:39:16: error: prototype declaration 39 | char *hz2gb(),*gb2hz(); /* hz2gb.c */ | ^~~~~ hz2gb.c: In function ‘hz2gb_init’: unicode.c: In function ‘uni_utf8’: hz2gb.c:156:5: warning: old-style function definition [-Wold-style-definition] 156 | int hz2gb_init (arg) | ^~~~~~~~~~ unicode.c:164:7: warning: old-style function definition [-Wold-style-definition] 164 | char *uni_utf8 (s,plen,inst) | ^~~~~~~~ hz2gb.c:158:1: error: number of arguments doesn’t match prototype 158 | { | ^ unicode.c:168:1: error: number of arguments doesn’t match prototype 168 | { | ^ ../include/hz.h:40:7: error: prototype declaration 40 | int hz2gb_init(),gb2hz_init(); | ^~~~~~~~~~ ../include/hz.h:45:7: error: prototype declaration 45 | char *uni_utf8(), *utf8_uni(); /* unicode.c */ | ^~~~~~~~ g2u.c: In function ‘uni2gb’: g2u.c:144:7: warning: old-style function definition [-Wold-style-definition] 144 | char *uni2gb (s,plen,inst) | ^~~~~~ g2u.c:148:1: error: number of arguments doesn’t match prototype 148 | { | ^ ../include/hz.h:50:18: error: prototype declaration 50 | char *gb2uni(), *uni2gb(); /* g2u.c */ | ^~~~~~ unicode.c:181:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 181 | memcpy(p,s, len); | ^~~~~~ unicode.c:181:9: note: include ‘’ or provide a declaration of ‘memcpy’ b2u.c: In function ‘u2b’: hz2gb.c: In function ‘gb2hz_init’: b2u.c:61:13: warning: old-style function definition [-Wold-style-definition] 61 | static void u2b(s, t) | ^~~ hz2gb.c:175:5: warning: old-style function definition [-Wold-style-definition] 175 | int gb2hz_init (arg) | ^~~~~~~~~~ hz2gb.c:177:1: error: number of arguments doesn’t match prototype 177 | { | ^ ../include/hz.h:40:20: error: prototype declaration 40 | int hz2gb_init(),gb2hz_init(); | ^~~~~~~~~~ g2u.c:161:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 161 | memcpy(p,s, len); | ^~~~~~ g2u.c:161:9: note: include ‘’ or provide a declaration of ‘memcpy’ b2u.c: In function ‘big2uni_init’: b2u.c:75:5: warning: old-style function definition [-Wold-style-definition] 75 | int big2uni_init (arg) | ^~~~~~~~~~~~ b2u.c:77:1: error: number of arguments doesn’t match prototype 77 | { | ^ In file included from b2u.c:26: ../include/hz.h:54:5: error: prototype declaration 54 | int big2uni_init(), uni2big_init(); /* b2u.c */ | ^~~~~~~~~~~~ b2u.c: In function ‘uni2big_init’: b2u.c:91:5: warning: old-style function definition [-Wold-style-definition] 91 | int uni2big_init (arg) | ^~~~~~~~~~~~ b2u.c:93:1: error: number of arguments doesn’t match prototype 93 | { | ^ ../include/hz.h:54:21: error: prototype declaration 54 | int big2uni_init(), uni2big_init(); /* b2u.c */ | ^~~~~~~~~~~~ b2u.c: In function ‘big2uni’: b2u.c:106:7: warning: old-style function definition [-Wold-style-definition] 106 | char *big2uni (s,plen,inst) | ^~~~~~~ b2u.c:110:1: error: number of arguments doesn’t match prototype 110 | { | ^ ../include/hz.h:53:7: error: prototype declaration 53 | char *big2uni(), *uni2big(); /* b2u.c */ | ^~~~~~~ b2u.c:123:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 123 | memcpy(p,s, len); | ^~~~~~ b2u.c:27:1: note: include ‘’ or provide a declaration of ‘memcpy’ 26 | #include "hz.h" +++ |+#include 27 | b2g.c: In function ‘b2g’: b2u.c:123:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 123 | memcpy(p,s, len); | ^~~~~~ b2g.c:58:13: warning: old-style function definition [-Wold-style-definition] 58 | static void b2g(s) | ^~~ b2u.c:123:9: note: include ‘’ or provide a declaration of ‘memcpy’ b2u.c: In function ‘uni2big’: b2u.c:146:7: warning: old-style function definition [-Wold-style-definition] 146 | char *uni2big (s,plen,inst) | ^~~~~~~ b2u.c:150:1: error: number of arguments doesn’t match prototype 150 | { | ^ ../include/hz.h:53:19: error: prototype declaration 53 | char *big2uni(), *uni2big(); /* b2u.c */ | ^~~~~~~ unicode.c: In function ‘init_utf7_tables’: unicode.c:241:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 241 | for (s = SAFE_CHARS; *s != '\0'; s++) | ^ b2u.c:163:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 163 | memcpy(p,s, len); | ^~~~~~ b2u.c:163:9: note: include ‘’ or provide a declaration of ‘memcpy’ unicode.c:243:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 243 | for (s = SPACE_CHARS; *s != '\0'; s++) | ^ unicode.c: In function ‘u7toun’: b2g.c: In function ‘gb2big_init’: unicode.c:255:12: warning: old-style function definition [-Wold-style-definition] 255 | static int u7toun(c, pu1, pu2, ctx) /* return 1 if a unicode is produced */ | ^~~~~~ b2g.c:84:5: warning: old-style function definition [-Wold-style-definition] 84 | int gb2big_init (arg) | ^~~~~~~~~~~ b2g.c:86:1: error: number of arguments doesn’t match prototype 86 | { | ^ In file included from b2g.c:26: ../include/hz.h:43:5: error: prototype declaration 43 | int gb2big_init(), big2gb_init(); /* b2g.c */ | ^~~~~~~~~~~ b2g.c: In function ‘big2gb_init’: b2g.c:100:5: warning: old-style function definition [-Wold-style-definition] 100 | int big2gb_init (arg) | ^~~~~~~~~~~ b2g.c:102:1: error: number of arguments doesn’t match prototype 102 | { | ^ ../include/hz.h:43:20: error: prototype declaration 43 | int gb2big_init(), big2gb_init(); /* b2g.c */ | ^~~~~~~~~~~ b2g.c: In function ‘gb2big’: unicode.c: In function ‘untou7’: b2g.c:115:7: warning: old-style function definition [-Wold-style-definition] 115 | char *gb2big (s,plen,inst) | ^~~~~~ b2g.c:119:1: error: number of arguments doesn’t match prototype 119 | { | ^ unicode.c:303:12: warning: old-style function definition [-Wold-style-definition] 303 | static int untou7(u1, u2, s, ctx) /* return the # of char written to s */ | ^~~~~~ ../include/hz.h:42:7: error: prototype declaration 42 | char *gb2big(), *big2gb(); /* b2g.c */ | ^~~~~~ b2g.c:120:17: error: too many arguments to function ‘hzconvert’; expected 0, have 4 120 | return (hzconvert (s, plen, &gb2big_savec[inst], g2b)); | ^~~~~~~~~ ~ b2g.c:80:14: note: declared here 80 | extern char *hzconvert (); | ^~~~~~~~~ b2g.c: In function ‘big2gb’: b2g.c:123:7: warning: old-style function definition [-Wold-style-definition] 123 | char *big2gb (s,plen,inst) | ^~~~~~ b2g.c:127:1: error: number of arguments doesn’t match prototype 127 | { | ^ ../include/hz.h:42:18: error: prototype declaration 42 | char *gb2big(), *big2gb(); /* b2g.c */ | ^~~~~~ b2g.c:128:17: error: too many arguments to function ‘hzconvert’; expected 0, have 4 128 | return (hzconvert (s, plen, &big2gb_savec[inst], b2g)); | ^~~~~~~~~ ~ b2g.c:80:14: note: declared here 80 | extern char *hzconvert (); | ^~~~~~~~~ unicode.c: In function ‘utf7_uni_init’: unicode.c:346:5: warning: old-style function definition [-Wold-style-definition] 346 | int utf7_uni_init (arg) | ^~~~~~~~~~~~~ unicode.c:348:1: error: number of arguments doesn’t match prototype 348 | { | ^ ../include/hz.h:48:22: error: prototype declaration 48 | int uni_utf7_init(), utf7_uni_init(); /* unicode.c */ | ^~~~~~~~~~~~~ unicode.c: In function ‘utf7_uni’: unicode.c:368:7: warning: old-style function definition [-Wold-style-definition] 368 | char *utf7_uni (s,plen,inst) | ^~~~~~~~ unicode.c:372:1: error: number of arguments doesn’t match prototype 372 | { | ^ ../include/hz.h:47:20: error: prototype declaration 47 | char *uni_utf7(), *utf7_uni(); /* unicode.c */ | ^~~~~~~~ unicode.c:380:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 380 | memcpy(p,s, len); | ^~~~~~ unicode.c:380:9: note: include ‘’ or provide a declaration of ‘memcpy’ unicode.c: In function ‘uni_utf7_init’: unicode.c:397:5: warning: old-style function definition [-Wold-style-definition] 397 | int uni_utf7_init (arg) | ^~~~~~~~~~~~~ unicode.c:399:1: error: number of arguments doesn’t match prototype 399 | { | ^ ../include/hz.h:48:5: error: prototype declaration 48 | int uni_utf7_init(), utf7_uni_init(); /* unicode.c */ | ^~~~~~~~~~~~~ unicode.c: In function ‘uni_utf7’: unicode.c:420:7: warning: old-style function definition [-Wold-style-definition] 420 | char *uni_utf7 (s,plen,inst) | ^~~~~~~~ unicode.c:424:1: error: number of arguments doesn’t match prototype 424 | { | ^ ../include/hz.h:47:7: error: prototype declaration 47 | char *uni_utf7(), *utf7_uni(); /* unicode.c */ | ^~~~~~~~ unicode.c:437:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 437 | memcpy(p,s, len); | ^~~~~~ unicode.c:437:9: note: include ‘’ or provide a declaration of ‘memcpy’ make[1]: *** [Makefile:9: b2u.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:9: hz2gb.o] Error 1 make[1]: *** [Makefile:9: io.o] Error 1 make[1]: *** [Makefile:9: unicode.o] Error 1 make[1]: *** [Makefile:9: b2g.o] Error 1 make[1]: *** [Makefile:9: g2u.o] Error 1 judge3.c: In function ‘j_code3’: judge3.c:47:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:71:50: warning: pointer targets in passing argument 1 of ‘inGB’ differ in signedness [-Wpointer-sign] 71 | if(temphz = inGB(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:31:36: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 31 | inGB (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:71:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | if(temphz = inGB(phz, 2)) | ^~~~~~ judge3.c:73:52: warning: pointer targets in passing argument 1 of ‘inBig5’ differ in signedness [-Wpointer-sign] 73 | if(temphz = inBig5(phz, 2)) | ^~~ | | | unsigned char * ../include/zhstatis.h:33:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 33 | inBig5 (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:73:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if(temphz = inBig5(phz, 2)) | ^~~~~~ search.c: In function ‘hz_convert’: search.c:111:20: error: too many arguments to function ‘clist[bt_stack[t].index].pfun_convert’; expected 0, have 3 111 | ps=clist[bt_stack[t].index].pfun_convert(pbuf,count,inst); | ^~~~~ ~~~~ search.c:29:17: note: declared here 29 | char* (*pfun_convert)(); | ^~~~~~~~~~~~ judge.c: In function ‘j_code’: judge.c:45:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 45 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:45:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 45 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:64:20: error: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration] 64 | if(strstr(buff,HZ_START)!=NULL && strstr(buff,HZ_END)!=NULL){ | ^~~~~~ judge.c:31:1: note: include ‘’ or provide a declaration of ‘strstr’ 30 | #include "hz.h" +++ |+#include 31 | judge.c:64:20: warning: incompatible implicit declaration of built-in function ‘strstr’ [-Wbuiltin-declaration-mismatch] 64 | if(strstr(buff,HZ_START)!=NULL && strstr(buff,HZ_END)!=NULL){ | ^~~~~~ judge.c:64:20: note: include ‘’ or provide a declaration of ‘strstr’ judge.c:70:24: error: implicit declaration of function ‘j_code3’; did you mean ‘j_code’? [-Wimplicit-function-declaration] 70 | return j_code3(buff,count); | ^~~~~~~ | j_code make[1]: *** [Makefile:9: search.o] Error 1 make[1]: *** [Makefile:9: judge.o] Error 1 make[1]: Leaving directory '/startdir/src/autoconvert-0.3.16/hzconvert' make: *** [Makefile:17: hzlib] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_81fa1104-8d8f-4c96-817c-d0879afc7e02/build