Build of bin2iso with clang_glibc toolchain

The build took 00h 03m 35s and was SUCCESSFUL.

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

SLOCLanguage
820 ansic
820 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: bin2iso 1.9b-4 (Thu Apr 13 11:40:32 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# bin2iso19b_linux.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# buffered_fread(unsigned char *array, unsigned int size) {
# ^
# bin2iso19b_linux.c:128:39: warning: equality comparison result unused [-Wunused-comparison]
# while(i++ < size) { array[i] == 0; }/* zero fill the rest */
# ~~~~~~~~~^~~~
# bin2iso19b_linux.c:128:39: note: use '=' to turn this equality comparison into an assignment
# while(i++ < size) { array[i] == 0; }/* zero fill the rest */
# ^~
# =
# bin2iso19b_linux.c:240:15: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strncpy(track->num, &Line[8], 2); track->num[2] = '\0';
# ^~~~~~~~~~
# /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here
# extern char *strncpy (char *__restrict __dest,
# ^
# bin2iso19b_linux.c:252:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(track->name, sBinFilename);
# ^~~~~~~~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:254:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(track->name, "-");
# ^~~~~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:255:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(track->name, track->num);
# ^~~~~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:255:24: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(track->name, track->num);
# ^~~~~~~~~~
# /usr/include/string.h:133:70: note: passing argument to parameter '__src' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:262:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(track->name, ".iso");
# ^~~~~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:264:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(track->name, ".wav");
# ^~~~~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:266:45: warning: format specifies type 'int' but the argument has type 'unsigned char *' [-Wformat]
# printf("Track %d Unsupported mode\n", track->num);
# ~~ ^~~~~~~~~~
# %s
# bin2iso19b_linux.c:329:61: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# if(startidx != 0) printf("\nNote: PreGap = %d frames\n", startidx-preidx);
# ~~ ^~~~~~~~~~~~~~~
# %ld
# bin2iso19b_linux.c:334:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# printf("Creating %s (%06d,%06d) ", sOutFilename, startidx, endidx-1);
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:334:66: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# printf("Creating %s (%06d,%06d) ", sOutFilename, startidx, endidx-1);
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:336:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# printf("Converting (%06d,%06d) ", startidx, endidx-1);
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:336:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# printf("Converting (%06d,%06d) ", startidx, endidx-1);
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:415:72: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:422:72: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:496:72: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ~~~~ ^~~~~~~~
# %06ld
# bin2iso19b_linux.c:604:8: warning: unused variable 'c' [-Wunused-variable]
# int c = 0;
# ^
# bin2iso19b_linux.c:696:85: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
# printf(" -nob - Doesn't use overburn data past %ld sectors. \n", CD74_MAX_SECTORS);
# ~~~ ^~~~~~~~~~~~~~~~
# %d
# bin2iso19b_linux.c:54:26: note: expanded from macro 'CD74_MAX_SECTORS'
# #define CD74_MAX_SECTORS 334873 // 653.75 Mb
# ^~~~~~
# bin2iso19b_linux.c:792:75: warning: data argument not used by format string [-Wformat-extra-args]
# printf ("Error: Filename not found on first line of cuefile.\n", argv[1]);
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
# bin2iso19b_linux.c:882:20: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(tracks[i].name, "obdatatemp.bin");
# ^~~~~~~~~~~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:929:13: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# tracks[i].size/(1024*1024),
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# bin2iso19b_linux.c:943:40: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if( 0 != rename(sBinFilename, tracks[0].name) ) {
# ^~~~~~~~~~~~~~
# /usr/include/stdio.h:180:51: note: passing argument to parameter '__new' here
# extern int rename (const char *__old, const char *__new) __THROW;
# ^
# bin2iso19b_linux.c:961:34: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(sOutFilename, trackA.name);
# ^~~~~~~~~~~
# /usr/include/string.h:133:70: note: passing argument to parameter '__src' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# bin2iso19b_linux.c:963:44: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ( ((doOneTrack == 1) && strcmp(trackA.num, sTrack)==0) || (doOneTrack == 0) ) {
# ^~~~~~~~~~
# /usr/include/string.h:140:32: note: passing argument to parameter '__s1' here
# extern int strcmp (const char *__s1, const char *__s2)
# ^
# bin2iso19b_linux.c:982:26: warning: implicit declaration of function 'ftruncate' is invalid in C99 [-Wimplicit-function-declaration]
# if( -1 == ftruncate(fileno(fdBinFile), trackA.offset1) ) {
# ^
# bin2iso19b_linux.c:989:46: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if( 0 != rename(sBinFilename, trackA.name) ) {
# ^~~~~~~~~~~
# /usr/include/stdio.h:180:51: note: passing argument to parameter '__new' here
# extern int rename (const char *__old, const char *__new) __THROW;
# ^
# bin2iso19b_linux.c:999:34: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# fdBinFile = fopen(trackA.name, "rb+"); // gets closed in doTrack...
# ^~~~~~~~~~~
# /usr/include/stdio.h:272:44: note: passing argument to parameter '__filename' here
# extern FILE *fopen (const char *__restrict __filename,
# ^
# bin2iso19b_linux.c:648:22: warning: unused variable 'count' [-Wunused-variable]
# unsigned long int count = 0;
# ^
# 30 warnings generated.
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "bin2iso"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: bin2iso 1.9b-4 (Thu Apr 13 11:40:41 UTC 2017)

CMD: pacman --query --file bin2iso-1.9b-4-x86_64.pkg.tar.xz
# bin2iso 1.9b-4

Creating hybrid package for 'bin2iso'

Trying to find vanilla package 'bin2iso'...

CMD: pacman --query --file /mirror/bin2iso-1.9b-4.pkg.tar.xz
# bin2iso 1.9b-4

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

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

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

Attempting to access local repository, attempt 1

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