=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for scm-5.5.3nb2 echo "#ifndef IMPLINIT" > newflags.h echo "#define IMPLINIT \"Init5e3.scm\"" >> newflags.h echo "#endif" >> newflags.h echo "#define CHEAP_CONTINUATIONS" >> newflags.h echo "#define CAUTIOUS" >> newflags.h if (cmp -s newflags.h scmflags.h) then rm newflags.h; else mv newflags.h scmflags.h; fi gcc -c -O2 -DX11 -I/usr/X11R7/include -D_FORTIFY_SOURCE=2 -I/usr/include scm.c -o scm.o scm.c: In function 'process_signals': scm.c:197:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scm.c: In function 'err_signal': scm.c:277:15: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(sig, err_signal); ^ In file included from /usr/include/signal.h:45:0, from scm.c:48: /usr/include/sys/signal.h:239:8: note: expected 'void (*)(int)' but argument is of type 'int (*)()' void (*signal(int, void (*)(int)))(int); ^ scm.c:280:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(MAKINUM(sig), (i < 0 ? s_unksig : (char *)(i + SIGNAL_BASE)), ""); ^ scm.c: In function 'scmable_signal': scm.c:296:15: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(sig, scmable_signal); ^ In file included from /usr/include/signal.h:45:0, from scm.c:48: /usr/include/sys/signal.h:239:8: note: expected 'void (*)(int)' but argument is of type 'int (*)()' void (*signal(int, void (*)(int)))(int); ^ scm.c:312:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scm.c: In function 'init_sig1': scm.c:558:35: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] sigdesc[i].osig = signal(signo, handler); ^ In file included from /usr/include/signal.h:45:0, from scm.c:48: /usr/include/sys/signal.h:239:8: note: expected 'void (*)(int)' but argument is of type 'int (*)()' void (*signal(int, void (*)(int)))(int); ^ scm.c:558:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] sigdesc[i].osig = signal(signo, handler); ^ scm.c: In function 'init_signals': scm.c:592:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] oldpipe = signal(SIGPIPE, SIG_IGN); ^ scm.c: In function 'unignore_signals': scm.c:642:32: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(sigdesc[i].signo, sigdesc[i].nsig); ^ In file included from /usr/include/signal.h:45:0, from scm.c:48: /usr/include/sys/signal.h:239:8: note: expected 'void (*)(int)' but argument is of type 'int (*)()' void (*signal(int, void (*)(int)))(int); ^ scm.c: In function 'restore_signals': scm.c:673:32: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(sigdesc[i].signo, sigdesc[i].osig); ^ In file included from /usr/include/signal.h:45:0, from scm.c:48: /usr/include/sys/signal.h:239:8: note: expected 'void (*)(int)' but argument is of type 'int (*)()' void (*signal(int, void (*)(int)))(int); ^ scm.c:675:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] oldpipe = signal(SIGPIPE, SIG_IGN); ^ scm.c: In function 'scm_execpath': scm.c:873:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if (execpath) free(execpath); ^ scm.c:873:19: warning: incompatible implicit declaration of built-in function 'free' scm.c:873:19: note: include '' or provide a declaration of 'free' scm.c:878:17: warning: incompatible implicit declaration of built-in function 'free' if (execpath) free(execpath); ^ scm.c:878:17: note: include '' or provide a declaration of 'free' scm.c:879:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] execpath = (char *)malloc((sizet)(LENGTH(newpath) + 1)); ^ scm.c:879:22: warning: incompatible implicit declaration of built-in function 'malloc' scm.c:879:22: note: include '' or provide a declaration of 'malloc' gcc -c -O2 -DX11 -I/usr/X11R7/include -D_FORTIFY_SOURCE=2 -I/usr/include time.c -o time.o gcc -c -O2 -DX11 -I/usr/X11R7/include -D_FORTIFY_SOURCE=2 -I/usr/include repl.c -o repl.o In file included from setjump.h:141:0, from repl.c:46: continue.h:178:8: warning: conflicting types for built-in function 'malloc' char *malloc P((sizet size)); ^ continue.h:180:8: warning: conflicting types for built-in function 'realloc' char *realloc P((char *ptr, sizet size)); ^ In file included from repl.c:45:0: repl.c: In function 'wait_for_input': scm.h:1123:85: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); ^ repl.c:513:5: note: in expansion of macro 'ASRTER' ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)), ^ repl.c: In function 'handle_it': repl.c:1291:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ ^ repl.c: In function 'quit': repl.c:1774:19: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (errjmp_bad) exit(INUM(exitval)); ^ repl.c:1774:19: warning: incompatible implicit declaration of built-in function 'exit' repl.c:1774:19: note: include '' or provide a declaration of 'exit' repl.c: In function 'abrt': repl.c:1779:19: warning: incompatible implicit declaration of built-in function 'exit' if (errjmp_bad) exit(EXIT_FAILURE); ^ repl.c:1779:19: note: include '' or provide a declaration of 'exit' repl.c: In function 'def_err_response': repl.c:2016:49: warning: incompatible implicit declaration of built-in function 'exit' if (IMP(def_errp) || !OPOUTPORTP(def_errp)) exit(EXIT_FAILURE); ^ repl.c:2016:49: note: include '' or provide a declaration of 'exit' repl.c:2025:10: warning: incompatible implicit declaration of built-in function 'exit' else exit(EXIT_FAILURE); ^ repl.c:2025:10: note: include '' or provide a declaration of 'exit' repl.c:2054:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); ^ repl.c:2057:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); ^ repl.c:2096:5: warning: incompatible implicit declaration of built-in function 'exit' exit(errno? (long)errno : EXIT_FAILURE); ^ repl.c:2096:5: note: include '' or provide a declaration of 'exit' repl.c: In function 'everr': repl.c:2110:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err_pos = pos; ^ repl.c:2111:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err_s_subr = s_subr; ^ In file included from repl.c:45:0: repl.c:2116:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COOKIE(1) : COOKIE((int)pos)); ^ scm.h:200:24: note: in definition of macro 'MAKIFLAG' #define MAKIFLAG(n) (((n)<<9)+0x174L) ^ repl.c:2116:17: note: in expansion of macro 'COOKIE' COOKIE(1) : COOKIE((int)pos)); ^ gcc -c -O2 -DX11 -I/usr/X11R7/include -D_FORTIFY_SOURCE=2 -I/usr/include scl.c -o scl.o gcc -c -O2 -DX11 -I/usr/X11R7/include -D_FORTIFY_SOURCE=2 -I/usr/include sys.c -o sys.o In file included from setjump.h:141:0, from sys.c:47: continue.h:178:8: warning: conflicting types for built-in function 'malloc' char *malloc P((sizet size)); ^ continue.h:180:8: warning: conflicting types for built-in function 'realloc' char *realloc P((char *ptr, sizet size)); ^ sys.c:71:8: error: conflicting types for 'fwrite' sizet fwrite (); ^ In file included from scm.h:79:0, from sys.c:46: /usr/include/stdio.h:242:9: note: previous declaration of 'fwrite' was here size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restrict); ^ sys.c: In function 'must_free': sys.c:1375:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(obj); ^ sys.c:1375:5: warning: incompatible implicit declaration of built-in function 'free' sys.c:1375:5: note: include '' or provide a declaration of 'free' sys.c: In function 'scm_free_gra': sys.c:1963:3: warning: incompatible implicit declaration of built-in function 'free' free(gra->elts); ^ sys.c:1963:3: note: include '' or provide a declaration of 'free' sys.c: In function 'free_storage': sys.c:2447:7: warning: incompatible implicit declaration of built-in function 'free' free((char *)hplims[hplim_ind]); ^ sys.c:2447:7: note: include '' or provide a declaration of 'free' In file included from sys.c:46:0: sys.c: In function 'mark_locations': scm.h:302:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define NCELLP(x) ((sizeof(cell)-1) & (int)(x)) ^ scm.h:301:20: note: in expansion of macro 'NCELLP' #define CELLP(x) (!NCELLP(x)) ^ sys.c:2624:22: note: in expansion of macro 'CELLP' while(0 <= --m) if (CELLP(*(SCM **)&x[m])) { ^ sys.c: In function 'gc_sweep': sys.c:2813:7: warning: incompatible implicit declaration of built-in function 'free' free((char *)hplims[i-2]); ^ sys.c:2813:7: note: include '' or provide a declaration of 'free' *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/lang/scm/work/scm *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/lang/scm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/scm