Build of drbd-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
41,978 ansic
2,427 sh
1,010 makefile
351 perl
45,766 total

The process tree of the build process is here.

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: drbd-utils 8.9.6-1 (Tue Apr 4 21:37:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for arm-linux-androideabi-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# configure: WARNING: using cross tools not prefixed with host triplet
# checking pkg-config is at least version 0.9.0... yes
# Using systemd unit directory: /usr/lib/systemd/system
# Using udev rules directory: /usr/lib/udev
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
# checking whether ln -s works... yes
# checking for sed... /usr/sbin/sed
# checking for grep... /usr/sbin/grep
# checking for flex... /usr/sbin/flex
# checking for rpmbuild... no
# checking for xsltproc... /usr/sbin/xsltproc
# checking for tar... /usr/sbin/tar
# checking for git... /usr/sbin/git
# checking for dpkg-buildpackage... no
# checking for udevadm... /sbin/udevadm
# checking for udevinfo... false
# configure: WARNING: No rpmbuild found, building RPM packages is disabled.
# configure: WARNING: No dpkg-buildpackage found, building Debian packages is disabled.
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating user/shared/Makefile
# config.status: creating user/v9/Makefile
# config.status: creating user/v83/Makefile
# config.status: creating user/v84/Makefile
# config.status: creating scripts/Makefile
# config.status: creating documentation/v9/Makefile
# config.status: creating documentation/v83/Makefile
# config.status: creating documentation/v84/Makefile
# config.status: creating scripts/drbd.rules
# config.status: creating user/shared/config.h
# make[1]: Entering directory '/tmp/drbd-utils/src/drbd-utils-8.9.6/user/shared'
# flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl
# flex: error writing output file drbdmeta_scanner.c
# make[1]: *** [Makefile:90: drbdmeta_scanner.c] Error 1
# make[1]: Leaving directory '/tmp/drbd-utils/src/drbd-utils-8.9.6/user/shared'
# make: *** [Makefile:77: tools] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/drbd-utils/src/drbd-utils-8.9.6/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by DRBD configure 8.9.6, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib --with-distro=generic --with-bashcompletion --with-udev --without-rgmanager --without-pacemaker --without-heartbeat --with-initscripttype=systemd --without-xen
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 0bb35be00036
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1968: checking for arm-linux-androideabi-pkg-config
# configure:2001: result: no
# configure:2011: checking for pkg-config
# configure:2029: found /usr/sbin/pkg-config
# configure:2041: result: /usr/sbin/pkg-config
# configure:2053: WARNING: using cross tools not prefixed with host triplet
# configure:2066: checking pkg-config is at least version 0.9.0
# configure:2069: result: yes
# configure:2097: result: Using systemd unit directory: /usr/lib/systemd/system
# configure:2122: result: Using udev rules directory: /usr/lib/udev
# configure:2159: checking for arm-linux-androideabi-gcc
# configure:2186: result: arm-linux-androideabi-gcc
# configure:2455: checking for C compiler version
# configure:2464: arm-linux-androideabi-gcc --version >&5
# arm-linux-androideabi-gcc (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:2475: $? = 0
# configure:2464: arm-linux-androideabi-gcc -v >&5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-gcc
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:2475: $? = 0
# configure:2464: arm-linux-androideabi-gcc -V >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2475: $? = 1
# configure:2464: arm-linux-androideabi-gcc -qversion >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2475: $? = 1
# configure:2495: checking whether the C compiler works
# configure:2517: arm-linux-androideabi-gcc conftest.c >&5
# configure:2521: $? = 0
# configure:2569: result: yes
# configure:2572: checking for C compiler default output file name
# configure:2574: result: a.out
# configure:2580: checking for suffix of executables
# configure:2587: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2591: $? = 0
# configure:2613: result:
# configure:2635: checking whether we are cross compiling
# configure:2673: result: yes
# configure:2678: checking for suffix of object files
# configure:2700: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2704: $? = 0
# configure:2725: result: o
# configure:2729: checking whether we are using the GNU C compiler
# configure:2748: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2748: $? = 0
# configure:2757: result: yes
# configure:2766: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2786: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2786: $? = 0
# configure:2827: result: yes
# configure:2844: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:2907: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2907: $? = 0
# configure:2920: result: none needed
# configure:2940: checking whether ln -s works
# configure:2944: result: yes
# configure:2953: checking for sed
# configure:2971: found /usr/sbin/sed
# configure:2983: result: /usr/sbin/sed
# configure:2993: checking for grep
# configure:3011: found /usr/sbin/grep
# configure:3023: result: /usr/sbin/grep
# configure:3033: checking for flex
# configure:3051: found /usr/sbin/flex
# configure:3063: result: /usr/sbin/flex
# configure:3073: checking for rpmbuild
# configure:3106: result: no
# configure:3113: checking for xsltproc
# configure:3131: found /usr/sbin/xsltproc
# configure:3143: result: /usr/sbin/xsltproc
# configure:3153: checking for tar
# configure:3171: found /usr/sbin/tar
# configure:3183: result: /usr/sbin/tar
# configure:3193: checking for git
# configure:3211: found /usr/sbin/git
# configure:3223: result: /usr/sbin/git
# configure:3233: checking for dpkg-buildpackage
# configure:3266: result: no
# configure:3273: checking for udevadm
# configure:3291: found /sbin/udevadm
# configure:3304: result: /sbin/udevadm
# configure:3314: checking for udevinfo
# configure:3345: result: false
# configure:3363: WARNING: No rpmbuild found, building RPM packages is disabled.
# configure:3368: WARNING: No dpkg-buildpackage found, building Debian packages is disabled.
# configure:3405: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3405: $? = 0
# configure:3792: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by DRBD config.status 8.9.6, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 0bb35be00036
#
# config.status:845: creating Makefile
# config.status:845: creating user/shared/Makefile
# config.status:845: creating user/v9/Makefile
# config.status:845: creating user/v83/Makefile
# config.status:845: creating user/v84/Makefile
# config.status:845: creating scripts/Makefile
# config.status:845: creating documentation/v9/Makefile
# config.status:845: creating documentation/v83/Makefile
# config.status:845: creating documentation/v84/Makefile
# config.status:845: creating scripts/drbd.rules
# config.status:845: creating user/shared/config.h
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=arm-linux-androideabi-gcc
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_build_alias_set=set
# ac_cv_env_build_alias_value=x86_64-unknown-linux
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=arm-linux-androideabi
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_objext=o
# ac_cv_path_FLEX=/usr/sbin/flex
# ac_cv_path_GIT=/usr/sbin/git
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_TAR=/usr/sbin/tar
# ac_cv_path_UDEVADM=/sbin/udevadm
# ac_cv_path_UDEVINFO=false
# ac_cv_path_XSLTPROC=/usr/sbin/xsltproc
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# BASH_COMPLETION_SUFFIX=''
# CC='arm-linux-androideabi-gcc'
# CFLAGS=''
# CPPFLAGS=''
# DEFS='-DHAVE_CONFIG_H'
# DISTRO='generic'
# DPKG_BUILDPACKAGE=''
# DRBD_CONFIG_DIR='/etc'
# DRBD_LIB_DIR='/var/lib/drbd'
# DRBD_LOCK_DIR='/var/lock'
# DRBD_RUN_DIR='/var/run/drbd'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# FLEX='/usr/sbin/flex'
# GIT='/usr/sbin/git'
# GREP='/usr/sbin/grep'
# INITDIR='/etc/init.d'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LN_S='ln -s'
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT='drbd-dev@lists.linbit.com'
# PACKAGE_NAME='DRBD'
# PACKAGE_STRING='DRBD 8.9.6'
# PACKAGE_TARNAME='drbd'
# PACKAGE_URL=''
# PACKAGE_VERSION='8.9.6'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/sbin/pkg-config'
# RPMBUILD=''
# RPM_BUILDREQ_DEFAULT='gcc flex glibc-devel make'
# RPM_DIST_TAG=''
# RPM_REQ_BASH_COMPLETION=''
# RPM_REQ_CHKCONFIG_POST=''
# RPM_REQ_CHKCONFIG_PREUN=''
# RPM_REQ_HEARTBEAT=''
# RPM_REQ_PACEMAKER=''
# RPM_REQ_XEN=''
# RPM_SUBPACKAGE_NOARCH=''
# SED='/usr/sbin/sed'
# SHELL='/bin/sh'
# TAR='/usr/sbin/tar'
# UDEVADM='/sbin/udevadm'
# UDEVINFO='false'
# UDEV_RULE_SUFFIX=''
# WITH_83_SUPPORT='yes'
# WITH_84_SUPPORT='yes'
# WITH_BASHCOMPLETION='yes'
# WITH_HEARTBEAT='no'
# WITH_MANUAL='yes'
# WITH_PACEMAKER='no'
# WITH_RGMANAGER='no'
# WITH_UDEV='yes'
# WITH_XEN='no'
# XSLTPROC='/usr/sbin/xsltproc'
# ac_ct_CC=''
# bindir='/usr/bin'
# build_alias='x86_64-unknown-linux'
# datadir='/usr/share'
# datarootdir='/usr/share'
# docdir='/usr/share/doc/drbd'
# dvidir='${docdir}'
# exec_prefix='/usr'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='/usr/include'
# infodir='/usr/share/info'
# initscripttype='systemd'
# libdir='/usr/lib'
# libexecdir='/usr/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='/var'
# mandir='/usr/share/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# runstatedir='${localstatedir}/run'
# sbindir='/usr/bin'
# sharedstatedir='/usr/com'
# sysconfdir='/etc'
# systemdunitdir='/usr/lib/systemd/system'
# target_alias=''
# tmpfilesdir='${prefix}/lib/tmpfiles.d'
# udevdir='/usr/lib/udev'
# udevrulesdir='/usr/lib/udev/rules.d'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "DRBD"
# #define PACKAGE_TARNAME "drbd"
# #define PACKAGE_VERSION "8.9.6"
# #define PACKAGE_STRING "DRBD 8.9.6"
# #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com"
# #define PACKAGE_URL ""
# #define HAVE_CTRL_CMD_DELMCAST_GRP 1
# #define DRBD_LIB_DIR "/var/lib/drbd"
# #define DRBD_RUN_DIR "/var/run/drbd"
# #define DRBD_LOCK_DIR "/var/lock"
# #define DRBD_CONFIG_DIR "/etc"
# #define DRBD_LEGACY_83 1
# #define DRBD_LEGACY_84 1
#
# configure: exit 0