Build of ivtv-utils with android toolchain

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

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

SLOCLanguage
13,733 ansic
2,913 cpp
2,593 perl
71 makefile
19,310 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: ivtv-utils 1.4.1-7 (Tue Apr 4 20:01:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C utils all
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# arm-linux-androideabi-g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
# v4l2-ctl.cpp: In function 'void printjpegcomp(const v4l2_jpegcompression&)':
# v4l2-ctl.cpp:793:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__u32 {aka unsigned int}' [-Wformat=]
# printf("\tMarkers: 0x%08lx\n", jc.jpeg_markers);
# ^
# v4l2-ctl.cpp: In function 'void list_devices()':
# v4l2-ctl.cpp:1152:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
# while (ep = readdir(dp))
# ^
# v4l2-ctl.cpp: In function 'int parse_subopt(char**, const char* const*, char**)':
# v4l2-ctl.cpp:1225:58: error: 'getsubopt' was not declared in this scope
# int opt = getsubopt(subs, (char * const *)subopts, value);
# ^
# v4l2-ctl.cpp: In function 'void parse_next_subopt(char**, char**)':
# v4l2-ctl.cpp:1246:42: error: 'getsubopt' was not declared in this scope
# int opt = getsubopt(subs, subopts, value);
# ^
# v4l2-ctl.cpp: In function 'int main(int, char**)':
# v4l2-ctl.cpp:1780:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
# if (len > sizeof(jpegcomp.COM_data) - 1)
# ^
# v4l2-ctl.cpp:1790:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
# if (len > sizeof(jpegcomp.APP_data) - 1)
# ^
# v4l2-ctl.cpp: At global scope:
# v4l2-ctl.cpp:896:14: warning: 'char* pts_to_string(char*, long unsigned int)' defined but not used [-Wunused-function]
# static char *pts_to_string(char *str, unsigned long pts)
# ^
# make[1]: *** [: v4l2-ctl.o] Error 1
# make[1]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# make: *** [Makefile:2: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...