Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 20:42:14 GMT
From:      pkg-fallout@FreeBSD.org
To:        lukasz@wasikowski.net
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][sysutils/apachetop] Failed for apachetop-0.12.6_5 in build
Message-ID:  <201801252042.w0PKgETm029911@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     lukasz@wasikowski.net
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/sysutils/apachetop/Makefile 444463 2017-06-27 13:46:53Z sunpoet $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459899_s328383/logs/apachetop-0.12.6_5.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p459899_s328383
Log:

=>> Building sysutils/apachetop
build started at Thu Jan 25 20:42:06 UTC 2018
port directory: /usr/ports/sysutils/apachetop
package name: apachetop-0.12.6_5
building for: FreeBSD head-amd64-default-job-13 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: lukasz@wasikowski.net
Makefile ident:      $FreeBSD: head/sysutils/apachetop/Makefile 444463 2017-06-27 13:46:53Z sunpoet $
Poudriere version: 3.2.4-3-g97a70595
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 13




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-3-g97a70595
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for apachetop-0.12.6_5:
     ADNS=off: Asynchronous-capable DNS support
     FAM=off: File Alteration Monitor support
     PCRE=off: Use Perl Compatible Regular Expressions
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lukasz@wasikowski.net
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/apachetop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/apachetop/work  HOME=/wrkdirs/usr/ports/sysutils/apachetop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/apachetop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/apachetop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/apachetop/work  HOME=/wrkdirs/usr/ports/sysutils/apachetop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/apachetop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/apachetop"  EXAMPLESDIR="share/examples/apachetop"  DATADIR="share/apachetop"  WWWDIR="www/apachetop"  ETCDIR="etc/apachetop"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/apachetop DOCSDIR=/usr/local/share/doc/apachetop EXAMPLESDIR=/usr/local/share/examples/apachetop  WWWDIR=/usr/local/www/apachetop ETCDIR=/usr/local/etc/apachetop
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   apachetop-0.12.6_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-13] Installing pkg-1.10.4...
[head-amd64-default-job-13] Extracting pkg-1.10.4: .......... done
===>   apachetop-0.12.6_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of apachetop-0.12.6_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by apachetop-0.12.6_5 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by apachetop-0.12.6_5 for building
=> SHA256 Checksum OK for apachetop-0.12.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by apachetop-0.12.6_5 for building
===>  Extracting for apachetop-0.12.6_5
=> SHA256 Checksum OK for apachetop-0.12.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for apachetop-0.12.6_5
===>  Applying FreeBSD patches for apachetop-0.12.6_5
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   apachetop-0.12.6_5 depends on shared library: libreadline.so.7 - not found
===>   Installing existing package /packages/All/readline-7.0.3_1.txz
[head-amd64-default-job-13] Installing readline-7.0.3_1...
[head-amd64-default-job-13] `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-13] `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-13] Extracting readline-7.0.3_1: .......... done
===>   apachetop-0.12.6_5 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7)
===>   Returning to build of apachetop-0.12.6_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for apachetop-0.12.6_5
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output... 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 c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for egrep... grep -E
checking for ANSI C header files... (cached) 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 arpa/inet.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for inet_aton... (cached) yes
checking for memset... (cached) yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for kqueue... yes
checking for strerror... (cached) yes
checking for strstr... yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
configure: WARNING: *** pcre.h not found -- consider using --with-pcre
checking fam.h usability... no
checking fam.h presence... no
checking for fam.h... no
configure: WARNING: *** fam.h not found -- consider using --with-fam
checking adns.h usability... no
checking adns.h presence... no
checking for adns.h... no
configure: WARNING: *** adns.h not found -- consider using --with-adns
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing attron... -lncurses
checking for library containing tgetstr... none required
checking for library containing mvprintw... none required
checking for library containing readline... -lreadline
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating config/Makefile
config.status: creating config.h
config.status: executing default-1 commands
===========================================================================
=======================<phase: build          >============================
===>  Building for apachetop-0.12.6_5
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
/usr/bin/make  all-recursive
Making all in man
cd .. &&  /bin/sh /wrkdirs/usr/ports/sysutils/apachetop/work/apachetop-0.12.6/config/missing --run automake --gnu  man/Makefile
/wrkdirs/usr/ports/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.
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
cd .. &&  CONFIG_HEADERS= CONFIG_LINKS=  CONFIG_FILES=src/Makefile /bin/sh ./config.status
config.status: creating src/Makefile
config.status: executing default-1 commands
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..    -I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing -c -o apachetop.o `test -f apachetop.cc || echo './'`apachetop.cc
apachetop.cc:211:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                if (new_file(DEFAULT_LOGFILE, SEEK_TO_END) != -1)
                             ^
./apachetop.h:251:26: note: expanded from macro 'DEFAULT_LOGFILE'
# define DEFAULT_LOGFILE "/var/log/httpd-access.log"
                         ^
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);
                                            ^
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"
                               ^
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,
                                               ^
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.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/sysutils/apachetop/work/apachetop-0.12.6/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/sysutils/apachetop/work/apachetop-0.12.6
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/apachetop/work/apachetop-0.12.6
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/apachetop



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801252042.w0PKgETm029911>