+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sirc-2.211nb14/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sirc-2.211nb14/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Installing for sirc-2.211nb14 => Generating pre-install file lists => Creating installation directories This script will compile, configure and install sirc for your system. You can exit at any time by pressing ^C (Control-C) and start over if you wish to change your settings. Whenever asked for something, the default answer is shown between [brackets]. Pressing Enter at that point will take the default answer. Continue with the installation? ([y]/n) Checking where dsirc and ssfe.c are - OK Enter the name of the C compiler you want to use, or "none" if you don't have access to one. In that case you can only use this IRC client in dumb (not full-screen) mode. If you don't know what this is all about, just press Enter :) Compiler? [/home/pbulk/build/chat/sirc/work/.gcc/bin/gcc] ssfe.c needs the termcap library, or something compatible with it, such as ncurses. Also, on some systems the termcap library is included in the curses library, so "curses" might work. Which library to use? [termcap] Use the old BSD sgtty interface instead of the POSIX one? (y/[n]) Any other flags (-O, -L, -I ...) for the compiler? [none] Attempting to compile ssfe.c with gcc ... press Enter gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib ssfe.c -o ssfe -ltermcap ssfe.c: In function 'putcap': ssfe.c:139:3: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 139 | tputs(s, 0, myputchar); | ^~~~~ | puts ssfe.c: In function 'do_cs': ssfe.c:150:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 150 | write(1, temp, strlen(temp)); | ^~~~~~ ssfe.c:35:1: note: include '' or provide a declaration of 'strlen' 34 | #include +++ |+#include 35 | ssfe.c:150:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 150 | write(1, temp, strlen(temp)); | ^~~~~~ ssfe.c:150:20: note: include '' or provide a declaration of 'strlen' ssfe.c: In function 'setstatus': ssfe.c:303:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 303 | memset(statusline, ' ', MAX_COLS-1); | ^~~~~~ ssfe.c:303:3: note: include '' or provide a declaration of 'memset' ssfe.c:303:3: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] ssfe.c:303:3: note: include '' or provide a declaration of 'memset' ssfe.c:304:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 304 | memcpy(statusline, title, strlen(title)' or provide a declaration of 'memcpy' ssfe.c:304:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] ssfe.c:304:3: note: include '' or provide a declaration of 'memcpy' ssfe.c:304:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 304 | memcpy(statusline, title, strlen(title)' or provide a declaration of 'strlen' ssfe.c: In function 'addtab': ssfe.c:347:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 347 | strcpy(nt->string, line); | ^~~~~~ ssfe.c:347:7: note: include '' or provide a declaration of 'strcpy' ssfe.c:347:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] ssfe.c:347:7: note: include '' or provide a declaration of 'strcpy' ssfe.c:379:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 379 | strcpy(nt->string, line); | ^~~~~~ ssfe.c:379:3: note: include '' or provide a declaration of 'strcpy' ssfe.c: In function 'doprotcommand': ssfe.c:399:16: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 399 | case 'T' : strncpy(ctrl_t, protcmd+1, 127); /* set ^t's text */ | ^~~~~~~ ssfe.c:399:16: note: include '' or provide a declaration of 'strncpy' ssfe.c:399:16: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] ssfe.c:399:16: note: include '' or provide a declaration of 'strncpy' ssfe.c:401:16: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 401 | strcat(ctrl_t, "\n"); | ^~~~~~ ssfe.c:401:16: note: include '' or provide a declaration of 'strcat' ssfe.c:401:16: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] ssfe.c:401:16: note: include '' or provide a declaration of 'strcat' ssfe.c:414:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 414 | case 'p' : if (strlen(protcmd+1)<=8) { /* prompt something */ | ^~~~~~ ssfe.c:414:20: note: include '' or provide a declaration of 'strlen' ssfe.c:421:18: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 421 | strcpy(input, protcmd+1); | ^~~~~~ ssfe.c:421:18: note: include '' or provide a declaration of 'strcpy' ssfe.c:439:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 439 | case 'o' : strcpy(o_buffer, protcmd+1); | ^~~~~~ ssfe.c:439:16: note: include '' or provide a declaration of 'strcpy' ssfe.c: In function 'sendline': ssfe.c:744:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 744 | strcpy(input, prompt); | ^~~~~~ ssfe.c:744:3: note: include '' or provide a declaration of 'strcpy' ssfe.c:745:8: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 745 | plen=strlen(prompt); | ^~~~~~ ssfe.c:745:8: note: include '' or provide a declaration of 'strlen' ssfe.c: In function 'modify': ssfe.c:760:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 760 | strcpy(histcurrent->string, h->string); | ^~~~~~ ssfe.c:760:7: note: include '' or provide a declaration of 'strcpy' ssfe.c: In function 'dokbdchar': ssfe.c:975:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 975 | strcpy(input+plen, curtabt->string); | ^~~~~~ ssfe.c:975:7: note: include '' or provide a declaration of 'strcpy' ssfe.c:978:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 978 | inputlast=strlen(input); | ^~~~~~ ssfe.c:978:17: note: include '' or provide a declaration of 'strlen' ssfe.c:984:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 984 | strcpy(input+plen, curtabr->string); | ^~~~~~ ssfe.c:984:7: note: include '' or provide a declaration of 'strcpy' ssfe.c:987:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 987 | inputlast=strlen(input); | ^~~~~~ ssfe.c:987:17: note: include '' or provide a declaration of 'strlen' ssfe.c:1013:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1013 | if (strlen(o_buffer)) modify(); | ^~~~~~ ssfe.c:1013:9: note: include '' or provide a declaration of 'strlen' ssfe.c:1016:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1016 | write(writefd, ctrl_t, strlen(ctrl_t)); | ^~~~~~ ssfe.c:1016:28: note: include '' or provide a declaration of 'strlen' ssfe.c: In function 'main': ssfe.c:1071:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 1071 | if (strcmp(argv[1], "-raw")==0) { | ^~~~~~ ssfe.c:1071:9: note: include '' or provide a declaration of 'strcmp' ssfe.c:1095:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1095 | if (strlen(prompt)>8) barf("Prompt too long"); | ^~~~~~ ssfe.c:1095:11: note: include '' or provide a declaration of 'strlen' ssfe.c:1102:7: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 1102 | if (tgetent(termcap, termtype)<1) barf("No termcap info for your terminal"); | ^~~~~~~ | getenv ssfe.c:1104:21: warning: implicit declaration of function 'tgetstr' [-Wimplicit-function-declaration] 1104 | if ((t_cm=(char *)tgetstr("cm", &tc))==NULL) | ^~~~~~~ ssfe.c:1104:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1104 | if ((t_cm=(char *)tgetstr("cm", &tc))==NULL) | ^ ssfe.c:1106:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1106 | if ((t_cl=(char *)tgetstr("cl", &tc))==NULL) | ^ ssfe.c:1108:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1108 | if ((t_ce=(char *)tgetstr("ce", &tc))==NULL) | ^ ssfe.c:1110:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1110 | if ((t_cs=(char *)tgetstr("cs", &tc))==NULL) { | ^ ssfe.c:1111:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 1111 | if (strncmp(termtype, "xterm", 5)==0 || strncmp(termtype, "vt100", 5)==0) | ^~~~~~~ ssfe.c:1111:9: note: include '' or provide a declaration of 'strncmp' ssfe.c:1111:36: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1111 | if (strncmp(termtype, "xterm", 5)==0 || strncmp(termtype, "vt100", 5)==0) | ^ : note: built-in 'strncmp' declared here ssfe.c:1111:72: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1111 | if (strncmp(termtype, "xterm", 5)==0 || strncmp(termtype, "vt100", 5)==0) | ^ : note: built-in 'strncmp' declared here ssfe.c:1116:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1116 | if ((t_me=(char *)tgetstr("me", &tc))!=NULL) { | ^ ssfe.c:1117:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1117 | if ((t_mr=(char *)tgetstr("mr", &tc))==NULL) t_mr=t_me; | ^ ssfe.c:1118:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1118 | if ((t_md=(char *)tgetstr("md", &tc))==NULL) t_md=t_me; | ^ ssfe.c:1119:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1119 | if ((t_us=(char *)tgetstr("us", &tc))==NULL) t_us=t_me; | ^ ssfe.c:1120:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1120 | } else if ((t_me=(char *)tgetstr("se", &tc))!=NULL && | ^ ssfe.c:1121:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1121 | (t_mr=(char *)tgetstr("so", &tc))!=NULL) { | ^ ssfe.c:1142:18: warning: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 1142 | if ((lines=tgetnum("li"))<1 || (cols=tgetnum("co"))<1) { | ^~~~~~~ ssfe.c:1261:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1261 | strcpy(tmpstr, " "); | ^~~~~~ ssfe.c:1261:3: note: include '' or provide a declaration of 'strcpy' ssfe.c:1263:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1263 | if (strlen(tmpstr)+strlen(argv[i])' or provide a declaration of 'strlen' ssfe.c:1264:7: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 1264 | strcat(tmpstr, argv[i]); | ^~~~~~ ssfe.c:1264:7: note: include '' or provide a declaration of 'strcat' ssfe.c:1277:8: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1277 | plen=strlen(prompt); | ^~~~~~ ssfe.c:1277:8: note: include '' or provide a declaration of 'strlen' ld: warning: symbol 'beep' has differing types: (file /var/tmp//cceuG.mQ.o type=OBJT; file /home/pbulk/build/chat/sirc/work/.buildlink/lib/libncurses.so type=FUNC); /var/tmp//cceuG.mQ.o definition taken ld: warning: symbol 'beep' has differing types: (file /var/tmp//cceuG.mQ.o type=OBJT; file /home/pbulk/build/chat/sirc/work/.buildlink/lib/libncurses.so type=FUNC); It seems to have worked :) Enter the name of the perl interpreter you want to use, or press Enter to use /home/pbulk/build/chat/sirc/work/.tools/bin/perl Perl interpreter? [/home/pbulk/build/chat/sirc/work/.tools/bin/perl] Checking your perl interpreter... OK You have perl 5. Congratulations. Your perl installation is really messed up, you don't even have the getopts.pl library... creating it in sirc's directory Where do you want to install the sirc binaries? Binaries directory? [/root/bin] Ok Other than the executable files in the bin directory, sirc needs to keep a small number of files in a directory of its own. You can either leave them here in /home/pbulk/build/chat/sirc/work/sirc-2.211, or specify another directory. Pick another directory for sirc's files? (y/[n]) sirc directory? [/root/sirc] Copy all the files sirc needs in that directory? ([y]/n) Copying files from /home/pbulk/build/chat/sirc/work/sirc-2.211 to /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc... done copying. sirc now includes experimental support for SOCKS proxies. If you are behind a firewall (i.e your host can't directly connect to outside) and the firewall is running a SOCKS proxy, answer "yes" to this question. Otherwise answer "no". Support SOCKS proxies? (y/[n]) In which directory do you want to install sirc's manpages? If you don't want them installed, enter "none". Manpage directory? [none] One thing left to setup now: the name of your default IRC server. You should pick the closest server to you in the net you wish to use. If you don't know which server to use, you can pick one of the following, or look at http://www.irchelp.org for information: irc.primenet.com - EFnet server in America irc.ec-lille.fr - EFnet server in Europe us.undernet.org - Undernet server in America eu.undernet.org - Undernet server in Europe irc.stealth.net - IRCnet server in America irc.funet.fi - IRCnet server in Europe irc.dal.net - DALnet server in America fi.dal.net - DALnet server in Europe Default server? [irc.primenet.com] OK, time to put the binaries in the bin directory, and to create the startup script. Press Enter to go on, or ^C to interrupt... Since you have copied the files in /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc, you probably don't need them here... you can delete them if you want. We're done. You can start sirc at any time by typing "sirc" at the Unix prompt. If that doesn't work, check your PATH, or you can always start sirc by typing /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/bin/sirc Keep in mind that you can always exit sirc by pressing Control-X C Happy IRCing... ... and don't forget to read /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc/README sometime :) for i in adcc.pl akickban.pl avoice.pl country.pl finger.pl ftp.pl howl.pl hotmail.pl lastlog.pl nocolor.pl patattack.pl prefix.pl quiet.pl quit.pl ssfe.diff thx.pl winnuke.pl www.pl yiff.pl ; do echo installing $i ; /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644 /data/distfiles/sirc/$i /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc/scripts/$i ; done installing adcc.pl installing akickban.pl installing avoice.pl installing country.pl installing finger.pl installing ftp.pl installing howl.pl installing hotmail.pl installing lastlog.pl installing nocolor.pl installing patattack.pl installing prefix.pl installing quiet.pl installing quit.pl installing ssfe.diff installing thx.pl installing winnuke.pl installing www.pl installing yiff.pl => Generating CTF data => Automatic stripping of debug information => Automatic manual page handling => Generating post-install file lists => Checking file-check results for sirc-2.211nb14 => Checking for non-existent script interpreters in sirc-2.211nb14 => Checking file permissions in sirc-2.211nb14 => Checking for missing run-time search paths in sirc-2.211nb14 => Checking for work-directory references in sirc-2.211nb14 ERROR: /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/bin/sirc:SIRCLIB=/home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc ; export SIRCLIB ERROR: /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/bin/sirc: exec /opt/pkg/bin/perl /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc/dsirc "$@" ERROR: /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/bin/sirc: *) eval exec /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/bin/ssfe $SSFE /opt/pkg/bin/perl /home/pbulk/build/chat/sirc/work/.destdir/opt/pkg/lib/sirc/dsirc \"\$@\" ERROR: *** The above files still have references to the build directory. ERROR: This is possibly an error that should be fixed by unwrapping ERROR: the files or adding missing tools to the package makefile! *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/chat/sirc *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/chat/sirc