Build of unzip with clang_glibc toolchain

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

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

SLOCLanguage
55,062 ansic
4,084 cpp
2,454 makefile
1,789 asm
1,012 cs
111 sh
64,512 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: unzip 6.0-12 (Thu Apr 13 20:46:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT unzip.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT crc32.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT crypt.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT envargs.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT explode.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT extract.c
# extract.c:476:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# extract.c:755:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# extract.c:756:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# 3 warnings generated.
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT fileio.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT globals.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT inflate.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT list.c
# list.c:184:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# ((char *)slide, LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# list.c:510:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# list.c:594:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# ((char *)slide, LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# list.c:677:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# 4 warnings generated.
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT match.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT process.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT ttyio.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT ubz2err.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT unreduce.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT unshrink.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT zipinfo.c
# zipinfo.c:774:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# ((char *)slide, LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# zipinfo.c:963:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# 2 warnings generated.
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT unix/unix.c
# cc -o unzip -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -lbz2
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT funzip.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DFUNZIP -o cryptf.o crypt.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DFUNZIP -o globalsf.o globals.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DFUNZIP -o inflatef.o inflate.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DFUNZIP -o ttyiof.o ttyio.c
# cc -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o unzipsfx.o unzip.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o crc32_.o crc32.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o crypt_.o crypt.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o extract_.o extract.c
# extract.c:476:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# LoadFarString(ReportMsg)));
# ^ ~~~~~~~~~
# ./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
# # define LoadFarString(x) (char *)(x)
# ^ ~
# ./unzpriv.h:2708:61: note: expanded from macro 'Info'
# (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
# ^~~~~~~~
# 1 warning generated.
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o fileio_.o fileio.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o globals_.o globals.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o inflate_.o inflate.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o match_.o match.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o process_.o process.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o ttyio_.o ttyio.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o ubz2err_.o ubz2err.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT -DSFX -o unix_.o unix/unix.c
# cc -o unzipsfx unzipsfx.o crc32_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/unzip/pkg/unzip/usr/bin
# cp unzip funzip unzipsfx /tmp/unzip/pkg/unzip/usr/bin
# cp unix/zipgrep /tmp/unzip/pkg/unzip/usr/bin
# rm -f /tmp/unzip/pkg/unzip/usr/bin/zipinfo
# ln /tmp/unzip/pkg/unzip/usr/bin/unzip /tmp/unzip/pkg/unzip/usr/bin/zipinfo
# mkdir -p /tmp/unzip/pkg/unzip/usr/man/man1
# cp man/funzip.1 /tmp/unzip/pkg/unzip/usr/man/man1/funzip.1
# cp man/unzip.1 /tmp/unzip/pkg/unzip/usr/man/man1/unzip.1
# cp man/unzipsfx.1 /tmp/unzip/pkg/unzip/usr/man/man1/unzipsfx.1
# cp man/zipgrep.1 /tmp/unzip/pkg/unzip/usr/man/man1/zipgrep.1
# cp man/zipinfo.1 /tmp/unzip/pkg/unzip/usr/man/man1/zipinfo.1
# chmod 755 /tmp/unzip/pkg/unzip/usr/bin/funzip /tmp/unzip/pkg/unzip/usr/bin/unzip /tmp/unzip/pkg/unzip/usr/bin/unzipsfx /tmp/unzip/pkg/unzip/usr/bin/zipgrep /tmp/unzip/pkg/unzip/usr/bin/zipinfo
# chmod 644 /tmp/unzip/pkg/unzip/usr/man/man1/funzip.1 /tmp/unzip/pkg/unzip/usr/man/man1/unzip.1 /tmp/unzip/pkg/unzip/usr/man/man1/unzipsfx.1 /tmp/unzip/pkg/unzip/usr/man/man1/zipgrep.1 /tmp/unzip/pkg/unzip/usr/man/man1/zipinfo.1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "unzip"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: unzip 6.0-12 (Thu Apr 13 20:46:09 UTC 2017)

CMD: pacman --query --file unzip-6.0-12-x86_64.pkg.tar.xz
# unzip 6.0-12

Creating hybrid package for 'unzip'

Trying to find vanilla package 'unzip'...

CMD: pacman --query --file /mirror/unzip-6.0-12.pkg.tar.xz
# unzip 6.0-12

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man1/zipgrep.1.gz
# /usr/share/man/man1/zipinfo.1.gz
# /usr/share/man/man1/funzip.1.gz
# /usr/share/man/man1/unzipsfx.1.gz
# /usr/share/man/man1/unzip.1.gz
# /usr/share/licenses/unzip/LICENSE
# /usr/bin/unzip
# /usr/bin/zipinfo
# /usr/bin/zipgrep
# /usr/bin/unzipsfx
# /usr/bin/funzip

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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