Build of webfs with android toolchain

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

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

SLOCLanguage
2,966 ansic
13 sh
7 perl
2,986 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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: webfs 1.21-12 (Tue Apr 4 21:23:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) mime-types-9-1
#
# Total Installed Size: 0.06 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing mime-types...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file httpd.h
# patching file ls.c
# patching file webfsd.c
# patching file webfsd.man
# checking for libdir name ... lib
# checking for system ... linux
# checking for openssl/ssl.h ... no
# checking for diet ... no
#
# Make.config written, edit if needed
#
# CC webfsd.o
# CC request.o
# CC response.o
# CC ls.o
# request.c: In function 'parse_request':
# request.c:392:5: warning: pointer targets in passing argument 1 of 'unquote' differ in signedness [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^
# request.c:219:1: note: expected 'unsigned char *' but argument is of type 'char *'
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:392:5: warning: pointer targets in passing argument 2 of 'unquote' differ in signedness [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^
# request.c:219:1: note: expected 'unsigned char *' but argument is of type 'char *'
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:392:5: warning: pointer targets in passing argument 3 of 'unquote' differ in signedness [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^
# request.c:219:1: note: expected 'unsigned char *' but argument is of type 'char *'
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:439:6: warning: pointer targets in passing argument 1 of 'decode_base64' differ in signedness [-Wpointer-sign]
# decode_base64(req->auth,h+21,sizeof(req->auth)-1);
# ^
# request.c:281:1: note: expected 'unsigned char *' but argument is of type 'char *'
# decode_base64(unsigned char *dest, unsigned char *src, int maxlen)
# ^
# request.c:439:6: warning: pointer targets in passing argument 2 of 'decode_base64' differ in signedness [-Wpointer-sign]
# decode_base64(req->auth,h+21,sizeof(req->auth)-1);
# ^
# request.c:281:1: note: expected 'unsigned char *' but argument is of type 'char *'
# decode_base64(unsigned char *dest, unsigned char *src, int maxlen)
# ^
# request.c:554:2: warning: pointer targets in passing argument 1 of 'gmtime' differ in signedness [-Wpointer-sign]
# strftime(req->mtime, sizeof(req->mtime), RFC1123, gmtime(&req->bst.st_mtime));
# ^
# In file included from request.c:8:0:
# /sysroot/sysroot/usr/include/time.h:74:19: note: expected 'const time_t *' but argument is of type 'long unsigned int *'
# extern struct tm* gmtime(const time_t*) __LIBC_ABI_PUBLIC__;
# ^
# request.c:609:5: warning: pointer targets in passing argument 1 of 'gmtime' differ in signedness [-Wpointer-sign]
# strftime(req->mtime, sizeof(req->mtime), RFC1123, gmtime(&req->bst.st_mtime));
# ^
# In file included from request.c:8:0:
# /sysroot/sysroot/usr/include/time.h:74:19: note: expected 'const time_t *' but argument is of type 'long unsigned int *'
# extern struct tm* gmtime(const time_t*) __LIBC_ABI_PUBLIC__;
# ^
# ls.c: In function 'quote':
# ls.c:146:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
# int i,j,n=strlen(path);
# ^
# In file included from /sysroot/sysroot/usr/include/stdlib.h:34:0,
# from ls.c:2:
# /sysroot/sysroot/usr/include/string.h:53:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen(const char *) __purefunc;
# ^
# ls.c:156:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
# sprintf(buf+j,"%%%02x",path[i]);
# ^
# In file included from ls.c:1:0:
# /sysroot/sysroot/usr/include/stdio.h:274:5: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# int sprintf(char* __restrict, const char* __restrict, ...)
# ^
# ls.c:160:5: warning: pointer targets in return differ in signedness [-Wpointer-sign]
# return buf;
# ^
# ls.c: In function 'ls':
# ls.c:296:10: warning: pointer targets in passing argument 1 of 'quote' differ in signedness [-Wpointer-sign]
# quote(path,h2-path),
# ^
# ls.c:143:1: note: expected 'unsigned char *' but argument is of type 'char *'
# quote(unsigned char *path, int maxlength)
# ^
# ls.c:346:8: warning: pointer targets in passing argument 1 of 'gmtime' differ in signedness [-Wpointer-sign]
# gmtime(&files[i]->s.st_mtime));
# ^
# In file included from ls.c:10:0:
# /sysroot/sysroot/usr/include/time.h:74:19: note: expected 'const time_t *' but argument is of type 'long unsigned int *'
# extern struct tm* gmtime(const time_t*) __LIBC_ABI_PUBLIC__;
# ^
# ls.c:349:8: warning: pointer targets in passing argument 1 of 'gmtime' differ in signedness [-Wpointer-sign]
# gmtime(&files[i]->s.st_mtime));
# ^
# In file included from ls.c:10:0:
# /sysroot/sysroot/usr/include/time.h:74:19: note: expected 'const time_t *' but argument is of type 'long unsigned int *'
# extern struct tm* gmtime(const time_t*) __LIBC_ABI_PUBLIC__;
# ^
# ls.c:376:7: warning: pointer targets in passing argument 1 of 'quote' differ in signedness [-Wpointer-sign]
# quote(files[i]->n,9999),
# ^
# ls.c:143:1: note: expected 'unsigned char *' but argument is of type 'char *'
# quote(unsigned char *path, int maxlength)
# ^
# response.c: In function 'mkredirect':
# response.c:222:4: warning: pointer targets in passing argument 1 of 'quote' differ in signedness [-Wpointer-sign]
# req->hostname,tcp_port,quote(req->path,9999),
# ^
# In file included from response.c:18:0:
# httpd.h:225:8: note: expected 'unsigned char *' but argument is of type 'char *'
# char* quote(unsigned char *path, int maxlength);
# ^
# CC mime.o
# CC cgi.o
# LD webfsd
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d /tmp/webfs/pkg/webfs/usr/bin
# install -s webfsd /tmp/webfs/pkg/webfs/usr/bin
# install -d /tmp/webfs/pkg/webfs/usr/share/man/man1
# install -m 644 webfsd.man /tmp/webfs/pkg/webfs/usr/share/man/man1/webfsd.1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "webfs"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: webfs 1.21-12 (Tue Apr 4 21:23:29 UTC 2017)

CMD: pacman --query --file webfs-1.21-12-x86_64.pkg.tar.xz
# webfs 1.21-12

Creating hybrid package for 'webfs'

Trying to find vanilla package 'webfs'...

CMD: pacman --query --file /mirror/webfs-1.21-12.pkg.tar.xz
# webfs 1.21-12

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /etc/conf.d/webfsd
# /usr/bin/webfsd
# /usr/share/man/man1/webfsd.1.gz
# /usr/lib/systemd/system/webfsd.service
# /sysroot/sysroot/usr/lib/systemd/system/webfsd.service

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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