+ 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/ Mail directory unknown. TF will not check mail if MAIL is unset. 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 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses Preprocessor: cpp Ah ha, cc is GNU C gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Copyright (C) 2021 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... test.c:7:1: warning: return type defaults to 'int' [-Wimplicit-int] 7 | main() { exit(0); } | ^~~~ Signal handlers return void, as they should. Testing for time_t... time() returns time_t, as it should. Creating linker test... Will link with -ltermcap terminal control library. 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 -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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | write(STDOUT_FILENO, string, strlen(string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | write(STDOUT_FILENO, outbuf->s, outbuf->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -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 -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 -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 -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 'sockidle': socket.c:622:8: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] 622 | TIME_T sockidle(name, dir) | ^~~~~~~~ socket.c: In function 'openconn': socket.c:927:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 927 | read(xsock->fd, (char*)&xsock->addr.sin_addr, sizeof(struct in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'waitforhostname': socket.c:1079:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1079 | write(fd, &err, sizeof(err)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:1080:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1080 | write(fd, (GENERIC *)host->h_addr, sizeof(struct in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:1083:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1083 | write(fd, &err, sizeof(err)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -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 'tfgetS': tfio.c:719:9: warning: implicit declaration of function 'main_loop' [-Wimplicit-function-declaration] 719 | main_loop(); | ^~~~~~~~~ tfio.c: In function 'fileputs': tfio.c:430:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | write(fileno(fp), str, p - str); /* up to newline */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tfio.c: In function 'igetchar': tfio.c:686:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 686 | read(STDIN_FILENO, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -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 -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 -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 variable.c: In function 'init_variables': variable.c:155:29: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 155 | if (value) *--value = '='; /* restore '=' */ | ~~~~~~~~~^~~~~ In file included from variable.c:19: util.h:38:13: note: destination object of size [0, 9223372036854775807] allocated by 'xmalloc' 38 | (strcpy(xmalloc((len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.h:39:22: note: in expansion of macro 'STRNDUP' 39 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ variable.c:137:26: note: in expansion of macro 'STRDUP' 137 | append_env(str = STRDUP(*p)); | ^~~~~~ cc -pipe -O2 -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 -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 -ltermcap /bin/ld: mccp.o: in function `decompress_inbuf': mccp.c:(.text+0x60): undefined reference to `inflate' /bin/ld: mccp.c:(.text+0x14e): undefined reference to `inflateEnd' /bin/ld: mccp.o: in function `mudcompress_delete': mccp.c:(.text+0x20d): undefined reference to `inflateEnd' /bin/ld: mccp.o: in function `mudcompress_receive': mccp.c:(.text+0x675): 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