Build of lcab with vanilla toolchain

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

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

SLOCLanguage
815 sh
680 ansic
11 makefile
1,506 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: lcab 1.0b12-5 (Wed Aug 24 12:08:32 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -ggdb3 -Wall -pipe -c -o cheader.o cheader.c
# gcc -ggdb3 -Wall -pipe -c -o cfolder.o cfolder.c
# gcc -ggdb3 -Wall -pipe -c -o cdata.o cdata.c
# gcc -ggdb3 -Wall -pipe -c -o cfile.o cfile.c
# cfile.c: In function 'cfile_init':
# cfile.c:42:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
# strcpy(cf->name, filename);
# ^~
# In file included from mytypes.h:22:0,
# from cfile.h:18,
# from cfile.c:17:
# /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}'
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^~~~~~
# gcc -ggdb3 -Wall -pipe -c -o checksum.o checksum.c
# gcc -ggdb3 -Wall -pipe -c -o cwrite.o cwrite.c
# cwrite.c: In function 'cfilewrite':
# cwrite.c:70:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
# if(!fwrite((char *) &cf->name, strlen(cf->name)+1, 1, fpout)) error=1;
# ^~
# In file included from mytypes.h:22:0,
# from checksum.h:18,
# from cwrite.c:18:
# /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'byte * {aka unsigned char *}'
# extern size_t strlen (const char *__s)
# ^~~~~~
# cwrite.c: In function 'writedata':
# cwrite.c:84:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# tmp = (byte *) calloc( cd->ncbytes, sizeof(byte) );
# ^
# cwrite.c:90:23: warning: pointer targets in passing argument 1 of 'compute_checksum' differ in signedness [-Wpointer-sign]
# compute_checksum( tmp, cd->ncbytes, 0 ) );
# ^~~
# In file included from cwrite.c:18:0:
# checksum.h:24:10: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *'
# CHECKSUM compute_checksum(byte *in, word ncbytes, CHECKSUM seed);
# ^~~~~~~~~~~~~~~~
# gcc -ggdb3 -Wall -pipe -c -o main.o main.c
# main.c: In function 'strippath':
# main.c:86:7: warning: value computed is not used [-Wunused-value]
# else *tmp++;
# ^~~~~~
# main.c: In function 'maketempfile':
# main.c:121:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# tmp = (byte *) calloc( sizefile( inputfiles[i] ), sizeof( byte ) );
# ^
# gcc -o lcab cheader.o cfolder.o cdata.o cfile.o checksum.o cwrite.o main.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "lcab"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: lcab 1.0b12-5 (Wed Aug 24 12:08:33 UTC 2016)

CMD: pacman --query --file lcab-1.0b12-5-x86_64.pkg.tar.xz
# lcab 1.0b12-5

Creating hybrid package for 'lcab'

Trying to find vanilla package 'lcab'...

CMD: pacman --query --file /mirror/lcab-1.0b12-5.pkg.tar.xz
# lcab 1.0b12-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/lcab

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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