Build of exim 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
97,845 ansic
1,499 sh
964 makefile
480 perl
100,788 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: exim 4.87-1 (Tue Apr 4 22:19:22 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# /bin/sh scripts/source_checks
#
# >>> Creating links to source files...
# >>> Creating lookups/Makefile for building dynamic modules
# >>> New Makefile & lookups/Makefile installed
# >>> Use "make makefile" if you need to force rebuilding of the makefile
#
# make[1]: Entering directory '/tmp/exim/src/exim-4.87/build-Linux-x86_64'
# /bin/sh ../scripts/Configure-os.c
# gcc buildconfig.c
# cc1: error: no include path in which to search for stdc-predef.h
# buildconfig.c:34:19: error: no include path in which to search for ctype.h
# #include
# ^
# buildconfig.c:35:19: error: no include path in which to search for stdio.h
# #include
# ^
# buildconfig.c:36:20: error: no include path in which to search for stdlib.h
# #include
# ^
# buildconfig.c:37:20: error: no include path in which to search for string.h
# #include
# ^
# buildconfig.c:38:23: error: no include path in which to search for sys/types.h
# #include
# ^
# buildconfig.c:39:17: error: no include path in which to search for pwd.h
# #include
# ^
# buildconfig.c:40:17: error: no include path in which to search for grp.h
# #include
# ^
# buildconfig.c:67:5: error: 'NULL' undeclared here (not in a function)
# { NULL, NULL}
# ^
# buildconfig.c:74:3: error: initializer element is not constant
# { NULL, NULL}
# ^
# buildconfig.c:74:3: error: (near initialization for 'save_list[3].name')
# buildconfig.c:74:3: error: initializer element is not constant
# buildconfig.c:74:3: error: (near initialization for 'save_list[3].data')
# buildconfig.c: In function 'check_percent_ess':
# buildconfig.c:85:11: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# char *p = strstr(value, "%s");
# ^
# buildconfig.c:86:7: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (p != NULL) OK = strstr(p+2, "%s") == NULL;
# ^
# buildconfig.c:86:39: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (p != NULL) OK = strstr(p+2, "%s") == NULL;
# ^
# buildconfig.c:89:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\n*** \"%s\" (%s) must contain precisely one occurrence of\n"
# ^
# buildconfig.c:92:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c: In function 'main':
# buildconfig.c:102:1: error: unknown type name 'off_t'
# off_t test_off_t = 0;
# ^
# buildconfig.c:103:1: error: unknown type name 'time_t'
# time_t test_time_t = 0;
# ^
# buildconfig.c:105:1: error: unknown type name 'size_t'
# size_t test_size_t = 0;
# ^
# buildconfig.c:106:1: error: unknown type name 'ssize_t'
# ssize_t test_ssize_t = 0;
# ^
# buildconfig.c:112:1: error: unknown type name 'FILE'
# FILE *base;
# ^
# buildconfig.c:113:1: error: unknown type name 'FILE'
# FILE *new;
# ^
# buildconfig.c:125:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("*** Buildconfig: called with incorrect arguments\n");
# ^
# buildconfig.c:126:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:129:5: warning: assignment makes pointer from integer without a cast [enabled by default]
# new = fopen("config.h", "wb");
# ^
# buildconfig.c:130:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (new == NULL)
# ^
# buildconfig.c:132:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("*** Buildconfig: failed to open config.h for output\n");
# ^
# buildconfig.c:133:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:136:1: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Building configuration file config.h\n");
# ^
# buildconfig.c:138:1: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(new, "/*************************************************\n");
# ^
# buildconfig.c:210:6: warning: assignment makes pointer from integer without a cast [enabled by default]
# base = fopen("Makefile", "rb");
# ^
# buildconfig.c:211:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (base == NULL)
# ^
# buildconfig.c:215:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:222:44: warning: comparison between pointer and integer [enabled by default]
# while (fgets(buffer, sizeof(buffer), base) != NULL)
# ^
# buildconfig.c:227:27: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# char *p = buffer + (int)strlen(buffer);
# ^
# buildconfig.c:256:11: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:268:31: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# for (h = have_list; h->name != NULL; h++)
# ^
# buildconfig.c:278:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:287:15: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (h->name != NULL) continue;
# ^
# buildconfig.c:291:31: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# for (s = save_list; s->name != NULL; s++)
# ^
# buildconfig.c:301:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:304:7: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# strcpy(s->data, p);
# ^
# buildconfig.c:319:6: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# (strstr(ostype, "IRIX") != NULL || strstr(ostype, "AIX") != NULL))
# ^
# buildconfig.c:319:29: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# (strstr(ostype, "IRIX") != NULL || strstr(ostype, "AIX") != NULL))
# ^
# buildconfig.c:319:62: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# (strstr(ostype, "IRIX") != NULL || strstr(ostype, "AIX") != NULL))
# ^
# buildconfig.c:332:6: warning: assignment makes pointer from integer without a cast [enabled by default]
# base = fopen("../src/config.h.defaults", "rb");
# ^
# buildconfig.c:333:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (base == NULL)
# ^
# buildconfig.c:337:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(1);
# ^
# buildconfig.c:340:44: warning: comparison between pointer and integer [enabled by default]
# while (fgets(buffer, sizeof(buffer), base) != NULL)
# ^
# buildconfig.c:381:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# 21 - (int)strlen(db_opts[i]), " ");
# ^
# buildconfig.c:396:5: error: unknown type name 'uid_t'
# uid_t uid = 0;
# ^
# buildconfig.c:397:5: error: unknown type name 'gid_t'
# gid_t gid = 0;
# ^
# buildconfig.c:400:22: warning: initialization from incompatible pointer type [enabled by default]
# char *username = NULL;
# ^
# buildconfig.c:401:23: warning: initialization from incompatible pointer type [enabled by default]
# char *groupname = NULL;
# ^
# buildconfig.c:403:18: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *user = getenv("EXIM_USER");
# ^
# buildconfig.c:404:19: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *group = getenv("EXIM_GROUP");
# ^
# buildconfig.c:406:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (user == NULL) user = getenv("EXIM_UID");
# ^
# buildconfig.c:406:28: warning: assignment makes pointer from integer without a cast [enabled by default]
# if (user == NULL) user = getenv("EXIM_UID");
# ^
# buildconfig.c:407:15: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (group == NULL) group = getenv("EXIM_GID");
# ^
# buildconfig.c:407:30: warning: assignment makes pointer from integer without a cast [enabled by default]
# if (group == NULL) group = getenv("EXIM_GID");
# ^
# buildconfig.c:409:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (user == NULL)
# ^
# buildconfig.c:439:14: warning: incompatible implicit declaration of built-in function 'strspn' [enabled by default]
# if (user[strspn(user, "0123456789")] == 0)
# ^
# buildconfig.c:441:14: error: 'uid_t' undeclared (first use in this function)
# uid = (uid_t)atoi(user);
# ^
# buildconfig.c:441:14: note: each undeclared identifier is reported only once for each function it appears in
# buildconfig.c:441:11: warning: assignment makes integer from pointer without a cast [enabled by default]
# uid = (uid_t)atoi(user);
# ^
# buildconfig.c:441:20: error: expected ';' before 'atoi'
# uid = (uid_t)atoi(user);
# ^
# buildconfig.c:459:27: warning: initialization makes pointer from integer without a cast [enabled by default]
# struct passwd *pw = getpwnam(user);
# ^
# buildconfig.c:460:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (pw == NULL)
# ^
# buildconfig.c:468:15: error: dereferencing pointer to incomplete type
# uid = pw->pw_uid;
# ^
# buildconfig.c:468:15: error: request for member 'pw_uid' in something not a structure or union
# buildconfig.c:468:11: warning: assignment makes integer from pointer without a cast [enabled by default]
# uid = pw->pw_uid;
# ^
# buildconfig.c:469:15: error: dereferencing pointer to incomplete type
# gid = pw->pw_gid;
# ^
# buildconfig.c:469:15: error: request for member 'pw_gid' in something not a structure or union
# buildconfig.c:469:11: warning: assignment makes integer from pointer without a cast [enabled by default]
# gid = pw->pw_gid;
# ^
# buildconfig.c:475:15: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (group != NULL)
# ^
# buildconfig.c:515:25: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# else if (username != NULL)
# ^
# buildconfig.c:522:16: error: 'gid_t' undeclared (first use in this function)
# gid = (gid_t)atoi(group);
# ^
# buildconfig.c:522:13: warning: assignment makes integer from pointer without a cast [enabled by default]
# gid = (gid_t)atoi(group);
# ^
# buildconfig.c:522:22: error: expected ';' before 'atoi'
# gid = (gid_t)atoi(group);
# ^
# buildconfig.c:527:28: warning: initialization makes pointer from integer without a cast [enabled by default]
# struct group *gr = getgrnam(group);
# ^
# buildconfig.c:528:16: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (gr == NULL)
# ^
# buildconfig.c:535:17: error: dereferencing pointer to incomplete type
# gid = gr->gr_gid;
# ^
# buildconfig.c:535:17: error: request for member 'gr_gid' in something not a structure or union
# buildconfig.c:535:13: warning: assignment makes integer from pointer without a cast [enabled by default]
# gid = gr->gr_gid;
# ^
# buildconfig.c:553:20: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# ((username != NULL) && (
# ^
# buildconfig.c:564:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (username != NULL)
# ^
# buildconfig.c:566:19: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (groupname != NULL)
# ^
# buildconfig.c:583:11: error: expected ';' before 'uid'
# uid_t uid = 0;
# ^
# buildconfig.c:584:11: error: expected ';' before 'gid'
# gid_t gid = 0;
# ^
# buildconfig.c:586:28: warning: initialization from incompatible pointer type [enabled by default]
# const char *username = NULL;
# ^
# buildconfig.c:587:24: warning: initialization makes pointer from integer without a cast [enabled by default]
# const char *user = getenv(name);
# ^
# buildconfig.c:589:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (user == NULL) user = "";
# ^
# buildconfig.c:610:14: warning: incompatible implicit declaration of built-in function 'strspn' [enabled by default]
# if (user[strspn(user, "0123456789")] == 0)
# ^
# buildconfig.c:613:9: error: 'gid' undeclared (first use in this function)
# gid = (gid_t)atoi(user);
# ^
# buildconfig.c:613:22: error: expected ';' before 'atoi'
# gid = (gid_t)atoi(user);
# ^
# buildconfig.c:615:9: error: 'uid' undeclared (first use in this function)
# uid = (uid_t)atoi(user);
# ^
# buildconfig.c:615:22: error: expected ';' before 'atoi'
# uid = (uid_t)atoi(user);
# ^
# buildconfig.c:630:26: warning: initialization makes pointer from integer without a cast [enabled by default]
# struct group *gr = getgrnam(user);
# ^
# buildconfig.c:631:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (gr == NULL)
# ^
# buildconfig.c:638:15: error: dereferencing pointer to incomplete type
# gid = gr->gr_gid;
# ^
# buildconfig.c:638:15: error: request for member 'gr_gid' in something not a structure or union
# buildconfig.c:643:27: warning: initialization makes pointer from integer without a cast [enabled by default]
# struct passwd *pw = getpwnam(user);
# ^
# buildconfig.c:644:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (pw == NULL)
# ^
# buildconfig.c:651:15: error: dereferencing pointer to incomplete type
# uid = pw->pw_uid;
# ^
# buildconfig.c:651:15: error: request for member 'pw_uid' in something not a structure or union
# buildconfig.c:657:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (username != NULL)
# ^
# buildconfig.c:677:18: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *list = getenv("FIXED_NEVER_USERS");
# ^
# buildconfig.c:678:14: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (list == NULL)
# ^
# buildconfig.c:686:14: error: 'vector' undeclared (first use in this function)
# uid_t *vector;
# ^
# buildconfig.c:686:13: error: invalid operands to binary * (have 'struct save_item *' and 'struct save_item *')
# uid_t *vector;
# ^
# buildconfig.c:690:16: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# vector = malloc((count+1) * sizeof(uid_t));
# ^
# buildconfig.c:690:33: error: invalid operands to binary * (have 'int' and 'struct save_item *')
# vector = malloc((count+1) * sizeof(uid_t));
# ^
# buildconfig.c:690:7: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast [enabled by default]
# vector = malloc((count+1) * sizeof(uid_t));
# ^
# buildconfig.c:690:7: note: expected 'unsigned int' but argument is of type 'struct save_item *'
# buildconfig.c:691:17: error: incompatible types when assigning to type 'save_item' from type 'struct save_item *'
# vector[0] = (uid_t)count;
# ^
# buildconfig.c:691:26: error: expected ';' before 'count'
# vector[0] = (uid_t)count;
# ^
# buildconfig.c:699:9: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# strncpy(name, p, list-p);
# ^
# buildconfig.c:706:23: warning: incompatible implicit declaration of built-in function 'strspn' [enabled by default]
# else if (name[strspn(name, "0123456789")] == 0)
# ^
# buildconfig.c:708:23: error: incompatible types when assigning to type 'save_item' from type 'struct save_item *'
# vector[j++] = (uid_t)atoi(name);
# ^
# buildconfig.c:708:32: error: expected ';' before 'atoi'
# vector[j++] = (uid_t)atoi(name);
# ^
# buildconfig.c:712:31: warning: initialization makes pointer from integer without a cast [enabled by default]
# struct passwd *pw = getpwnam(name);
# ^
# buildconfig.c:713:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (pw == NULL)
# ^
# buildconfig.c:720:27: error: dereferencing pointer to incomplete type
# vector[j++] = pw->pw_uid;
# ^
# buildconfig.c:720:27: error: request for member 'pw_uid' in something not a structure or union
# buildconfig.c:720:23: error: incompatible types when assigning to type 'save_item' from type 'struct save_item *'
# vector[j++] = pw->pw_uid;
# ^
# buildconfig.c:724:7: error: aggregate value used where an integer was expected
# for (i = 0; i < j; i++) fprintf(new, ", %d", (unsigned int)vector[i]);
# ^
# buildconfig.c:735:17: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *wcs = getenv("WITH_CONTENT_SCAN");
# ^
# buildconfig.c:736:17: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *wod = getenv("WITH_OLD_DEMIME");
# ^
# buildconfig.c:737:17: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *dcc = getenv("EXPERIMENTAL_DCC");
# ^
# buildconfig.c:738:13: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (wcs != NULL || wod != NULL || dcc != NULL)
# ^
# buildconfig.c:738:28: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (wcs != NULL || wod != NULL || dcc != NULL)
# ^
# buildconfig.c:738:43: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (wcs != NULL || wod != NULL || dcc != NULL)
# ^
# buildconfig.c:747:20: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *d_dkim = getenv("DISABLE_DKIM");
# ^
# buildconfig.c:748:17: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *tls = getenv("SUPPORT_TLS");
# ^
# buildconfig.c:762:14: warning: assignment makes pointer from integer without a cast [enabled by default]
# if ((value = getenv(name)) != NULL)
# ^
# buildconfig.c:762:30: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if ((value = getenv(name)) != NULL)
# ^
# buildconfig.c:765:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# len = 21 - (int)strlen(name);
# ^
# buildconfig.c:823:23: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default]
# char *sss = strchr(ss, ':');
# ^
# buildconfig.c:824:19: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (sss != NULL)
# ^
# buildconfig.c:826:13: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# strncpy(buffer, ss, sss-ss);
# ^
# buildconfig.c:829:16: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# else strcpy(buffer, ss);
# ^
# buildconfig.c:835:19: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (sss == NULL) break;
# ^
# buildconfig.c:923:20: warning: initialization makes pointer from integer without a cast [enabled by default]
# char *tz = getenv("TZ");
# ^
# buildconfig.c:925:16: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (tz == NULL) fprintf(new, "NULL\n"); else
# ^
# make[1]: *** [Makefile:245: buildconfig] Error 1
# make[1]: Leaving directory '/tmp/exim/src/exim-4.87/build-Linux-x86_64'
# make: *** [Makefile:29: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...