Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 10:48:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        pakhom706@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][multimedia/zoneminder] Failed for zoneminder-1.25.0_3 in build
Message-ID:  <201401301048.s0UAmwXS022381@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:     pakhom706@gmail.com
Last committer: wg@FreeBSD.org
Ident:          $FreeBSD: head/multimedia/zoneminder/Makefile 329850 2013-10-08 23:25:26Z wg $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-01-30_03h34m08s/logs/zoneminder-1.25.0_3.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-01-30_03h34m08s
Log:

====>> Building multimedia/zoneminder
build started at Thu Jan 30 10:48:18 UTC 2014
port directory: /usr/ports/multimedia/zoneminder
building for: FreeBSD head-i386-default-job-13 11.0-CURRENT FreeBSD 11.0-CURRENT r260903 i386
maintained by: pakhom706@gmail.com
Makefile ident:      $FreeBSD: head/multimedia/zoneminder/Makefile 329850 2013-10-08 23:25:26Z wg $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260903
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=95505
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=zoneminder-1.25.0_3
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-mysql=/usr/local  --with-webdir=/usr/local/www/zoneminder/data  --with-cgidir=/usr/local/www/zoneminder/cgi-bin  --with-webgroup=www  --with-webuser=www  --enable-crashtrace=no  --with-ffmpeg=/usr/local  --enable-mmap=no  --with-extralibs=-lpthread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ZM_DB_HOST=localhost  ZM_DB_NAME=zm  ZM_DB_USER=zmuser  ZM_DB_PASS=zmpass  ZM_SSL_LIB="openssl" TMPDIR="/tmp" TMPDIR="/tmp" 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--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib/ffmpeg0"  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -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--

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

