=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bitchx", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for bitchx-1.2.1nb7 --- .config.h --- --- done --- Now type "make install" to install BitchX globally (if you're root), or else you can type "make install_local" to install BitchX to your home directory. --- BitchX --- --- dll --- --- wserv --- --- scr-bx --- --- BitchX --- cd source && make 'local_dir=/tmp/work/chat/bitchx/work/.home' 'INSTALL_IRC=/opt/pkg/bin/BitchX' 'IRCLIB=/opt/pkg/share/bx' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall' 'HELPDIR=/opt/pkg/share/bx/help' 'INSTALL_WSERV=/opt/pkg/share/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx' 'TRANSLATION_PATH=/opt/pkg/share/bx/translation' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'LIBS=-ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/opt/pkg/share/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644' 'INSTALL_SCRIPT=/opt/pkg/share/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' -j 6 all --- wserv --- cd source && make 'local_dir=/tmp/work/chat/bitchx/work/.home' 'INSTALL_IRC=/opt/pkg/bin/BitchX' 'IRCLIB=/opt/pkg/share/bx' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall' 'HELPDIR=/opt/pkg/share/bx/help' 'INSTALL_WSERV=/opt/pkg/share/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx' 'TRANSLATION_PATH=/opt/pkg/share/bx/translation' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'LIBS=-ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/opt/pkg/share/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644' 'INSTALL_SCRIPT=/opt/pkg/share/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' -j 6 wserv --- scr-bx --- cd source && make 'local_dir=/tmp/work/chat/bitchx/work/.home' 'INSTALL_IRC=/opt/pkg/bin/BitchX' 'IRCLIB=/opt/pkg/share/bx' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall' 'HELPDIR=/opt/pkg/share/bx/help' 'INSTALL_WSERV=/opt/pkg/share/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx' 'TRANSLATION_PATH=/opt/pkg/share/bx/translation' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'LIBS=-ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/opt/pkg/share/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644' 'INSTALL_SCRIPT=/opt/pkg/share/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' -j 6 scr-bx --- dll --- cd dll && make 'local_dir=/tmp/work/chat/bitchx/work/.home' 'INSTALL_IRC=/opt/pkg/bin/BitchX' 'IRCLIB=/opt/pkg/share/bx' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall' 'HELPDIR=/opt/pkg/share/bx/help' 'INSTALL_WSERV=/opt/pkg/share/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx' 'TRANSLATION_PATH=/opt/pkg/share/bx/translation' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'LIBS=-ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/opt/pkg/share/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644' 'INSTALL_SCRIPT=/opt/pkg/share/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' -j 6 all --- dllinit.o --- --- wserv --- --- wserv.o --- --- scr-bx --- --- sterm.o --- --- bircsig.o --- --- bcompat.o --- --- sterm.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DSTERM_C -c ./term.c -o sterm.o --- wserv --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c wserv.c --- dll --- --- all --- --- scr-bx --- --- bircsig.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DWTERM_C -c ./ircsig.c -o bircsig.o --- bcompat.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DWTERM_C -c ./compat.c -o bcompat.o --- scr-bx.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c scr-bx.c --- BitchX --- --- alias.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c alias.c --- scr-bx --- --- sterm.o --- ./term.c:89:18: error: conflicting types for 'getenv'; have 'char *(void)' 89 | extern char *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:22, from /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./term.c:14: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ --- scr-bx.o --- scr-bx.c: In function 'handle_ctrlc': scr-bx.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] 343 | } | ^ --- bircsig.o --- ./ircsig.c: In function 'my_signal': ./ircsig.c:22:16: warning: braces around scalar initializer 22 | struct sigaction sa = {{ 0 }}, osa = {{ 0 }}; | ^~~~~~~~~ ./ircsig.c:22:16: note: (near initialization for 'sa.sa_flags') ./ircsig.c:22:16: warning: braces around scalar initializer ./ircsig.c:22:16: note: (near initialization for 'osa.sa_flags') ./ircsig.c:27:23: error: assignment to 'void (*)(int)' from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types] 27 | sa.sa_handler = sig_handler; | ^ --- sterm.o --- ./term.c: In function 'term_init': ./term.c:830:31: error: too many arguments to function 'getenv'; expected 0, have 1 830 | if (!term && !(term = getenv("TERM"))) | ^~~~~~ ~~~~~~ ./term.c:89:18: note: declared here 89 | extern char *getenv(); | ^~~~~~ --- wserv --- wserv.c: In function 'main': wserv.c:52:29: error: passing argument 2 of 'my_signal' from incompatible pointer type [-Wincompatible-pointer-types] 52 | my_signal(SIGWINCH, SIG_IGN, 0); | ^~~~~~~ | | | void (*)(int) In file included from /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from wserv.c:20: /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:162:26: note: expected 'int (*)(int)' but argument is of type 'void (*)(int)' 162 | sigfunc *my_signal (int, sigfunc *, int); | ^~~~~~~~~ wserv.c:54:27: error: passing argument 2 of 'my_signal' from incompatible pointer type [-Wincompatible-pointer-types] 54 | my_signal(SIGHUP, SIG_IGN, 0); | ^~~~~~~ | | | void (*)(int) /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:162:26: note: expected 'int (*)(int)' but argument is of type 'void (*)(int)' 162 | sigfunc *my_signal (int, sigfunc *, int); | ^~~~~~~~~ wserv.c:55:28: error: passing argument 2 of 'my_signal' from incompatible pointer type [-Wincompatible-pointer-types] 55 | my_signal(SIGQUIT, SIG_IGN, 0); | ^~~~~~~ | | | void (*)(int) /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:162:26: note: expected 'int (*)(int)' but argument is of type 'void (*)(int)' 162 | sigfunc *my_signal (int, sigfunc *, int); | ^~~~~~~~~ wserv.c:56:27: error: passing argument 2 of 'my_signal' from incompatible pointer type [-Wincompatible-pointer-types] 56 | my_signal(SIGINT, ignore, 0); | ^~~~~~ | | | void (*)(int) /tmp/work/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:162:26: note: expected 'int (*)(int)' but argument is of type 'void (*)(int)' 162 | sigfunc *my_signal (int, sigfunc *, int); | ^~~~~~~~~ wserv.c:34:9: note: 'ignore' declared here 34 | void ignore (int value); | ^~~~~~ --- wterm.o --- gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/tmp/work/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DWTERM_C -c ./term.c -o wterm.o --- scr-bx --- ./term.c: In function 'term_cont': ./term.c:756:1: warning: control reaches end of non-void function [-Wreturn-type] 756 | } | ^ --- wserv --- *** [wserv] Error code 6 bmake: stopped making "all" in /tmp/work/chat/bitchx/work/bitchx-1.2.1 --- scr-bx --- --- bircsig.o --- *** [bircsig.o] Error code 1 make[1]: stopped making "scr-bx" in /tmp/work/chat/bitchx/work/bitchx-1.2.1/source --- BitchX --- *** [BitchX] Error code 6 bmake: stopped making "all" in /tmp/work/chat/bitchx/work/bitchx-1.2.1 --- scr-bx --- --- sterm.o --- *** [sterm.o] Error code 1 make[1]: stopped making "scr-bx" in /tmp/work/chat/bitchx/work/bitchx-1.2.1/source --- scr-bx.o --- scr-bx.c: In function 'init_socketpath': scr-bx.c:569:35: warning: '%s' directive writing up to 499 bytes into a region of size 496 [-Wformat-overflow=] 569 | sprintf(ap, "/%%d.%s.%s", stripdev(attach_ttyname), host); | ^~ scr-bx.c:569:17: note: 'sprintf' output between 6 and 2553 bytes into a destination of size 500 569 | sprintf(ap, "/%%d.%s.%s", stripdev(attach_ttyname), host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: 2 errors make[1]: stopped making "scr-bx" in /tmp/work/chat/bitchx/work/bitchx-1.2.1/source *** [scr-bx] Error code 2 bmake: stopped making "all" in /tmp/work/chat/bitchx/work/bitchx-1.2.1 bmake: 3 errors bmake: stopped making "all" in /tmp/work/chat/bitchx/work/bitchx-1.2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bitchx *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bitchx