The build took 00h 01m 07s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
4,201 |
ansic |
80 |
makefile |
4,281 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
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:
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: ratpoints 2.1.3-1 (Tue Apr 4 21:16:17 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc sift.c -c -o sift.o -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
gcc gen_init_sieve_h.c -o gen_init_sieve_h -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -lgmp -lgcc -lc -lm
gcc sturm.c -c -o sturm.o -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE
gcc gen_find_points_h.c -o gen_find_points_h -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -lgmp -lgcc -lc -lm
cc1: error: no include path in which to search for stdc-predef.h
cc1: error: no include path in which to search for stdc-predef.h
cc1: error: no include path in which to search for stdc-predef.h
In file included from gen_init_sieve_h.c:29:0:
rp-private.h:29:20: error: no include path in which to search for stdlib.h
#include
^
In file included from sturm.c:29:0:
ratpoints.h:29:17: error: no include path in which to search for gmp.h
#include
^
In file included from sift.c:29:0:
rp-private.h:29:20: error: no include path in which to search for stdlib.h
#include
^
rp-private.h:30:19: error: no include path in which to search for stdio.h
#include
^
rp-private.h:31:18: error: no include path in which to search for math.h
#include
^
rp-private.h:30:19: error: no include path in which to search for stdio.h
#include
^
cc1: error: no include path in which to search for stdc-predef.h
rp-private.h:32:20: error: no include path in which to search for string.h
#include
^
rp-private.h:31:18: error: no include path in which to search for math.h
#include
^
rp-private.h:32:20: error: no include path in which to search for string.h
#include
^
ratpoints.h:41:16: error: unknown type name 'mpz_t'
typedef struct { mpz_t *cof; long degree; long height;
^
In file included from rp-private.h:52:0,
from gen_init_sieve_h.c:29:
ratpoints.h:29:17: error: no include path in which to search for gmp.h
#include
^
In file included from rp-private.h:52:0,
from sift.c:29:
ratpoints.h:29:17: error: no include path in which to search for gmp.h
#include
^
ratpoints.h:48:18: error: unknown type name 'mpz_t'
mpz_t *work; long work_length;
^
ratpoints.h:41:16: error: unknown type name 'mpz_t'
typedef struct { mpz_t *cof; long degree; long height;
^
ratpoints.h:41:16: error: unknown type name 'mpz_t'
typedef struct { mpz_t *cof; long degree; long height;
^
In file included from gen_find_points_h.c:29:0:
rp-private.h:29:20: error: no include path in which to search for stdlib.h
#include
^
ratpoints.h:48:18: error: unknown type name 'mpz_t'
mpz_t *work; long work_length;
^
ratpoints.h:48:18: error: unknown type name 'mpz_t'
mpz_t *work; long work_length;
^
rp-private.h:30:19: error: no include path in which to search for stdio.h
#include
^
rp-private.h:31:18: error: no include path in which to search for math.h
#include
^
rp-private.h:32:20: error: no include path in which to search for string.h
#include
^
ratpoints.h:82:45: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
In file included from rp-private.h:52:0,
from gen_find_points_h.c:29:
ratpoints.h:29:17: error: no include path in which to search for gmp.h
#include
^
ratpoints.h:87:50: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
ratpoints.h:82:45: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
ratpoints.h:82:45: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
ratpoints.h:41:16: error: unknown type name 'mpz_t'
typedef struct { mpz_t *cof; long degree; long height;
^
ratpoints.h:87:50: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
sturm.c:56:45: error: unknown type name 'mpz_t'
static long eval_sign(ratpoints_args *args, mpz_t *cofs, long degree,
^
ratpoints.h:48:18: error: unknown type name 'mpz_t'
mpz_t *work; long work_length;
^
ratpoints.h:87:50: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
sturm.c: In function '_ratpoints_compute_sturm':
sturm.c:75:3: error: unknown type name 'mpz_t'
mpz_t *cofs = args->cof;
^
sturm.c:81:3: error: unknown type name 'mpz_t'
mpz_t sturm[degree+1][degree+1];
^
ratpoints.h:82:45: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
In file included from gen_init_sieve_h.c:29:0:
rp-private.h:150:48: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
ratpoints.h:87:50: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int proc(long, long, const mpz_t, void*, int*), void*);
^
sturm.c:85:3: error: unknown type name 'mpz_t'
mpz_t *work = args->work;
^
In file included from sift.c:29:0:
rp-private.h:150:48: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
rp-private.h:156:42: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
rp-private.h:156:42: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
sturm.c:91:5: warning: implicit declaration of function 'mpz_init' [-Wimplicit-function-declaration]
{ mpz_init(sturm[n][m]); }
^
sturm.c:93:3: warning: implicit declaration of function 'mpz_set' [-Wimplicit-function-declaration]
for(n = 0; n <= degree; n++) mpz_set(sturm[0][n], cofs[n]);
^
In file included from gen_find_points_h.c:29:0:
rp-private.h:150:48: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
sturm.c:98:5: warning: implicit declaration of function 'mpz_mul_si' [-Wimplicit-function-declaration]
mpz_mul_si(sturm[1][n], work[2], n+1);
^
rp-private.h:156:42: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info);
^
sturm.c:109:5: warning: implicit declaration of function 'mpz_gcd' [-Wimplicit-function-declaration]
{ mpz_gcd(work[2], sturm[k-1][d1], sturm[k][d2]);
^
sturm.c:110:7: warning: implicit declaration of function 'mpz_fdiv_q' [-Wimplicit-function-declaration]
mpz_fdiv_q(work[0], sturm[k-1][d1], work[2]);
^
sift.c:82:42: warning: type defaults to 'int' in declaration of 'mpz_t' [-Wimplicit-int]
int process(long, long, const mpz_t, void*, int*), void *info)
^
gen_init_sieve_h.c: In function 'main':
sturm.c:112:7: warning: implicit declaration of function 'mpz_cmp_si' [-Wimplicit-function-declaration]
if(mpz_cmp_si(work[0], 0) < 0)
^
gen_init_sieve_h.c:40:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
if(p < LONG_LENGTH) { printf("CODE_INIT_SIEVE1(%ld)\n", p); }
^
gen_init_sieve_h.c:40:27: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
if(p < LONG_LENGTH) { printf("CODE_INIT_SIEVE1(%ld)\n", p); }
^
sturm.c:113:7: warning: implicit declaration of function 'mpz_neg' [-Wimplicit-function-declaration]
{ mpz_neg(work[0], work[0]); mpz_neg(work[1], work[1]); }
^
gen_init_sieve_h.c:41:12: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
else { printf("CODE_INIT_SIEVE2(%ld)\n", p); }
^
sturm.c:116:7: warning: implicit declaration of function 'mpz_mul' [-Wimplicit-function-declaration]
{ mpz_mul(sturm[k][n+d2-d1], sturm[k][n+d2-d1], work[0]);
^
gen_init_sieve_h.c:43:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("\n");
^
sturm.c:117:9: warning: implicit declaration of function 'mpz_submul' [-Wimplicit-function-declaration]
mpz_submul(sturm[k][n+d2-d1], work[1], sturm[k-1][n]);
^
gen_find_points_h.c: In function 'main':
gen_find_points_h.c:51:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("static const int "
^
gen_find_points_h.c:51:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
sturm.c:126:13: warning: implicit declaration of function 'mpz_clear' [-Wimplicit-function-declaration]
{ mpz_clear(sturm[n][m]); }
^
sturm.c:133:5: warning: implicit declaration of function 'mpz_set_ui' [-Wimplicit-function-declaration]
mpz_set_ui(work[2], 0);
^
sturm.c:136:7: warning: implicit declaration of function 'mpz_cmp_ui' [-Wimplicit-function-declaration]
if(mpz_cmp_ui(work[2], 1) == 0) break;
^
gen_find_points_h.c:70:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("static const long offsets[RATPOINTS_NUM_PRIMES] =\n{");
^
sift.c: In function '_ratpoints_sift0':
sift.c:258:21: warning: variable 'da' set but not used [-Wunused-but-set-variable]
{ long a0, a, da, d;
^
sturm.c: In function 'iterate':
sturm.c:218:9: warning: implicit declaration of function 'eval_sign' [-Wimplicit-function-declaration]
s0 = eval_sign(args, sturm[0], sturm_degs[0], nm, dem);
^
make: *** [Makefile:130: gen_init_sieve_h] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:100: sift.o] Error 1
make: *** [Makefile:133: gen_find_points_h] Error 1
make: *** [Makefile:118: sturm.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...