printf ' ' | fink --no-use-binary-dist --yes rebuild sam 2>&1 The package 'sam' will be built without being installed. Reading build dependency for sam-4.3-1003... Reading dependency for sam-4.3-1003... Reading build conflict for sam-4.3-1003... The following package will be rebuilt: sam Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-sam-4.3-1003 /sw/build.build dpkg-deb: building package `fink-buildlock-sam-4.3-1003' in `/sw/build.build/fink-buildlock-sam-4.3-1003_2014.07.29-09.43.49_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-sam-4.3-1003_2014.07.29-09.43.49_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-sam-4.3-1003. (Reading database ... 5299 files and directories currently installed.) Unpacking fink-buildlock-sam-4.3-1003 (from .../fink-buildlock-sam-4.3-1003_2014.07.29-09.43.49_darwin-x86_64.deb) ... Setting up fink-buildlock-sam-4.3-1003 (2014.07.29-09.43.49) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.uAVP5 cp /sw/src/sam.msg.gz . sudo -u fink-bld [ENV] sh -c /tmp/fink.zfDUr [ -r /sw/fink/dists/stable/main/finkinfo/editors/sam.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.bNTsp zcat sam.msg.gz | sh . exists mkdir ./doc mkdir ./include mkdir ./libXg mkdir ./libframe mkdir ./sam mkdir ./samterm ./version ./README ./boilerplate ./sam/samsave ./sam/B.sh ./sam/B.rc ./mips.ed ./sun.ed ./doc/sam.1 ./doc/sam.tut.ms ./doc/Sam.ad ./doc/sam.ps ./doc/se.ps ./doc/add.3 ./doc/balloc.3 ./doc/bitblt.3 ./doc/bitmap.6 ./doc/cachechars.3 ./doc/event.3 ./doc/font.4 ./doc/frame.3 ./doc/graphics.3 ./doc/keyboard.4 ./doc/regexp.6 ./doc/rgbpix.3 ./doc/rune.3 ./doc/utf.4 ./Makefile ./sam/Makefile ./libframe/Makefile ./samterm/Makefile ./libXg/Makefile ./sam/Make.irix ./samterm/Make.irix ./libframe/Make.irix ./libXg/Make.irix ./sam/Make.irix5 ./samterm/Make.irix5 ./libframe/Make.irix5 ./libXg/Make.irix5 ./sam/Make.sun ./samterm/Make.sun ./libframe/Make.sun ./libXg/Make.sun ./sam/Make.v10 ./samterm/Make.v10 ./libframe/Make.v10 ./libXg/Make.v10 ./sam/Make.mips ./samterm/Make.mips ./libframe/Make.mips ./libXg/Make.mips ./sam/Make.aix ./samterm/Make.aix ./libframe/Make.aix ./libXg/Make.aix ./sam/Make.osf ./samterm/Make.osf ./libframe/Make.osf ./libXg/Make.osf ./sam/Make.dec ./samterm/Make.dec ./libframe/Make.dec ./libXg/Make.dec ./sam/Make.hpux ./samterm/Make.hpux ./libframe/Make.hpux ./libXg/Make.hpux ./sam/Make.convex ./samterm/Make.convex ./libframe/Make.convex ./libXg/Make.convex ./sam/Make.apollo ./samterm/Make.apollo ./libframe/Make.apollo ./libXg/Make.apollo ./sam/Make.dynix ./samterm/Make.dynix ./libframe/Make.dynix ./libXg/Make.dynix ./sam/Make.ptx ./samterm/Make.ptx ./libframe/Make.ptx ./libXg/Make.ptx ./sam/Make.solaris ./samterm/Make.solaris ./libframe/Make.solaris ./libXg/Make.solaris ./sam/Make.BSDi ./samterm/Make.BSDi ./libframe/Make.BSDi ./libXg/Make.BSDi ./include/u.h ./include/libc.h ./include/libg.h ./include/frame.h ./sam/address.c ./sam/buffer.c ./sam/cmd.c ./sam/disc.c ./sam/error.c ./sam/errors.h ./sam/file.c ./sam/io.c ./sam/list.c ./sam/mesg.c ./sam/mesg.h ./sam/moveto.c ./sam/multi.c ./sam/parse.h ./sam/rasp.c ./sam/regexp.c ./sam/sam.c ./sam/sam.h ./sam/shell.c ./sam/string.c ./sam/sys.c ./sam/xec.c ./sam/plan9.c ./sam/unix.c ./samterm/flayer.c ./samterm/flayer.h ./samterm/icons.c ./samterm/io.c ./samterm/main.c ./samterm/menu.c ./samterm/mesg.c ./samterm/rasp.c ./samterm/samterm.h ./samterm/scroll.c ./samterm/plan9.c ./samterm/unix.c ./libframe/frbox.c ./libframe/frdraw.c ./libframe/frdelete.c ./libframe/frinit.c ./libframe/frinsert.c ./libframe/frptofchar.c ./libframe/frselect.c ./libframe/frstr.c ./libframe/frutil.c ./libframe/misc.c ./libXg/Gwin.h ./libXg/GwinP.h ./libXg/arc.c ./libXg/arith.c ./libXg/balloc.c ./libXg/bitblt.c ./libXg/bitbltclip.c ./libXg/border.c ./libXg/bscreenrect.c ./libXg/circle.c ./libXg/clipline.c ./libXg/clipr.c ./libXg/copymasked.c ./libXg/cursorset.c ./libXg/cursorswitch.c ./libXg/disc.c ./libXg/ellipse.c ./libXg/font.c ./libXg/gcs.c ./libXg/getrect.c ./libXg/gwin.c ./libXg/latin1.c ./libXg/ldconvert.c ./libXg/libgint.h ./libXg/menuhit.c ./libXg/mkfont.c ./libXg/point.c ./libXg/polysegment.c ./libXg/rdbitmap.c ./libXg/rdbitmapfile.c ./libXg/rdfontfile.c ./libXg/rectclip.c ./libXg/segment.c ./libXg/string.c ./libXg/strwidth.c ./libXg/test.c ./libXg/texture.c ./libXg/wrbitmap.c ./libXg/wrbitmapfile.c ./libXg/xtbinit.c ./libXg/rune.c rm sam.msg.gz perl -i -pe 's|^RANLIB=:|RANLIB=ranlib|;s{/usr/bin|/v/bin}{\$(prefix)/bin}' */Makefile perl -i -pe 's|/bsd|/bin|;s|rsh|ssh|;s|/usr/tmp|/var/tmp|;s|\$\(INCS\)|\$(INCS) \$(CPPFLAGS)|' sam/Makefile perl -i -ne 'print unless 1../delete above/' doc/sam.1 patch -p1 < /sw/fink/dists/stable/main/finkinfo/editors/sam.patch patching file libXg/Makefile patching file libframe/Makefile patching file sam/Makefile patching file sam/sam.c patching file samterm/Makefile patching file samterm/main.c sudo -u fink-bld [ENV] sh -c /tmp/fink.ujHY6 make prefix=/sw cd libXg; /Applications/Xcode.app/Contents/Developer/usr/bin/make cd libframe; /Applications/Xcode.app/Contents/Developer/usr/bin/make cd sam; /Applications/Xcode.app/Contents/Developer/usr/bin/make cd samterm; /Applications/Xcode.app/Contents/Developer/usr/bin/make cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frbox.o frbox.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o arc.o arc.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frdelete.o frdelete.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frdraw.o frdraw.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o arith.o arith.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frinit.o frinit.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o sam.o sam.c cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o main.o main.c arith.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eqpt(Point p, Point q) ^~~~ arith.c:115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eqrect(Rectangle r, Rectangle s) ^~~~~~ arith.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rectXrect(Rectangle r, Rectangle s) ^~~~~~~~~ arith.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ptinrect(Point p, Rectangle r) ^~~~~~~~ 4 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o balloc.o balloc.c main.c:69:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frinsert.o frinsert.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frptofchar.o frptofchar.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frselect.o frselect.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frstr.o frstr.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o bitblt.o bitblt.c 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o flayer.o flayer.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o address.o address.c frselect.c:73:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o frutil.o frutil.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o bitbltclip.o bitbltclip.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o border.o border.c cc -c -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o misc.o misc.c cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o icons.o icons.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o bscreenrect.o bscreenrect.c address.c:92:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(ap = ap->next); /* assign = */ ~~~^~~~~~~~~~ address.c:92:12: note: place parentheses around the assignment to silence this warning }while(ap = ap->next); /* assign = */ ^ ( ) address.c:92:12: note: use '==' to turn this assignment into an equality comparison }while(ap = ap->next); /* assign = */ ^ == 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o buffer.o buffer.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o cmd.o cmd.c cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o io.o io.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o circle.o circle.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o disc.o disc.c ar rv libframe.a frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o frselect.o frstr.o frutil.o misc.o ar: creating archive libframe.a a - frbox.o a - frdelete.o a - frdraw.o a - frinit.o a - frinsert.o a - frptofchar.o a - frselect.o a - frstr.o a - frutil.o a - misc.o ranlib libframe.a cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o clipline.o clipline.c cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o menu.o menu.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o error.o error.c buffer.c:172:21: warning: '/*' within block comment [-Wcomment] /*int hits, misses; /**/ ^ buffer.c:177:63: warning: '/*' within block comment [-Wcomment] /*if(b->c1<=p1 && p2<=b->c1+b->cache.n)hits++; else misses++;/**/ ^ 2 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o file.o file.c cmd.c:461:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(cp = ncp); ~~~^~~~~ cmd.c:461:14: note: place parentheses around the assignment to silence this warning }while(cp = ncp); ^ ( ) cmd.c:461:14: note: use '==' to turn this assignment into an equality comparison }while(cp = ncp); ^ == cmd.c:537:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(addr.next = simpleaddr()) ~~~~~~~~~~^~~~~~~~~~~~~~ cmd.c:537:15: note: place parentheses around the assignment to silence this warning if(addr.next = simpleaddr()) ^ ( ) cmd.c:537:15: note: use '==' to turn this assignment into an equality comparison if(addr.next = simpleaddr()) ^ == cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o clipr.o clipr.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o copymasked.o copymasked.c menu.c:171:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t = text[m-NMENU3]){ ~~^~~~~~~~~~~~~~~~ menu.c:171:8: note: place parentheses around the assignment to silence this warning if(t = text[m-NMENU3]){ ^ ( ) menu.c:171:8cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o mesg.o mesg.c : note: use '==' to turn this assignment into an equality comparison if(t = text[m-NMENU3]){ ^ == menu.c:274:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do; while(*t++ = *s++); ~~~~~^~~~~~ menu.c:274:17: note: place parentheses around the assignment to silence this warning do; while(*t++ = *s++); ^ ( ) menu.c:274:17: note: use '==' to turn this assignment into an equality comparison do; while(*t++ = *s++); ^ == menu.c:287:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!lock && !t->lock || n==Search || n==Look) ~~~~~~^~~~~~~~~~~ ~~ menu.c:287:11: note: place parentheses around the '&&' expression to silence this warning if(!lock && !t->lock || n==Search || n==Look) ^ ( ) cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o io.o io.c 2 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o list.o list.c 3 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o rasp.o rasp.c file.c:380:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static first = 1; ~~~~~~ ^ clipline.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code(Point *p, Rectangle *r) ^ 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o cursorset.o cursorset.c 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o mesg.o mesg.c mesg.c:30:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static state = 0; ~~~~~~ ^ mesg.c:31:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static count = 0; ~~~~~~ ^ mesg.c:32:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static i = 0; ~~~~~~ ^ mesg.c:101:7: warning: case value not in enumerated type 'Hmesg' (aka 'enum Hmesg') [-Wswitch] case -1: ^ cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o cursorswitch.o cursorswitch.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o disc.o disc.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o moveto.o moveto.c rasp.c:172:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do; while(*to++ = *from++); ~~~~~~^~~~~~~~~ rasp.c:172:18: note: place parentheses around the assignment to silence this warning do; while(*to++ = *from++); ^ ( ) rasp.c:172:18: note: use '==' to turn this assignment into an equality comparison do; while(*to++ = *from++); ^ == cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o multi.o multi.c 1 warning generated. 4 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o scroll.o scroll.c cc -D_POSIX_SOURCE -DSOLARIS -I../include -D_LIBXG_EXTENSION -I/usr/X11/include -I/sw/include -c -o unix.o unix.c make[1]: *** No rule to make target `../libXg/libXg.a', needed by `samterm'. Stop. make[1]: *** Waiting for unfinished jobs.... mesg.c:102:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static i, nleft = 0; ~~~~~~ ^ mesg.c:102:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static i, nleft = 0; ~~~~~~ ^ mesg.c:117:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static state = 0; ~~~~~~ ^ mesg.c:118:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static count = 0; ~~~~~~ ^ mesg.c:119:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static i = 0; ~~~~~~ ^ mesg.c:190:7: warning: case value not in enumerated type 'Tmesg' (aka 'enum Tmesg') [-Wswitch] case -1: ^ cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o ellipse.o ellipse.c moveto.c:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c1 = *s++) ~~~^~~~~~ moveto.c:107:11: note: place parentheses around the assignment to silence this warning while(c1 = *s++) ^ ( ) moveto.c:107:11: note: use '==' to turn this assignment into an equality comparison while(c1 = *s++) ^ == 6 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o rasp.o rasp.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o font.o font.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o gcs.o gcs.c 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o regexp.o regexp.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o shell.o shell.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o getrect.o getrect.c make: *** [samtermdir] Error 2 make: *** Waiting for unfinished jobs.... cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o string.o string.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o gwin.o gwin.c regexp.c:276:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ shell.c:69:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(retcode=!setjmp(mainloop)){ /* assignment = */ ~~~~~~~^~~~~~~~~~~~~~~~~~ shell.c:69:15: note: place parentheses around the assignment to silence this warning if(retcode=!setjmp(mainloop)){ /* assignment = */ ^ ( ) shell.c:69:15: note: use '==' to turn this assignment into an equality comparison if(retcode=!setjmp(mainloop)){ /* assignment = */ ^ == regexp.c:605:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ~~~~~^~~~~~~~~~~ regexp.c:605:22: note: place parentheses around the assignment to silence this warning for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ^ ( ) regexp.c:605:22: note: use '==' to turn this assignment into an equality comparison for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ^ == regexp.c:741:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ~~~~~^~~~~~~~~~~ regexp.c:741:22: note: place parentheses around the assignment to silence this warning for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ^ ( ) regexp.c:741:22: note: use '==' to turn this assignment into an equality comparison for(tlp = tl; inst = tlp->inst; tlp++){ /* assignment = */ ^ == cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o ldconvert.o ldconvert.c 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o sys.o sys.c gcs.c:163:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static clipset = 0; ~~~~~~ ^ gcs.c:317:10: warning: 12 enumeration values not handled in switch: 'DnorS', 'DandnotS', 'notS'... [-Wswitch] switch(f){ ^ cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o latin1.o latin1.c 2 warnings generated. getrect.c:27:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(2); ^ string.c:108:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = (a->s[i] - b->s[i])) /* assign = */ ~~^~~~~~~~~~~~~~~~~~~~~ string.c:108:8: note: place parentheses around the assignment to silence this warning if(c = (a->s[i] - b->s[i])) /* assign = */ ^ ( ) string.c:108:8: note: use '==' to turn this assignment into an equality comparison if(c = (a->s[i] - b->s[i])) /* assign = */ ^ == cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o mkfont.o mkfont.c 1 warning generated. 3 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o menuhit.o menuhit.c cc -c -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -DHOMEDIR=\"HOME\" -DRSAMNAME=\"sam\" -DTERMNAME=\"/sw/bin/samterm\" -DTMP=\"/var/tmp\" -DSHELLNAME=\"sh\" -DSHELLPATH=\"/bin/sh\" -DRXNAME=\"ssh\" -DRXPATHNAME=\"/usr/bin/ssh\" -DSAMSAVE=\"/bin/sh\\n/sw/bin/samsave\" unix.c 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -I/usr/X11/include -I/sw/include -c -o xec.o xec.c make[1]: *** No rule to make target `../libXg/libXg.a', needed by `sam'. Stop. make[1]: *** Waiting for unfinished jobs.... cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o point.o point.c mkfont.c:17:17: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' font = (Font *)malloc(sizeof(Font)); ^ mkfont.c:17:17: note: please include the header or explicitly provide a declaration for 'malloc' mkfont.c:24:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(font); ^ 2 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o polysegment.o polysegment.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o rdbitmap.o rdbitmap.c gwin.c:129:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (modmap = XGetModifierMapping(XtDisplay(w))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwin.c:129:13: note: place parentheses around the assignment to silence this warning if (modmap = XGetModifierMapping(XtDisplay(w))) ^ ( ) gwin.c:129:13: note: use '==' to turn this assignment into an equality comparison if (modmap = XGetModifierMapping(XtDisplay(w))) ^ == gwin.c:281:14: warning: implicit declaration of function 'unicode' is invalid in C99 [-Wimplicit-function-declaration] c = (int)unicode(compose); ^ cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o rdbitmapfile.o rdbitmapfile.c gwin.c:289:13: warning: implicit declaration of function 'latin1' is invalid in C99 [-Wimplicit-function-declaration] c = (int)latin1(compose); ^ xec.c:136:38: warning: ^ has lower precedence than ==; == will be evaluated first [-Wparentheses] if(execute(f, addr.r.p1, addr.r.p2) ^ cp->cmdc=='v'){ ^~~~~~~~~~~~~~~ xec.c:136:38: note: place parentheses around the '==' expression to silence this warning if(execute(f, addr.r.p1, addr.r.p2) ^ cp->cmdc=='v'){ ^ ( ) xec.c:136:38: note: place parentheses around the ^ expression to evaluate it first if(execute(f, addr.r.p1, addr.r.p2) ^ cp->cmdc=='v'){ ^ ( ) cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o rdfontfile.o rdfontfile.c menuhit.c:138:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] item = menu->item? menu->item[nitem] : (*menu->gen)(nitem); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menuhit.c:138:11: note: place parentheses around the assignment to silence this warning item = menu->item? menu->item[nitem] : (*menu->gen)(nitem); ^ ( ) menuhit.c:138:11: note: use '==' to turn this assignment into an equality comparison item = menu->item? menu->item[nitem] : (*menu->gen)(nitem); ^ == 3 warnings generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o rectclip.o rectclip.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o rune.o rune.c 1 warning generated. 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o segment.o segment.c make: *** [samdir] Error 2 cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o string.o string.c rectclip.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rectclip(Rectangle *rp, Rectangle b) /* first by reference, second by value */ ^~~~~~~~ 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o strwidth.o strwidth.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o texture.o texture.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o wrbitmap.o wrbitmap.c rdbitmapfile.c:20:5: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if(read(fd, hdr, 5*12)!=5*12) ^ 1 warning generated. cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o wrbitmapfile.o wrbitmapfile.c cc -D_POSIX_SOURCE -DSOLARIS -D_LIBXG_EXTENSION -I../include -I/usr/X11/include -I/sw/include -c -o xtbinit.o xtbinit.c rdfontfile.c:32:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ rdfontfile.c:39:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] i = read(fd, buf, sbuf.st_size); ^ 2 warnings generated. wrbitmapfile.c:17:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' sprint(hdr, "%11d %11d %11d %11d %11d ", ^ ../include/libc.h:9:19: note: expanded from macro 'sprint' #define sprint sprintf ^ wrbitmapfile.c:17:2: note: please include the header or explicitly provide a declaration for 'sprintf' ../include/libc.h:9:19: note: expanded from macro 'sprint' #define sprint sprintf ^ wrbitmapfile.c:19:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if(write(fd, hdr, 5*12) != 5*12) ^ 2 warnings generated. xtbinit.c:311:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] n = read(*pfd, (char *)eb->buf, es->size); ^ 1 warning generated. ar rv libXg.a arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o disc.o ellipse.o font.o gcs.o getrect.o gwin.o ldconvert.o latin1.o mkfont.o menuhit.o point.o polysegment.o rdbitmap.o rdbitmapfile.o rdfontfile.o rectclip.o rune.o segment.o string.o strwidth.o texture.o wrbitmap.o wrbitmapfile.o xtbinit.o ar: creating archive libXg.a a - arc.o a - arith.o a - balloc.o a - bitblt.o a - bitbltclip.o a - border.o a - bscreenrect.o a - circle.o a - clipline.o a - clipr.o a - copymasked.o a - cursorset.o a - cursorswitch.o a - disc.o a - ellipse.o a - font.o a - gcs.o a - getrect.o a - gwin.o a - ldconvert.o a - latin1.o a - mkfont.o a - menuhit.o a - point.o a - polysegment.o a - rdbitmap.o a - rdbitmapfile.o a - rdfontfile.o a - rectclip.o a - rune.o a - segment.o a - string.o a - strwidth.o a - texture.o a - wrbitmap.o a - wrbitmapfile.o a - xtbinit.o ranlib libXg.a ### execution of make failed, exit code 2 ### execution of /tmp/fink.ujHY6 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-sam-4.3-1003 (Reading database ... 5300 files and directories currently installed.) Removing fink-buildlock-sam-4.3-1003 ... Failed: phase compiling: sam-4.3-1003 failed Before reporting any errors, please run "fink selfupdate" and try again. Also try using "fink configure" to set your maximum build jobs to 1 and attempt to build the package again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List The Fink Beginners List , with a carbon copy to the maintainer: Matthias Neeracher Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: Package manager version: 0.37.0 Distribution version: selfupdate-cvs Thu Jul 24 20:26:24 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 6.0.0.0.1.1405597879 Max. Fink build jobs: 8