=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ircservices-5.0.64nb1
touch services.h
/usr/pkg/bin/gmake -C lang index
gmake[1]: Entering directory `/scratch/chat/ircservices/work/ircservices-5.0.64/lang'
gmake[1]: `index' is up to date.
gmake[1]: Leaving directory `/scratch/chat/ircservices/work/ircservices-5.0.64/lang'
cp -p lang/langstrs.h .
touch language.h
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c actions.c -o actions.o
In file included from actions.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c channels.c -o channels.o
In file included from channels.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
channels.c:251:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if ((protocol_features & PF_MODETS_FIRST) && isdigit(av[1][0])) {
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
2 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c commands.c -o commands.o
In file included from commands.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c compat.c -o compat.o
In file included from compat.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c conffile.c -o conffile.o
In file included from conffile.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
conffile.c:149:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*s))
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
conffile.c:178:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while (isspace(*s))
                   ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
conffile.c:339:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
                    while (count < 3 && isdigit(*s)) {
                                        ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
conffile.c:346:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
                    while (isdigit(*s))
                           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
5 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c encrypt.c -o encrypt.o
In file included from encrypt.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c ignore.c -o ignore.o
In file included from ignore.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c init.c -o init.o
In file included from init.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c language.c -o language.o
In file included from language.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c log.c -o log.o
In file included from log.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c main.c -o main.o
In file included from main.c:19:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
main.c:81:18: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
    param_unused = param_unused;
    ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
main.c:127:18: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
    param_unused = param_unused;
    ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
main.c:170:18: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
    param_unused = param_unused;
    ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
4 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c memory.c -o memory.o
In file included from memory.c:12:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c messages.c -o messages.o
In file included from messages.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
messages.c:236:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    notice(av[0], source, getstring(NULL,SERVICES_IS_BUSY));
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c misc.c -o misc.o
In file included from misc.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
misc.c:147:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (tolower(*s1) == tolower(*d)) {
            ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:147:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (tolower(*s1) == tolower(*d)) {
                            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:169:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        *t = toupper(*t);
             ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:179:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
        *t = tolower(*t);
             ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:230:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*s))
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
misc.c:233:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (t >= s && isspace(*t))
                         ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
misc.c:299:35: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if ((docase ? (*s==*pattern) : (tolower(*s)==tolower(*pattern)))
                                                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:299:48: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if ((docase ? (*s==*pattern) : (tolower(*s)==tolower(*pattern)))
                                                             ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:306:34: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if (docase ? (*str != c) : (tolower(*str) != tolower(c)))
                                        ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:306:51: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if (docase ? (*str != c) : (tolower(*str) != tolower(c)))
                                                         ^~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
misc.c:587:17: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if (isdigit(*numstr)) {
                ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
misc.c:738:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isspace(*s))  /* because strtol() will skip whitespace */
            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
13 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c modes.c -o modes.o
In file included from modes.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c modules.c -o modules.o
In file included from modules.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c process.c -o process.o
In file included from process.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
process.c:116:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*++s))
               ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
process.c:128:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*++s))
               ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
3 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c send.c -o send.o
In file included from send.c:11:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
send.c:225:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            notice(source, dest, *text);
                                 ^~~~~
2 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c servers.c -o servers.o
In file included from servers.c:12:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c signals.c -o signals.o
In file included from signals.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
signals.c:29:16: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    sig_unused = sig_unused;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
signals.c:43:16: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    sig_unused = sig_unused;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
signals.c:60:16: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    sig_unused = sig_unused;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
4 warnings generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c sockets.c -o sockets.o
In file included from sockets.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c suspinfo.c -o suspinfo.o
In file included from suspinfo.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c timeout.c -o timeout.o
In file included from timeout.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gcc  -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c users.c -o users.o
In file included from users.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
gmake[1]: Entering directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules'
gmake[2]: Entering directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules/chanserv'
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/main.c -o modules/chanserv/main.o
In file included from modules/chanserv/main.c:12:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/main.c:232:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        notice(s_ChanServ, source, getstring(NULL, INTERNAL_ERROR));
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/chanserv/main.c:1942:21: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    shutdown_unused = shutdown_unused;
    ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
3 warnings generated.
touch .stamp
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access.c -o modules/chanserv/access.o
In file included from modules/chanserv/access.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/access.c:43:34: warning: use of GNU old-style field designator extension [-Wgnu-designator]
          CL_CLEAR_MODE|CL_LESSEQUAL, { cumode: {"oha",0} } },
                                        ^~~~~~~
                                        .cumode = 
2 warnings generated.
touch .stamp
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/autokick.c -o modules/chanserv/autokick.o
In file included from modules/chanserv/autokick.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/autokick.c:126:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isdigit(*mask) && strspn(mask, "1234567890,-") == strlen(mask)) {
            ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
modules/chanserv/autokick.c:169:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (mask && isdigit(*mask) &&
                    ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
3 warnings generated.
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/check.c -o modules/chanserv/check.o
In file included from modules/chanserv/check.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/set.c -o modules/chanserv/set.o
In file included from modules/chanserv/set.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/util.c -o modules/chanserv/util.o
In file included from modules/chanserv/util.c:28:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
1 warning generated.
touch .stamp
gcc -shared main.o access.o autokick.o check.o set.o util.o -o main.so
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access-levels.c -o modules/chanserv/access-levels.o
In file included from modules/chanserv/access-levels.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/access-levels.c:74:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
            && isspace(param[6])
               ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:50:40: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_S))
                                            ^~~~
modules/chanserv/access-levels.c:203:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)) {
            ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
modules/chanserv/access-levels.c:516:21: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    shutdown_unused = shutdown_unused;
    ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
4 warnings generated.
gcc -shared access-levels.o -o access-levels.so
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access-xop.c -o modules/chanserv/access-xop.o
In file included from modules/chanserv/access-xop.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/access-xop.c:167:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)) {
            ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
modules/chanserv/access-xop.c:401:21: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    shutdown_unused = shutdown_unused;
    ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
3 warnings generated.
gcc -shared access-xop.o -o access-xop.so
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/sendpass.c -o modules/chanserv/sendpass.o
In file included from modules/chanserv/sendpass.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/chanserv/sendpass.c:212:21: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
    shutdown_unused = shutdown_unused;
    ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
2 warnings generated.
touch .stamp
gcc -shared sendpass.o -o sendpass.so
gmake[2]: Leaving directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules/chanserv'
touch .stamp
gmake[2]: Entering directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules/database'
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/database/version4.c -o modules/database/version4.o
In file included from modules/database/version4.c:11:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/database/version4.c:464:9: warning: explicitly assigning a variable of type 'Module *' (aka 'struct Module_ *') to itself [-Wself-assign]
    mod = mod;
    ~~~ ^ ~~~
modules/database/version4.c:1148:9: warning: explicitly assigning a variable of type 'Module *' (aka 'struct Module_ *') to itself [-Wself-assign]
    mod = mod;
    ~~~ ^ ~~~
3 warnings generated.
touch .stamp
cd ../.. && gcc -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/database/extsyms.c -o modules/database/extsyms.o
In file included from modules/database/extsyms.c:10:
In file included from ./services.h:111:
./extern.h:151:8: warning: incompatible redeclaration of library function 'log'
E void log(const char *fmt, ...)                FORMAT(printf,1,2);
       ^
./extern.h:151:8: note: 'log' is a builtin with type 'double (double)'
modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_return' [-Wimplicit-function-declaration]
IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi);
^
modules/database/extsyms.c:150:5: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
    ^
modules/database/extsyms.c:230:1: note: did you mean '__builtin_memcpy'?
modules/database/extsyms.c:150:5: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
    ^
modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi);
^
modules/database/extsyms.c:150:22: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
                     ^
modules/database/extsyms.c:230:1: note: did you mean '__builtin_memcpy'?
modules/database/extsyms.c:150:22: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
                     ^
modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi);
^
modules/database/extsyms.c:150:43: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
                                          ^
modules/database/extsyms.c:230:1: note: did you mean '__builtin_apply'?
modules/database/extsyms.c:150:43: note: expanded from macro 'IMPORT_FUNC'
    __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \
                                          ^
1 warning and 3 errors generated.
gmake[4]: *** [.compiled-extsyms.o] Error 1
gmake[3]: *** [extsyms.o] Error 2
gmake[2]: *** [version4.so] Error 2
gmake[2]: Leaving directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules/database'
gmake[1]: *** [all-dynamic] Error 2
gmake[1]: Leaving directory `/scratch/chat/ircservices/work/ircservices-5.0.64/modules'
gmake: *** [modules] Error 2
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/chat/ircservices
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/chat/ircservices
