Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2019 04:51:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-powerpc64-default][net-mgmt/ndoutils] Failed for ndoutils-2.1.3 in build
Message-ID:  <201908090451.x794p5mS006421@pylon.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:     bofh@FreeBSD.org
Last committer: bofh@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/ndoutils/Makefile 468239 2018-04-24 20:04:13Z bofh $
Log URL:        http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p508224_s350620/logs/ndoutils-2.1.3.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=head-powerpc64-default&build=p508224_s350620
Log:

=>> Building net-mgmt/ndoutils
build started at Fri Aug  9 04:49:15 UTC 2019
port directory: /usr/ports/net-mgmt/ndoutils
package name: ndoutils-2.1.3
building for: FreeBSD head-powerpc64-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300038 powerpc
maintained by: bofh@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/ndoutils/Makefile 468239 2018-04-24 20:04:13Z bofh $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300037
Jail OSVERSION: 1300038
Job Id: 01




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300038
UNAME_v=FreeBSD 13.0-CURRENT 1300038
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
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 ndoutils-2.1.3:
     DOCS=on: Build and/or install documentation
     NANOSLEEP=on: Use of nanosleep in event timing
====> Options available for the single NAGIOS_BACKEND: you have to select exactly one of them
     NAGIOS3X=on: For Nagios 3.X Series
     NAGIOS4X=off: For Nagios 4.X Series
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--sysconfdir=/usr/local/etc/ndoutils  --localstatedir=/var/run --enable-mysql  --with-mysql=/usr/local --enable-nanosleep --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work  HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ndoutils/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--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work  HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ndoutils/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  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -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="in
 stall  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.2  PERL_VER=5.28  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.28 DOCSDIR="share/doc/ndoutils"  EXAMPLESDIR="share/examples/ndoutils"  DATADIR="share/ndoutils"  WWWDIR="www/ndoutils"  ETCDIR="etc/ndoutils"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ndoutils DOCSDIR=/usr/local/share/doc/ndoutils EXAMPLESDIR=/usr/local/share/examples/ndoutils  WWWDIR=/usr/local/www/ndoutils ETCDIR=/usr/local/etc/ndoutils
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300038
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ndoutils-2.1.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[head-powerpc64-default-job-01] Installing pkg-1.11.1...
[head-powerpc64-default-job-01] Extracting pkg-1.11.1: .......... done
===>   ndoutils-2.1.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ndoutils-2.1.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ndoutils-2.1.3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ndoutils-2.1.3 for building
=> SHA256 Checksum OK for ndoutils-2.1.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ndoutils-2.1.3 for building
===>  Extracting for ndoutils-2.1.3
=> SHA256 Checksum OK for ndoutils-2.1.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ndoutils-2.1.3
<snip>
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for signal.h... (cached) yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking for stdarg.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for sys/mman.h... (cached) yes
checking for sys/msg.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking for uint32_t... yes
checking for u_int32_t... (cached) yes
checking for int32_t... (cached) yes
checking for main in -lnsl... no
checking for socket in -lsocket... no
checking for main in -lwrap... yes
checking for getopt_long... yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for strtoul... (cached) yes
checking for initgroups... yes
checking for strtof... (cached) yes
checking for nanosleep... yes
checking for va_copy... yes
checking for snprintf... (cached) yes
checking for asprintf... (cached) yes
checking for type of socket size... size_t
checking for linker flags for loadable modules... -shared
checking for mysql_init in -lmysqlclient... no


*** MySQL library could not be located... **************************

You chose to compile NDOutils with MySQL support, but I was unable to
locate the MySQL library on your system.  If the library is
installed, use the --with-mysql=DIR argument to specify the
location of the MySQL library, We assume mysql_config is in DIR/bin
NOTE: After you install the necessary libraries on your system:
      1. Make sure /etc/ld.so.conf has an entry for the directory in
         which the MySQL libraries are installed.
      2. Run 'ldconfig' to update the run-time linker options.
      3. Run 'make devclean' in the NDBXT distribution to clean out
         any old references to your previous compile.
      4. Rerun the configure script.

TIP: Try the following....
      ./configure --with-mysql=/usr/lib/mysql

********************************************************************


checking for library containing sd_listen_fds... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config/ndo2db.cfg-sample
config.status: creating config/ndomod.cfg-sample
config.status: creating config/nagios.cfg
config.status: creating config/misccommands.cfg
config.status: creating docs/docbook/en-en/Makefile
config.status: creating include/io.h
config.status: creating include/common.h
config.status: creating startup/bsd-init
config.status: creating startup/debian-init
config.status: creating startup/default-init
config.status: creating startup/default-inetd
config.status: creating startup/default-service
config.status: creating startup/default-socket
config.status: creating startup/default-socket-svc
config.status: creating startup/default-xinetd
config.status: creating startup/mac-init.plist
config.status: creating startup/mac-inetd.plist
config.status: creating startup/newbsd-init
config.status: creating startup/openbsd-init
config.status: creating startup/openrc-conf
config.status: creating startup/openrc-init
config.status: creating startup/solaris-init.xml
config.status: creating startup/solaris-inetd.xml
config.status: creating startup/tmpfile.conf
config.status: creating startup/upstart-init
config.status: creating startup/rh-upstart-init
config.status: creating include/config.h


*** Configuration summary for ndoutils 2.1.3 2017-04-13 ***:

 General Options:
 -------------------------
 NDO2DB user:      nagios
 NDO2DB group:     nagios
 NDO2DB tcp port:  5668


Review the options above for accuracy.  If they look
okay, type 'make all' to compile the NDO utilities,
or type 'make' to get a list of make options.

===========================================================================
=======================<phase: build          >============================
===>  Building for ndoutils-2.1.3
cd ./src && /usr/bin/make
cc  -fPIC -O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -c -o io.o io.c
cc  -fPIC -O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -c -o utils.o utils.c
cc -fPIC -O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -fstack-protector-strong  -lm  
cc -fPIC -O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -fstack-protector-strong  -lm  
/usr/bin/make ndo2db-3x
cc -fPIC -O2 -pipe  -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -c -o db.o db.c
db.c: In function 'ndo2db_db_init':
db.c:169: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c: In function 'ndo2db_db_connect':
db.c:211: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:218: error: 'CLIENT_REMEMBER_OPTIONS' undeclared (first use in this function)
db.c:218: error: (Each undeclared identifier is reported only once
db.c:218: error: for each function it appears in.)
db.c:220: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:221: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c: In function 'ndo2db_db_disconnect':
db.c:244: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c: In function 'ndo2db_db_hello':
db.c:268: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:268: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:269: error: 'ndo2db_dbconninfo' has no member named 'mysql_row'
db.c:269: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:270: error: 'ndo2db_dbconninfo' has no member named 'mysql_row'
db.c:273: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:274: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:283: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:303: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c: In function 'ndo2db_db_query':
db.c:477: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:479: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c: In function 'ndo2db_handle_db_error':
db.c:512: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:513: error: 'CR_SERVER_LOST' undeclared (first use in this function)
db.c:513: error: 'CR_SERVER_GONE_ERROR' undeclared (first use in this function)
db.c: In function 'ndo2db_db_get_latest_data_time':
db.c:565: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:565: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
db.c:566: error: 'ndo2db_dbconninfo' has no member named 'mysql_row'
db.c:566: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:567: error: 'ndo2db_dbconninfo' has no member named 'mysql_row'
db.c:569: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
db.c:570: error: 'ndo2db_dbconninfo' has no member named 'mysql_result'
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/ndoutils



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