+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tf-4.0s1nb9/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tf-4.0s1nb9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tf-4.0s1nb9 Configuring TinyFugue version 4.0 stable 1 TF binary will be installed as /usr/pkg/bin/tf-40s1 with a symbolic link: /usr/pkg/bin/tf Library, help, and utilities: /usr/pkg/lib/tf-40s1-lib/ Default mail directory: /var/mail/ Man page will be installed in /usr/pkg/man/man1/tf.1 in nroff format To change these locations type "n" now and edit the unix/Config file. Will compile with: cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses Preprocessor: cpp Ah ha, cc is GNU C gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Right on, your system is POSIX. Found <stdlib.h>. Found <string.h>. Found <memory.h>. Found <sys/select.h>. Found <locale.h>. Found <netinet/in.h>. Found <arpa/inet.h>. Found <netdb.h>. Found <pwd.h>. Found <zlib.h>. Found <stdarg.h>. Testing for library symbols... Found bcopy. Found bsearch. Found bzero. Found connect. Found fileno. Found getcwd. Found gethostbyname. Found getpwnam. Found gettimeofday. Did not find getwd, but that's ok. Found h_errno. Found hstrerror. Found index. Found kill. Found memcpy. Found memset. Found raise. Found setlocale. Found sigaction. Found srand. Found srandom. Found strcasecmp. Found strchr. Did not find strcmpi, but that's ok. Found strcspn. Found strerror. Found strftime. Did not find stricmp, but that's ok. Found strstr. Found strtod. Found strtol. Found tzset. Found waitpid. Testing case conversion... ./tfconfig: line 645: .//home/pbulk/build/net/tinyfugue/work/tf-40s1/unix/tfconfig.out: No such file or directory Case conversion is broken, I'll have to use my own. Testing type of signal handlers... Signal handlers return void, as they should. Testing for time_t... time() returns time_t, as it should. Creating linker test... Will link with -lbsd compatibility library. WARNING: Can't link with term library. Will use hardcoded terminal codes: HARDCODE TERM_vt100 Will link with -lm math library. Using <termios.h>. cd ./src; { /usr/pkg/bin/bmake all 2>&1; echo; cat exitmsg; } | { tee -a ../Build.log || cat; } cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c command.c command.c: In function 'handle_echo_func': command.c:400:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, string, strlen(string)); ^ cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c dstring.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c expand.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c expr.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c help.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c history.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c keyboard.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c macro.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c main.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c malloc.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c mccp.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c output.c output.c: In function 'bufflush': output.c:326:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, outbuf->s, outbuf->len); ^ cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c process.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c search.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c signals.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c socket.c socket.c: In function 'openconn': socket.c:927:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(xsock->fd, (char*)&xsock->addr.sin_addr, sizeof(struct in_addr)); ^ socket.c: In function 'waitforhostname': socket.c:1079:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &err, sizeof(err)); ^ socket.c:1080:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (GENERIC *)host->h_addr, sizeof(struct in_addr)); ^ socket.c:1083:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &err, sizeof(err)); ^ cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c tfio.c tfio.c: In function 'fileputs': tfio.c:430:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(fp), str, p - str); /* up to newline */ ^ tfio.c: In function 'igetchar': tfio.c:686:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(STDIN_FILENO, &c, 1); ^ cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c tty.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c util.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c variable.c cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -c world.c cd ./regexp; make CC='cc' CFLAGS='-O' O=o regexp.o >err 2>&1 || { cat err; rm err; exit 1; } rm regexp/err mv regexp/regexp.o . cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o tf command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o mccp.o output.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o regexp.o -lm -lbsd mccp.o: In function `decompress_inbuf': mccp.c:(.text+0xe8): undefined reference to `inflate' mccp.c:(.text+0x17a): undefined reference to `inflateEnd' mccp.o: In function `mudcompress_delete': mccp.c:(.text+0x21d): undefined reference to `inflateEnd' mccp.o: In function `mudcompress_receive': mccp.c:(.text+0x364): undefined reference to `inflateInit_' collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/net/tinyfugue/work/tf-40s1/src cat: exitmsg: No such file or directory