Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 04:12:49 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][dns/posadis] Failed for posadis-0.60.5_5 in build
Message-ID:  <201408150412.s7F4CnmJ024420@beefy1.isc.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:     ports@FreeBSD.org
Last committer: adamw@FreeBSD.org
Ident:          $FreeBSD: head/dns/posadis/Makefile 360706 2014-07-05 00:18:17Z adamw $
Log URL:        http://beefy1.isc.freebsd.org/data/head-i386-default/2014-08-14_12h39m17s/logs/posadis-0.60.5_5.log
Build URL:      http://beefy1.isc.freebsd.org/build.html?mastername=head-i386-default&build=2014-08-14_12h39m17s
Log:

====>> Building dns/posadis
build started at Fri Aug 15 04:12:20 UTC 2014
port directory: /usr/ports/dns/posadis
building for: FreeBSD head-i386-default-job-12 11.0-CURRENT FreeBSD 11.0-CURRENT r269899 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/dns/posadis/Makefile 360706 2014-07-05 00:18:17Z adamw $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1100028




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



---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269899
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=posadis-0.60.5_5
OLDPWD=/root/poudriere
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for posadis-0.60.5_5:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/dns/posadis/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/posadis/work  HOME=/wrkdirs/usr/ports/dns/posadis/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/dns/posadis/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/posadis/work  HOME=/wrkdirs/usr/ports/dns/posadis/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh  AUTOCONF=/usr/local/bin/autoconf-2.69  AUTOCONF_DIR=/usr/local/share/autoconf-2.69  AUTOHEADER=/usr/local/bin/autoheader-2.69  AUTOIFNAMES=/usr/local/bin/ifnames-2.69  AUTOM4TE=/usr/local/bin/autom4te-2.69  AUTORECONF=/usr/local/bin/autoreconf-2.69  AUTOSCAN=/usr/local/bin/autoscan-2.69  AUTOUPDATE=/usr/local/bin/autoupdate-2.69  AUTOCONF_VERSION=2.69 LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.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/dns/posadis/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/posadis/work  HOME=/wrkdirs/usr/ports/dns/posadis/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/dns/posadis/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/posadis/work  HOME=/wrkdirs/usr/ports/dns/posadis/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES  AUTOCONF=/usr/local/bin/autoconf-2.69  AUTOCONF_DIR=/usr/local/share/autoconf-2.69  AUTOHEADER=/usr/local/bin/autoheader-2.69  AUTOIFNAMES=/usr/local/bin/ifnames-2.69  AUTOM4TE=/usr/local/bin/autom4te-2.69  AUTORECONF=/usr/local/bin/autoreconf-2.69  AUTOSCAN=/usr/local/bin/autoscan-2.69  AUTOUPDATE=/usr/local/bin/autoupdate-2.69  AUTOCONF_VERSION=2.69 LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh PREFIX=/usr/local  LOCALBASE=/u
 sr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
FAM="@comment
"
VERSION="0.60.5"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/posadis"
EXAMPLESDIR="share/examples/posadis"
DATADIR="share/posadis"
WWWDIR="www/posadis"
ETCDIR="etc/posadis"
--End PLIST_SUB--

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

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
# clean-restricted via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===========================================================================
=======================<phase: pkg-depends    >============================
===>   posadis-0.60.5_5 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.3.6.txz
[head-i386-default-job-12] Installing pkg-1.3.6... done
Message for pkg-1.3.6:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of posadis-0.60.5_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> Fetching all distfiles required by posadis-0.60.5_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> Fetching all distfiles required by posadis-0.60.5_5 for building
=> SHA256 Checksum OK for posadis-0.60.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> Fetching all distfiles required by posadis-0.60.5_5 for building
===>  Extracting for posadis-0.60.5_5
=> SHA256 Checksum OK for posadis-0.60.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for posadis-0.60.5_5
===>  Applying FreeBSD patches for posadis-0.60.5_5
===========================================================================
=======================<phase: build-depends  >============================
===>   posadis-0.60.5_5 depends on file: /usr/local/bin/autoconf-2.69 - not found
===>    Verifying install for /usr/local/bin/autoconf-2.69 in /usr/ports/devel/autoconf
===>   Installing existing package /packages/All/autoconf-2.69.txz
[head-i386-default-job-12] Installing autoconf-wrapper-20131203... done
[head-i386-default-job-12] Installing indexinfo-0.2... done
[head-i386-default-job-12] Installing m4-1.4.17_1,1... done
[head-i386-default-job-12] Installing perl5-5.16.3_11... done
[head-i386-default-job-12] Installing perl5-5.16.3_11... done
===>   Returning to build of posadis-0.60.5_5
===>   posadis-0.60.5_5 depends on package: libtool>=2.4 - not found
===>    Verifying install for libtool>=2.4 in /usr/ports/devel/libtool
===>   Installing existing package /packages/All/libtool-2.4.2_3.txz
[head-i386-default-job-12] Installing libtool-2.4.2_3... done
===>   Returning to build of posadis-0.60.5_5
===========================================================================
=======================<phase: lib-depends    >============================
===>   posadis-0.60.5_5 depends on shared library: libposlib.so - not found
===>    Verifying for libposlib.so in /usr/ports/devel/poslib
===>   Installing existing package /packages/All/poslib-1.0.6_1.txz
<snip>
In file included from cacheapply.cpp:19:
In file included from ./recursive.h:23:
In file included from ./zones.h:23:
In file included from ./hashvector.h:24:
./pbl.h:49:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
static char* _PBL_H_id = "$Id: pbl.h,v 1.3 2003/08/23 12:57:02 meilof Exp $";
                         ^
