Build of banner with musl toolchain

The build took 00h 01m 15s and was SUCCESSFUL.

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

SLOCLanguage
2,085 ansic
58 makefile
2,143 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: banner 1.3.2-5 (Wed Apr 5 00:27:51 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) shhmsg-1.4.2-1 shhopt-1.1.7-1
#
# Total Installed Size: 0.04 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 shhmsg...
# installing shhopt...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -I/usr/local/include -MM *.c >depend
# gcc -o banner.o -c -Wall -I/usr/local/include -DVERSION=\"1.3.2\" banner.c
# gcc -o letters.o -c -Wall -I/usr/local/include -DVERSION=\"1.3.2\" letters.c
# gcc -o font1.o -c -Wall -I/usr/local/include -DVERSION=\"1.3.2\" font1.c
# gcc -o font2.o -c -Wall -I/usr/local/include -DVERSION=\"1.3.2\" font2.c
# font2.c:207:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ",
# ^
# font2.c:214:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ",
# ^
# font2.c:221:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " * ",
# ^
# font2.c:410:font1.c7: warning:: 315illegal character encoding in character literal [-Winvalid-source-encoding]:
# 7: warning { '', { " ** **",:
# illegal character encoding in character literal [-Winvalid-source-encoding] ^
#
# font2.c:417:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ",
# ^
# { '', { " *** ",
# ^
# font2.c:font1.c424::3267::7 :warning : warningillegal character encoding in character literal [-Winvalid-source-encoding]:
# illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " * ",
# ^
# { '', { " ",
# ^
# font1.c:337:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ** ",
# ^
# font1.c:634:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ** ***",
# ^
# font1.c:645:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " *** ",
# ^
# font1.c:656:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
# { '', { " ** ",
# ^
# banner.c:119:71: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# addlen = getLetterWidth(' ') + getInterCharWidth() + getTextWidth(s);
# ^
# ./banner.h:16:31: note: passing argument to parameter 's' here
# int getTextWidth(const char *s);
# ^
# banner.c:144:41: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((copy = (char *) malloc((strlen(s) + 1) * sizeof(char))) == NULL)
# ^
# /sysroot/include/string.h:52:28: note: passing argument to parameter here
# size_t strlen (const char *);
# ^
# banner.c:144:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((copy = (char *) malloc((strlen(s) + 1) * sizeof(char))) == NULL)
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# banner.c:146:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(copy, s);
# ^~~~
# /sysroot/include/string.h:31:31: note: passing argument to parameter here
# char *strcpy (char *__restrict, const char *__restrict);
# ^
# banner.c:146:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(copy, s);
# ^
# /sysroot/include/string.h:31:55: note: passing argument to parameter here
# char *strcpy (char *__restrict, const char *__restrict);
# ^
# banner.c:163:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (strlen(word))
# ^~~~
# /sysroot/include/string.h:52:28: note: passing argument to parameter here
# size_t strlen (const char *);
# ^
# banner.c:270:20: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# bufAddLetters(argv[q]);
# ^~~~~~~
# banner.c:139:48: note: passing argument to parameter 's' here
# static void bufAddLetters(const unsigned char *s)
# ^
# banner.c:272:17: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# bufAddLetters(" ");
# ^~~
# banner.c:139:48: note: passing argument to parameter 's' here
# static void bufAddLetters(const unsigned char *s)
# ^
# banner.c:279:20: warning: passing 'char [81]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# bufAddLetters(line);
# ^~~~
# banner.c:139:48: note: passing argument to parameter 's' here
# static void bufAddLetters(const unsigned char *s)
# ^
# 6 warnings generated.
# 6 warnings generated.
# 9 warnings generated.
# gcc -Wall -I/usr/local/include -DVERSION=\"1.3.2\" -o banner banner.o letters.o font1.o font2.o -s -L/usr/local/lib -lshhmsg -lshhopt
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d -m 755 /tmp/banner/pkg/banner/usr//bin /tmp/banner/pkg/banner/usr/share/man/man1/
# install -s -m 755 banner /tmp/banner/pkg/banner/usr//bin
# install -m 644 banner.1 /tmp/banner/pkg/banner/usr/share/man/man1/
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "banner"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: banner 1.3.2-5 (Wed Apr 5 00:27:53 UTC 2017)

CMD: pacman --query --file banner-1.3.2-5-x86_64.pkg.tar.xz
# banner 1.3.2-5

Creating hybrid package for 'banner'

Trying to find vanilla package 'banner'...

CMD: pacman --query --file /mirror/sysvbanner-1.0.15-2.pkg.tar.xz
# sysvbanner 1.0.15-2

CMD: pacman --query --file /mirror/banner-1.3.2-5.pkg.tar.xz
# banner 1.3.2-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/banner
# /usr/share/man/man1/banner.1.gz

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

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

Attempting to access local repository, attempt 1

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