Build of unace with clang_glibc toolchain

The build took 00h 01m 20s and was SUCCESSFUL.

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

SLOCLanguage
14,549 ansic
135 sh
38 makefile
21 cpp
14,743 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: unace 2.5-9 (Thu Apr 13 16:33:03 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file base.mk
# patching file makefile
# patching file unace.mk
# patching file source/base/all/declare.h
# gcc -Wl,-lncurses -I//usr/include -idirafter //usr/include/sys -Isource -D__LINUX__ -D__unix__ -D__GCC__ -U__HAS_IO_H__ source/base/all/all.c source/base/all/arcblk/arcblk.c source/base/all/archives/ace/ace.c source/base/all/archives/read/read.c source/base/all/archives/test/test.c source/base/all/arcinfo/arcinfo.c source/base/all/bitwidth/bitwidth.c source/base/all/bufread/bufread.c source/base/all/comments/comments.c source/base/all/convert/convert.c source/base/all/convert/lin.c source/base/all/convert/nont.c source/base/all/cprdcpr/huff/huff.c source/base/all/cprdcpr/pic/pic.c source/base/all/cprdcpr/sound/sound.c source/base/all/crc/crc.c source/base/all/crypt/crypt.c source/base/all/dcpr/dcpr.c source/base/all/dcpr/comments/comments.c source/base/all/dcpr/huff/huff.c source/base/all/dcpr/lz77/lz77.c source/base/all/dcpr/pic/pic.c source/base/all/dcpr/sound/sound.c source/base/all/dirdata/dirdata.c source/base/all/dosfuncs/noi64.c source/base/all/dosfuncs/dosfuncs.c source/base/all/dosfuncs/noi64lin.c source/base/all/dosfuncs/lin.c source/base/all/error/error.c source/base/all/errorout/errorout.c source/base/all/extract/extract.c source/base/all/filelist/filelist.c source/base/all/funcs/funcs.c source/base/all/lfn/lfn.c source/base/all/lfn/lin.c source/base/all/lfn/nont.c source/base/all/lfn/nodos32.c source/base/all/memory/memory.c source/base/all/memory/nodos32.c source/base/all/memory/nowat.c source/base/all/msgout/msgout.c source/base/all/options/options.c source/base/all/pathfunc/pathfunc.c source/base/all/qsort/qsort.c source/base/all/state/state.c source/base/all/uninorm/uninorm.c source/base/all/uninorm/unincore.c source/base/all/volume/volume.c source/base/all/memory/lin.c source/base/unace/extern/arcace/arcace.c source/base/unace/extern/arcblk/arcblk.c source/base/unace/extern/arcinfo/arcinfo.c source/base/unace/extern/dcpr/dcpr.c source/base/unace/extern/extract/extract.c source/base/unace/extern/filelist/filelist.c source/base/unace/extern/memory/memory.c source/apps/exe/extern/arcblk/arcblk.c source/apps/exe/extern/comments/comments.c source/apps/exe/extern/crypt/crypt.c source/apps/exe/extern/error/error.c source/apps/exe/extern/error/ntlin.c source/apps/exe/extern/errorout/errorout.c source/apps/exe/extern/filelist/filelist.c source/apps/exe/extern/funcs/funcs.c source/apps/exe/extern/msgout/msgout.c source/apps/exe/extern/state/state.c source/apps/exe/extern/volume/volume.c source/apps/exe/acefuncs/acefuncs.c source/apps/exe/commline/commline.c source/apps/exe/convert/convert.c source/apps/exe/input/input.c source/apps/exe/input/lin.c source/apps/exe/messages/msgfiles/eng.c source/apps/exe/messages/messages.c source/apps/exe/outpterr/outpterr.c source/apps/exe/output/output.c source/apps/exe/output/lin.c source/apps/exe/state/state.c source/apps/exe/state/gcc.c source/apps/unace/all/extern/arctest/arctest.c source/apps/unace/all/extern/funcs/funcs.c source/apps/unace/exe/extern/arcblk/arcblk.c source/apps/unace/exe/extern/arcread/arcread.c source/apps/unace/exe/extern/comments/comments.c source/apps/unace/exe/extern/error/error.c source/apps/unace/exe/extern/filelist/filelist.c source/apps/unace/exe/extern/input/input.c source/apps/unace/exe/extern/messages/messages.c source/apps/unace/exe/extern/msgout/msgout.c source/apps/unace/exe/extern/options/options.c source/apps/unace/exe/extern/output/output.c source/apps/unace/exe/extern/volume/volume.c source/apps/unace/exe/extern/state/state.c source/apps/unace/exe/commline/commline.c source/apps/unace/exe/commline/help/help.c source/apps/unace/exe/exe.c source/apps/unace/exe/lin.c -ggdb -ounace
# source/base/all/arcblk/arcblk.c:120:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (*Security = BASE_MEMORY_GetMem(*Size))
# ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/arcblk/arcblk.c:120:19: note: place parentheses around the assignment to silence this warning
# if (*Security = BASE_MEMORY_GetMem(*Size))
# ^
# ( )
# source/base/all/arcblk/arcblk.c:120:19: note: use '==' to turn this assignment into an equality comparison
# if (*Security = BASE_MEMORY_GetMem(*Size))
# ^
# ==
# source/base/all/arcblk/arcblk.c:287:42: warning: implicit declaration of function 'BASE_UNINORM_CP850ToANSI' is invalid in C99 [-Wimplicit-function-declaration]
# BASE_ARCBLK.Header.File.FNAME_SIZE = BASE_UNINORM_CP850ToANSI(
# ^
# 2 warnings generated.
# source/base/all/archives/ace/ace.c:40:13: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
# >= 0)
# ^ ~
# source/base/all/archives/ace/ace.c:46:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# read(BASE_ARCHIVES_TEST.ArchiveHandle, (PCHAR) &BASE_ARCBLK.Header, 4);
# ^
# 2 warnings generated.
# source/base/all/archives/read/read.c:119:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(BASE_ARCHIVES_TEST.ArchiveHandle);
# ^
# 1 warning generated.
# source/base/all/archives/test/test.c:58:14: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# Read = read(BASE_ARCHIVES_TEST.ArchiveHandle,
# ^
# source/base/all/archives/test/test.c:62:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (!Read && !TestPos || errno)
# ~~~~~~^~~~~~~~~~~ ~~
# source/base/all/archives/test/test.c:62:17: note: place parentheses around the '&&' expression to silence this warning
# if (!Read && !TestPos || errno)
# ^
# ( )
# source/base/all/archives/test/test.c:92:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(BASE_ARCHIVES_TEST.ArchiveHandle);
# ^
# 3 warnings generated.
# source/base/all/bufread/bufread.c:45:32: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# (BASE_BUFREAD.BufEnd = read(BASE_BUFREAD.Handle, BASE_BUFREAD.Buf, BASE_BUFREAD.BufSize))
# ^
# source/base/all/bufread/bufread.c:131:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(BASE_BUFREAD.Handle);
# ^
# 2 warnings generated.
# source/base/all/dcpr/dcpr.c:129:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && BASE_DCPR_LZ77.NextDeltaLen)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/dcpr/dcpr.c:129:16: note: place parentheses around the '&&' expression to silence this warning
# && BASE_DCPR_LZ77.NextDeltaLen)
# ^
# 1 warning generated.
# source/base/all/dosfuncs/noi64.c:18:10: warning: implicit declaration of function 'lseek' is invalid in C99 [-Wimplicit-function-declaration]
# return lseek(Handle, (INT)Offset, Origin);
# ^
# 1 warning generated.
# source/base/all/dosfuncs/dosfuncs.c:51:3: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration]
# getcwd(Directory, sizeof(Directory));
# ^
# 1 warning generated.
# source/base/all/dosfuncs/noi64lin.c:24:10: warning: implicit declaration of function 'ftruncate' is invalid in C99 [-Wimplicit-function-declaration]
# return ftruncate(Handle , Size);
# ^
# 1 warning generated.
# source/base/all/dosfuncs/lin.c:49:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (ChPtr = strrchr(DirToOpen, BASE_PATHFUNC_SEPARATOR))
# ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/dosfuncs/lin.c:49:17: note: place parentheses around the assignment to silence this warning
# if (ChPtr = strrchr(DirToOpen, BASE_PATHFUNC_SEPARATOR))
# ^
# ( )
# source/base/all/dosfuncs/lin.c:49:17: note: use '==' to turn this assignment into an equality comparison
# if (ChPtr = strrchr(DirToOpen, BASE_PATHFUNC_SEPARATOR))
# ^
# ==
# source/base/all/dosfuncs/lin.c:104:36: warning: 'memcpy' call operates on objects of type 'DIR' (aka 'struct __dirstream') while the size is based on a different type 'DIR *' (aka 'struct __dirstream *') [-Wsizeof-pointer-memaccess]
# memcpy(Bufi64, Dir, sizeof(Dir));
# ~~~ ^~~
# source/base/all/dosfuncs/lin.c:104:36: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
# memcpy(Bufi64, Dir, sizeof(Dir));
# ^~~
# 2 warnings generated.
# source/base/all/extract/extract.c:137:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (!Decompressed && !BufPos || BASE_ERROR_EXTERN_HandleCancel(1))
# ~~~~~~~~~~~~~~^~~~~~~~~~ ~~
# source/base/all/extract/extract.c:137:25: note: place parentheses around the '&&' expression to silence this warning
# if (!Decompressed && !BufPos || BASE_ERROR_EXTERN_HandleCancel(1))
# ^
# ( )
# source/base/all/extract/extract.c:194:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(Handle);
# ^
# source/base/all/extract/extract.c:224:5: warning: implicit declaration of function 'BASE_STATE_EXTERN_IsCRCOkSet' is invalid in C99 [-Wimplicit-function-declaration]
# BASE_STATE_EXTERN_IsCRCOkSet(&IsCRCOk,
# ^
# source/base/all/extract/extract.c:269:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && BASE_EXTRACT.DoProcessAllVolumes
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/extract/extract.c:269:17: note: place parentheses around the '&&' expression to silence this warning
# && BASE_EXTRACT.DoProcessAllVolumes
# ^
# source/base/all/extract/extract.c:351:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (!DoWriteData && BASE_ARCBLK.Options.IsSolid
# ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/extract/extract.c:351:22: note: place parentheses around the '&&' expression to silence this warning
# if (!DoWriteData && BASE_ARCBLK.Options.IsSolid
# ^
# ( )
# 5 warnings generated.
# source/base/all/funcs/funcs.c:28:7: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && BASE_FILELIST_Create(1, 5, 1)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/funcs/funcs.c:28:7: note: place parentheses around the '&&' expression to silence this warning
# && BASE_FILELIST_Create(1, 5, 1)
# ^
# source/base/all/funcs/funcs.c:30:9: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && BASE_FILELIST_Create(1, Mode, 1))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/funcs/funcs.c:30:9: note: place parentheses around the '&&' expression to silence this warning
# && BASE_FILELIST_Create(1, Mode, 1))
# ^
# source/base/all/funcs/funcs.c:227:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
# (Input = (Input && !BASE_FUNCS.DoOverwriteAll
# ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/funcs/funcs.c:227:25: note: place parentheses around the '&&' expression to silence this warning
# (Input = (Input && !BASE_FUNCS.DoOverwriteAll
# ^
# ( )
# 3 warnings generated.
# source/base/all/lfn/lin.c:53:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (Env = (PCHAR) BASE_MEMORY_GetMem(strlen(SepStr) + 1))
# ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/lfn/lin.c:53:13: note: place parentheses around the assignment to silence this warning
# if (Env = (PCHAR) BASE_MEMORY_GetMem(strlen(SepStr) + 1))
# ^
# ( )
# source/base/all/lfn/lin.c:53:13: note: use '==' to turn this assignment into an equality comparison
# if (Env = (PCHAR) BASE_MEMORY_GetMem(strlen(SepStr) + 1))
# ^
# ==
# 1 warning generated.
# source/base/all/lfn/nont.c:55:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (NextSlashPos = (PCHAR) strchr(NamePos, BASE_PATHFUNC_SEPARATOR))
# ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/lfn/nont.c:55:24: note: place parentheses around the assignment to silence this warning
# if (NextSlashPos = (PCHAR) strchr(NamePos, BASE_PATHFUNC_SEPARATOR))
# ^
# ( )
# source/base/all/lfn/nont.c:55:24: note: use '==' to turn this assignment into an equality comparison
# if (NextSlashPos = (PCHAR) strchr(NamePos, BASE_PATHFUNC_SEPARATOR))
# ^
# ==
# 1 warning generated.
# source/base/all/lfn/nodos32.c:88:10: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration]
# return rmdir(Dir);
# ^
# 1 warning generated.
# source/base/all/memory/nodos32.c:17:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (NewPointer = realloc((PVOID) ((PULONG) OldPointer - 1), NewSize + 4))
# ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/memory/nodos32.c:17:18: note: place parentheses around the assignment to silence this warning
# if (NewPointer = realloc((PVOID) ((PULONG) OldPointer - 1), NewSize + 4))
# ^
# ( )
# source/base/all/memory/nodos32.c:17:18: note: use '==' to turn this assignment into an equality comparison
# if (NewPointer = realloc((PVOID) ((PULONG) OldPointer - 1), NewSize + 4))
# ^
# ==
# 1 warning generated.
# source/base/all/pathfunc/pathfunc.c:143:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (NextSlashPos = strchr(SlashPos + 1, BASE_PATHFUNC_SEPARATOR))
# ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/base/all/pathfunc/pathfunc.c:143:26: note: place parentheses around the assignment to silence this warning
# if (NextSlashPos = strchr(SlashPos + 1, BASE_PATHFUNC_SEPARATOR))
# ^
# ( )
# source/base/all/pathfunc/pathfunc.c:143:26: note: use '==' to turn this assignment into an equality comparison
# if (NextSlashPos = strchr(SlashPos + 1, BASE_PATHFUNC_SEPARATOR))
# ^
# ==
# source/base/all/pathfunc/pathfunc.c:348:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (Path[0] == '\\' && Path[1] != '\\'
# ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
# source/base/all/pathfunc/pathfunc.c:348:23: note: place parentheses around the '&&' expression to silence this warning
# if (Path[0] == '\\' && Path[1] != '\\'
# ^
# ( )
# source/base/all/pathfunc/pathfunc.c:355:5: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration]
# getcwd(CurrentDir, sizeof(CurrentDir));
# ^
# source/base/all/pathfunc/pathfunc.c:393:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (Ptr = strrchr(Path, ':'))
# ~~~~^~~~~~~~~~~~~~~~~~~~
# source/base/all/pathfunc/pathfunc.c:393:11: note: place parentheses around the assignment to silence this warning
# if (Ptr = strrchr(Path, ':'))
# ^
# ( )
# source/base/all/pathfunc/pathfunc.c:393:11: note: use '==' to turn this assignment into an equality comparison
# if (Ptr = strrchr(Path, ':'))
# ^
# ==
# 4 warnings generated.
# source/base/all/state/state.c:25:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
# Wrote = write(Handle, Buf, Len);
# ^
# 1 warning generated.
# source/base/all/uninorm/uninorm.c:26:18: warning: passing 'UINT [321]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
# normalize_nfd(Normalized, Unicode);
# ^~~~~~~~~~
# source/base/all/uninorm/unincore.h:27:39: note: passing argument to parameter 'buf' here
# void normalize_nfd (int * buf, int * str );
# ^
# source/base/all/uninorm/uninorm.c:26:30: warning: passing 'UINT [321]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
# normalize_nfd(Normalized, Unicode);
# ^~~~~~~
# source/base/all/uninorm/unincore.h:27:51: note: passing argument to parameter 'str' here
# void normalize_nfd (int * buf, int * str );
# ^
# source/base/all/uninorm/uninorm.c:27:16: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# encode_utf8(resultstr, Normalized);
# ^~~~~~~~~
# source/base/all/uninorm/unincore.h:17:24: note: passing argument to parameter 'buf' here
# void encode_utf8(char *buf, unsigned *str);
# ^
# source/base/all/uninorm/uninorm.c:29:18: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# return strlen(resultstr);
# ^~~~~~~~~
# //usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# source/base/all/uninorm/uninorm.c:49:18: warning: passing 'UINT [321]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
# normalize_nfc(Normalized, Unicode);
# ^~~~~~~~~~
# source/base/all/uninorm/unincore.h:28:39: note: passing argument to parameter 'buf' here
# void normalize_nfc (int * buf, int * str );
# ^
# source/base/all/uninorm/uninorm.c:49:30: warning: passing 'UINT [321]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
# normalize_nfc(Normalized, Unicode);
# ^~~~~~~
# source/base/all/uninorm/unincore.h:28:51: note: passing argument to parameter 'str' here
# void normalize_nfc (int * buf, int * str );
# ^
# source/base/all/uninorm/uninorm.c:50:16: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# encode_utf8(resultstr, Normalized);
# ^~~~~~~~~
# source/base/all/uninorm/unincore.h:17:24: note: passing argument to parameter 'buf' here
# void encode_utf8(char *buf, unsigned *str);
# ^
# source/base/all/uninorm/uninorm.c:53:18: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# return strlen(resultstr);
# ^~~~~~~~~
# //usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# 8 warnings generated.
# source/base/all/uninorm/unincore.c:321:20: warning: comparison of 0 <= unsigned expression is always true [-Wtautological-compare]
# else if (0 <= (SIndex = initial - SBase) && SIndex < SCount && SIndex % TCount == 0)
# ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 warning generated.
# source/apps/exe/extern/state/state.c:71:13: warning: data argument not used by format string [-Wformat-extra-args]
# OutputStr2);
# ^
# 1 warning generated.
# source/apps/exe/convert/convert.c:34:25: warning: format specifies type 'long long' but the argument has type 'ULONGLONG' (aka 'unsigned long') [-Wformat]
# sprintf(Str, "%lld ", ByteSize);
# ~~~~ ^~~~~~~~
# %lu
# source/apps/exe/convert/convert.c:112:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
# while (Size > 999999999 || UnitCharNumber && Size > 99999999)
# ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
# source/apps/exe/convert/convert.c:112:47: note: place parentheses around the '&&' expression to silence this warning
# while (Size > 999999999 || UnitCharNumber && Size > 99999999)
# ^
# ( )
# source/apps/exe/convert/convert.c:120:34: warning: format specifies type 'long long' but the argument has type 'ULONGLONG' (aka 'unsigned long') [-Wformat]
# sprintf(SizeStr, "%8lld ", Size);
# ~~~~~ ^~~~
# %8lu
# source/apps/exe/convert/convert.c:125:33: warning: format specifies type 'long long' but the argument has type 'ULONGLONG' (aka 'unsigned long') [-Wformat]
# sprintf(SizeStr, "%9lld", Size);
# ~~~~~ ^~~~
# %9lu
# 4 warnings generated.
# source/apps/exe/input/input.c:103:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# if ((isprint(APPS_EXE_INPUT.LastKey) || strchr("<84><94><81><8E><99><9A>", APPS_EXE_INPUT.LastKey))
# ^~~~~~~~~~~~~~~~~~~~~~~~
# 1 warning generated.
# source/apps/exe/messages/messages.c:46:12: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# return read(APPS_EXE_MESSAGES.Handle, Buf, Len);
# ^
# source/apps/exe/messages/messages.c:60:5: warning: implicit declaration of function 'lseek' is invalid in C99 [-Wimplicit-function-declaration]
# lseek(APPS_EXE_MESSAGES.Handle, Len, SEEK_CUR);
# ^
# source/apps/exe/messages/messages.c:70:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(APPS_EXE_MESSAGES.Handle);
# ^
# source/apps/exe/messages/messages.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (AndPos = strchr(Str, '&'))
# ~~~~~~~^~~~~~~~~~~~~~~~~~
# source/apps/exe/messages/messages.c:195:14: note: place parentheses around the assignment to silence this warning
# if (AndPos = strchr(Str, '&'))
# ^
# ( )
# source/apps/exe/messages/messages.c:195:14: note: use '==' to turn this assignment into an equality comparison
# if (AndPos = strchr(Str, '&'))
# ^
# ==
# 4 warnings generated.
# source/apps/exe/output/output.c:128:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(DeleteStr);
# ^~~~~~~~~
# 1 warning generated.
# source/apps/unace/exe/commline/commline.c:213:23: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# if (!(Read += read(Handle, &FileList[Read], sizeof(FileList) - Read)))
# ^
# source/apps/unace/exe/commline/commline.c:254:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(Handle);
# ^
# source/apps/unace/exe/commline/commline.c:396:44: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (!(*SwitchChar) || *SwitchChar == '+' && *(SwitchChar + 1) == 0)
# ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
# source/apps/unace/exe/commline/commline.c:396:44: note: place parentheses around the '&&' expression to silence this warning
# if (!(*SwitchChar) || *SwitchChar == '+' && *(SwitchChar + 1) == 0)
# ^
# ( )
# source/apps/unace/exe/commline/commline.c:554:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && !BASE_CONVERT_StrICmp(PointPos, ".exe"))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# source/apps/unace/exe/commline/commline.c:554:13: note: place parentheses around the '&&' expression to silence this warning
# && !BASE_CONVERT_StrICmp(PointPos, ".exe"))
# ^
# 4 warnings generated.
# source/apps/unace/exe/lin.c:16:37: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
# APPS_EXE_OUTPUT.IsNotRedirected = isatty(fileno(stdout));
# ^
# 1 warning generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "unace"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: unace 2.5-9 (Thu Apr 13 16:33:31 UTC 2017)

CMD: pacman --query --file unace-2.5-9-x86_64.pkg.tar.xz
# unace 2.5-9

Creating hybrid package for 'unace'

Trying to find vanilla package 'unace'...

CMD: pacman --query --file /mirror/unace-2.5-9.pkg.tar.xz
# unace 2.5-9

Package file has the following structure:
# /.PKGINFO
# /.INSTALL
# /.MTREE
# /usr/bin/unace
# /usr/share/licenses/unace/license

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf unace.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/unace.pkg.tar.xz

Attempting to access local repository, attempt 1

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