Build of mcqd with android toolchain

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

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

SLOCLanguage
337 cpp
337 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: mcqd 1.0-3 (Tue Apr 4 20:29:09 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc1plus: error: no include path in which to search for stdc-predef.h
# mcqd.cpp:24:19: error: no include path in which to search for fstream
# #include
# ^
# mcqd.cpp:25:20: error: no include path in which to search for iostream
# #include
# ^
# mcqd.cpp:26:15: error: no include path in which to search for set
# #include
# ^
# mcqd.cpp:27:20: error: no include path in which to search for string.h
# #include
# ^
# mcqd.cpp:28:15: error: no include path in which to search for map
# #include
# ^
# mcqd.cpp:29:20: error: no include path in which to search for assert.h
# #include
# ^
# In file included from mcqd.cpp:30:0:
# mcqd.h:27:20: error: no include path in which to search for iostream
# #include
# ^
# mcqd.h:28:21: error: no include path in which to search for algorithm
# #include
# ^
# mcqd.h:29:20: error: no include path in which to search for assert.h
# #include
# ^
# mcqd.h: In member function 'void Maxclique::Vertices::sort()':
# mcqd.h:62:19: error: 'sort' is not a member of 'std'
# void sort() { std::sort(v, v+sz, desc_degree); }
# ^
# In file included from mcqd.cpp:30:0:
# mcqd.h: In constructor 'Maxclique::Maxclique(const bool* const*, int, float)':
# mcqd.h:149:25: error: 'assert' was not declared in this scope
# assert(conn!=0 && sz>0);
# ^
# mcqd.h: In member function 'void Maxclique::expand(Maxclique::Vertices)':
# mcqd.h:250:9: error: 'cout' is not a member of 'std'
# std::cout << "step = " << pk << " current max. clique size = " << Q.size() << std::endl;
# ^
# mcqd.h:250:87: error: 'endl' is not a member of 'std'
# std::cout << "step = " << pk << " current max. clique size = " << Q.size() << std::endl;
# ^
# mcqd.h: In member function 'void Maxclique::expand_dyn(Maxclique::Vertices)':
# mcqd.h:282:9: error: 'cout' is not a member of 'std'
# std::cout << "step = " << pk << " current max. clique size = " << Q.size() << std::endl;
# ^
# mcqd.h:282:87: error: 'endl' is not a member of 'std'
# std::cout << "step = " << pk << " current max. clique size = " << Q.size() << std::endl;
# ^
# mcqd.cpp: At global scope:
# mcqd.cpp:34:18: error: variable or field 'read_dimacs' declared void
# void read_dimacs(string name, bool** &conn, int &size) {
# ^
# mcqd.cpp:34:18: error: 'string' was not declared in this scope
# mcqd.cpp:34:31: error: expected primary-expression before 'bool'
# void read_dimacs(string name, bool** &conn, int &size) {
# ^
# mcqd.cpp:34:45: error: expected primary-expression before 'int'
# void read_dimacs(string name, bool** &conn, int &size) {
# ^
# ==> ERROR: A failure occurred in build().
# Aborting...