=> Building irc/bnc Started : Thursday, 12 APR 2018 at 19:58:47 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for bnc-2.9.4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/irc/bnc XDG_CONFIG_HOME=/construction/irc/bnc HOME=/construction/irc/bnc TMPDIR="/tmp" PATH=/construction/irc/bnc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/irc/bnc XDG_CONFIG_HOME=/construction/irc/bnc HOME=/construction/irc/bnc TMPDIR="/tmp" PATH=/construction/irc/bnc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/irc/bnc/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/bnc" EXAMPLESDIR="share/examples/bnc" DATADIR="share/bnc" WWWDIR="www/bnc" ETCDIR="etc/bnc" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bnc DOCSDIR=/usr/local/share/doc/bnc EXAMPLESDIR=/usr/local/share/examples/bnc WWWDIR=/usr/local/www/bnc ETCDIR=/usr/local/etc/bnc -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> bnc-2.9.4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> bnc-2.9.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bnc-2.9.4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by bnc-2.9.4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by bnc-2.9.4 for building => SHA256 Checksum OK for bnc2.9.4.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by bnc-2.9.4 for building ===> Extracting for bnc-2.9.4 => SHA256 Checksum OK for bnc2.9.4.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for bnc-2.9.4 ===> Applying ports patches for bnc-2.9.4 /usr/bin/sed -e 's,@PREFIX@,/usr/local,g' /construction/irc/bnc/bnc2.9.4/bncsetup #!/bin/sh # You NEED the dialog program to use this! MYPID=$$ TMPFILE=.bnc$MYPID.tmp RSLFILE=.bnc$MYPID.rsl VHTFILE=.bnc$MYPID.vht BSVERSION="0.7 for BNC2.9.4" SAVEFILE=./bnc.conf bsclean() { rm -f $TMPFILE $RSLFILE $VHTFILE exit $1 } saveit() { echo "Writing your configuration to $SAVEFILE" LISTENEXOPTS= if [ ! -z $BNCHOST ] then LISTENEXOPTS="$LISTENEXOPTS --localhost $BNCHOST" fi if [ -z $BNCPASS ] then usepass= else usepass="password $BNCPASS" fi if [ $MAXUSERS -ne 0 ] then LISTENEXOPTS="$LISTENEXOPTS --limit $MAXUSERS" fi cat << EOF > $TMPFILE #!/home/myhome/bnc # BNCSetup $BSVERSION by IceWizard and pharos # automaticly generated configuration file. # # listen [maxusers] Port to listen for connections on # Or.. # listenex [--ssl] [--limit ] [--localhost ] # adminpass Password for Supervisor Access # # [Optional] # privatekey Required if SSL server is used # publickey Required if SSL server is used # password Password required for general connection (recommended) # allow
[address ...] list of ip/dns's that can use the bnc # vhost
[address ...] Other Vhosts That Can Be Used (display only) # defaultvhost
Default Virtual Host to Use # pidfile Name of PID File (recommended if you use crontab) # motdfile Message of the day, displayed on connection of valid user # logfile Filename where to store logs # # EXAMPLE CONFIG - CHANGE THIS: # if your pass starts with + it is encrypted, if not it is a normal pass # listenex $LISTENEXOPTS $BNCPORT adminpass $SUPERPASS $usepass EOF # S:$SUPERPASS # D:$BNCPORT:$MAXUSERS:$BNCPASS cat $TMPFILE $VHTFILE > $SAVEFILE echo "Finished! You may now edit $SAVEFILE to make any special changes" bsclean 0 } altconf() { echo "##" > $VHTFILE echo "Running alt configuration tool" echo -n "Port to listen on> " read BNCPORT echo "How many users would you like to be allowed on BNC at the same time?" echo "Please note, if you would like to allow unlimited users, enter a 0" echo -n "> " read MAXUSERS echo -n "Pick a password >" read BNCPASS echo -n "Pick a password for the superuser >" read SUPERPASS saveit } echo "BAD\$" > $TMPFILE echo "Test" | mkpasswd -s >> $TMPFILE CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 ) if [ "BAD\$" = "$CRCYS" ] then CRCY=ON else echo "Your OS is using an unstandard Crypt lib, disabling encryption." CRCY=OFF echo "Continuing script in 4 seconds" sleep 4 fi dialog --clear ERRORLEVEL=$? if [ x$ERRORLEVEL != x0 ] then echo "You appear to not have the program named dialog" echo "This script depends on it heavily" altconf bsclean 0 fi cat << EOF > $TMPFILE BNCSETUP v$BSVERSION Written by IceWizard Rewritten by Pharos BNCSetup is a quick BNC conf generator EOF clear dialog --title "BNCSETUP by IceWizard" --msgbox "$(cat $TMPFILE)" 10 50 cat << EOF > $TMPFILE What port would you like BNC to listen on? This must be a number greater than 1024 and must not be in use. EOF BNCPORT= while [ -z "$BNCPORT" ] do dialog --title "Port to listen on" --inputbox "$(cat $TMPFILE)" 10 68 "6669" 2> $RSLFILE ERRORLEVEL=$? BNCPORT="$(head -1 $RSLFILE)" if [ x$ERRORLEVEL = x1 ] then clear echo "BNC Configuration was cancelled..." bsclean 0 fi done BNCHOST= cat << EOF > $TMPFILE Enter the host IP or DNS that bnc will use. EOF dialog --yesno "Enter a host for BNC to listen on (default all hosts)?" 5 60 ERRORLEVEL=$? if [ x$ERRORLEVEL = x0 ] then dialog --title "Enter host" --inputbox "$(cat $TMPFILE)" 10 62 2> $RSLFILE BNCHOST="$(head -1 $RSLFILE)" fi cat << EOF > $TMPFILE How many users would you like to be allowed on BNC at the same time? Please note, if you would like to allow unlimited users, enter a 0 EOF MAXUSERS= while [ -z "$MAXUSERS" ] do dialog --title "Maximum users" --inputbox "$(cat $TMPFILE)" 10 78 "0" 2> $RSLFILE ERRORLEVEL=$? MAXUSERS="$(head -1 $RSLFILE)" if [ x$ERRORLEVEL = x1 ] then clear echo "BNC Configuration was cancelled..." bsclean 0 fi done cat << EOF > $TMPFILE Pick a password you would like to use for BNC? This is the pass that will be used upon /quote pass PASS when using bnc. EOF BNCPASS= while [ -z "$BNCPASS" ] do dialog --title "Pick a password" --inputbox "$(cat $TMPFILE)" 12 60 2> $RSLFILE ERRORLEVEL=$? BNCPASS="$(head -1 $RSLFILE)" if [ x$ERRORLEVEL = x1 ] then clear echo "BNC Configuration was cancelled..." bsclean 0 fi done cat << EOF > $TMPFILE Pick a superviser password you would like to use for BNC? If you are the only person to use your BNC, feel free to enter the same password. EOF SUPERPASS= while [ -z "$SUPERPASS" ] do dialog --title "Pick a superviser password" --inputbox "$(cat $TMPFILE)" 10 62 2> $RSLFILE ERRORLEVEL=$? SUPERPASS="$(head -1 $RSLFILE)" if [ x$ERRORLEVEL = x1 ]; then clear echo "BNC Configuration was cancelled..." bsclean 0 fi done if [ xON = x$CRCY ] then dialog --yesno "Use encrypted passes in config file (Securety)" 5 60 ERRORLEVEL=$? if [ x$ERRORLEVEL = x0 ] then if [ -x /usr/local/bin/mkpasswd ] then SUPERPASS="+"$(echo "$SUPERPASS" | mkpasswd -s) BNCPASS="+"$(echo "$BNCPASS" | mkpasswd -s) else clear echo "You have not did ./configure and make so there is no mkpasswd" echo "This program is required to produce the encryption" bsclean 0 fi fi fi rm -f $VHTFILE dialog --radiolist "Choose Allow method" 10 70 3 \ "0" "Allow ANY ip to use bnc if they know the pass" "on" \ "1" "Go to menu for creating ip lists" "off" 2> $RSLFILE ERRORLEVEL=$? if [ x$ERRORLEVEL = x1 ]; then clear echo "BNC Configuration was cancelled..." bsclean 0 fi ERRORLEVEL="$(head -1 $RSLFILE)" cat << EOF > $TMPFILE Enter an IP to be allowed to use BNC. this ip can include *'s and ?'s and other wildcard stuff. enter q alone to end entering IP's EOF if [ x$ERRORLEVEL = x1 ] then BDONE= while ! [ x$BDONE = xq ] do dialog --title "Enter Wildcard IP" --inputbox "$(cat $TMPFILE)" 10 62 2> $RSLFILE BDONE="$(head -1 $RSLFILE)" if ! [ -z BDONE ] then if ! [ x$BDONE = xq ] then echo "allow $BDONE" >> $VHTFILE fi fi done fi if ! [ -e "$VHTFILE" ] then echo "allow *" > $VHTFILE fi cat << EOF > $TMPFILE Enter a Default Vhost IP or DNS that bnc will use. EOF dialog --yesno "Enter a default Vhost to use?" 5 60 ERRORLEVEL=$? if [ x$ERRORLEVEL = x0 ] then dialog --title "Enter Default Vhost" --inputbox "$(cat $TMPFILE)" 10 62 2> $RSLFILE BDONE="$(head -1 $RSLFILE)" if ! [ -z BDONE ] then echo "defaultvhost $BDONE" >> $VHTFILE fi fi dialog --yesno "Enter a list of Vhost possiblities?" 5 60 ERRORLEVEL=$? cat << EOF > $TMPFILE Enter an Vhost that can be used by this bnc. This has no bearing on how bnc functions but is simply what is listed when the user does: /quote vip enter q alone to end entering IP's EOF if [ x$ERRORLEVEL = x0 ] then BDONE= while ! [ x$BDONE = xq ] do dialog --title "Enter Vhost possibility" --inputbox "$(cat $TMPFILE)" 15 62 2> $RSLFILE BDONE="$(head -1 $RSLFILE)" if ! [ -z BDONE ] then if ! [ x$BDONE = xq ] then echo "vhost $BDONE" >> $VHTFILE fi fi done fi dialog --yesno "Would you like bnc to log?" 5 60 ERRORLEVEL=$? cat << EOF > $TMPFILE Pick a filename for bnc to write logging info into. if you do not want to use the default EOF if [ x$ERRORLEVEL = x0 ] then dialog --title "Enter logfile Filename" --inputbox "$(cat $TMPFILE)" 10 62 "bnc.log" 2> $RSLFILE BDONE="$(head -1 $RSLFILE)" if ! [ -z BDONE ] then echo "logfile $BDONE" >> $VHTFILE fi fi dialog --yesno "Would you like bnc to display a motd?" 5 60 ERRORLEVEL=$? cat << EOF > $TMPFILE Pick a filename for bnc to show as a motd if you do not want to use the default EOF if [ x$ERRORLEVEL = x0 ] then dialog --title "Enter motd Filename" --inputbox "$(cat $TMPFILE)" 10 62 "motd" 2> $RSLFILE BDONE="$(head -1 $RSLFILE)" if ! [ -z BDONE ] then echo "motdfile $BDONE" >> $VHTFILE fi fi dialog --title "Requires Identwd to be installed." --yesno "Do you want bnc's dynamic ident support?" 5 60 ERRORLEVEL=$? if [ x$ERRORLEVEL = x0 ] then echo "useidentwd 1" >> $VHTFILE fi cat << EOF > $TMPFILE Pick a file to save the configuration in if you do not want to use the default EOF SAVEFILE= while [ -z "$SAVEFILE" ] do dialog --title "Save as" --inputbox "$(cat $TMPFILE)" 10 45 "bnc.conf" 2> $RSLFILE ERRORLEVEL=$? SAVEFILE="$(head -1 $RSLFILE)" if [ x$ERRORLEVEL = x1 ]; then clear echo "BNC Configuration was cancelled..." bsclean 0 fi done clear if [ -e "$SAVEFILE" ] then echo "BNCsetup found a configuration file already... saving it as $SAVEFILE.old" mv $SAVEFILE "$SAVEFILE".old fi saveit -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for bnc-2.9.4 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cpp checking for library containing strerror... none required checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/select.h... (cached) yes checking return type of signal handlers... void checking for select in -lsocket... no checking for select in -lnsl... no checking for gethostbyname in -lresolv... no checking for malloc in -lgnumalloc... no checking for malloc in -lbsdmalloc... no checking for select in -linet... no checking for select in -lcposix... no checking for select in -lnet... no checking for crypt in -lcrypt... (cached) yes checking whether to enable SSL support... no checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for gethostbyname2... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for bnc-2.9.4 --- sbuf.o --- --- bnc.o --- --- conf.o --- --- cmds.o --- --- ctcp.o --- --- sbuf.o --- cc -O3 -Wall -include config.h -c sbuf.c --- bnc.o --- cc -O3 -Wall -include config.h -c bnc.c --- conf.o --- cc -O3 -Wall -include config.h -c conf.c --- cmds.o --- cc -O3 -Wall -include config.h -c cmds.c --- ctcp.o --- cc -O3 -Wall -include config.h -c ctcp.c --- conf.o --- conf.c: In function 'loadconf': conf.c:597:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if ((fgets (linbuff, 1024, src)) == NULL) ^ In file included from conf.c:1:0: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^ conf.c:603:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(linbuff) < 2) ^ In file included from conf.c:5:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ conf.c:609:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] tmp = strtok (linbuff, ":\n\r"); ^ In file included from conf.c:5:0: /usr/include/string.h:140:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strtok(char * __restrict, const char * __restrict); ^ conf.c:634:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] tmp = strtok (linbuff, " \n\r,"); ^ In file included from conf.c:5:0: /usr/include/string.h:140:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strtok(char * __restrict, const char * __restrict); ^ --- server.o --- cc -O3 -Wall -include config.h -c server.c --- cmds.o --- cmds.c: In function 'handlepclient': cmds.c:404:13: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets (motdb,MAXMOTDLINE, motdf); ^ In file included from cmds.c:1:0: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^ cmds.c:406:15: warning: pointer targets in passing argument 1 of 'remnl' differ in signedness [-Wpointer-sign] p=remnl (motdb,MAXMOTDLINE); ^ cmds.c:180:5: note: expected 'char *' but argument is of type 'unsigned char *' int remnl (char *buf, int size) ^ cmds.c:327:10: warning: variable 'r' set but not used [-Wunused-but-set-variable] int p,f,r,w; ^ --- server.o --- server.c: In function 'send_queued': server.c:406:34: warning: passing argument 2 of 'sbuf_pagemap' from incompatible pointer type [-Wincompatible-pointer-types] msg = sbuf_pagemap(&ls->sendq, &length); ^ In file included from server.c:36:0: sbuf.h:33:7: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'int *' void *sbuf_pagemap(struct sbuf *record, size_t *length); ^ server.c: In function 'identwd_unlock': server.c:570:46: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname (s, (struct sockaddr *) &mysa, &len); ^ In file included from server.c:9:0: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ server.c: In function 'dccsend': server.c:1123:29: warning: passing argument 2 of 'sbuf_pagemap' from incompatible pointer type [-Wincompatible-pointer-types] msg = sbuf_pagemap(sendq, &length); ^ In file included from server.c:36:0: sbuf.h:33:7: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'int *' void *sbuf_pagemap(struct sbuf *record, size_t *length); ^ server.c: In function 'addon_client': server.c:1546:52: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] res=getpeername (citizen, (struct sockaddr *)nin, &ninlen); ^ In file included from server.c:9:0: /usr/include/sys/socket.h:491:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ --- ctcp.o --- ctcp.c: In function 'ctdcc_send': ctcp.c:333:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tprintf(mptr, "PRIVMSG %s :\001DCC SEND \"%s\" %lu %hu", to, fname, ntohl(*(unsigned long *)&lsin.sin_addr), ntohs(lsin.sin_port)); ^ --- send.o --- cc -O3 -Wall -include config.h -c send.c --- cmds.o --- cmds.c:405:11: warning: array subscript is above array bounds [-Warray-bounds] motdb[MAXMOTDLINE]='\0'; ^ cmds.c:407:11: warning: array subscript is above array bounds [-Warray-bounds] motdb[MAXMOTDLINE]='\0'; ^ --- mkpasswd --- cc -O3 -Wall -include config.h -o mkpasswd mkpasswd.c -lcrypt --- sbuf.o --- sbuf.c: In function 'sbuf_getmsg': sbuf.c:212:7: warning: 'rlength' may be used uninitialized in this function [-Wmaybe-uninitialized] eos = s + rlength; ^ --- bnc --- cc -o bnc bnc.o conf.o server.o cmds.o ctcp.o sbuf.o send.o -lcrypt -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for bnc-2.9.4 ===> Generating temporary packing list install -s -m 555 /construction/irc/bnc/bnc2.9.4/bnc /construction/irc/bnc/bnc2.9.4/mkpasswd /construction/irc/bnc/stage/usr/local/bin install -m 555 /construction/irc/bnc/bnc2.9.4/bncchk /construction/irc/bnc/bnc2.9.4/bncsetup /construction/irc/bnc/stage/usr/local/bin /bin/mkdir -p /construction/irc/bnc/stage/usr/local/share/doc/bnc install -m 0644 /construction/irc/bnc/bnc2.9.4/COPYING /construction/irc/bnc/bnc2.9.4/Changelog /construction/irc/bnc/bnc2.9.4/README /construction/irc/bnc/bnc2.9.4/example.conf /construction/irc/bnc/stage/usr/local/share/doc/bnc/ install -m 0644 /construction/irc/bnc/bnc2.9.4/example.conf /construction/irc/bnc/stage/usr/local/etc/bnc.conf.sample ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for bnc-2.9.4 file sizes/checksums [9]: . done packing files [9]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 19:59:06 UTC Duration: 00:00:18