Build of cpulimit with vanilla toolchain

The build took 00h 00m 34s and was SUCCESSFUL.

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

SLOCLanguage
1,348 ansic
261 sh
40 makefile
1,649 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: cpulimit 20160304-1 (Wed Aug 24 12:16:12 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cd src && make all
# make[1]: Entering directory '/tmp/cpulimit/src/cpulimit-20160304/src'
# cc -c list.c
# cc -c process_iterator.c
# cc -c process_group.c
# process_group.c: In function 'find_process_by_name':
# process_group.c:64:15: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
# if (strncmp(basename(proc.command), process_name, strlen(process_name))==0 && kill(pid,SIGCONT)==0) {
# ^~~~~~~~
# process_group.c:64:15: warning: passing argument 1 of 'strncmp' makes pointer from integer without a cast [-Wint-conversion]
# In file included from process_group.c:22:0:
# /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'int'
# extern int strncmp (const char *__s1, const char *__s2, size_t __n)
# ^~~~~~~
# cc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o
# cpulimit.c:46:18: warning: extra tokens at end of #ifdef directive
# #ifdef __APPLE__ || __FREEBSD__
# ^~
# cpulimit.c: In function 'main':
# cpulimit.c:328:19: warning: implicit declaration of function 'memrchr' [-Wimplicit-function-declaration]
# char *p = (char*)memrchr(argv[0], (unsigned int)'/', strlen(argv[0]));
# ^~~~~~~
# cpulimit.c:328:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
# char *p = (char*)memrchr(argv[0], (unsigned int)'/', strlen(argv[0]));
# ^
# make[1]: Leaving directory '/tmp/cpulimit/src/cpulimit-20160304/src'
# cd tests && make all
# make[1]: Entering directory '/tmp/cpulimit/src/cpulimit-20160304/tests'
# cc -o busy busy.c -lpthread
# cc -I../src -o process_iterator_test process_iterator_test.c ../src/list.o ../src/process_iterator.o ../src/process_group.o -lpthread
# process_iterator_test.c:31:18: warning: extra tokens at end of #ifdef directive
# #ifdef __APPLE__ || __FREEBSD__
# ^~
# make[1]: Leaving directory '/tmp/cpulimit/src/cpulimit-20160304/tests'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "cpulimit"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: cpulimit 20160304-1 (Wed Aug 24 12:16:13 UTC 2016)

CMD: pacman --query --file cpulimit-20160304-1-x86_64.pkg.tar.xz
# cpulimit 20160304-1

Creating hybrid package for 'cpulimit'

Trying to find vanilla package 'cpulimit'...

CMD: pacman --query --file /mirror/cpulimit-20160304-1.pkg.tar.xz
# cpulimit 20160304-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/cpulimit
# /usr/share/doc/cpulimit/README.md

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 cpulimit.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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