Build of offlineimap 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
8,028 python
452 sh
58 makefile
8,538 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: offlineimap 6.7.0.1-1 (Tue Apr 4 20:32:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Traceback (most recent call last):
# File "setup.py", line 26, in
# import offlineimap
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/__init__.py", line 20, in
# from offlineimap.init import OfflineImap
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/init.py", line 28, in
# from offlineimap import accounts, threadutil, syncmaster, folder
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/accounts.py", line 26, in
# from offlineimap.repository import Repository
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/repository/__init__.py", line 25, in
# from offlineimap.repository.IMAP import IMAPRepository, MappedIMAPRepository
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/repository/IMAP.py", line 25, in
# from offlineimap import folder, imaputil, imapserver, OfflineImapError
# File "/tmp/offlineimap/src/offlineimap-6.7.0.1/offlineimap/imapserver.py", line 31, in
# from ssl import SSLError, cert_time_to_seconds
# File "/sysroot/lib/python2.7/ssl.py", line 60, in
# import _ssl # if we can't import it, let the error propagate
# ImportError: No module named _ssl
# ==> ERROR: A failure occurred in build().
# Aborting...