Build of bin2iso with android toolchain

The build took 00h 00m 54s 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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: bin2iso 1.9b-4 (Tue Apr 4 19:47:57 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# bin2iso19b_linux.c:114:1: warning: return type defaults to 'int' [-Wreturn-type]
# buffered_fread(unsigned char *array, unsigned int size) {
# ^
# bin2iso19b_linux.c: In function 'buffered_fread':
# bin2iso19b_linux.c:128:30: warning: statement with no effect [-Wunused-value]
# while(i++ < size) { array[i] == 0; }/* zero fill the rest */
# ^
# bin2iso19b_linux.c: In function 'getTrackinfo':
# bin2iso19b_linux.c:240:7: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
# strncpy(track->num, &Line[8], 2); track->num[2] = '\0';
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:77:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strncpy(char* __restrict, const char* __restrict, size_t);
# ^
# bin2iso19b_linux.c:252:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
# strcpy(track->name, sBinFilename);
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:57:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcpy(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:254:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(track->name, "-");
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:255:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(track->name, track->num);
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:255:4: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(track->name, track->num);
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:262:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(track->name, ".iso");
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:264:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(track->name, ".wav");
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:266:7: warning: format '%d' expects argument of type 'int', but argument 2 has type 'unsigned char *' [-Wformat=]
# printf("Track %d Unsupported mode\n", track->num);
# ^
# bin2iso19b_linux.c:282:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
# min = ((Line[13]-'0')<<4) | Line[14]-'0';
# ^
# bin2iso19b_linux.c:283:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
# sec = ((Line[16]-'0')<<4) | Line[17]-'0';
# ^
# bin2iso19b_linux.c:284:48: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
# block = ((Line[19]-'0')<<4) | Line[20]-'0';
# ^
# bin2iso19b_linux.c: In function 'dotrack':
# bin2iso19b_linux.c:329:4: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
# if(startidx != 0) printf("\nNote: PreGap = %d frames\n", startidx-preidx);
# ^
# bin2iso19b_linux.c:334:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
# printf("Creating %s (%06d,%06d) ", sOutFilename, startidx, endidx-1);
# ^
# bin2iso19b_linux.c:334:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
# bin2iso19b_linux.c:336:7: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
# printf("Converting (%06d,%06d) ", startidx, endidx-1);
# ^
# bin2iso19b_linux.c:336:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
# bin2iso19b_linux.c:415:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ^
# bin2iso19b_linux.c:422:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ^
# bin2iso19b_linux.c:496:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
# if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); }
# ^
# bin2iso19b_linux.c: In function 'checkGaps':
# bin2iso19b_linux.c:604:8: warning: unused variable 'c' [-Wunused-variable]
# int c = 0;
# ^
# bin2iso19b_linux.c: In function 'main':
# bin2iso19b_linux.c:696:7: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
# printf(" -nob - Doesn't use overburn data past %ld sectors. \n", CD74_MAX_SECTORS);
# ^
# bin2iso19b_linux.c:792:10: warning: too many arguments for format [-Wformat-extra-args]
# printf ("Error: Filename not found on first line of cuefile.\n", argv[1]);
# ^
# bin2iso19b_linux.c:882:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
# strcpy(tracks[i].name, "obdatatemp.bin");
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:57:15: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcpy(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:934:10: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
# );
# ^
# bin2iso19b_linux.c:943:10: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign]
# if( 0 != rename(sBinFilename, tracks[0].name) ) {
# ^
# In file included from bin2iso19b_linux.c:1:0:
# /sysroot/sysroot/usr/include/stdio.h:285:12: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern int rename(const char*, const char*);
# ^
# bin2iso19b_linux.c:961:13: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
# strcat(sOutFilename, trackA.name);
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:58:15: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
# extern char* strcat(char* __restrict, const char* __restrict);
# ^
# bin2iso19b_linux.c:963:10: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
# if ( ((doOneTrack == 1) && strcmp(trackA.num, sTrack)==0) || (doOneTrack == 0) ) {
# ^
# In file included from bin2iso19b_linux.c:2:0:
# /sysroot/sysroot/usr/include/string.h:55:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern int strcmp(const char *, const char *) __purefunc;
# ^
# bin2iso19b_linux.c:982:16: warning: implicit declaration of function 'ftruncate' [-Wimplicit-function-declaration]
# if( -1 == ftruncate(fileno(fdBinFile), trackA.offset1) ) {
# ^
# bin2iso19b_linux.c:989:16: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign]
# if( 0 != rename(sBinFilename, trackA.name) ) {
# ^
# In file included from bin2iso19b_linux.c:1:0:
# /sysroot/sysroot/usr/include/stdio.h:285:12: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern int rename(const char*, const char*);
# ^
# bin2iso19b_linux.c:999:16: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
# fdBinFile = fopen(trackA.name, "rb+"); // gets closed in doTrack...
# ^
# In file included from bin2iso19b_linux.c:1:0:
# /sysroot/sysroot/usr/include/stdio.h:227:7: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
# FILE *fopen(const char * __restrict , const char * __restrict);
# ^
# bin2iso19b_linux.c:648:22: warning: unused variable 'count' [-Wunused-variable]
# unsigned long int count = 0;
# ^
# ==> 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 19:47:59 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'