Build of mbedtls with android toolchain

The build took 00h 01m 26s and was SUCCESSFUL.

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

SLOCLanguage
64,929 ansic
5,104 sh
1,438 perl
759 makefile
4 tcl
72,234 total

The process tree of the build process is here.

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

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: mbedtls 2.3.0-2 (Tue Apr 4 20:27:15 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC aes.c
# CC aesni.c
# CC arc4.c
# CC asn1parse.c
# CC asn1write.c
# CC base64.c
# CC bignum.c
# CC blowfish.c
# CC camellia.c
# CC ccm.c
# CC cipher.c
# CC cipher_wrap.c
# CC ctr_drbg.c
# CC des.c
# CC dhm.c
# CC ecdh.c
# CC ecdsa.c
# CC ecjpake.c
# CC ecp.c
# CC ecp_curves.c
# CC entropy.c
# CC entropy_poll.c
# CC error.c
# CC gcm.c
# CC havege.c
# CC hmac_drbg.c
# CC md.c
# CC md2.c
# CC md4.c
# CC md5.c
# CC md_wrap.c
# CC memory_buffer_alloc.c
# CC oid.c
# CC padlock.c
# CC pem.c
# CC pk.c
# CC pk_wrap.c
# CC pkcs12.c
# CC pkcs5.c
# CC pkparse.c
# CC pkwrite.c
# CC platform.c
# CC ripemd160.c
# CC rsa.c
# CC sha1.c
# CC sha256.c
# CC sha512.c
# CC threading.c
# CC timing.c
# CC version.c
# CC version_features.c
# CC xtea.c
# CC certs.c
# CC x509.c
# CC pkcs11.c
# CC x509_create.c
# CC x509_crl.c
# CC x509_crt.c
# CC x509_csr.c
# CC x509write_crt.c
# CC x509write_csr.c
# CC debug.c
# CC net.c
# CC ssl_cache.c
# CC ssl_ciphersuites.c
# CC ssl_cli.c
# CC ssl_cookie.c
# CC ssl_srv.c
# CC ssl_ticket.c
# CC ssl_tls.c
# AR libmbedcrypto.a
# AR libmbedx509.a
# LD libmbedcrypto.so.0
# LN libmbedcrypto.so -> libmbedcrypto.so.0
# AR libmbedtls.a
# LD libmbedx509.so.0
# LN libmbedx509.so -> libmbedx509.so.0
# LD libmbedtls.so.10
# LN libmbedtls.so -> libmbedtls.so.10
# RL libmbedx509.a
# RL libmbedcrypto.a
# RL libmbedtls.a
# CC aes/aescrypt2.c
# CC aes/crypt_and_hash.c
# CC hash/hello.c
# CC hash/generic_sum.c
# CC pkey/dh_client.c
# CC pkey/dh_genprime.c
# CC pkey/dh_server.c
# CC pkey/ecdh_curve25519.c
# CC pkey/ecdsa.c
# CC pkey/gen_key.c
# CC pkey/key_app.c
# CC pkey/key_app_writer.c
# CC pkey/mpi_demo.c
# CC pkey/pk_decrypt.c
# CC pkey/pk_encrypt.c
# CC pkey/pk_sign.c
# CC pkey/pk_verify.c
# CC pkey/rsa_genkey.c
# CC pkey/rsa_decrypt.c
# CC pkey/rsa_encrypt.c
# CC pkey/rsa_sign.c
# CC pkey/rsa_verify.c
# CC pkey/rsa_sign_pss.c
# CC pkey/rsa_verify_pss.c
# CC ssl/dtls_client.c
# CC ssl/dtls_server.c
# CC ssl/ssl_client1.c
# CC ssl/ssl_client2.c
# CC ssl/ssl_server.c
# CC ssl/ssl_server2.c
# CC ssl/ssl_fork_server.c
# CC ssl/mini_client.c
# CC ssl/ssl_mail_client.c
# CC random/gen_entropy.c
# CC random/gen_random_havege.c
# CC random/gen_random_ctr_drbg.c
# CC test/ssl_cert_test.c
# CC test/benchmark.c
# CC test/selftest.c
# CC test/udp_proxy.c
# CC util/pem2der.c
# CC util/strerror.c
# CC x509/cert_app.c
# CC x509/crl_app.c
# CC x509/cert_req.c
# CC x509/cert_write.c
# CC x509/req_app.c
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "mbedtls"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: mbedtls 2.3.0-2 (Tue Apr 4 20:27:23 UTC 2017)

CMD: pacman --query --file mbedtls-2.3.0-2-x86_64.pkg.tar.xz
# mbedtls 2.3.0-2

Creating hybrid package for 'mbedtls'

Trying to find vanilla package 'mbedtls'...

CMD: pacman --query --file /mirror/mbedtls-2.3.0-2.pkg.tar.xz
# mbedtls 2.3.0-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/include/mbedtls/ssl_ciphersuites.h
# /usr/include/mbedtls/ccm.h
# /usr/include/mbedtls/ssl_internal.h
# /usr/include/mbedtls/cipher_internal.h
# /usr/include/mbedtls/aesni.h
# /usr/include/mbedtls/x509_crt.h
# /usr/include/mbedtls/havege.h
# /usr/include/mbedtls/check_config.h
# /usr/include/mbedtls/sha1.h
# /usr/include/mbedtls/md5.h
# /usr/include/mbedtls/threading.h
# /usr/include/mbedtls/aes.h
# /usr/include/mbedtls/pk.h
# /usr/include/mbedtls/pkcs12.h
# /usr/include/mbedtls/ctr_drbg.h
# /usr/include/mbedtls/des.h
# /usr/include/mbedtls/bn_mul.h
# /usr/include/mbedtls/md.h
# /usr/include/mbedtls/camellia.h
# /usr/include/mbedtls/hmac_drbg.h
# /usr/include/mbedtls/ssl_ticket.h
# /usr/include/mbedtls/net.h
# /usr/include/mbedtls/x509.h
# /usr/include/mbedtls/pem.h
# /usr/include/mbedtls/base64.h
# /usr/include/mbedtls/ecjpake.h
# /usr/include/mbedtls/sha256.h
# /usr/include/mbedtls/x509_crl.h
# /usr/include/mbedtls/pk_internal.h
# /usr/include/mbedtls/arc4.h
# /usr/include/mbedtls/ecdh.h
# /usr/include/mbedtls/entropy.h
# /usr/include/mbedtls/ssl_cookie.h
# /usr/include/mbedtls/cipher.h
# /usr/include/mbedtls/ssl_cache.h
# /usr/include/mbedtls/ecp.h
# /usr/include/mbedtls/bignum.h
# /usr/include/mbedtls/blowfish.h
# /usr/include/mbedtls/error.h
# /usr/include/mbedtls/version.h
# /usr/include/mbedtls/platform.h
# /usr/include/mbedtls/oid.h
# /usr/include/mbedtls/sha512.h
# /usr/include/mbedtls/md_internal.h
# /usr/include/mbedtls/pkcs5.h
# /usr/include/mbedtls/x509_csr.h
# /usr/include/mbedtls/ecdsa.h
# /usr/include/mbedtls/rsa.h
# /usr/include/mbedtls/ripemd160.h
# /usr/include/mbedtls/asn1.h
# /usr/include/mbedtls/asn1write.h
# /usr/include/mbedtls/xtea.h
# /usr/include/mbedtls/gcm.h
# /usr/include/mbedtls/padlock.h
# /usr/include/mbedtls/md2.h
# /usr/include/mbedtls/pkcs11.h
# /usr/include/mbedtls/md4.h
# /usr/include/mbedtls/memory_buffer_alloc.h
# /usr/include/mbedtls/debug.h
# /usr/include/mbedtls/entropy_poll.h
# /usr/include/mbedtls/dhm.h
# /usr/include/mbedtls/compat-1.3.h
# /usr/include/mbedtls/certs.h
# /usr/include/mbedtls/timing.h
# /usr/include/mbedtls/config.h
# /usr/include/mbedtls/ssl.h
# /usr/lib/libmbedtls.so
# /usr/lib/libmbedx509.so
# /usr/lib/libmbedcrypto.so
# /usr/lib/libmbedtls.a
# /usr/lib/libmbedtls.so.10
# /usr/lib/libmbedx509.a
# /usr/lib/libmbedx509.so.0
# /usr/lib/libmbedcrypto.a
# /usr/lib/libmbedcrypto.so.0
# /usr/bin/mbedtls_aescrypt2
# /usr/bin/mbedtls_crypt_and_hash
# /usr/bin/mbedtls_generic_sum
# /usr/bin/mbedtls_hello
# /usr/bin/mbedtls_dh_client
# /usr/bin/mbedtls_dh_genprime
# /usr/bin/mbedtls_dh_server
# /usr/bin/mbedtls_ecdh_curve25519
# /usr/bin/mbedtls_ecdsa
# /usr/bin/mbedtls_gen_key
# /usr/bin/mbedtls_key_app
# /usr/bin/mbedtls_key_app_writer
# /usr/bin/mbedtls_mpi_demo
# /usr/bin/mbedtls_pk_decrypt
# /usr/bin/mbedtls_pk_encrypt
# /usr/bin/mbedtls_pk_sign
# /usr/bin/mbedtls_pk_verify
# /usr/bin/mbedtls_rsa_decrypt
# /usr/bin/mbedtls_rsa_encrypt
# /usr/bin/mbedtls_rsa_genkey
# /usr/bin/mbedtls_rsa_sign
# /usr/bin/mbedtls_rsa_sign_pss
# /usr/bin/mbedtls_rsa_verify
# /usr/bin/mbedtls_rsa_verify_pss
# /usr/bin/mbedtls_gen_entropy
# /usr/bin/mbedtls_gen_random_ctr_drbg
# /usr/bin/mbedtls_gen_random_havege
# /usr/bin/mbedtls_dtls_client
# /usr/bin/mbedtls_dtls_server
# /usr/bin/mbedtls_mini_client
# /usr/bin/mbedtls_ssl_client1
# /usr/bin/mbedtls_ssl_client2
# /usr/bin/mbedtls_ssl_fork_server
# /usr/bin/mbedtls_ssl_mail_client
# /usr/bin/mbedtls_ssl_server
# /usr/bin/mbedtls_ssl_server2
# /usr/bin/mbedtls_benchmark
# /usr/bin/mbedtls_selftest
# /usr/bin/mbedtls_ssl_cert_test
# /usr/bin/mbedtls_udp_proxy
# /usr/bin/mbedtls_pem2der
# /usr/bin/mbedtls_strerror
# /usr/bin/mbedtls_cert_app
# /usr/bin/mbedtls_cert_req
# /usr/bin/mbedtls_cert_write
# /usr/bin/mbedtls_crl_app
# /usr/bin/mbedtls_req_app
# /sysroot/sysroot/usr/lib/libmbedtls.a
# /sysroot/sysroot/usr/lib/libmbedtls.so
# /sysroot/sysroot/usr/lib/libmbedtls.so.10
# /sysroot/sysroot/usr/lib/libmbedx509.a
# /sysroot/sysroot/usr/lib/libmbedx509.so
# /sysroot/sysroot/usr/lib/libmbedx509.so.0
# /sysroot/sysroot/usr/lib/libmbedcrypto.a
# /sysroot/sysroot/usr/lib/libmbedcrypto.so
# /sysroot/sysroot/usr/lib/libmbedcrypto.so.0
# /sysroot/sysroot/usr/include/mbedtls/x509_crt.h
# /sysroot/sysroot/usr/include/mbedtls/rsa.h
# /sysroot/sysroot/usr/include/mbedtls/threading.h
# /sysroot/sysroot/usr/include/mbedtls/platform.h
# /sysroot/sysroot/usr/include/mbedtls/pkcs11.h
# /sysroot/sysroot/usr/include/mbedtls/blowfish.h
# /sysroot/sysroot/usr/include/mbedtls/debug.h
# /sysroot/sysroot/usr/include/mbedtls/x509.h
# /sysroot/sysroot/usr/include/mbedtls/asn1.h
# /sysroot/sysroot/usr/include/mbedtls/compat-1.3.h
# /sysroot/sysroot/usr/include/mbedtls/x509_crl.h
# /sysroot/sysroot/usr/include/mbedtls/asn1write.h
# /sysroot/sysroot/usr/include/mbedtls/ripemd160.h
# /sysroot/sysroot/usr/include/mbedtls/ssl_internal.h
# /sysroot/sysroot/usr/include/mbedtls/bn_mul.h
# /sysroot/sysroot/usr/include/mbedtls/ecdh.h
# /sysroot/sysroot/usr/include/mbedtls/cipher.h
# /sysroot/sysroot/usr/include/mbedtls/config.h
# /sysroot/sysroot/usr/include/mbedtls/pk.h
# /sysroot/sysroot/usr/include/mbedtls/check_config.h
# /sysroot/sysroot/usr/include/mbedtls/md4.h
# /sysroot/sysroot/usr/include/mbedtls/version.h
# /sysroot/sysroot/usr/include/mbedtls/cipher_internal.h
# /sysroot/sysroot/usr/include/mbedtls/arc4.h
# /sysroot/sysroot/usr/include/mbedtls/sha512.h
# /sysroot/sysroot/usr/include/mbedtls/md_internal.h
# /sysroot/sysroot/usr/include/mbedtls/x509_csr.h
# /sysroot/sysroot/usr/include/mbedtls/ssl_ciphersuites.h
# /sysroot/sysroot/usr/include/mbedtls/timing.h
# /sysroot/sysroot/usr/include/mbedtls/ecdsa.h
# /sysroot/sysroot/usr/include/mbedtls/memory_buffer_alloc.h
# /sysroot/sysroot/usr/include/mbedtls/des.h
# /sysroot/sysroot/usr/include/mbedtls/gcm.h
# /sysroot/sysroot/usr/include/mbedtls/oid.h
# /sysroot/sysroot/usr/include/mbedtls/havege.h
# /sysroot/sysroot/usr/include/mbedtls/ecjpake.h
# /sysroot/sysroot/usr/include/mbedtls/base64.h
# /sysroot/sysroot/usr/include/mbedtls/net.h
# /sysroot/sysroot/usr/include/mbedtls/ssl_cookie.h
# /sysroot/sysroot/usr/include/mbedtls/md2.h
# /sysroot/sysroot/usr/include/mbedtls/camellia.h
# /sysroot/sysroot/usr/include/mbedtls/aesni.h
# /sysroot/sysroot/usr/include/mbedtls/pk_internal.h
# /sysroot/sysroot/usr/include/mbedtls/ssl_ticket.h
# /sysroot/sysroot/usr/include/mbedtls/ecp.h
# /sysroot/sysroot/usr/include/mbedtls/pem.h
# /sysroot/sysroot/usr/include/mbedtls/aes.h
# /sysroot/sysroot/usr/include/mbedtls/md5.h
# /sysroot/sysroot/usr/include/mbedtls/dhm.h
# /sysroot/sysroot/usr/include/mbedtls/entropy_poll.h
# /sysroot/sysroot/usr/include/mbedtls/padlock.h
# /sysroot/sysroot/usr/include/mbedtls/xtea.h
# /sysroot/sysroot/usr/include/mbedtls/sha256.h
# /sysroot/sysroot/usr/include/mbedtls/md.h
# /sysroot/sysroot/usr/include/mbedtls/error.h
# /sysroot/sysroot/usr/include/mbedtls/ssl_cache.h
# /sysroot/sysroot/usr/include/mbedtls/ssl.h
# /sysroot/sysroot/usr/include/mbedtls/ccm.h
# /sysroot/sysroot/usr/include/mbedtls/entropy.h
# /sysroot/sysroot/usr/include/mbedtls/bignum.h
# /sysroot/sysroot/usr/include/mbedtls/certs.h
# /sysroot/sysroot/usr/include/mbedtls/sha1.h
# /sysroot/sysroot/usr/include/mbedtls/pkcs12.h
# /sysroot/sysroot/usr/include/mbedtls/hmac_drbg.h
# /sysroot/sysroot/usr/include/mbedtls/ctr_drbg.h
# /sysroot/sysroot/usr/include/mbedtls/pkcs5.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf mbedtls.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/mbedtls.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/mbedtls.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 577

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/mbedtls.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/mbedtls.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'