Build of wipe with android toolchain

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

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

SLOCLanguage
2,495 sh
2,352 ansic
4,847 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...

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: wipe 2.3.1-3 (Tue Apr 4 21:37:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
#
# checking target system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
#
# checking build system type... x86_64-unknown-linux-gnu
# checking for gcc... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for POSIXized ISC... no
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking whether arm-linux-androideabi-gcc needs -traditional... no
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether the C compiler accepts -pipe... yes
# checking whether the C compiler accepts -g... yes
# checking whether the C compiler accepts -O0... yes
# checking whether the C compiler accepts -O2... yes
# checking whether the C compiler accepts -ansi... yes
# checking whether the C compiler accepts -pedantic... yes
# checking whether the C compiler accepts -Wall... yes
# checking whether the C compiler accepts -Werror... yes
# checking for dirent.h that defines DIR... yes
# checking for opendir in -ldir... no
# checking for ANSI C header files... yes
# checking for unistd.h... yes
# checking for stdint.h... yes
# checking for fcntl.h... yes
# checking for memory.h... yes
# checking for linux/fs.h... yes
# checking for sys/mount.h... yes
# checking for sys/disklabel.h... no
# checking for sys/ioctl.h... yes
# checking for sys/file.h... yes
# checking for sys/stat.h... yes
# checking for sys/time.h... yes
# checking for sys/types.h... yes
# checking for getopt.h... yes
# checking for errno.h... yes
# checking for termio.h... yes
# checking for termios.h... yes
# checking for linux/mtio.h... yes
# checking for working const... yes
# checking for inline... __inline__
# checking for off_t... yes
# checking for size_t... yes
# checking whether stat file-mode macros are broken... no
# checking for unistd.h... (cached) yes
# checking for getpagesize... yes
# checking for working mmap... no
# checking for getopt... yes
# checking for strnlen... yes
# checking for bzero... yes
# checking for memset... yes
# checking for memcpy... yes
# checking for realloc... yes
# checking for fchmod... yes
# checking for ioctl... yes
# checking for fcntl... yes
# checking for lockf... no
# checking for flock... yes
# checking for fsync... yes
# checking for fdatasync... yes
# checking for unlink... yes
# checking for rmdir... yes
# checking for remove... yes
# checking for rename... yes
# checking for dirfd... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating config.h
# arm-linux-androideabi-gcc -pipe -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DLINUX -c -o main.o main.c
# arm-linux-androideabi-gcc -pipe -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DLINUX -c -o wipe.o wipe.c
# arm-linux-androideabi-gcc -pipe -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DLINUX -c -o rand.o rand.c
# arm-linux-androideabi-gcc -pipe -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DLINUX -c -o dir.o dir.c
# In file included from /sysroot/sysroot/usr/include/signal.h:32:0,
# from main.c:28:
# main.c:55:12: error: conflicting types for '__errno'
# extern int errno;
# ^
# /sysroot/sysroot/usr/include/errno.h:44:22: note: previous declaration of '__errno' was here
# extern volatile int* __errno(void) __pure2;
# ^
# In file included from /sysroot/sysroot/usr/include/signal.h:32:0,
# from /sysroot/sysroot/usr/include/sys/select.h:35,
# from /sysroot/sysroot/usr/include/unistd.h:34,
# from wipe.c:23:
# wipe.c:59:12: error: conflicting types for '__errno'
# extern int errno;
# ^
# /sysroot/sysroot/usr/include/errno.h:44:22: note: previous declaration of '__errno' was here
# extern volatile int* __errno(void) __pure2;
# ^
# make: *** [: main.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from /sysroot/sysroot/usr/include/signal.h:32:0,
# from /sysroot/sysroot/usr/include/sys/select.h:35,
# from /sysroot/sysroot/usr/include/unistd.h:34,
# from dir.c:23:
# dir.c:49:12: error: conflicting types for '__errno'
# extern int errno;
# ^
# /sysroot/sysroot/usr/include/errno.h:44:22: note: previous declaration of '__errno' was here
# extern volatile int* __errno(void) __pure2;
# ^
# make: *** [: wipe.o] Error 1
# make: *** [: dir.o] Error 1
# In file included from rand.c:23:0:
# rand.c:39:12: error: conflicting types for '__errno'
# extern int errno, exit_code;
# ^
# /sysroot/sysroot/usr/include/errno.h:44:22: note: previous declaration of '__errno' was here
# extern volatile int* __errno(void) __pure2;
# ^
# make: *** [: rand.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/wipe/src/wipe-2.3.1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:600: checking host system type
# configure:621: checking target system type
# configure:639: checking build system type
# configure:668: checking for gcc
# configure:781: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:797: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:823: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:828: checking whether we are using GNU C
# configure:837: arm-linux-androideabi-gcc -E conftest.c
# configure:856: checking whether arm-linux-androideabi-gcc accepts -g
# configure:888: checking for POSIXized ISC
# configure:909: checking how to run the C preprocessor
# configure:930: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:990: checking whether arm-linux-androideabi-gcc needs -traditional
# configure:1047: checking for a BSD compatible install
# configure:1101: checking whether the C compiler accepts -pipe
# configure:1111: arm-linux-androideabi-gcc -c -pipe conftest.c 1>&5
# configure:1123: checking whether the C compiler accepts -g
# configure:1133: arm-linux-androideabi-gcc -c -g conftest.c 1>&5
# configure:1145: checking whether the C compiler accepts -O0
# configure:1155: arm-linux-androideabi-gcc -c -O0 conftest.c 1>&5
# configure:1167: checking whether the C compiler accepts -O2
# configure:1177: arm-linux-androideabi-gcc -c -O2 conftest.c 1>&5
# configure:1189: checking whether the C compiler accepts -ansi
# configure:1199: arm-linux-androideabi-gcc -c -ansi conftest.c 1>&5
# configure:1211: checking whether the C compiler accepts -pedantic
# configure:1221: arm-linux-androideabi-gcc -c -pedantic conftest.c 1>&5
# configure:1233: checking whether the C compiler accepts -Wall
# configure:1243: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:1255: checking whether the C compiler accepts -Werror
# configure:1265: arm-linux-androideabi-gcc -c -Werror conftest.c 1>&5
# configure:1322: checking for dirent.h that defines DIR
# configure:1335: arm-linux-androideabi-gcc -c -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:1360: checking for opendir in -ldir
# configure:1379: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c -ldir 1>&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldir
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 1368 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char opendir();
#
# int main() {
# opendir()
# ; return 0; }
# configure:1443: checking for ANSI C header files
# configure:1456: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for unistd.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for stdint.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for fcntl.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for memory.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for linux/fs.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/mount.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/disklabel.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1556:27: fatal error: sys/disklabel.h: No such file or directory
# #include <$ac_hdr>
# ^
# compilation terminated.
# configure: failed program was:
# #line 1555 "configure"
# #include "confdefs.h"
# #include
# configure:1550: checking for sys/ioctl.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/file.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/stat.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/time.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for sys/types.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for getopt.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for errno.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for termio.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for termios.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1550: checking for linux/mtio.h
# configure:1560: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1588: checking for working const
# configure:1642: arm-linux-androideabi-gcc -c -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:1663: checking for inline
# configure:1677: arm-linux-androideabi-gcc -c -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:1673:3: error: unknown type name 'inline'
# } $ac_kw foo() {
# ^
# configure: failed program was:
# #line 1670 "configure"
# #include "confdefs.h"
#
# int main() {
# } inline foo() {
# ; return 0; }
# configure:1677: arm-linux-androideabi-gcc -c -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:1703: checking for off_t
# configure:1736: checking for size_t
# configure:1769: checking whether stat file-mode macros are broken
# configure:1830: checking for unistd.h
# configure:1869: checking for getpagesize
# configure:1897: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:1922: checking for working mmap
# configure:2095: checking for getopt
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for strnlen
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for bzero
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for memset
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2107:6: warning: conflicting types for built-in function 'memset' [enabled by default]
# char $ac_func();
# ^
# configure:2095: checking for memcpy
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2107:6: warning: conflicting types for built-in function 'memcpy' [enabled by default]
# char $ac_func();
# ^
# configure:2095: checking for realloc
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2107:6: warning: conflicting types for built-in function 'realloc' [enabled by default]
# char $ac_func();
# ^
# configure:2095: checking for fchmod
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for ioctl
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for fcntl
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for lockf
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# /tmp/ccqCf4An.o:conftest.c:function main: error: undefined reference to 'lockf'
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 2100 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char lockf(); below. */
# #include
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char lockf();
#
# int main() {
#
# /* The GNU C library defines this for functions which it implements
# to always fail with ENOSYS. Some functions are actually named
# something starting with __ and the normal name is an alias. */
# #if defined (__stub_lockf) || defined (__stub___lockf)
# choke me
# #else
# lockf();
# #endif
#
# ; return 0; }
# configure:2095: checking for flock
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for fsync
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for fdatasync
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for unlink
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for rmdir
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for remove
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for rename
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5
# configure:2095: checking for dirfd
# configure:2123: arm-linux-androideabi-gcc -o conftest -ansi -pedantic -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES conftest.c 1>&5