4 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/poslib-1.0.6 -I/usr/local/lib/poslib-1.0.6/include/ -funsigned-char -D_THREAD_SAFE  -I..  -I/usr/local/include  -O3 -c forward.cpp
In file included from forward.cpp:18:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:115:
In file included from /usr/local/include/poslib-1.0.6/poslib/dnsmessage.h:29:
/usr/local/include/poslib-1.0.6/poslib/domainfn.h:96:55: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
  domainname(const char *text, const _domain origin = "");
                                                      ^
In file included from forward.cpp:18:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:123:
/usr/local/include/poslib-1.0.6/poslib/rr.h:251:77: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = "");
                                                                            ^
In file included from forward.cpp:20:
In file included from ./zones.h:22:
/usr/local/include/poslib-1.0.6/poslib/server/server.h:21:9: warning: '__POSLIB_SERVER_SEEVER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __POSLIB_SERVER_SEEVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/poslib-1.0.6/poslib/server/server.h:22:9: note: '__POSLIB_SERVER_SERVER_H' is defined here; did you mean '__POSLIB_SERVER_SEEVER_H'?
#define __POSLIB_SERVER_SERVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
        __POSLIB_SERVER_SEEVER_H
In file included from forward.cpp:20:
In file included from ./zones.h:23:
In file included from ./hashvector.h:24:
./pbl.h:49:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
static char* _PBL_H_id = "$Id: pbl.h,v 1.3 2003/08/23 12:57:02 meilof Exp $";
                         ^
4 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/poslib-1.0.6 -I/usr/local/lib/poslib-1.0.6/include/ -funsigned-char -D_THREAD_SAFE  -I..  -I/usr/local/include  -O3 -c recursive.cpp
In file included from recursive.cpp:18:
In file included from ./recursive.h:21:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:115:
In file included from /usr/local/include/poslib-1.0.6/poslib/dnsmessage.h:29:
/usr/local/include/poslib-1.0.6/poslib/domainfn.h:96:55: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
  domainname(const char *text, const _domain origin = "");
                                                      ^
In file included from recursive.cpp:18:
In file included from ./recursive.h:21:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:123:
/usr/local/include/poslib-1.0.6/poslib/rr.h:251:77: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = "");
                                                                            ^
In file included from recursive.cpp:18:
In file included from ./recursive.h:23:
In file included from ./zones.h:22:
/usr/local/include/poslib-1.0.6/poslib/server/server.h:21:9: warning: '__POSLIB_SERVER_SEEVER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __POSLIB_SERVER_SEEVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/poslib-1.0.6/poslib/server/server.h:22:9: note: '__POSLIB_SERVER_SERVER_H' is defined here; did you mean '__POSLIB_SERVER_SEEVER_H'?
#define __POSLIB_SERVER_SERVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
        __POSLIB_SERVER_SEEVER_H
In file included from recursive.cpp:18:
In file included from ./recursive.h:23:
In file included from ./zones.h:23:
In file included from ./hashvector.h:24:
./pbl.h:49:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
static char* _PBL_H_id = "$Id: pbl.h,v 1.3 2003/08/23 12:57:02 meilof Exp $";
                         ^
4 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/poslib-1.0.6 -I/usr/local/lib/poslib-1.0.6/include/ -funsigned-char -D_THREAD_SAFE  -I..  -I/usr/local/include  -O3 -c resolver.cpp
In file included from resolver.cpp:18:
In file included from ./resolver.h:21:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:115:
In file included from /usr/local/include/poslib-1.0.6/poslib/dnsmessage.h:29:
/usr/local/include/poslib-1.0.6/poslib/domainfn.h:96:55: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
  domainname(const char *text, const _domain origin = "");
                                                      ^
In file included from resolver.cpp:18:
In file included from ./resolver.h:21:
In file included from /usr/local/include/poslib-1.0.6/poslib/poslib.h:123:
/usr/local/include/poslib-1.0.6/poslib/rr.h:251:77: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = "");
                                                                            ^
In file included from resolver.cpp:18:
In file included from ./resolver.h:22:
/usr/local/include/poslib-1.0.6/poslib/server/server.h:21:9: warning: '__POSLIB_SERVER_SEEVER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __POSLIB_SERVER_SEEVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/poslib-1.0.6/poslib/server/server.h:22:9: note: '__POSLIB_SERVER_SERVER_H' is defined here; did you mean '__POSLIB_SERVER_SEEVER_H'?
#define __POSLIB_SERVER_SERVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
        __POSLIB_SERVER_SEEVER_H
