------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/libstrfunc-8.3_2.txz SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nagcon-0.0.32 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nagcon-0.0.32 for building => SHA256 Checksum OK for nagcon-0.0.32.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nagcon-0.0.32 for building ===> Extracting for nagcon-0.0.32 => SHA256 Checksum OK for nagcon-0.0.32.tgz. Extracted Memory Use: 0.09M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for nagcon-0.0.32 ===> Applying ports patches for nagcon-0.0.32 ===> Cleanly applied ports patch(es) patch-br.cpp patch-br.h patch-nc.cpp patch-utils.cpp SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on shared library: libstrfunc.so - found (/usr/local/lib/libstrfunc.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/lib/libncurses.so.6 - found ===> nagcon-0.0.32 depends on shared library: libstrfunc.so - found (/usr/local/lib/libstrfunc.so) ===> Configuring for nagcon-0.0.32 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for nagcon-0.0.32 cc -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.32/error.o /construction/net-mgmt/nagcon/nagcon-0.0.32/error.c c++ -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.o /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'void* myrealloc(void*, int, char*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:139:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("failed to reallocate to %d bytes for %s\n", newsize, what); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'void* mymalloc(int, char*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:149:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("failed to allocate %d bytes for %s\n", size, what); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'char* mystrndup(char*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:167:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("failed to copy string '%s': out of memory?\n", in); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'ssize_t WRITE(int, char*, size_t)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:191:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("Problem writing to filedescriptor\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'int get_filesize(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:215:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("stat failed for %s", filename); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'time_t get_filechanged(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:230:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("stat failed for %s", filename); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'void resolve_host(char*, sockaddr_in*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:248:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("The specified host is unknown.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:252:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("The requested name is valid but does not have an IP address.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:256:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("A non-recoverable name server error occurred.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:260:116: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("A temporary error occurred on an authoritative name server. Try again later.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:264:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("Could not resolve %s for an unknown reason (%d)\n", host, h_errno); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp: In function 'int connect_to(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.cpp:294:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("problem creating socket (%s)", strerror(errno)); ^ c++ -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.32/br.o /construction/net-mgmt/nagcon/nagcon-0.0.32/br.cpp c++ -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.o /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:57:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:57:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:57:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:57:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp: In function 'char* limit_str(char*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:129:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *out = (char *)mymalloc(max_len + 1, "limit_str"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp: In function 'void online_help(int, int)': /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:145:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("failed to create window"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp: In function 'int main(int, char**)': /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:213:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *status_log = "/var/spool/nagios/status.log"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:270:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("invalid sort-order"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:280:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("invalid host-column width"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:286:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("invalid service-column width"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:300:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("error accessing nagios status.log file! (%s)", status_log); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:336:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("internal error: nagios version %d is unknown\n", nagios_version); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:403:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree(host_name, "hostname"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:404:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree(service_d, "service description"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:405:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree(plugin_ou, "plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.cpp:426:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("select failed"); ^ c++ -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.o /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'void parse_2_0_statuslog(int, stats**, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:248:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] *pstats = (struct stats *)myrealloc(*pstats, n_alloc * sizeof(struct stats), "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:250:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("Error allocating memory"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'void parse_1_0_statuslog(int, stats**, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:420:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] *pstats = (struct stats *)myrealloc(*pstats, ((*n_stats) + 1) * sizeof(struct stats), "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:422:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("Error allocating memory"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:586:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("internal error: type %d unexpected\n", type); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:589:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].host_name = host_name?host_name:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:593:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].service_description = service_description?service_description:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:594:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].plugin_output = plugin_output?plugin_output:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'void free_stats_array(stats*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:652:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].host_name, "entry hostname"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:653:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].service_description, "entry servicedescription"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:654:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].plugin_output, "entry plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:655:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].performance_data, "entry performance data"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:656:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].check_command, "entry check command"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:657:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].author, "entry author"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:658:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].check_period, "entry check_period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:659:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].comment_data, "entry comment data"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:660:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].host_notification_period, "entry host notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:661:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].long_plugin_output, "entry long plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:662:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].notification_period, "entry notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:663:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].service_notification_period, "entry service notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:666:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats, "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'int should_i_show_entry(stats*, int, int, char, char, char, char)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:740:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("internal error: state %d not known", pstats[cur_index].current_state); ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'int check_max_age_last_check(stats*, int, int, int, int, int, int, int, int, char**)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:819:137: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest host update", now, pstats[index].last_update, max_time_oldest_host_update, pstats[index].host_name) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:841:123: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest service check", now, pstats[index].last_check, max_time_oldest_service_check, buffer) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:852:116: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "most recent host update", now, most_recent_host_update, max_time_last_host_update, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:858:132: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "most recent last service check", now, most_recent_last_service_check, max_time_last_service_check, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:861:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest next sevice check", now, oldest_next_service_check, max_time_oldest_next_service_check, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp: In function 'void calc_stats_stats(stats*, int, char, char, char, char, int*, int*, int*, int*, int*, int*, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.cpp:895:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_exit("calc_stats_stats: internal error (%d)", pstats[loop].type); ^ cc -lncurses -lstdc++ -L/usr/local/lib -lstrfunc -ltinfo -L/usr/local/lib -Wl,-rpath=/usr/local/lib /construction/net-mgmt/nagcon/nagcon-0.0.32/error.o /construction/net-mgmt/nagcon/nagcon-0.0.32/utils.o /construction/net-mgmt/nagcon/nagcon-0.0.32/br.o /construction/net-mgmt/nagcon/nagcon-0.0.32/nc.o /construction/net-mgmt/nagcon/nagcon-0.0.32/pl.o -o /construction/net-mgmt/nagcon/nagcon-0.0.32/nagcon SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> nagcon-0.0.32 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for nagcon-0.0.32 ===> nagcon-0.0.32 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Generating temporary packing list install -s -m 555 /construction/net-mgmt/nagcon/nagcon-0.0.32/nagcon /construction/net-mgmt/nagcon/stage/usr/local/bin ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for nagcon-0.0.32 file sizes/checksums [1]: 0% file sizes/checksums [1]: 100% packing files [1]: 0% packing files [1]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:12