Build of qpress with android toolchain

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

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

SLOCLanguage
1,565 cpp
1,176 ansic
2 makefile
2,743 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: qpress 1.1-2 (Tue Apr 4 20:19:33 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# g++ -O3 -o qpress qpress.cpp aio.cpp quicklz.c utilities.cpp -lpthread
# cc1plus: error: no include path in which to search for stdc-predef.h
# qpress.cpp:89:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# qpress.cpp:90:20: error: no include path in which to search for stdlib.h
# #include
# ^
# qpress.cpp:91:19: error: no include path in which to search for stdio.h
# #include
# ^
# In file included from qpress.cpp:92:0:
# aio.hpp:11:20: error: no include path in which to search for string.h
# #include
# ^
# qpress.cpp:93:20: error: no include path in which to search for stdarg.h
# #include
# ^
# qpress.cpp:94:18: error: no include path in which to search for string
# #include
# ^
# In file included from qpress.cpp:95:0:
# levels.c:13:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from quicklz.c:12:0,
# from levels.c:42,
# from qpress.cpp:95:
# quicklz.h:38:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from quicklz.c:12:0,
# from levels.c:99,
# from qpress.cpp:95:
# quicklz.h:38:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from quicklz.c:12:0,
# from levels.c:156,
# from qpress.cpp:95:
# quicklz.h:38:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from qpress.cpp:96:0:
# utilities.hpp:7:18: error: no include path in which to search for string
# #include
# ^
# utilities.hpp:18:22: error: no include path in which to search for pthread.h
# #include
# ^
# qpress.cpp:108:22: fatal error: dirent.h: No such file or directory
# #include "dirent.h"
# ^
# compilation terminated.
# cc1plus: error: no include path in which to search for stdc-predef.h
# In file included from aio.cpp:24:0:
# aio.hpp:11:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from aio.cpp:25:0:
# utilities.hpp:7:18: error: no include path in which to search for string
# #include
# ^
# utilities.hpp:18:22: error: no include path in which to search for pthread.h
# #include
# ^
# aio.cpp:30:20: error: no include path in which to search for stdlib.h
# #include
# ^
# aio.cpp:31:19: error: no include path in which to search for stdio.h
# #include
# ^
# aio.cpp:32:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from aio.cpp:24:0:
# aio.hpp:13:1: error: 'size_t' does not name a type
# size_t aread(void *dst, size_t size);
# ^
# aio.hpp:14:1: error: 'size_t' does not name a type
# size_t awrite(const void *src, size_t size);
# ^
# aio.hpp:20:15: error: 'size_t' was not declared in this scope
# bool aio_init(size_t chunk_size, bool buffered_io);
# ^
# aio.hpp:20:34: error: expected primary-expression before 'bool'
# bool aio_init(size_t chunk_size, bool buffered_io);
# ^
# aio.hpp:20:50: error: expression list treated as compound expression in initializer [-fpermissive]
# bool aio_init(size_t chunk_size, bool buffered_io);
# ^
# aio.hpp:21:1: error: 'size_t' does not name a type
# size_t try_awrite(const void *Str, size_t Count);
# ^
# aio.hpp:22:1: error: 'size_t' does not name a type
# size_t try_aread(void *DstBuf, size_t Count);
# ^
# In file included from aio.cpp:25:0:
# utilities.hpp:22:1: error: 'string' does not name a type
# string ucase(string str);
# ^
# utilities.hpp:23:1: error: 'string' does not name a type
# string lcase(string str);
# ^
# utilities.hpp:24:1: error: 'string' does not name a type
# string remove_leading_curdir(string path);
# ^
# utilities.hpp:25:1: error: 'string' does not name a type
# string remove_delimitor(string path);
# ^
# utilities.hpp:29:1: error: 'string' does not name a type
# string get_pid(void);
# ^
# utilities.hpp:30:41: error: 'size_t' has not been declared
# unsigned int adler(unsigned char *data, size_t len, unsigned int crc);
# ^
# utilities.hpp:31:13: error: 'string' was not declared in this scope
# bool exists(string file);
# ^
# utilities.hpp:32:13: error: 'string' was not declared in this scope
# bool is_dir(string path);
# ^
# utilities.hpp:33:1: error: 'string' does not name a type
# string str(int intValue);
# ^
# utilities.hpp:34:1: error: 'string' does not name a type
# string delimiter(long long l);
# ^
# utilities.hpp:35:28: error: 'size_t' was not declared in this scope
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:35:41: error: 'size_t' was not declared in this scope
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:35:57: error: expression list treated as compound expression in initializer [-fpermissive]
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:37:34: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment);
# ^
# utilities.hpp:37:47: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment);
# ^
# aio.cpp:41:8: error: 'size_t' does not name a type
# static size_t largest_request_pub;
# ^
# aio.cpp:38:25: error: 'FILE' does not name a type
# #define handle_type FILE *
# ^
# aio.cpp:49:8: note: in expansion of macro 'handle_type'
# static handle_type ifile;
# ^
# aio.cpp:38:25: error: 'FILE' does not name a type
# #define handle_type FILE *
# ^
# aio.cpp:60:8: note: in expansion of macro 'handle_type'
# static handle_type ofile;
# ^
# aio.cpp:65:15: error: redefinition of 'bool aio_init'
# bool aio_init(size_t largest_request, bool buffered_io)
# ^
# In file included from aio.cpp:24:0:
# aio.hpp:20:6: error: 'bool aio_init' previously defined here
# bool aio_init(size_t chunk_size, bool buffered_io);
# ^
# aio.cpp:65:15: error: 'size_t' was not declared in this scope
# bool aio_init(size_t largest_request, bool buffered_io)
# ^
# aio.cpp:65:39: error: expected primary-expression before 'bool'
# bool aio_init(size_t largest_request, bool buffered_io)
# ^
# cc1plus: error: no include path in which to search for stdc-predef.h
# In file included from quicklz.c:12:0:
# quicklz.h:38:20: error: no include path in which to search for string.h
# #include
# ^
# quicklz.h:41:1: error: 'size_t' does not name a type
# size_t qlz_size_decompressed(const char *source);
# ^
# quicklz.h:42:1: error: 'size_t' does not name a type
# size_t qlz_size_compressed(const char *source);
# ^
# quicklz.h:43:1: error: 'size_t' does not name a type
# size_t qlz_decompress(const char *source, void *destination, char *scratch_decompress);
# ^
# quicklz.h:44:1: error: 'size_t' does not name a type
# size_t qlz_compress(const void *source, char *destination, size_t size, char *scratch_compress);
# ^
# quicklz.c: In function 'void reset_state(unsigned char*)':
# quicklz.c:52:41: error: 'memset' was not declared in this scope
# memset(hash_counter, 0, QLZ_HASH_VALUES);
# ^
# quicklz.c: At global scope:
# quicklz.c:88:52: error: 'size_t' has not been declared
# static __inline void fast_write(ui32 f, void *dst, size_t bytes)
# ^
# quicklz.c:187:8: error: 'size_t' does not name a type
# static size_t qlz_compress_core(const unsigned char *source, unsigned char *destination, size_t size, qlz_hash_compress hashtable[QLZ_HASH_VALUES], unsigned char hash_counter[QLZ_HASH_VALUES])
# ^
# quicklz.c:486:8: error: 'size_t' does not name a type
# static size_t qlz_decompress_core(const unsigned char *source, unsigned char *destination, size_t size, qlz_hash_decompress hashtable[QLZ_HASH_VALUES], unsigned char hash_counter[QLZ_HASH_VALUES], unsigned char *history, const char *source_2)
# ^
# quicklz.c:664:1: error: 'size_t' does not name a type
# size_t qlz_size_decompressed(const char *source)
# ^
# quicklz.c:673:1: error: 'size_t' does not name a type
# size_t qlz_size_compressed(const char *source)
# ^
# quicklz.c:682:1: error: 'size_t' does not name a type
# size_t qlz_compress(const void *source, char *destination, size_t size, char *scratch_compress)
# ^
# quicklz.c:767:1: error: 'size_t' does not name a type
# size_t qlz_decompress(const char *source, void *destination, char *scratch_compress)
# ^
# cc1plus: error: no include path in which to search for stdc-predef.h
# utilities.cpp:2:23: error: no include path in which to search for sys/types.h
# #include
# ^
# utilities.cpp:3:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# utilities.cpp:4:18: error: no include path in which to search for string
# #include
# ^
# utilities.cpp:5:20: error: no include path in which to search for string.h
# #include
# ^
# utilities.cpp:6:19: error: no include path in which to search for stdio.h
# #include
# ^
# utilities.cpp:7:20: error: no include path in which to search for stdarg.h
# #include
# ^
# utilities.cpp:8:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from utilities.cpp:9:0:
# utilities.hpp:7:18: error: no include path in which to search for string
# #include
# ^
# utilities.hpp:18:22: error: no include path in which to search for pthread.h
# #include
# ^
# utilities.cpp:14:24: error: no include path in which to search for sys/stat.h
# #include
# ^
# utilities.cpp:15:24: error: no include path in which to search for sys/time.h
# #include
# ^
# utilities.cpp:16:25: error: no include path in which to search for sys/types.h
# #include
# ^
# In file included from utilities.cpp:9:0:
# utilities.hpp:22:1: error: 'string' does not name a type
# string ucase(string str);
# ^
# utilities.hpp:23:1: error: 'string' does not name a type
# string lcase(string str);
# ^
# utilities.hpp:24:1: error: 'string' does not name a type
# string remove_leading_curdir(string path);
# ^
# utilities.hpp:25:1: error: 'string' does not name a type
# string remove_delimitor(string path);
# ^
# utilities.hpp:29:1: error: 'string' does not name a type
# string get_pid(void);
# ^
# utilities.hpp:30:41: error: 'size_t' has not been declared
# unsigned int adler(unsigned char *data, size_t len, unsigned int crc);
# ^
# utilities.hpp:31:13: error: 'string' was not declared in this scope
# bool exists(string file);
# ^
# utilities.hpp:32:13: error: 'string' was not declared in this scope
# bool is_dir(string path);
# ^
# utilities.hpp:33:1: error: 'string' does not name a type
# string str(int intValue);
# ^
# utilities.hpp:34:1: error: 'string' does not name a type
# string delimiter(long long l);
# ^
# utilities.hpp:35:28: error: 'size_t' was not declared in this scope
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:35:41: error: 'size_t' was not declared in this scope
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:35:57: error: expression list treated as compound expression in initializer [-fpermissive]
# void *aligned_memory_alloc(size_t size, size_t alignment);
# ^
# utilities.hpp:37:34: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment);
# ^
# utilities.hpp:37:47: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment);
# ^
# utilities.cpp: In function 'unsigned int GetTickCount()':
# utilities.cpp:24:23: error: aggregate 'GetTickCount()::timeval tv' has incomplete type and cannot be defined
# struct timeval tv;
# ^
# utilities.cpp:25:27: error: 'NULL' was not declared in this scope
# gettimeofday( &tv, NULL );
# ^
# utilities.cpp:25:32: error: 'gettimeofday' was not declared in this scope
# gettimeofday( &tv, NULL );
# ^
# utilities.cpp: In function 'char* absolute_path(char*, char*)':
# utilities.cpp:35:37: error: 'realpath' was not declared in this scope
# return realpath(source, destination);
# ^
# utilities.cpp: At global scope:
# utilities.cpp:39:1: error: 'string' does not name a type
# string ucase(string str)
# ^
# utilities.cpp:49:1: error: 'string' does not name a type
# string lcase(string str)
# ^
# utilities.cpp: In function 'void utils_yield()':
# utilities.cpp:68:17: error: 'sched_yield' was not declared in this scope
# sched_yield(); // other *nix
# ^
# utilities.cpp: In function 'void reverse(char*)':
# utilities.cpp:75:5: error: 'size_t' was not declared in this scope
# size_t j;
# ^
# utilities.cpp:75:12: error: expected ';' before 'j'
# size_t j;
# ^
# utilities.cpp:79:17: error: 'j' was not declared in this scope
# for (i = 0, j = strlen(s)-1; i
# ^
# utilities.cpp:79:29: error: 'strlen' was not declared in this scope
# for (i = 0, j = strlen(s)-1; i
# ^
# utilities.cpp: At global scope:
# utilities.cpp:104:22: error: 'size_t' was not declared in this scope
# void *aligned_malloc(size_t size, size_t alignment)
# ^
# utilities.cpp:104:35: error: 'size_t' was not declared in this scope
# void *aligned_malloc(size_t size, size_t alignment)
# ^
# utilities.cpp:104:51: error: expression list treated as compound expression in initializer [-fpermissive]
# void *aligned_malloc(size_t size, size_t alignment)
# ^
# utilities.cpp:105:1: error: expected ',' or ';' before '{' token
# {
# ^
# utilities.cpp: In function 'void aligned_free(void*)':
# utilities.cpp:118:29: error: 'free' was not declared in this scope
# free(*((void **)ptr - 1));
# ^
# utilities.cpp: At global scope:
# utilities.cpp:121:34: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment)
# ^
# utilities.cpp:121:47: error: 'size_t' has not been declared
# void *aligned_realloc(void *ptr, size_t size, size_t alignment)
# ^
# utilities.cpp: In function 'void* aligned_realloc(void*, int, int)':
# utilities.cpp:123:45: error: 'aligned_malloc' cannot be used as a function
# void *p = aligned_malloc(size, alignment);
# ^
# utilities.cpp:125:16: error: 'NULL' was not declared in this scope
# return NULL;
# ^
# utilities.cpp:128:5: error: 'size_t' was not declared in this scope
# size_t c = *((size_t *)ptr - 2);
# ^
# utilities.cpp:128:12: error: expected ';' before 'c'
# size_t c = *((size_t *)ptr - 2);
# ^
# utilities.cpp:129:8: error: 'c' was not declared in this scope
# if(c > size)
# ^
# utilities.cpp:131:37: error: 'c' was not declared in this scope
# memmove(p, *((void **)ptr - 1), c);
# ^
# utilities.cpp:131:38: error: 'memmove' was not declared in this scope
# memmove(p, *((void **)ptr - 1), c);
# ^
# utilities.cpp: At global scope:
# utilities.cpp:136:41: error: 'size_t' has not been declared
# unsigned int adler(unsigned char *data, size_t len, unsigned int crc)
# ^
# utilities.cpp: In function 'unsigned int adler(unsigned char*, int, unsigned int)':
# utilities.cpp:142:9: error: 'size_t' was not declared in this scope
# size_t tlen = len > 5550 ? 5550 : len;
# ^
# utilities.cpp:142:16: error: expected ';' before 'tlen'
# size_t tlen = len > 5550 ? 5550 : len;
# ^
# utilities.cpp:143:16: error: 'tlen' was not declared in this scope
# len -= tlen;
# ^
# utilities.cpp: At global scope:
# utilities.cpp:157:13: error: redefinition of 'bool exists'
# bool exists(string file)
# ^
# In file included from utilities.cpp:9:0:
# utilities.hpp:31:6: error: 'bool exists' previously defined here
# bool exists(string file);
# ^
# utilities.cpp:157:13: error: 'string' was not declared in this scope
# bool exists(string file)
# ^
# make: *** [makefile:2: g++] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...