Build of zh-autoconvert with vanilla toolchain

The build took 00h 00m 52s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
27,941 ansic
264 perl
65 makefile
9 python
28,279 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: zh-autoconvert 0.3.16-3 (Wed Aug 24 12:22:25 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile
# cd hzconvert;make
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/zh-autoconvert/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
# b2u.c: In function 'big2uni':
# b2u.c:123:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy(p,s, len);
# ^~~~~~
# b2u.c:123:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# b2u.c:123:2: note: include '' or provide a declaration of 'memcpy'
# b2u.c: In function 'uni2big':
# b2u.c:163:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# memcpy(p,s, len);
# ^~~~~~
# b2u.c:163:2: note: include '' or provide a declaration of 'memcpy'
# gcc -I../include -fPIC -O2 -Wall -g -c g2u.c
# g2u.c: In function 'gb2uni':
# g2u.c:121:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy(p, s, len);
# ^~~~~~
# g2u.c:121:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# g2u.c:121:2: note: include '' or provide a declaration of 'memcpy'
# g2u.c: In function 'uni2gb':
# g2u.c:161:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# memcpy(p,s, len);
# ^~~~~~
# g2u.c:161:2: note: include '' or provide a declaration of 'memcpy'
# 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
# io.c: In function 'hzconvert':
# io.c:45:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
# if ((*p) & 0x80) /* hi-bit on: hanzi */
# ^
# gcc -I../include -fPIC -O2 -Wall -g -c unicode.c
# unicode.c: In function 'utf8_uni':
# unicode.c:114:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy(p,s, len);
# ^~~~~~
# unicode.c:114:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# unicode.c:114:2: note: include '' or provide a declaration of 'memcpy'
# unicode.c: In function 'uni_utf8':
# unicode.c:181:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# memcpy(p,s, len);
# ^~~~~~
# unicode.c:181:2: note: include '' or provide a declaration of 'memcpy'
# unicode.c: In function 'init_utf7_tables':
# unicode.c:241:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for (s = SAFE_CHARS; *s != '\0'; s++)
# ^
# unicode.c:243:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for (s = SPACE_CHARS; *s != '\0'; s++)
# ^
# unicode.c: In function 'utf7_uni':
# unicode.c:380:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# memcpy(p,s, len);
# ^~~~~~
# unicode.c:380:2: note: include '' or provide a declaration of 'memcpy'
# unicode.c: In function 'uni_utf7':
# unicode.c:437:2: warning: incompatible implicit declaration of built-in function 'memcpy'
# memcpy(p,s, len);
# ^~~~~~
# unicode.c:437:2: note: include '' or provide a declaration of 'memcpy'
# gcc -I../include -fPIC -O2 -Wall -g -c judge.c
# judge.c: In function 'j_code':
# judge.c:45:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for(phz=buff;phz<(buff+count);phz++){
# ^
# judge.c:45:18: warning: comparison of distinct pointer types lacks a cast
# for(phz=buff;phz<(buff+count);phz++){
# ^
# judge.c:64:6: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
# if(strstr(buff,HZ_START)!=NULL && strstr(buff,HZ_END)!=NULL){
# ^~~~~~
# judge.c:64:6: warning: incompatible implicit declaration of built-in function 'strstr'
# judge.c:64:6: note: include '' or provide a declaration of 'strstr'
# judge.c:70:10: warning: implicit declaration of function 'j_code3' [-Wimplicit-function-declaration]
# return j_code3(buff,count);
# ^~~~~~~
# gcc -I../include -fPIC -O2 -Wall -g -c judge3.c
# judge3.c: In function 'j_code3':
# judge3.c:47:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for(phz=buff; (int)phz < ((int)buff + count); phz++){
# ^
# judge3.c:47:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# for(phz=buff; (int)phz < ((int)buff + count); phz++){
# ^
# judge3.c:47:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# for(phz=buff; (int)phz < ((int)buff + count); phz++){
# ^
# judge3.c:71:22: warning: pointer targets in passing argument 1 of 'inGB' differ in signedness [-Wpointer-sign]
# if(temphz = inGB(phz, 2))
# ^~~
# In file included from judge3.c:34:0:
# ../include/zhstatis.h:31:2: note: expected 'const char *' but argument is of type 'unsigned char *'
# inGB (register const char *str, register unsigned int len);
# ^~~~
# judge3.c:71:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
# if(temphz = inGB(phz, 2))
# ^~
# judge3.c:73:24: warning: pointer targets in passing argument 1 of 'inBig5' differ in signedness [-Wpointer-sign]
# if(temphz = inBig5(phz, 2))
# ^~~
# In file included from judge3.c:34:0:
# ../include/zhstatis.h:33:2: note: expected 'const char *' but argument is of type 'unsigned char *'
# inBig5 (register const char *str, register unsigned int len);
# ^~~~~~
# judge3.c:73:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
# if(temphz = inBig5(phz, 2))
# ^~
# 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
# 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/zh-autoconvert/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:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# exit(0);
# ^~~~
# autogb.c:38:2: warning: incompatible implicit declaration of built-in function 'exit'
# autogb.c:38:2: note: include '' or provide a declaration of 'exit'
# autogb.c: In function 'main':
# autogb.c:57:6: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
# if( strstr(argv[0],"autogb") != '\0' ){
# ^~~~~~
# autogb.c:57:6: warning: incompatible implicit declaration of built-in function 'strstr'
# autogb.c:57:6: note: include '' or provide a declaration of 'strstr'
# autogb.c:98:18: warning: implicit declaration of function 'conv_str' [-Wimplicit-function-declaration]
# if((incode=conv_str(optarg))==OTHER_CODE) print_help(argv[0]);
# ^~~~~~~~
# autogb.c:120:12: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
# if((count=read(0,pbuf,MAX_BUFFER))< 0){
# ^~~~
# autogb.c:132:4: warning: incompatible implicit declaration of built-in function 'exit'
# exit(0);
# ^~~~
# autogb.c:132:4: note: include '' or provide a declaration of 'exit'
# autogb.c:138:4: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
# write(1,pbuf,count);
# ^~~~~
# autogb.c:130:5: warning: 'outcode' may be used uninitialized in this function [-Wmaybe-uninitialized]
# if((dist=hz_search(incode,outcode,8))==0){
# ^
# rm -f autob5;ln -s autogb autob5
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/bin
# mkdir -p /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/lib
# mkdir -p /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/include
# install -m 755 autogb /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/bin
# install -m 755 lib/libhz.so.0.0 /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/lib
# cd /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/lib;ln -s libhz.so.0.0 libhz.so.0
# cd /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/lib;ln -s libhz.so.0 libhz.so
# install -m 644 lib/libhz.a /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/lib
# install -m 644 include/*.h /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/include
# ln -s autogb /tmp/zh-autoconvert/pkg/zh-autoconvert/usr/bin/autob5
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "zh-autoconvert"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: zh-autoconvert 0.3.16-3 (Wed Aug 24 12:22:27 UTC 2016)

CMD: pacman --query --file zh-autoconvert-0.3.16-3-x86_64.pkg.tar.xz
# zh-autoconvert 0.3.16-3

Creating hybrid package for 'zh-autoconvert'

Trying to find vanilla package 'zh-autoconvert'...

CMD: pacman --query --file /mirror/zh-autoconvert-0.3.16-3.pkg.tar.xz
# zh-autoconvert 0.3.16-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/hz.h
# /usr/include/zhstatis.h
# /usr/bin/autogb
# /usr/bin/autob5
# /usr/lib/libhz.so
# /usr/lib/libhz.so.0.0
# /usr/lib/libhz.so.0
# /sysroot/usr/lib/libhz.so.0.0
# /sysroot/usr/lib/libhz.so.0
# /sysroot/usr/lib/libhz.so
# /sysroot/usr/lib/libhz.a
# /sysroot/usr/include/hz.h
# /sysroot/usr/include/zhstatis.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf zh-autoconvert.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/zh-autoconvert.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/zh-autoconvert.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 1005

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/zh-autoconvert.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/zh-autoconvert.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'