Build of bin86 with vanilla toolchain

The build took 00h 00m 27s and was NOT successful.

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

SLOCLanguage
14,312 ansic
1,500 asm
161 sh
113 makefile
16,086 total

The process tree of the build process is here.

List of Errors

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: bin86 0.16.21-1 (Wed Aug 24 12:19:50 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# set -e ; for d in ld as; do \
# (cd $d && make "LIBS=" "CFLAGS=-O2 -D_POSIX_SOURCE" "LDFLAGS=" "BINDIR=/usr/bin" "LIBDIR=/usr/lib" "CC=cc" all;); \
# done
# make[1]: Entering directory '/tmp/bin86/src/bin86-0.16.21/ld'
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c dumps.c -o dumps.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c io.c -o io.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c ld.c -o ld.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c readobj.c -o readobj.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c table.c -o table.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c typeconv.c -o typeconv.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c linksyms.c -o linksyms.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c mkar.c -o mkar.o
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writex86.c -o writex86.o
# writex86.c: In function 'write_elks':
# writex86.c:59:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# #define offsetof(struc, mem) ((int) &((struc *) 0)->mem)
# ^
# writex86.c:448:26: note: in expansion of macro 'offsetof'
# seekout((unsigned long) offsetof(struct exec, a_syms));
# ^~~~~~~~
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writebin.c
# cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writeemu.c -o writeemu.o
# In file included from writeemu.c:20:0:
# writebin.c: In function 'write_dosemu':
# writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# #define offsetof(struc, mem) ((int) &((struc *) 0)->mem)
# ^
# writebin.c:560:26: note: in expansion of macro 'offsetof'
# seekout((unsigned long) offsetof(struct exec, a_syms));
# ^~~~~~~~
# writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# #define offsetof(struc, mem) ((int) &((struc *) 0)->mem)
# ^
# writebin.c:565:26: note: in expansion of macro 'offsetof'
# if( FILEHEADERLENGTH >= offsetof(struct exec, a_trsize)+8)
# ^~~~~~~~
# writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# #define offsetof(struc, mem) ((int) &((struc *) 0)->mem)
# ^
# writebin.c:567:27: note: in expansion of macro 'offsetof'
# seekout((unsigned long) offsetof(struct exec, a_trsize));
# ^~~~~~~~
# writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# #define offsetof(struc, mem) ((int) &((struc *) 0)->mem)
# ^
# writebin.c:571:27: note: in expansion of macro 'offsetof'
# seekout((unsigned long) offsetof(struct exec, a_drsize));
# ^~~~~~~~
# cc -O2 -D_POSIX_SOURCE objchop.c -o objchop
# objchop.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main()
# ^~~~
# cc -O2 -D_POSIX_SOURCE catimage.c -o catimage
# cc -O2 -D_POSIX_SOURCE objdump86.c -o objdump86
# catimage.c:31:2: error: #error "Compile error: struct exec invalid (long not 32 bit ?)"
# #error "Compile error: struct exec invalid (long not 32 bit ?)"
# ^~~~~
# catimage.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^~~~
# catimage.c: In function 'main':
# catimage.c:50:7: warning: implicit declaration of function 'fatal' [-Wimplicit-function-declaration]
# fatal("Usage: catimage mem.bin boot.out [a1.out] ... [a9.out]");
# ^~~~~
# catimage.c:52:4: warning: implicit declaration of function 'open_obj' [-Wimplicit-function-declaration]
# open_obj(argv[2]);
# ^~~~~~~~
# catimage.c:57:4: warning: implicit declaration of function 'read_symtable' [-Wimplicit-function-declaration]
# read_symtable();
# ^~~~~~~~~~~~~
# catimage.c:67:22: error: invalid operands to binary >> (have 'char *' and 'int')
# (header.a_text>>4), (header.a_total>>4));
# ~~~~~~ ^~
# catimage.c:67:43: error: invalid operands to binary >> (have 'char *' and 'int')
# (header.a_text>>4), (header.a_total>>4));
# ~~~~~~ ^~
# catimage.c:72:10: warning: implicit declaration of function 'copy_segment' [-Wimplicit-function-declaration]
# copy_segment(image_offset, A_TEXTPOS(header), header.a_text);
# ^~~~~~~~~~~~
# catimage.c:73:23: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# image_offset += header.a_text;
# ^~
# catimage.c:76:37: warning: implicit declaration of function 'A_DATAPOS' [-Wimplicit-function-declaration]
# copy_segment(image_offset, A_DATAPOS(header), header.a_data);
# ^~~~~~~~~
# catimage.c:81:29: error: invalid operands to binary + (have 'char *' and 'char *')
# header.a_text+header.a_data);
# ~~~~~~ ^
# catimage.c:84:7: warning: implicit declaration of function 'patch_bin' [-Wimplicit-function-declaration]
# patch_bin(text_offt[image_id], (unsigned)(text_off>>4));
# ^~~~~~~~~
# catimage.c:87:20: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# image_offset += header.a_total;
# ^~
# catimage.c: At top level:
# catimage.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int]
# open_obj(fname)
# ^~~~~~~~
# catimage.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int]
# copy_segment(out_offset, in_offset, length)
# ^~~~~~~~~~~~
# catimage.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int]
# patch_bin(file_off, value)
# ^~~~~~~~~
# catimage.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int]
# read_symtable()
# ^~~~~~~~~~~~~
# catimage.c: In function 'read_symtable':
# catimage.c:175:19: warning: implicit declaration of function 'A_SYMPOS' [-Wimplicit-function-declaration]
# if( fseek(ifd, A_SYMPOS(header), 0) < 0 )
# ^~~~~~~~
# catimage.c:178:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# nitems = header.a_syms;
# ^
# catimage.c:186:11: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
# if( memcmp(item.n_name, "__seg", 5) != 0 || item.n_name[6] != '_' )
# ^~~~~~
# catimage.c:203:19: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# base_off = header.a_text;
# ^
# catimage.c:209:47: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# case 'd': data_offt[item.n_name[5]-'0'] = base_off+item.n_value; break;
# ^
# catimage.c:210:47: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# case 't': text_offt[item.n_name[5]-'0'] = base_off+item.n_value; break;
# ^
# catimage.c: At top level:
# catimage.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int]
# fatal(str)
# ^~~~~
# make[1]: *** [: catimage] Error 1
# make[1]: *** Waiting for unfinished jobs....
# make[1]: Leaving directory '/tmp/bin86/src/bin86-0.16.21/ld'
# make: *** [Makefile:28: all] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...