In file included from resolver.cpp:18:
In file included from ./resolver.h:23:
In file included from ./zones.h:23:
In file included from ./hashvector.h:24:
./pbl.h:49:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
static char* _PBL_H_id = "$Id: pbl.h,v 1.3 2003/08/23 12:57:02 meilof Exp $";
                         ^
4 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/poslib-1.0.6 -I/usr/local/lib/poslib-1.0.6/include/ -funsigned-char -D_THREAD_SAFE  -I..  -I/usr/local/include  -O3 -c configuration.cpp
In file included from configuration.cpp:18:
In file included from /usr/local/include/poslib-1.0.6/poslib/server/server.h:90:
In file included from /usr/local/include/poslib-1.0.6/poslib/server/../poslib.h:115:
In file included from /usr/local/include/poslib-1.0.6/poslib/dnsmessage.h:29:
/usr/local/include/poslib-1.0.6/poslib/domainfn.h:96:55: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
  domainname(const char *text, const _domain origin = "");
                                                      ^
In file included from configuration.cpp:18:
In file included from /usr/local/include/poslib-1.0.6/poslib/server/server.h:90:
In file included from /usr/local/include/poslib-1.0.6/poslib/server/../poslib.h:123:
/usr/local/include/poslib-1.0.6/poslib/rr.h:251:77: warning: conversion from string literal to '_domain' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = "");
                                                                            ^
In file included from configuration.cpp:18:
/usr/local/include/poslib-1.0.6/poslib/server/server.h:21:9: warning: '__POSLIB_SERVER_SEEVER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __POSLIB_SERVER_SEEVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/poslib-1.0.6/poslib/server/server.h:22:9: note: '__POSLIB_SERVER_SERVER_H' is defined here; did you mean '__POSLIB_SERVER_SEEVER_H'?
#define __POSLIB_SERVER_SERVER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
        __POSLIB_SERVER_SEEVER_H
In file included from configuration.cpp:21:
In file included from ./configuration.h:22:
In file included from ./zones.h:23:
In file included from ./hashvector.h:24:
./pbl.h:49:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
static char* _PBL_H_id = "$Id: pbl.h,v 1.3 2003/08/23 12:57:02 meilof Exp $";
                         ^
configuration.cpp:35:16: error: use of undeclared identifier 'PATH_MAX'
char i_logfile[PATH_MAX];
               ^
configuration.cpp:39:16: error: use of undeclared identifier 'PATH_MAX'
char i_confdir[PATH_MAX];
               ^
configuration.cpp:43:16: error: use of undeclared identifier 'PATH_MAX'
char i_datadir[PATH_MAX];
               ^
configuration.cpp:112:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
  if (confdir[0] == 0) throw PException("You should specify a configdir before setting AllZoneFiles");
                                        ^
configuration.cpp:119:58: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
  if ((dir = opendir(confdir)) == NULL) throw PException("Could not open configdir for reading");
                                                         ^
configuration.cpp:131:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      throw PException(true, "Zonefile %s: %s", ent->d_name, p.message);
                             ^
configuration.cpp:144:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    pos_log(context_conf, log_warning, "The mfdir command is obsolete. Use configdir instead.");
                                       ^
configuration.cpp:148:30: error: use of undeclared identifier 'PATH_MAX'
    if (strlen(value) + 2 >= PATH_MAX) printf("Master file path too long");
                             ^
configuration.cpp:174:30: error: use of undeclared identifier 'PATH_MAX'
    if (strlen(value) + 1 >= PATH_MAX) throw PException("Data dir name too long");
                             ^
configuration.cpp:174:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (strlen(value) + 1 >= PATH_MAX) throw PException("Data dir name too long");
                                                        ^
configuration.cpp:182:26: error: use of undeclared identifier 'PATH_MAX'
    if (strlen(value) >= PATH_MAX) throw PException("Log file name too long");
                         ^
configuration.cpp:182:53: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (strlen(value) >= PATH_MAX) throw PException("Log file name too long");
                                                    ^
configuration.cpp:189:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (strlen(value) >= 127) throw PException("User name too long");
                                               ^
configuration.cpp:193:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (strlen(value) >= 127) throw PException("User name too long");
                                               ^
configuration.cpp:214:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      throw PException(true, "Could not listen to network interface %s: %s", value, p.message);
                             ^
configuration.cpp:225:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (confdir[0] == 0) throw PException("You should specify a configdir before loading any zone files");
                                          ^
configuration.cpp:234:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      throw PException(true, "%s cannot be recognized as a zone or master file. Make sure it is either in zn.<zone>, <zone>.znf, db.<zone> or <zone>.znf format.", value);
                             ^
15 warnings and 6 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/dns/posadis/work/posadis-0.60.5/pos6
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/dns/posadis/work/posadis-0.60.5/pos6
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/dns/posadis/work/posadis-0.60.5
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/dns/posadis/work/posadis-0.60.5
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/posadis



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