Build of foremost with vanilla toolchain

The build took 00h 00m 37s and was NOT successful.

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

SLOCLanguage
5,319 ansic
99 makefile
5,418 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: foremost 1.5.7-3 (Wed Aug 24 12:17:28 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c config.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c cli.c
# config.c: In function 'translate':
# config.c:27:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:32:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:37:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:42:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:47:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:52:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# config.c:57:6: warning: value computed is not used [-Wunused-value]
# *rd++;
# ^~~~~
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c engine.c
# engine.c: In function 'search_chunk':
# engine.c:319:17: warning: variable 'current_pos' set but not used [-Wunused-but-set-variable]
# unsigned char *current_pos = NULL;
# ^~~~~~~~~~~
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c dir.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c extract.c
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c api.c
# extract.c: In function 'extract_htm':
# extract.c:556:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable]
# unsigned char *currentpos = NULL;
# ^~~~~~~~~~
# api.c: In function 'dump_dirent':
# api.c:481:10: warning: variable 'unknown' set but not used [-Wunused-but-set-variable]
# short unknown;
# ^~~~~~~
# extract.c: In function 'extract_wmv':
# extract.c:1157:14: warning: variable 'fileObjHeaderSize' set but not used [-Wunused-but-set-variable]
# u_int64_t fileObjHeaderSize = 0;
# ^~~~~~~~~~~~~~~~~
# extract.c:1150:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable]
# unsigned char *currentpos = NULL;
# ^~~~~~~~~~
# extract.c: In function 'extract_gif':
# extract.c:1404:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable]
# unsigned char *currentpos = foundat;
# ^~~~~~~~~~
# extract.c: In function 'extract_jpeg':
# extract.c:1824:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable]
# unsigned char *currentpos = NULL;
# ^~~~~~~~~~
# extract.c: In function 'extract_exe':
# extract.c:2109:15: warning: variable 'align' set but not used [-Wunused-but-set-variable]
# unsigned int align = 0;
# ^~~~~
# extract.c:2105:15: warning: variable 'size_of_headers' set but not used [-Wunused-but-set-variable]
# unsigned int size_of_headers = 0;
# ^~~~~~~~~~~~~~~
# extract.c:2103:15: warning: variable 'sizeofimage' set but not used [-Wunused-but-set-variable]
# unsigned int sizeofimage = 0;
# ^~~~~~~~~~~
# extract.c:2100:15: warning: variable 'rva' set but not used [-Wunused-but-set-variable]
# unsigned int rva = 0;
# ^~~
# extract.c:2099:15: warning: variable 'SizeOfUninitializedData' set but not used [-Wunused-but-set-variable]
# unsigned int SizeOfUninitializedData = 0;
# ^~~~~~~~~~~~~~~~~~~~~~~
# extract.c:2098:15: warning: variable 'SizeOfInitializedData' set but not used [-Wunused-but-set-variable]
# unsigned int SizeOfInitializedData = 0;
# ^~~~~~~~~~~~~~~~~~~~~
# extract.c:2097:15: warning: variable 'SizeOfCode' set but not used [-Wunused-but-set-variable]
# unsigned int SizeOfCode = 0;
# ^~~~~~~~~~
# extract.c: In function 'extract_rar':
# extract.c:2272:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable]
# u_int64_t file_size = 0;
# ^~~~~~~~~
# gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 755 foremost /usr/local/bin
# install: cannot create regular file '/usr/local/bin/foremost': Permission denied
# make: *** [Makefile:121: install] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...