Build of webfs with clang_glibc toolchain

The build took 00h 00m 43s 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/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: webfs 1.21-12 (Thu Apr 13 17:57:25 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 ... lib64
# checking for system ... linux
# checking for openssl/ssl.h ... yes
# checking for diet ... no
#
# Make.config written, edit if needed
#
# CC webfsd.o
# webfsd.c:512:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (-1 == getpeername(req->fd,(struct sockaddr*)&(req->peer),&length)) {
# ^~~~~~~
# /usr/include/sys/socket.h:142:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# 1 warning generated.
# CC request.o
# request.c:392:13: warning: passing 'char [2049]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^~~~~~~~~
# request.c:219:24: note: passing argument to parameter 'path' here
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:392:23: warning: passing 'char [2049]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^~~~~~~~~~
# request.c:219:45: note: passing argument to parameter 'qs' here
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:392:34: warning: passing 'char [2049]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# unquote(req->path,req->query,req->uri);
# ^~~~~~~~
# request.c:219:64: note: passing argument to parameter 'src' here
# unquote(unsigned char *path, unsigned char *qs, unsigned char *src)
# ^
# request.c:439:20: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# decode_base64(req->auth,h+21,sizeof(req->auth)-1);
# ^~~~~~~~~
# request.c:281:30: note: passing argument to parameter 'dest' here
# decode_base64(unsigned char *dest, unsigned char *src, int maxlen)
# ^
# request.c:439:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# decode_base64(req->auth,h+21,sizeof(req->auth)-1);
# ^~~~
# request.c:281:51: note: passing argument to parameter 'src' here
# decode_base64(unsigned char *dest, unsigned char *src, int maxlen)
# ^
# 5 warnings generated.
# CC response.o
# response.c:222:33: warning: passing 'char [2049]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# req->hostname,tcp_port,quote(req->path,9999),
# ^~~~~~~~~
# ./httpd.h:225:29: note: passing argument to parameter 'path' here
# char* quote(unsigned char *path, int maxlength);
# ^
# 1 warning generated.
# CC ls.o
# ls.c:146:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# int i,j,n=strlen(path);
# ^~~~
# /usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# ls.c:156:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# sprintf(buf+j,"%%%02x",path[i]);
# ^~~~~
# /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here
# extern int sprintf (char *__restrict __s,
# ^
# ls.c:160:12: warning: returning 'unsigned char [2048]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# return buf;
# ^~~
# ls.c:296:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# quote(path,h2-path),
# ^~~~
# ls.c:143:22: note: passing argument to parameter 'path' here
# quote(unsigned char *path, int maxlength)
# ^
# ls.c:376:13: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# quote(files[i]->n,9999),
# ^~~~~~~~~~~
# ls.c:143:22: note: passing argument to parameter 'path' here
# quote(unsigned char *path, int maxlength)
# ^
# 5 warnings generated.
# CC mime.o
# CC cgi.o
# cgi.c:115:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# getsockname(req->fd,(struct sockaddr*)&addr,&length);
# ^~~~~~~
# /usr/include/sys/socket.h:128:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# 1 warning generated.
# CC ssl.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 (Thu Apr 13 17:57:27 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/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 891

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'