Build of snarf with android toolchain

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

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

SLOCLanguage
2,220 ansic
329 sh
2,549 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: snarf 7.0-6 (Tue Apr 4 21:31:46 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking for gcc... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ANSI C... none needed
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for function prototypes... yes
# checking for arm-linux-androideabi-gcc option to accept ANSI C... (cached) none needed
# checking for working const... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking for socket... yes
# checking for gethostbyname... yes
# checking for gethostbyname... (cached) yes
# checking for strerror... yes
# checking for ANSI C header files... yes
# checking for strings.h... yes
# checking for stdarg.h... yes
# checking for sys/ioctl.h... yes
# checking for off_t... yes
# checking for ssize_t... yes
# checking for socklen_t... yes
# checking for strerror... (cached) yes
# checking for gettimeofday... yes
# checking for strdup... yes
# checking for herror... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating snarf.spec
# creating config.h
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c ftp.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c http.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c llist.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c options.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c snarf.c
# http.c: In function 'http_transfer':
# http.c:335:25: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [enabled by default]
# proxy_url->password = strdup(getpass(prompt));
# ^
# In file included from /sysroot/sysroot/usr/include/stdlib.h:34:0,
# from http.c:6:
# /sysroot/sysroot/usr/include/string.h:62:15: note: expected 'const char *' but argument is of type 'int'
# extern char* strdup(const char *);
# ^
# snarf.c: In function 'main':
# snarf.c:198:25: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [enabled by default]
# u->password = strdup(getpass(prompt));
# ^
# In file included from /sysroot/sysroot/usr/include/stdlib.h:34:0,
# from snarf.c:15:
# /sysroot/sysroot/usr/include/string.h:62:15: note: expected 'const char *' but argument is of type 'int'
# extern char* strdup(const char *);
# ^
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c url.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c util.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -c gopher.c
# arm-linux-androideabi-gcc -o snarf ftp.o http.o llist.o options.o snarf.o url.o util.o gopher.o
# http.o:http.c:function http_transfer: error: undefined reference to 'getpass'
# snarf.o:snarf.c:function main: error: undefined reference to 'getpass'
# collect2: error: ld returned 1 exit status
# make: *** [Makefile:234: snarf] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/snarf/src/snarf-7.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:565: checking for a BSD compatible install
# configure:618: checking whether build environment is sane
# configure:675: checking whether make sets ${MAKE}
# configure:721: checking for working aclocal
# configure:734: checking for working autoconf
# configure:747: checking for working automake
# configure:760: checking for working autoheader
# configure:773: checking for working makeinfo
# configure:795: checking for gcc
# configure:908: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:924: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:950: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:955: checking whether we are using GNU C
# configure:964: arm-linux-androideabi-gcc -E conftest.c
# configure:983: checking whether arm-linux-androideabi-gcc accepts -g
# configure:1018: checking for arm-linux-androideabi-gcc option to accept ANSI C
# configure:1071: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure:1095: checking how to run the C preprocessor
# configure:1116: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1177: checking for function prototypes
# configure:1339: checking for arm-linux-androideabi-gcc option to accept ANSI C
# configure:1416: checking for working const
# configure:1470: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure:1502: checking for a BSD compatible install
# configure:1556: checking for socket
# configure:1584: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:1644: checking for gethostbyname
# configure:1672: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:1732: checking for gethostbyname
# configure:1820: checking for strerror
# configure:1848: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:1909: checking for ANSI C header files
# configure:1922: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for strings.h
# configure:2029: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for stdarg.h
# configure:2029: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for sys/ioctl.h
# configure:2029: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:2248: checking for off_t
# configure:2282: checking for ssize_t
# configure:2317: checking for socklen_t
# configure:2356: checking for strerror
# configure:2356: checking for gettimeofday
# configure:2384: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:2356: checking for strdup
# configure:2384: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:2368:6: warning: conflicting types for built-in function 'strdup' [enabled by default]
# char $ac_func();
# ^
# configure:2411: checking for herror
# configure:2439: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5