Build of linuxtv-dvb-apps 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
48,976 ansic
764 makefile
236 perl
45 sh
50,021 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: linuxtv-dvb-apps 1504-1 (Tue Apr 4 21:21:50 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting pkgver()...
# ==> Starting build()...
# make -C lib all
# make[1]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib'
# make -C libdvbapi all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbapi'
# CC dvbaudio.o
# CC dvbca.o
# CC dvbdemux.o
# CC dvbfe.o
# CC dvbnet.o
# CC dvbvideo.o
# CC libdvbapi.so
# AR libdvbapi.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbapi'
# make -C libdvbcfg all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbcfg'
# CC dvbcfg_zapchannel.o
# CC dvbcfg_scanfile.o
# CC dvbcfg_common.o
# CC libdvbcfg.so
# AR libdvbcfg.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbcfg'
# make -C libdvben50221 all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvben50221'
# CC asn_1.o
# CC en50221_app_ai.o
# CC en50221_app_auth.o
# CC en50221_app_ca.o
# CC en50221_app_datetime.o
# CC en50221_app_dvb.o
# CC en50221_app_epg.o
# CC en50221_app_lowspeed.o
# CC en50221_app_mmi.o
# CC en50221_app_rm.o
# CC en50221_app_smartcard.o
# CC en50221_app_teletext.o
# CC en50221_app_utils.o
# CC en50221_session.o
# CC en50221_stdcam.o
# CC en50221_stdcam_hlci.o
# CC en50221_stdcam_llci.o
# CC en50221_transport.o
# CC libdvben50221.so
# AR libdvben50221.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvben50221'
# make -C libdvbsec all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbsec'
# CC dvbsec_api.o
# CC dvbsec_cfg.o
# CC libdvbsec.so
# AR libdvbsec.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libdvbsec'
# make -C libesg all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libesg'
# CC types.o
# CC bootstrap/access_descriptor.o
# CC bootstrap/provider_discovery_descriptor.o
# CC encapsulation/container.o
# CC encapsulation/fragment_management_information.o
# CC encapsulation/data_repository.o
# CC encapsulation/string_repository.o
# CC representation/encapsulated_textual_esg_xml_fragment.o
# CC representation/init_message.o
# CC representation/textual_decoder_init.o
# CC transport/session_partition_declaration.o
# CC libesg.so
# AR libesg.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libesg'
# make -C libucsi all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libucsi'
# CC crc32.o
# CC section_buf.o
# CC transport_packet.o
# CC atsc/atsc_text.o
# CC atsc/cvct_section.o
# CC atsc/dccsct_section.o
# CC atsc/dcct_section.o
# CC atsc/eit_section.o
# CC atsc/ett_section.o
# CC atsc/mgt_section.o
# CC atsc/rrt_section.o
# CC atsc/stt_section.o
# CC atsc/tvct_section.o
# CC atsc/types.o
# CC dvb/bat_section.o
# CC dvb/dit_section.o
# CC dvb/eit_section.o
# CC dvb/int_section.o
# CC dvb/nit_section.o
# CC dvb/rst_section.o
# CC dvb/sdt_section.o
# CC dvb/sit_section.o
# CC dvb/st_section.o
# CC dvb/tdt_section.o
# CC dvb/tot_section.o
# CC dvb/tva_container_section.o
# CC dvb/types.o
# CC mpeg/cat_section.o
# CC mpeg/metadata_section.o
# CC mpeg/odsmt_section.o
# CC mpeg/pat_section.o
# CC mpeg/pmt_section.o
# CC mpeg/tsdt_section.o
# CC libucsi.so
# AR libucsi.a
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib/libucsi'
# make[1]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/lib'
# make -C test all
# make[1]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test'
# CC hex_dump.o
# CC lnb.o
# CC diseqc
# CC sendburst
# CC set22k
# CC setpid
# CC setvoltage
# CC test_av
# CC test_av_play
# CC test_dvr
# CC test_tapdmx
# CC test_dvr_play
# CC test_pes
# CC test_sec_ne
# CC test_sections
# CC test_stc
# CC test_stillimage
# CC test_tt
# CC test_vevent
# CC test_video
# CC evtest
# CC szap2
# CC lock_s
# make -C libdvbcfg all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test'
# make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# CC dvbcfg_test
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test/libdvbcfg'
# make -C libdvben50221 all
# make[2]: Entering directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test'
# make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# CC test-app
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
# collect2: error: ld returned 1 exit status
# make[2]: *** [../../Make.rules:76: test-app] Error 1
# make[2]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test/libdvben50221'
# make[1]: *** [Makefile:31: all] Error 2
# make[1]: Leaving directory '/tmp/linuxtv-dvb-apps/src/dvb-apps/test'
# make: *** [Makefile:13: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...