Build of bin2iso with musl toolchain

The build took 00h 00m 52s 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...

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: bin2iso 1.9b-4 (Tue Apr 4 23:14:37 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';
# ^~~~~~~~~~
# /sysroot/include/string.h:32:32: note: passing argument to parameter here
# char *strncpy (char *__restrict, const char *__restrict, size_t);
# ^
# 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);
# ^~~~~~~~~~~
# /sysroot/include/string.h:31:31: note: passing argument to parameter here
# char *strcpy (char *__restrict, const char *__restrict);
# ^
# 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, "-");
# ^~~~~~~~~~~
# /sysroot/include/string.h:34:31: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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);
# ^~~~~~~~~~~
# /sysroot/include/string.h:34:31: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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);
# ^~~~~~~~~~
# /sysroot/include/string.h:34:55: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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");
# ^~~~~~~~~~~
# /sysroot/include/string.h:34:31: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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");
# ^~~~~~~~~~~
# /sysroot/include/string.h:34:31: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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");
# ^~~~~~~~~~~~~~
# /sysroot/include/string.h:31:31: note: passing argument to parameter here
# char *strcpy (char *__restrict, const char *__restrict);
# ^
# 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) ) {
# ^~~~~~~~~~~~~~
# /sysroot/include/stdio.h:68:38: note: passing argument to parameter here
# int rename(const char *, const char *);
# ^
# 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);
# ^~~~~~~~~~~
# /sysroot/include/string.h:34:55: note: passing argument to parameter here
# char *strcat (char *__restrict, const char *__restrict);
# ^
# 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) ) {
# ^~~~~~~~~~
# /sysroot/include/string.h:37:25: note: passing argument to parameter here
# int strcmp (const char *, const char *);
# ^
# 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) ) {
# ^~~~~~~~~~~
# /sysroot/include/stdio.h:68:38: note: passing argument to parameter here
# int rename(const char *, const char *);
# ^
# 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...
# ^~~~~~~~~~~
# /sysroot/include/stdio.h:63:35: note: passing argument to parameter here
# FILE *fopen(const char *__restrict, const char *__restrict);
# ^
# 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 (Tue Apr 4 23:14:37 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'