---Begin make.conf---
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
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for zoneminder-1.25.0_3
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zoneminder-1.25.0_3 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.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of zoneminder-1.25.0_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zoneminder-1.25.0_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zoneminder-1.25.0_3 for building
=> SHA256 Checksum OK for ZoneMinder-1.25.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zoneminder-1.25.0_3 for building
===>  Extracting for zoneminder-1.25.0_3
=> SHA256 Checksum OK for ZoneMinder-1.25.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zoneminder-1.25.0_3
===>  Applying extra patch /usr/ports/multimedia/zoneminder/files/extra-patch-scripts_ZoneMinder_lib_ZoneMinder_Memory.pm.in
===>  Applying FreeBSD patches for zoneminder-1.25.0_3
/usr/bin/sed -i.bak -e 's,/bin:/usr/bin,/bin:/usr/bin:/usr/local/bin,g' /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0/scripts/*.pl.in
/usr/bin/sed -i.bak -e 's,sudo,/usr/local/bin/sudo,g' /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0/scripts/zmpkg.pl.in
/usr/bin/sed -i.bak  -e 's," == "," = ",g'  -e 's,lavcodec,lavcodec0,g'  -e 's,lavformat,lavformat0,g'  -e 's,lavutil,lavutil0,g'  -e 's,lavdevice,lavdevice0,g'  -e 's,lswscale,lswscale0,g'  -e 's,^FFMPEG_CFLAGS=.*,,g'  /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0/configure
/usr/bin/sed -i.bak -e 's,ZM_V4L2,ZM_HAS_V4L2,g' /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0//web/skins/classic/views/monitorprobe.php
===========================================================================
=======================<phase: build-depends  >============================
===>   zoneminder-1.25.0_3 depends on file: /usr/local/bin/php-config - not found
===>    Verifying install for /usr/local/bin/php-config in /usr/ports/lang/php5-extensions
===>   Installing existing package /packages/All/php5-extensions-1.7.txz
Installing php5-extensions-1.7...Installing php5-ctype-5.4.24...Installing php5-5.4.24...Installing libxml2-2.8.0_3... done
Installing pcre-8.33... done
 done
 done
Installing php5-dom-5.4.24... done
Installing php5-filter-5.4.24... done
Installing php5-hash-5.4.24... done
Installing php5-iconv-5.4.24... done
Installing php5-json-5.4.24... done
Installing php5-pdo-5.4.24... done
Installing php5-pdo_sqlite-5.4.24...Installing sqlite3-3.8.2... done
 done
Installing php5-phar-5.4.24... done
Installing php5-posix-5.4.24... done
Installing php5-session-5.4.24... done
Installing php5-simplexml-5.4.24... done
Installing php5-sqlite3-5.4.24... done
Installing php5-tokenizer-5.4.24... done
Installing php5-xml-5.4.24... done
Installing php5-xmlreader-5.4.24... done
Installing php5-xmlwriter-5.4.24... done
 done
===>   Returning to build of zoneminder-1.25.0_3
===>   zoneminder-1.25.0_3 depends on package: p5-DBI>=0 - not found
===>    Verifying install for p5-DBI>=0 in /usr/ports/databases/p5-DBI
===>   Installing existing package /packages/All/p5-DBI-1.630.txz
Installing p5-DBI-1.630...Installing perl5-5.16.3_6...Removing /usr/local/etc/perl5_version... Done.
Creating /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5
Done.
 done
 done
===>   Returning to build of zoneminder-1.25.0_3
===>   zoneminder-1.25.0_3 depends on package: p5-DBD-mysql>=0 - not found
===>    Verifying install for p5-DBD-mysql>=0 in /usr/ports/databases/p5-DBD-mysql
===>   Installing existing package /packages/All/p5-DBD-mysql-4.026.txz
Installing p5-DBD-mysql-4.026...Installing mysql55-client-5.5.35... done
 done
===>   Returning to build of zoneminder-1.25.0_3
===>   zoneminder-1.25.0_3 depends on package: p5-Date-Manip>=0 - not found
===>    Verifying install for p5-Date-Manip>=0 in /usr/ports/devel/p5-Date-Manip
===>   Installing existing package /packages/All/p5-Date-Manip-6.34.txz
Installing p5-Date-Manip-6.34...Installing p5-YAML-Syck-1.27... done
 done
===>   Returning to build of zoneminder-1.25.0_3
===>   zoneminder-1.25.0_3 depends on package: p5-libwww>=0 - not found
===>    Verifying install for p5-libwww>=0 in /usr/ports/www/p5-libwww
===>   Installing existing package /packages/All/p5-libwww-6.05.txz
Installing p5-libwww-6.05...Installing p5-Authen-NTLM-1.09...Installing p5-Digest-HMAC-1.03... done
 done
Installing p5-Encode-Locale-1.03... done
Installing p5-File-Listing-6.04...Installing p5-HTTP-Date-6.02... done
 done
Installing p5-HTML-Parser-3.71...Installing p5-HTML-Tagset-3.20... done
 done
Installing p5-HTTP-Cookies-6.01...Installing p5-HTTP-Message-6.06_2...Installing p5-IO-HTML-1.00... done
Installing p5-LWP-MediaTypes-6.02... done
Installing p5-URI-1.60... done
 done
 done
Installing p5-HTTP-Daemon-6.01... done
Installing p5-HTTP-Negotiate-6.01... done
Installing p5-Net-HTTP-6.06...Installing p5-IO-Socket-SSL-1.962...Installing p5-IO-Socket-IP-0.27...Installing p5-Socket-2.013... done
 done
Installing p5-Net-SSLeay-1.57... done
 done
 done
Installing p5-WWW-RobotRules-6.02... done
<snip>
./zm_comms.h:469:10: warning: 'InetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( int port )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:476:10: warning: 'InetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const SockAddrInet &addr )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 1)
        virtual bool connect();
                     ^
./zm_comms.h:481:10: warning: 'InetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, const char *serv )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:487:10: warning: 'InetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, int port )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:523:10: warning: 'UnixSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *path )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:530:10: warning: 'UnixSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *path )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 1)
        virtual bool connect();
                     ^
./zm_comms.h:588:10: warning: 'UdpInetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const SockAddrInet &addr ) 
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:592:10: warning: 'UdpInetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *host, const char *serv ) 
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 2)
        virtual bool bind();
                     ^
./zm_comms.h:596:10: warning: 'UdpInetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *host, int port )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 2)
        virtual bool bind();
                     ^
./zm_comms.h:600:10: warning: 'UdpInetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *serv )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:604:10: warning: 'UdpInetSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( int port )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:609:10: warning: 'UdpInetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const SockAddrInet &addr ) 
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 1)
        virtual bool connect();
                     ^
./zm_comms.h:613:10: warning: 'UdpInetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, const char *serv )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:617:10: warning: 'UdpInetSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, int port )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:626:10: warning: 'UdpUnixSocket::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *path )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:631:10: warning: 'UdpUnixSocket::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *path )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 1)
        virtual bool connect();
                     ^
./zm_comms.h:787:10: warning: 'TcpInetClient::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, const char *serv )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:791:10: warning: 'TcpInetClient::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *host, int port )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 2)
        virtual bool connect();
                     ^
./zm_comms.h:800:10: warning: 'TcpUnixClient::connect' hides overloaded virtual function [-Woverloaded-virtual]
    bool connect( const char *path )
         ^
./zm_comms.h:300:15: note: hidden overloaded virtual function 'Socket::connect' declared here: different number of parameters (0 vs 1)
        virtual bool connect();
                     ^
./zm_comms.h:809:10: warning: 'TcpInetServer::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *host, const char *serv )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 2)
        virtual bool bind();
                     ^
./zm_comms.h:813:10: warning: 'TcpInetServer::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *host, int port )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 2)
        virtual bool bind();
                     ^
./zm_comms.h:817:10: warning: 'TcpInetServer::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *serv )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:821:10: warning: 'TcpInetServer::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( int port )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:830:10: warning: 'TcpInetServer::accept' hides overloaded virtual functions [-Woverloaded-virtual]
    bool accept( TcpInetSocket *&newSocket );
         ^
./zm_comms.h:303:15: note: hidden overloaded virtual function 'Socket::accept' declared here: type mismatch at 1st parameter ('int &' vs 'TcpInetSocket *&')
        virtual bool accept( int & );
                     ^
./zm_comms.h:303:15: note: hidden overloaded virtual function 'Socket::accept' declared here: type mismatch at 1st parameter ('int &' vs 'TcpInetSocket *&')
./zm_comms.h:836:10: warning: 'TcpUnixServer::bind' hides overloaded virtual function [-Woverloaded-virtual]
    bool bind( const char *path )
         ^
./zm_comms.h:297:15: note: hidden overloaded virtual function 'Socket::bind' declared here: different number of parameters (0 vs 1)
        virtual bool bind();
                     ^
./zm_comms.h:845:10: warning: 'TcpUnixServer::accept' hides overloaded virtual functions [-Woverloaded-virtual]
    bool accept( TcpUnixSocket *&newSocket );
         ^
./zm_comms.h:303:15: note: hidden overloaded virtual function 'Socket::accept' declared here: type mismatch at 1st parameter ('int &' vs 'TcpUnixSocket *&')
        virtual bool accept( int & );
                     ^
./zm_comms.h:303:15: note: hidden overloaded virtual function 'Socket::accept' declared here: type mismatch at 1st parameter ('int &' vs 'TcpUnixSocket *&')
30 warnings generated.
mv -f .deps/zm_comms.Tpo .deps/zm_comms.Po
c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/mysql  -Wall -Wno-sign-compare -fno-inline   -O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing -MT zm_config.o -MD -MP -MF .deps/zm_config.Tpo -c -o zm_config.o zm_config.cpp
mv -f .deps/zm_config.Tpo .deps/zm_config.Po
c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/mysql  -Wall -Wno-sign-compare -fno-inline   -O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing -MT zm_coord.o -MD -MP -MF .deps/zm_coord.Tpo -c -o zm_coord.o zm_coord.cpp
mv -f .deps/zm_coord.Tpo .deps/zm_coord.Po
c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/mysql  -Wall -Wno-sign-compare -fno-inline   -O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing -MT zm.o -MD -MP -MF .deps/zm.Tpo -c -o zm.o zm.cpp
mv -f .deps/zm.Tpo .deps/zm.Po
c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/mysql  -Wall -Wno-sign-compare -fno-inline   -O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing -MT zm_db.o -MD -MP -MF .deps/zm_db.Tpo -c -o zm_db.o zm_db.cpp
mv -f .deps/zm_db.Tpo .deps/zm_db.Po
c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/mysql  -Wall -Wno-sign-compare -fno-inline   -O2 -pipe -I/usr/local/include/ffmpeg0 -I/usr/local/include -fno-strict-aliasing -MT zm_logger.o -MD -MP -MF .deps/zm_logger.Tpo -c -o zm_logger.o zm_logger.cpp
zm_logger.cpp:113:28: error: use of undeclared identifier 'isatty'
    if ( fileno(stderr) && isatty(fileno(stderr)) )
                           ^
zm_logger.cpp:445:62: error: use of undeclared identifier 'getpid'
        mLogFile = stringtf( "%s.%05d", tempLogFile.c_str(), getpid() );
                                                             ^
zm_logger.cpp:526:15: error: use of undeclared identifier 'getpid'
        tid = getpid(); // Process id
              ^
zm_logger.cpp:577:180: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
            snprintf( sql, sizeof(sql), "insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( %ld.%06ld, '%s', %d, %d, '%s', '%s', '%s', %d )", timeVal.tv_sec, timeVal.tv_usec, mId.c_str(), tid, level, classString, escapedString, file, line );
                                                                                                                                 ~~~                                               ^~~~~~~~~~~~~~
                                                                                                                                 %d
1 warning and 3 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.25.0
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/zoneminder
===>  Cleaning for zoneminder-1.25.0_3



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