Log
[1m===> Building for apachetop-0.12.6_3[0m
--- ./config.h.in ---
--- stamp-h ---
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
--- config.h ---
--- all ---
/usr/bin/make all-recursive
--- all-recursive ---
Making all in man
--- ./Makefile.in ---
cd .. && /bin/sh /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6/config/missing --run automake --gnu man/Makefile
/magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6/config/missing: automake: not found
WARNING: `automake' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
--- Makefile ---
cd .. && CONFIG_HEADERS= CONFIG_LINKS= CONFIG_FILES=man/Makefile /bin/sh ./config.status
config.status: creating man/Makefile
config.status: executing default-1 commands
Making all in src
--- apachetop.o ---
--- log.o ---
--- inlines.o ---
--- ohtbl.o ---
--- apachetop.o ---
source='apachetop.cc' object='apachetop.o' libtool=no depfile='.deps/apachetop.Po' tmpdepfile='.deps/apachetop.TPo' depmode=gcc3 /bin/sh ../config/depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c -o apachetop.o `test -f apachetop.cc || echo './'`apachetop.cc
--- log.o ---
source='log.cc' object='log.o' libtool=no depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo' depmode=gcc3 /bin/sh ../config/depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c -o log.o `test -f log.cc || echo './'`log.cc
--- inlines.o ---
source='inlines.cc' object='inlines.o' libtool=no depfile='.deps/inlines.Po' tmpdepfile='.deps/inlines.TPo' depmode=gcc3 /bin/sh ../config/depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c -o inlines.o `test -f inlines.cc || echo './'`inlines.cc
--- ohtbl.o ---
source='ohtbl.cc' object='ohtbl.o' libtool=no depfile='.deps/ohtbl.Po' tmpdepfile='.deps/ohtbl.TPo' depmode=gcc3 /bin/sh ../config/depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c -o ohtbl.o `test -f ohtbl.cc || echo './'`ohtbl.cc
--- inlines.o ---
inlines.cc:7:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
--- apachetop.o ---
apachetop.cc:211:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
--- inlines.o ---
inline unsigned int StringHash(register const char *str)
^~~~~~~~~
--- apachetop.o ---
if (new_file(DEFAULT_LOGFILE, SEEK_TO_END) != -1)
^
--- ohtbl.o ---
In file included from ohtbl.cc:3:
--- apachetop.o ---
./apachetop.h:251:26: note: expanded from macro 'DEFAULT_LOGFILE'
--- ohtbl.o ---
./inlines.cc:7:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
--- apachetop.o ---
# define DEFAULT_LOGFILE "/var/log/httpd-access.log"
^
--- ohtbl.o ---
inline unsigned int StringHash(register const char *str)
^~~~~~~~~
./inlines.cc:9:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val;
^~~~~~~~~
./inlines.cc:10:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int i;
^~~~~~~~~
./inlines.cc:22:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned int QuickHash(register const char *str)
^~~~~~~~~
./inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val, tmp;
^~~~~~~~~
./inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
--- apachetop.o ---
apachetop.cc:274:18: error: cast from pointer to smaller type 'char' loses information
memset(&gstats, (char) NULL, sizeof(gstats));
^~~~~~~~~~~
apachetop.cc:468:17: error: cast from pointer to smaller type 'char' loses information
*nextline = (char) NULL;
^~~~~~~~~~~
apachetop.cc:565:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
SUBMENU_SORT_HB_TITLE,
^
apachetop.cc:533:31: note: expanded from macro 'SUBMENU_SORT_HB_TITLE'
#define SUBMENU_SORT_HB_TITLE "sort by.."
^
apachetop.cc:567:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
SUBMENU_SORT_HB_BANNER);
^
--- log.o ---
In file included from log.cc:3:
./inlines.cc:7:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned int StringHash(register const char *str)
^~~~~~~~~
./inlines.cc:9:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val;
^~~~~~~~~
./inlines.cc:10:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int i;
^~~~~~~~~
./inlines.cc:22:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned int QuickHash(register const char *str)
^~~~~~~~~
./inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val, tmp;
--- inlines.o ---
inlines.cc:9:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val;
^~~~~~~~~
inlines.cc:10:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int i;
^~~~~~~~~
inlines.cc:22:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned int QuickHash(register const char *str)
^~~~~~~~~
inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val, tmp;
^~~~~~~~~
inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val, tmp;
^~~~~~~~~
--- ohtbl.o ---
register unsigned int val, tmp;
^~~~~~~~~
./inlines.cc:35:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned long TTHash(register const char *str)
^~~~~~~~~
ohtbl.cc:16:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int *prime;
^~~~~~~~~
ohtbl.cc:54:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
ohtbl.cc:54:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
ohtbl.cc:84:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
--- apachetop.o ---
apachetop.cc:534:32: note: expanded from macro 'SUBMENU_SORT_HB_BANNER'
#define SUBMENU_SORT_HB_BANNER "r) REQUESTS R) REQS/SEC b) BYTES B) BYTES/SEC"
^
apachetop.cc:575:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
SUBMENU_SORT_RC_TITLE,
^
apachetop.cc:535:31: note: expanded from macro 'SUBMENU_SORT_RC_TITLE'
#define SUBMENU_SORT_RC_TITLE "sort by.."
^
apachetop.cc:577:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
SUBMENU_SORT_RC_BANNER);
^
apachetop.cc:536:32: note: expanded from macro 'SUBMENU_SORT_RC_BANNER'
#define SUBMENU_SORT_RC_BANNER "2) 2xx 3) 3xx 4) 4xx 5) 5xx"
^
--- log.o ---
^~~~~~~~~
./inlines.cc:24:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int val, tmp;
^~~~~~~~~
./inlines.cc:35:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned long TTHash(register const char *str)
^~~~~~~~~
log.cc:40:11: error: cast from pointer to smaller type 'char' loses information
*bufcp = (char) NULL;
^~~~~~~~~~~
log.cc:166:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
b->ref_pos = rm->insert("Unknown");
^
log.cc:175:11: error: cast from pointer to smaller type 'char' loses information
*bufcp = (char) NULL;
^~~~~~~~~~~
log.cc:233:12: error: cast from pointer to smaller type 'char' loses information
--- inlines.o ---
inlines.cc:35:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
inline unsigned long TTHash(register const char *str)
^~~~~~~~~
7 warnings generated.
--- ohtbl.o ---
ohtbl.cc:84:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
ohtbl.cc:111:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
ohtbl.cc:111:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned int p, i;
^~~~~~~~~
--- apachetop.o ---
apachetop.cc:589:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
display_submenu_banner(SUBMENU_DISP_TITLE,
^
apachetop.cc:538:28: note: expanded from macro 'SUBMENU_DISP_TITLE'
#define SUBMENU_DISP_TITLE "toggle subdisplay.."
^
apachetop.cc:590:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
sizeof(SUBMENU_DISP_TITLE), SUBMENU_DISP_BANNER);
^
apachetop.cc:539:29: note: expanded from macro 'SUBMENU_DISP_BANNER'
#define SUBMENU_DISP_BANNER "u) URLS r) REFERRERS h) HOSTS"
^
apachetop.cc:599:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
display_submenu_banner(SUBMENU_FILT_TITLE,
--- log.o ---
*endptr = (char) NULL;
^~~~~~~~~~~
log.cc:261:12: error: cast from pointer to smaller type 'char' loses information
*endptr = (char) NULL;
^~~~~~~~~~~
log.cc:276:16: error: cast from pointer to smaller type 'char' loses information
*workptr = (char) NULL;
^~~~~~~~~~~
log.cc:311:12: error: cast from pointer to smaller type 'char' loses information
*bufcp = (char) NULL;
^~~~~~~~~~~
8 warnings and 6 errors generated.
--- apachetop.o ---
^
apachetop.cc:541:28: note: expanded from macro 'SUBMENU_FILT_TITLE'
#define SUBMENU_FILT_TITLE "filters.."
^
apachetop.cc:600:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
sizeof(SUBMENU_FILT_TITLE), SUBMENU_FILT_BANNER);
^
apachetop.cc:542:29: note: expanded from macro 'SUBMENU_FILT_BANNER'
#define SUBMENU_FILT_BANNER "a) add/edit menu c) clear all s) show active"
^
apachetop.cc:830:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
display_submenu_banner(SUBMENU_FILT_ADD_TITLE,
^
apachetop.cc:544:32: note: expanded from macro 'SUBMENU_FILT_ADD_TITLE'
#define SUBMENU_FILT_ADD_TITLE "filters: add.."
^
apachetop.cc:832:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
SUBMENU_FILT_ADD_BANNER);
^
apachetop.cc:545:33: note: expanded from macro 'SUBMENU_FILT_ADD_BANNER'
#define SUBMENU_FILT_ADD_BANNER "u) to URLS r) to REFERRERS h) to HOSTS"
^
apachetop.cc:1113:39: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
strncat( fileName, "/debug", sizeof(fileName ) );
^~~~~~~~~~~~~~~~~
apachetop.cc:1113:39: note: change the argument to be the free space in the destination buffer minus the terminating null byte
strncat( fileName, "/debug", sizeof(fileName ) );
^~~~~~~~~~~~~~~~~
sizeof(fileName) - strlen(fileName) - 1
12 warnings and 2 errors generated.
--- log.o ---
*** [log.o] Error code 1
make[3]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6/src
--- apachetop.o ---
*** [apachetop.o] Error code 1
make[3]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6/src
--- ohtbl.o ---
14 warnings generated.
2 errors
make[3]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6/src
*** [all-recursive] Error code 1
make[2]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6
1 error
make[2]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6
*** [all] Error code 2
make[1]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6
1 error
make[1]: stopped in /magus/work/usr/mports/sysutils/apachetop/work/apachetop-0.12.6
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/sysutils/apachetop