Build of makedev with android toolchain

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

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

SLOCLanguage
1,318 ansic
79 makefile
61 sh
1,458 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: makedev 3.23_1-2 (Tue Apr 4 20:06:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -o MAKEDEV -g -Os -Wall -Wextra -Wuninitialized -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" MAKEDEV.c
# arm-linux-androideabi-gcc -o mksock -g -Os -Wall -Wextra -Wuninitialized -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" mksock.c
# ./genalsa > makedev.d/alsa
# In file included from MAKEDEV.c:36:0:
# sel.h: In function 'secontextverify':
# sel.h:209:29: warning: unused parameter 'program' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h:209:50: warning: unused parameter 'path' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h:209:63: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextgetflag':
# sel.h:214:30: warning: unused parameter 'program' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h:214:51: warning: unused parameter 'path' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h:214:64: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextgetname':
# sel.h:219:30: warning: unused parameter 'program' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h:219:51: warning: unused parameter 'path' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h:219:64: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextsetup':
# sel.h:224:28: warning: unused parameter 'program' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h:224:49: warning: unused parameter 'path' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h:224:62: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextset':
# sel.h:228:41: warning: unused parameter 'context' [-Wunused-parameter]
# secontextset(const char *program, char *context)
# ^
# MAKEDEV.c: In function 'read_config_line':
# MAKEDEV.c:676:11: error: 'LINE_MAX' undeclared (first use in this function)
# char buf[LINE_MAX], line[LINE_MAX];
# ^
# MAKEDEV.c:676:11: note: each undeclared identifier is reported only once for each function it appears in
# MAKEDEV.c:676:22: warning: unused variable 'line' [-Wunused-variable]
# char buf[LINE_MAX], line[LINE_MAX];
# ^
# MAKEDEV.c:676:7: warning: unused variable 'buf' [-Wunused-variable]
# char buf[LINE_MAX], line[LINE_MAX];
# ^
# MAKEDEV.c: In function 'read_config_single_file':
# MAKEDEV.c:1079:11: error: 'LINE_MAX' undeclared (first use in this function)
# char buf[LINE_MAX];
# ^
# MAKEDEV.c:1079:7: warning: unused variable 'buf' [-Wunused-variable]
# char buf[LINE_MAX];
# ^
# In file included from MAKEDEV.c:36:0:
# MAKEDEV.c: At top level:
# sel.h:228:1: warning: 'secontextset' defined but not used [-Wunused-function]
# secontextset(const char *program, char *context)
# ^
# In file included from mksock.c:31:0:
# sel.h: In function 'secontextverify':
# sel.h:209:29: warning: unused parameter 'program' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h:209:50: warning: unused parameter 'path' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h:209:63: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextgetflag':
# sel.h:214:30: warning: unused parameter 'program' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h:214:51: warning: unused parameter 'path' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h:214:64: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextgetname':
# sel.h:219:30: warning: unused parameter 'program' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h:219:51: warning: unused parameter 'path' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h:219:64: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextsetup':
# sel.h:224:28: warning: unused parameter 'program' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h:224:49: warning: unused parameter 'path' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h:224:62: warning: unused parameter 'mode' [-Wunused-parameter]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# sel.h: In function 'secontextset':
# sel.h:228:41: warning: unused parameter 'context' [-Wunused-parameter]
# secontextset(const char *program, char *context)
# ^
# mksock.c: At top level:
# sel.h:209:1: warning: 'secontextverify' defined but not used [-Wunused-function]
# secontextverify(const char *program, const char *path, mode_t mode)
# ^
# sel.h:214:1: warning: 'secontextgetflag' defined but not used [-Wunused-function]
# secontextgetflag(const char *program, const char *path, mode_t mode)
# ^
# sel.h:219:1: warning: 'secontextgetname' defined but not used [-Wunused-function]
# secontextgetname(const char *program, const char *path, mode_t mode)
# ^
# sel.h:224:1: warning: 'secontextsetup' defined but not used [-Wunused-function]
# secontextsetup(const char *program, const char *path, mode_t mode)
# ^
# make: *** [Makefile:64: MAKEDEV] Error 1
# make: *** Waiting for unfinished jobs....
# ==> ERROR: A failure occurred in build().
# Aborting...