From https://github.com/archlinux/svntogit-community * branch packages/zh-autoconvert -> FETCH_HEAD * [new branch] packages/zh-autoconvert -> community/packages/zh-autoconvert Cloning into 'zh-autoconvert'... done. :: Synchronizing package databases... % 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 131k 100 131k 0 0 378k 0 --:--:-- --:--:-- --:--:-- 378k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 8548k 0 47180 0 0 70185 0 0:02:04 --:--:-- 0:02:04 70104 24 8548k 24 2089k 0 0 1244k 0 0:00:06 0:00:01 0:00:05 1244k 75 8548k 75 6460k 0 0 2406k 0 0:00:03 0:00:02 0:00:01 2407k 100 8548k 100 8548k 0 0 2826k 0 0:00:03 0:00:03 --:--:-- 2826k % 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 143k 100 143k 0 0 836k 0 --:--:-- --:--:-- --:--:-- 836k :: Starting full system upgrade... there is nothing to do ==> Making package: zh-autoconvert 0.3.16-5 (Mon Sep 2 06:19:39 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> 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 268k 100 268k 0 0 4129k 0 --:--:-- --:--:-- --:--:-- 4137k -> Found autoconvert.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... zh-autoconvert-0.3.16.tar.gz ... Passed autoconvert.patch ... Passed ==> Extracting sources... -> Extracting zh-autoconvert-0.3.16.tar.gz with bsdtar ==> Starting build()... patching file Makefile cd hzconvert;make make[1]: Entering directory '/tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/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 b2u.c: In function 'big2uni': b2u.c:123:9: warning: 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 | b2u.c:123:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 123 | memcpy(p,s, len); | ^~~~~~ io.c: In function 'hzconvert': b2u.c:123:9: note: include '' or provide a declaration of 'memcpy' 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 'gb2uni': g2u.c:121:9: warning: 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' b2u.c: In function 'uni2big': b2u.c:163:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 163 | memcpy(p,s, len); | ^~~~~~ g2u.c: In function 'uni2gb': 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:163:9: note: include '' or provide a declaration of 'memcpy' unicode.c: In function 'utf8_uni': unicode.c:114:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 114 | memcpy(p,s, len); | ^~~~~~ unicode.c:28:1: note: include '' or provide a declaration of 'memcpy' 27 | #include "hz.h" +++ |+#include 28 | unicode.c:114:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 114 | memcpy(p,s, len); | ^~~~~~ unicode.c:114:9: note: include '' or provide a declaration of 'memcpy' unicode.c: In function 'uni_utf8': 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' 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++) | ^ 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 'utf7_uni': 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': 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' 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 45 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:64:20: warning: 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 | judge3.c: In function 'j_code3': 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' 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++){ | ^ judge.c:70:24: warning: implicit declaration of function 'j_code3'; did you mean 'j_code'? [-Wimplicit-function-declaration] 70 | return j_code3(buff,count); | ^~~~~~~ | j_code 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)) | ^~~~~~ ar rs ../lib/libhz.a b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o ar: creating ../lib/libhz.a gcc -fPIC -shared -Wl,-soname,libhz.so.0 -o ../lib/libhz.so.0.0 b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o -ldl rm -f ../lib/libhz.so.0 rm -f ../lib/libhz.so cd ../lib;ln -s libhz.so.0.0 libhz.so.0 cd ../lib;ln -s libhz.so.0 libhz.so make[1]: Leaving directory '/tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/src/autoconvert-0.3.16/hzconvert' gcc -O2 -g -Wall -Iinclude -Llib -lhz autogb.c -lhz -o autogb autogb.c: In function 'print_help': autogb.c:38:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 38 | exit(0); | ^~~~ autogb.c:31:1: note: include '' or provide a declaration of 'exit' 30 | #include "hz.h" +++ |+#include 31 | autogb.c:38:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 38 | exit(0); | ^~~~ autogb.c:38:9: note: include '' or provide a declaration of 'exit' autogb.c: In function 'main': autogb.c:57:13: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] 57 | if( strstr(argv[0],"autogb") != '\0' ){ | ^~~~~~ autogb.c:31:1: note: include '' or provide a declaration of 'strstr' 30 | #include "hz.h" +++ |+#include 31 | autogb.c:57:13: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 57 | if( strstr(argv[0],"autogb") != '\0' ){ | ^~~~~~ autogb.c:57:13: note: include '' or provide a declaration of 'strstr' autogb.c:57:38: warning: comparison between pointer and zero character constant [-Wpointer-compare] 57 | if( strstr(argv[0],"autogb") != '\0' ){ | ^~ autogb.c:57:13: note: did you mean to dereference the pointer? 57 | if( strstr(argv[0],"autogb") != '\0' ){ | ^ autogb.c:59:43: warning: comparison between pointer and zero character constant [-Wpointer-compare] 59 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^~ autogb.c:59:18: note: did you mean to dereference the pointer? 59 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^ autogb.c:98:60: warning: implicit declaration of function 'conv_str' [-Wimplicit-function-declaration] 98 | if((incode=conv_str(optarg))==OTHER_CODE) print_help(argv[0]); | ^~~~~~~~ autogb.c:120:19: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 120 | if((count=read(0,pbuf,MAX_BUFFER))< 0){ | ^~~~ | fread autogb.c:132:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 132 | exit(0); | ^~~~ autogb.c:132:25: note: include '' or provide a declaration of 'exit' autogb.c:138:25: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 138 | write(1,pbuf,count); | ^~~~~ | fwrite autogb.c:128:12: warning: 'outcode' may be used uninitialized [-Wmaybe-uninitialized] 128 | if (incode != outcode){ | ^ autogb.c:44:20: note: 'outcode' was declared here 44 | int incode,outcode,dist; | ^~~~~~~ rm -f autob5;ln -s autogb autob5 ==> Entering fakeroot environment... ==> Starting package()... mkdir -p /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/bin mkdir -p /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/lib mkdir -p /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/include install -m 755 autogb /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/bin install -m 755 lib/libhz.so.0.0 /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/lib cd /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/lib;ln -s libhz.so.0.0 libhz.so.0 cd /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/lib;ln -s libhz.so.0 libhz.so install -m 644 lib/libhz.a /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/lib install -m 644 include/*.h /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/include ln -s autogb /tmp/archlinux-ci/zh-autoconvert-archlinuxrb-build-4oZc8kkW/zh-autoconvert/trunk/pkg/zh-autoconvert/usr/bin/autob5 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "zh-autoconvert"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: zh-autoconvert 0.3.16-5 (Mon Sep 2 06:19:41 2024)