Build of webfs with vanilla toolchain

The build took 00h 00m 41s 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.

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: webfs 1.21-12 (Wed Aug 24 13:38:18 UTC 2016)
# ==> 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 ... yes
# checking for diet ... no
#
# Make.config written, edit if needed
#
# CC webfsd.o
# CC request.o
# request.c: In function 'parse_request':
# request.c:392:13: 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:23: 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:34: 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:20: 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:30: 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)
# ^~~~~~~~~~~~~
# webfsd.c: In function 'mainloop':
# webfsd.c:512:68: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
# if (-1 == getpeername(req->fd,(struct sockaddr*)&(req->peer),&length)) {
# ^
# In file included from webfsd.c:17:0:
# /usr/include/sys/socket.h:141:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~~~~~~
# CC response.o
# CC ls.o
# ls.c: In function 'quote':
# ls.c:146:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
# int i,j,n=strlen(path);
# ^~~~
# In file included from ls.c:3:0:
# /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# ls.c:156:10: 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:
# /usr/include/stdio.h:364:12: note: expected 'char * restrict' but argument is of type 'unsigned char *'
# extern int sprintf (char *__restrict __s,
# ^~~~~~~
# ls.c:160:12: warning: pointer targets in return differ in signedness [-Wpointer-sign]
# return buf;
# ^~~
# ls.c: In function 'ls':
# ls.c:296:16: 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:376:13: 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:33: 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
# CC ssl.o
# cgi.c: In function 'cgi_request':
# cgi.c:115:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
# getsockname(req->fd,(struct sockaddr*)&addr,&length);
# ^
# In file included from cgi.c:12:0:
# /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~~~~~~
# 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 (Wed Aug 24 13:38:20 UTC 2016)

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 27911

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'