=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for fd-3.01b --- hmachine.sed --- --- config.h --- --- hmachine.sed --- echo '1,/^$/d' > hmachine.sed --- hmachine.h --- --- config.h --- cp config.hin config.h --- hmachine.h --- sed -n -e 's:machine.h:hmachine.h:g' -e '1,/^$/p' machine.h > hmachine.h sed -f hmachine.sed machine.h >> hmachine.h --- mkmfsed --- cc -DPREFIX='"'/usr/pkg'"' -DCONFDIR='"'/usr/pkg/etc'"' -DDICTSRC='"''''"' -DFD=3 -DCCCOMMAND='"'cc'"' -DHOSTCCCOMMAND='"'cc'"' -DCFLAGS='"''''"' -DHOSTCFLAGS='"''''"' -DCPPFLAGS='"''''"' -DHOSTCPPFLAGS='"''''"' -DLDFLAGS='"''''"' -DHOSTLDFLAGS='"''''"' -o mkmfsed mkmfsed.c mkmfsed.c:302:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("s:__FDSETSIZE__:-DFD_SETSIZE=%d:\n", MAXOPENFILE); ~~ ^~~~~~~~~~~ %ld mkmfsed.c:20:22: note: expanded from macro 'MAXOPENFILE' #define MAXOPENFILE sysconf(_SC_OPEN_MAX) ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. --- mkmf.sed --- ./mkmfsed > mkmf.sed --- Makefile.tmp --- sed -f mkmf.sed Makefile.in > Makefile.tmp || (rm -f Makefile.tmp; exit 1) --- all --- make -f Makefile.tmp --- printf.o --- --- termio.o --- --- term.o --- --- printf.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o printf.o printf.c --- termio.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -DFD_SETSIZE=54207 -c -o termio.o termio.c --- term.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o term.o term.c --- printf.o --- printf.c:171:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n > MAXTYPE(int) / 10 ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ printf.c:172:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (n == MAXTYPE(int) / 10 ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ printf.c:173:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && s[i] > (char)(MAXTYPE(int) % 10) + '0')) ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- stream.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o stream.o stream.c --- printf.o --- 3 warnings generated. --- string.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o string.o string.c --- malloc.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o malloc.o malloc.c --- time.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o time.o time.c --- pathname.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o pathname.o pathname.c --- system.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -DDEFRC='"'/usr/pkg/etc/fd2rc'"' -c -o system.o system.c --- posixsh.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o posixsh.o posixsh.c posixsh.c:604:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n > MAXTYPE(long) / base ^~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ posixsh.c:605:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (n == MAXTYPE(long) / base ^~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ posixsh.c:606:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && c > MAXTYPE(long) % base)) ^~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ 3 warnings generated. --- doscom.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o doscom.o doscom.c --- log.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o log.o log.c --- sysemu.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o sysemu.o sysemu.c --- dosdisk.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o dosdisk.o dosdisk.c --- realpath.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o realpath.o realpath.c --- encode.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o encode.o encode.c --- mntinfo.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o mntinfo.o mntinfo.c --- statfs.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o statfs.o statfs.c --- pty.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o pty.o pty.c --- backend.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o backend.o backend.c --- parse.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o parse.o parse.c parse.c:252:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n == MINTYPE(long_t)) /*EMPTY*/; ^~~~~~~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:253:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (n < minlong / base ^~~~~~~ parse.c:248:19: note: expanded from macro 'minlong' #define minlong MINTYPE(long_t) ^~~~~~~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:254:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (n == minlong / base ^~~~~~~ parse.c:248:19: note: expanded from macro 'minlong' #define minlong MINTYPE(long_t) ^~~~~~~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:255:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && -c < MINTYPE(long_t) % base)) ^~~~~~~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:256:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] n = MINTYPE(long_t); ^~~~~~~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:278:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n == MAXTYPE(long_t)) /*EMPTY*/; ^~~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:279:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (n > MAXTYPE(long_t) / base ^~~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:280:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (n == MAXTYPE(long_t) / base ^~~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:281:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && c > MAXTYPE(long_t) % base)) ^~~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ parse.c:282:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] n = MAXTYPE(long_t); ^~~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ 10 warnings generated. --- socket.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o socket.o socket.c socket.c:136:48: warning: passing 'sock_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] return(getsockopt(s, SOL_SOCKET, SO_TYPE, &n, &len)); ^~~~ /usr/include/sys/socket.h:625:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ socket.c:156:34: warning: passing 'sock_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = (peer) ? getpeername(s, sp, &len) : getsockname(s, sp, &len); ^~~~ /usr/include/sys/socket.h:623:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:156:61: warning: passing 'sock_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = (peer) ? getpeername(s, sp, &len) : getsockname(s, sp, &len); ^~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:280:46: warning: passing 'sock_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, &n, &len) < 0) return(-1); ^~~~ /usr/include/sys/socket.h:625:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ socket.c:398:42: warning: passing 'sock_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] fd = accept(s, (struct sockaddr *)&sin, &len); ^~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 5 warnings generated. --- url.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o url.o url.c --- ftp.o --- --- html.o --- --- ftp.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o ftp.o ftp.c --- html.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o html.o html.c --- http.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o http.o http.c --- urldisk.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o urldisk.o urldisk.c --- kconv.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o kconv.o kconv.c --- dict.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o dict.o dict.c --- roman.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o roman.o roman.c --- rockridg.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o rockridg.o rockridg.c --- lsparse.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o lsparse.o lsparse.c --- mkunitbl.o --- --- mkdict.o --- --- mkunitbl.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o mkunitbl.o mkunitbl.c --- mkdict.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o mkdict.o mkdict.c --- mktankan.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o mktankan.o mktankan.c --- mkkanji.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o mkkanji.o mkkanji.c --- mkcat.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o mkcat.o mkcat.c --- kanjicnv.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o kanjicnv.o kanjicnv.c --- mkfuncno.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o mkfuncno.o mkfuncno.c --- tstring.o --- --- troman.o --- --- tstring.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o tstring.o string.c --- troman.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o troman.o roman.c --- tkconv.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o tkconv.o kconv.c --- tevalopt.o --- --- tgentbl.o --- --- tevalopt.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o tevalopt.o evalopt.c --- tgentbl.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -c -o tgentbl.o gentbl.c --- mkkanji --- --- mkfuncno --- --- mkkanji --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mkkanji mkkanji.o --- mkfuncno --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mkfuncno mkfuncno.o --- kanjicnv --- --- mkcat --- --- kanjicnv --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o kanjicnv kanjicnv.o tevalopt.o --- mkcat --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mkcat mkcat.o tevalopt.o tgentbl.o --- mkunitbl --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mkunitbl mkunitbl.o tevalopt.o tgentbl.o --- mkdict --- --- mktankan --- --- mkdict --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mkdict mkdict.o tstring.o troman.o tkconv.o tevalopt.o tgentbl.o --- mktankan --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -o mktankan mktankan.o tstring.o troman.o tkconv.o tevalopt.o tgentbl.o --- funcno.h --- ./mkfuncno funcno.h --- fd.1 --- --- kanji.h --- --- fd.1 --- ./kanjicnv -e -c fd.man fd.1 --- fd-unicd.tbl --- --- kanji.h --- ./mkkanji kanji.hin | ./kanjicnv -e -c - kanji.h --- fd-dict.txt --- --- fd-unicd.tbl --- ./mkunitbl fd-unicd.tbl --- fd-dict.txt --- ./mktankan fd-dict.txt --- fd-dict.tbl --- --- _fd-cat.ja --- --- _fd-cat.C --- --- fd-dict.tbl --- ./mkdict fd-dict.tbl fd-dict.txt --- _fd-cat.ja --- ./mkcat -c 1 kanji.h _fd-cat.ja --- _fd-cat.C --- ./mkcat -c 2 kanji.h _fd-cat.C --- main.o --- --- libc.o --- --- file.o --- --- main.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -DDEFRC='"'/usr/pkg/etc/fd2rc'"' -DBINDIR='"'/usr/pkg/bin'"' -c -o main.o main.c --- libc.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o libc.o libc.c --- file.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o file.o file.c --- apply.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o apply.o apply.c apply.c:607:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*sizep <= MAXTYPE(off_t) - maxcopysize) maxcopysize += *sizep; ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ apply.c:609:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] maxcopysize -= MAXTYPE(off_t) - *sizep; ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ apply.c:641:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (size <= MAXTYPE(off_t) - copysize) copysize += size; ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ apply.c:643:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] copysize -= MAXTYPE(off_t) - size + 1; ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ apply.c:654:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] size += MAXTYPE(off_t) - maxcopysize + 1; ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ apply.c:2075:16: warning: implicit conversion from 'u_long' (aka 'unsigned long') to 'fflags_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] st.st_flags = (u_long)-1; ~ ^~~~~~~~~~ apply.c:2117:16: warning: implicit conversion from 'u_long' (aka 'unsigned long') to 'fflags_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] st.st_flags = (u_long)-1; ~ ^~~~~~~~~~ --- termemu.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o termemu.o termemu.c --- frontend.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o frontend.o frontend.c --- apply.o --- 7 warnings generated. --- builtin.o --- --- shell.o --- --- builtin.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o builtin.o builtin.c --- shell.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o shell.o shell.c --- builtin.o --- builtin.c:2179:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (--n > (int)MAXHISTNO) n = (int)MAXHISTNO; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ builtin.c:2179:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (--n > (int)MAXHISTNO) n = (int)MAXHISTNO; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ builtin.c:2182:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else n = (int)MAXHISTNO - (max - (int)histno[0]); ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ builtin.c:2187:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n++ >= (int)MAXHISTNO) n = 0; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ builtin.c:2328:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else n = (int)MAXHISTNO - (f - (int)histno[0]); ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ --- shell.o --- shell.c:1595:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (histno[n]++ >= MAXHISTNO) histno[n] = (short)0; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ shell.c:1630:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (--histno[n] < (short)0) histno[n] = MAXHISTNO; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ --- builtin.o --- ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ builtin.c:2354:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n++ >= (int)MAXHISTNO) n = 0; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- shell.o --- ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ shell.c:1660:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (histno[n]++ >= MAXHISTNO) histno[n] = (short)0; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- builtin.o --- builtin.c:2367:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (--n < 0) n = (int)MAXHISTNO; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- shell.o --- shell.c:1715:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if ((n = -1 - n) > (int)MAXHISTNO) n = -1; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ shell.c:1717:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (n - 1 > (int)MAXHISTNO) n = -1; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ shell.c:1719:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else n = MAXHISTNO - (n - (int)histno[0]) + 1; ^~~~~~~~~ ./fd.h:233:20: note: expanded from macro 'MAXHISTNO' #define MAXHISTNO MAXTYPE(short) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- auth.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o auth.o auth.c --- catalog.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o catalog.o catalog.c --- input.o --- --- shell.o --- 6 warnings generated. --- ime.o --- --- input.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o input.o input.c --- ime.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o ime.o ime.c --- builtin.o --- 7 warnings generated. --- info.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o info.o info.c --- tree.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o tree.o tree.c --- archive.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o archive.o archive.c --- custom.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o custom.o custom.c custom.c:771:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n > MAXTYPE(short)) n = MAXTYPE(short); ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ custom.c:771:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n > MAXTYPE(short)) n = MAXTYPE(short); ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ custom.c:1902:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n < 0 || n > MAXTYPE(short)) { ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- command.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o command.o command.c --- browse.o --- cc -DFREEBSD=1 -DLLVM=1 -O -Wno-attributes -Wno-empty-body -DFD=3 -c -o browse.o browse.c --- fd-cat.C --- ./mkcat _fd-cat.C fd-cat.C --- browse.o --- browse.c:516:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] len = (size > MAXTYPE(off_t) / bsize) ^~~~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ --- fd-cat.ja --- ./mkcat _fd-cat.ja fd-cat.ja --- browse.o --- 1 warning generated. --- custom.o --- 3 warnings generated. --- object.arg --- --- fd --- cc -o fd main.o printf.o termio.o term.o stream.o string.o malloc.o time.o pathname.o system.o posixsh.o doscom.o log.o sysemu.o dosdisk.o realpath.o encode.o libc.o file.o mntinfo.o statfs.o apply.o pty.o termemu.o frontend.o backend.o parse.o builtin.o shell.o socket.o url.o auth.o ftp.o html.o http.o urldisk.o catalog.o kconv.o input.o ime.o dict.o roman.o info.o rockridg.o tree.o lsparse.o archive.o custom.o command.o browse.o -ltermlib term.o: In function `inittty': term.c:(.text+0xdd): undefined reference to `ospeed' term.o: In function `terror': term.c:(.text+0x19b): undefined reference to `tputs' term.o: In function `ttyiomode': term.c:(.text+0xb7f): undefined reference to `tputs' term.o: In function `putterm': term.c:(.text+0xbc5): undefined reference to `tputs' term.o: In function `stdiomode': term.c:(.text+0xd2e): undefined reference to `tputs' term.o: In function `termmode': term.c:(.text+0xdac): undefined reference to `tputs' term.o:term.c:(.text+0xdf6): more undefined references to `tputs' follow term.o: In function `getterment': term.c:(.text+0x14e9): undefined reference to `tgetent' term.c:(.text+0x15be): undefined reference to `tgetstr' term.c:(.text+0x15f2): undefined reference to `PC' term.c:(.text+0x1629): undefined reference to `tgetstr' term.c:(.text+0x1638): undefined reference to `BC' term.c:(.text+0x1677): undefined reference to `BC' term.c:(.text+0x168f): undefined reference to `tgetstr' term.c:(.text+0x169e): undefined reference to `UP' term.c:(.text+0x16dd): undefined reference to `UP' term.c:(.text+0x16f5): undefined reference to `tgetstr' term.c:(.text+0x1751): undefined reference to `tgetstr' term.c:(.text+0x17b5): undefined reference to `tgetstr' term.c:(.text+0x1815): undefined reference to `tgetstr' term.c:(.text+0x1901): undefined reference to `tgetnum' term.c:(.text+0x1921): undefined reference to `tgetflag' term.c:(.text+0x194a): undefined reference to `tgetnum' term.c:(.text+0x1968): undefined reference to `tgetflag' term.c:(.text+0x1981): undefined reference to `tgetflag' term.c:(.text+0x19a7): undefined reference to `tgetstr' term.c:(.text+0x1a0d): undefined reference to `tgetstr' term.c:(.text+0x1a73): undefined reference to `tgetstr' term.c:(.text+0x1ad9): undefined reference to `tgetstr' term.c:(.text+0x1b3f): undefined reference to `tgetstr' term.o:term.c:(.text+0x1ba5): more undefined references to `tgetstr' follow term.o: In function `defaultterm': term.c:(.text+0x31c8): undefined reference to `PC' term.c:(.text+0x31f9): undefined reference to `BC' term.c:(.text+0x3229): undefined reference to `UP' term.c:(.text+0x32e4): undefined reference to `PC' term.c:(.text+0x3315): undefined reference to `BC' term.c:(.text+0x3345): undefined reference to `UP' term.o: In function `tgetkeyseq': term.c:(.text+0x371d): undefined reference to `tgetstr' term.o: In function `freeterment': term.c:(.text+0x3956): undefined reference to `BC' term.c:(.text+0x3967): undefined reference to `UP' term.o: In function `tputparam': term.c:(.text+0x4136): undefined reference to `tputs' term.o: In function `initterm': term.c:(.text+0x4498): undefined reference to `tputs' term.c:(.text+0x44dd): undefined reference to `tputs' term.o: In function `setscroll': term.c:(.text+0x5021): undefined reference to `tputs' term.o: In function `locate': term.c:(.text+0x5076): undefined reference to `tputs' term.o:term.c:(.text+0x5168): more undefined references to `tputs' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [fd] Error code 1 make[1]: stopped in /var/pkgsrc/work/misc/fd/work/FD-3.01b 1 error make[1]: stopped in /var/pkgsrc/work/misc/fd/work/FD-3.01b *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/misc/fd/work/FD-3.01b 1 error bmake: stopped in /var/pkgsrc/work/misc/fd/work/FD-3.01b *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/misc/fd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/fd