Build of clthreads 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
764 cpp
33 makefile
797 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: clthreads 2.4.0-2 (Tue Apr 4 19:33:52 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-g++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o p_thread.o p_thread.cc
# arm-linux-androideabi-g++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o a_thread.o a_thread.cc
# arm-linux-androideabi-g++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o itc_mesg.o itc_mesg.cc
# arm-linux-androideabi-g++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o itc_ip1q.o itc_ip1q.cc
# In file included from itc_ip1q.cc:22:0:
# clthreads.h: In member function 'void P_thread::sepuku()':
# clthreads.h:599:48: error: 'pthread_cancel' was not declared in this scope
# void sepuku (void) { pthread_cancel (_ident); }
# ^
# In file included from itc_mesg.cc:22:0:
# clthreads.h: In member function 'void P_thread::sepuku()':
# clthreads.h:599:48: error: 'pthread_cancel' was not declared in this scope
# void sepuku (void) { pthread_cancel (_ident); }
# ^
# make: *** [: itc_ip1q.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [: itc_mesg.o] Error 1
# In file included from a_thread.cc:25:0:
# clthreads.h: In member function 'void P_thread::sepuku()':
# clthreads.h:599:48: error: 'pthread_cancel' was not declared in this scope
# void sepuku (void) { pthread_cancel (_ident); }
# ^
# make: *** [: a_thread.o] Error 1
# In file included from p_thread.cc:22:0:
# clthreads.h: In member function 'void P_thread::sepuku()':
# clthreads.h:599:48: error: 'pthread_cancel' was not declared in this scope
# void sepuku (void) { pthread_cancel (_ident); }
# ^
# p_thread.cc: In member function 'virtual int P_thread::thr_start(int, int, size_t)':
# p_thread.cc:61:42: error: 'PTHREAD_EXPLICIT_SCHED' was not declared in this scope
# pthread_attr_setinheritsched (&attr, PTHREAD_EXPLICIT_SCHED);
# ^
# p_thread.cc:61:64: error: 'pthread_attr_setinheritsched' was not declared in this scope
# pthread_attr_setinheritsched (&attr, PTHREAD_EXPLICIT_SCHED);
# ^
# make: *** [: p_thread.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...