The build took 00h 01m 13s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
5,642 |
ansic |
204 |
makefile |
82 |
perl |
5,928 |
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/libexecCMD: 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: jbigkit 2.1-2 (Tue Apr 4 19:31:56 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...cd libjbig && make -emake[1]: Entering directory '/tmp/jbigkit/src/jbigkit-2.1/libjbig'gcc -fPIC -c -o jbig.o jbig.cgcc -fPIC -c -o jbig_ar.o jbig_ar.cgcc -fPIC -c -o jbig85.o jbig85.cgcc -fPIC -c -o tstcodec.o tstcodec.ccc1: error: no include path in which to search for stdc-predef.hjbig.c:36:20: error: no include path in which to search for stdlib.h #include ^jbig.c:37:20: error: no include path in which to search for string.h #include ^jbig.c:38:20: error: no include path in which to search for assert.h #include ^In file included from jbig.c:40:0:jbig.h:10:20: error: no include path in which to search for stddef.h #include ^In file included from jbig.c:40:0:jbig.h:121:42: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, void *file); ^jbig.h:196:44: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig.h:198:5: error: expected ';', ',' or ')' before 'void' void *file); ^jbig.h:211:63: error: unknown type name 'size_t' int jbg_dec_in(struct jbg_dec_state *s, unsigned char *data, size_t len, ^jbig.h:212:3: error: unknown type name 'size_t' size_t *cnt); ^jbig.h:218:45: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig.h:219:22: error: expected ';', ',' or ')' before 'void' void *file), void *file); ^jbig.h:231:36: error: unknown type name 'size_t' int jbg_newlen(unsigned char *bie, size_t len); ^cc1: error: no include path in which to search for stdc-predef.hjbig85.c:36:20: error: no include path in which to search for stdlib.h #include ^jbig85.c:37:20: error: no include path in which to search for string.h #include ^jbig85.c:38:20: error: no include path in which to search for assert.h #include ^jbig.c:129:29: error: unknown type name 'size_t' static void *checked_malloc(size_t nmemb, size_t size) ^jbig.c:129:43: error: unknown type name 'size_t' static void *checked_malloc(size_t nmemb, size_t size) ^In file included from jbig85.c:40:0:jbig85.h:11:20: error: no include path in which to search for stddef.h #include ^jbig.c:155:41: error: unknown type name 'size_t' static void *checked_realloc(void *ptr, size_t nmemb, size_t size) ^jbig.c:155:55: error: unknown type name 'size_t' static void *checked_realloc(void *ptr, size_t nmemb, size_t size) ^jbig.c: In function 'checked_free':jbig.c:183:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(ptr); ^In file included from jbig85.c:40:0:jbig85.h:82:42: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, void *file); ^jbig.c: In function 'jbg_buf_init':jbig.c:225:21: error: 'NULL' undeclared (first use in this function) new_block->next = NULL; ^jbig.c:225:21: note: each undeclared identifier is reported only once for each function it appears injbig85.h:106:3: error: unknown type name 'size_t' size_t linebuf_len; ^jbig85.h:107:3: error: unknown type name 'size_t' size_t bpl; /* bytes per line */ ^jbig85.h:127:27: error: unknown type name 'size_t' unsigned char *start, size_t len, ^jbig.c: In function 'jbg_buf_remove_zeros':jbig85.h:140:46: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig85.h:142:7: error: expected ';', ',' or ')' before 'void' void *file); ^jbig.c:299:26: error: 'NULL' undeclared (first use in this function) head->last->next = NULL; ^jbig85.h:151:27: error: unknown type name 'size_t' unsigned char *buf, size_t buflen, ^jbig85.h:153:31: error: unknown type name 'size_t' unsigned char *start, size_t len, ^jbig.c: At top level:jbig85.h:155:7: error: expected ';', ',' or ')' before 'void' void *file); ^jbig.c:340:7: error: unknown type name 'size_t' size_t len, void *file), ^jbig85.h:156:67: error: unknown type name 'size_t' int jbg85_dec_in(struct jbg85_dec_state *s, unsigned char *data, size_t len, ^jbig85.h:157:5: error: unknown type name 'size_t' size_t *cnt); ^jbig.c:341:4: error: expected ';', ',' or ')' before 'void' void *file) ^jbig85.c: In function 'enc_byte_out':jbig85.c:86:32: error: 'struct jbg85_enc_state' has no member named 'data_out' ((struct jbg85_enc_state *)s)->data_out(&c, sizeof(unsigned char), ^jbig85.c: At top level:jbig85.c:96:46: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig85.c:98:7: error: expected ';', ',' or ')' before 'void' void *file) ^jbig85.c: In function 'output_newlen':jbig85.c:163:4: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 6, s->file); ^cc1: error: no include path in which to search for stdc-predef.hjbig85.c:169:6: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 2, s->file); ^jbig85.c: In function 'jbg85_enc_lineout':jbig_ar.c:30:20: error: no include path in which to search for assert.h #include ^jbig85.c:203:16: error: 'NULL' undeclared (first use in this function) prevline = NULL; ^jbig85.c:203:16: note: each undeclared identifier is reported only once for each function it appears injbig85.c:232:6: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 20, s->file); ^jbig85.c:249:8: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 6, s->file); ^jbig85.c:250:8: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(s->comment, s->comment_len, s->file); ^jbig85.c:265:8: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 8, s->file); ^cc1: error: no include path in which to search for stdc-predef.htstcodec.c:9:19: error: no include path in which to search for stdio.h #include ^tstcodec.c:10:20: error: no include path in which to search for stdlib.h #include ^tstcodec.c:11:20: error: no include path in which to search for stddef.h #include ^tstcodec.c:12:20: error: no include path in which to search for string.h #include ^jbig85.c:444:6: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 2, s->file); ^In file included from tstcodec.c:14:0:jbig.h:10:20: error: no include path in which to search for stddef.h #include ^jbig85.c: In function 'jbg85_enc_newlen':jbig85.c:518:8: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 2, s->file); ^In file included from tstcodec.c:14:0:jbig.h:121:42: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, void *file); ^jbig85.c: In function 'jbg85_enc_abort':jbig85.c:536:4: error: 'struct jbg85_enc_state' has no member named 'data_out' s->data_out(buf, 2, s->file); ^jbig85.c: At top level:jbig85.c:558:27: error: unknown type name 'size_t' unsigned char *buf, size_t buflen, ^jbig85.c:560:31: error: unknown type name 'size_t' unsigned char *start, size_t len, ^jbig.h:196:44: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig85.c:562:7: error: expected ';', ',' or ')' before 'void' void *file) ^jbig.h:198:5: error: expected ';', ',' or ')' before 'void' void *file); ^jbig85.c:597:1: error: unknown type name 'size_t' static size_t decode_pscd(struct jbg85_dec_state *s, unsigned char *data, ^jbig.h:211:63: error: unknown type name 'size_t' int jbg_dec_in(struct jbg_dec_state *s, unsigned char *data, size_t len, ^jbig85.c:598:6: error: unknown type name 'size_t' size_t len) ^jbig.h:212:3: error: unknown type name 'size_t' size_t *cnt); ^jbig.h:218:45: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig.h:219:22: error: expected ';', ',' or ')' before 'void' void *file), void *file); ^jbig.h:231:36: error: unknown type name 'size_t' int jbg_newlen(unsigned char *bie, size_t len); ^tstcodec.c:28:28: error: unknown type name 'size_t' static void *checkedmalloc(size_t n) ^jbig85.c:837:66: error: unknown type name 'size_t' int jbg85_dec_in(struct jbg85_dec_state *s, unsigned char *data, size_t len, ^tstcodec.c:49:50: error: unknown type name 'size_t' static void testbuf_writel(unsigned char *start, size_t len, void *dummy) ^jbig85.c:838:4: error: unknown type name 'size_t' size_t *cnt) ^tstcodec.c: In function 'testimage':tstcodec.c:86:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(pic, 0, TESTPIC_SIZE); ^jbig85.c: In function 'jbg85_dec_end':tstcodec.c:116:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("WARNING: Artificial test image has %lu (not 861965) " ^jbig85.c:1090:26: error: 'NULL' undeclared (first use in this function) return jbg85_dec_in(s, NULL, 0, NULL); ^tstcodec.c: In function 'test_cycle':tstcodec.c:138:3: error: unknown type name 'size_t' size_t plane_size; ^tstcodec.c:146:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(image[i], orig_image[i], plane_size); ^tstcodec.c:149:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("\nTest %s.1: Encoding ...\n", test_id); ^tstcodec.c:151:52: error: 'testbuf_writel' undeclared (first use in this function) jbg_enc_init(&sje, width, height, planes, image, testbuf_writel, NULL); ^tstcodec.c:151:52: note: each undeclared identifier is reported only once for each function it appears intstcodec.c:151:68: error: 'NULL' undeclared (first use in this function) jbg_enc_init(&sje, width, height, planes, image, testbuf_writel, NULL); ^tstcodec.c:157:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(image[i]); ^tstcodec.c: In function 'main':tstcodec.c:241:3: error: unknown type name 'size_t' size_t st; ^tstcodec.c:312:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("\nAutomatic JBIG Compatibility Test Suite\n" ^tstcodec.c:340:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^tstcodec.c:346:5: error: unknown type name 'FILE' FILE *f; ^tstcodec.c:353:7: warning: assignment makes pointer from integer without a cast [enabled by default] f = fopen(argv[1], "wb"); ^make[1]: *** [: jbig_ar.o] Error 1 make[1]: *** Waiting for unfinished jobs....tstcodec.c:354:13: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default] if (!f) abort(); ^tstcodec.c:355:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f, "P4\n"); ^tstcodec.c:360:5: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default] fwrite(testpic, 1, TESTPIC_SIZE, f); ^tstcodec.c:362:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(0); ^tstcodec.c:531:7: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(test, "5.%ld", ++i); ^make[1]: *** [: jbig85.o] Error 1 make[1]: *** [: tstcodec.o] Error 1 jbig.c:771:58: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig.c:773:5: error: expected ';', ',' or ')' before 'void' void *file) ^jbig.c: In function 'encode_sde':jbig.c:1325:8: error: 'ptrdiff_t' undeclared (first use in this function) == (ptrdiff_t) j >> 3); ^jbig.c:1325:19: error: expected ')' before 'j' == (ptrdiff_t) j >> 3); ^jbig.c:1329:19: error: expected ')' before 'j' == (ptrdiff_t) j >> 4); ^jbig.c: In function 'output_sde':jbig.c:1653:52: error: 'struct jbg_enc_state' has no member named 'data_out' jbg_buf_output(&s->sde[stripe][layer][plane], s->data_out, s->file); ^jbig.c:1688:50: error: 'struct jbg_enc_state' has no member named 'data_out' jbg_buf_output(&s->sde[stripe][layer][plane], s->data_out, s->file); ^jbig.c: In function 'jbg_enc_out':jbig.c:1864:17: error: 'NULL' undeclared (first use in this function) if (s->sde == NULL) { ^jbig.c:1880:4: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(buf, 20, s->file); ^jbig.c:1885:6: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(dpbuf, 1728, s->file); ^jbig.c:1937:5: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(buf, 6, s->file); ^jbig.c:1938:5: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(s->comment, s->comment_len, s->file); ^jbig.c:1962:5: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(buf, 6, s->file); ^jbig.c:1968:7: error: 'struct jbg_enc_state' has no member named 'data_out' s->data_out(buf, 2, s->file); ^jbig.c: In function 'jbg_dec_init':jbig.c:2050:15: error: 'NULL' undeclared (first use in this function) s->dppriv = NULL; ^jbig.c: At top level:jbig.c:2084:1: error: unknown type name 'size_t' static size_t decode_pscd(struct jbg_dec_state *s, unsigned char *data, ^jbig.c:2085:6: error: unknown type name 'size_t' size_t len) ^jbig.c:2567:62: error: unknown type name 'size_t' int jbg_dec_in(struct jbg_dec_state *s, unsigned char *data, size_t len, ^jbig.c:2568:9: error: unknown type name 'size_t' size_t *cnt) ^jbig.c: In function 'jbg_dec_getimage':jbig.c:2946:12: error: 'NULL' undeclared (first use in this function) return NULL; ^jbig.c: In function 'jbg_dec_free':jbig.c:3011:27: error: 'NULL' undeclared (first use in this function) if (s->d < 0 || s->s == NULL) ^jbig.c: In function 'jbg_split_planes':jbig.c:3068:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(dest[p], 0, bpl * y); ^jbig.c: At top level:jbig.c:3111:45: error: unknown type name 'size_t' void (*data_out)(unsigned char *start, size_t len, ^jbig.c:3112:22: error: expected ';', ',' or ')' before 'void' void *file), void *file) ^jbig.c:3180:50: error: unknown type name 'size_t' unsigned char *jbg_next_pscdms(unsigned char *p, size_t len) ^jbig.c:3250:36: error: unknown type name 'size_t' int jbg_newlen(unsigned char *bie, size_t len) ^make[1]: *** [: jbig.o] Error 1 make[1]: Leaving directory '/tmp/jbigkit/src/jbigkit-2.1/libjbig'make: *** [Makefile:18: lib] Error 2==> ERROR: A failure occurred in build(). Aborting...