[REL - 10i386-quarterly][multimedia/zoneminder] Failed for zoneminder-1.25.0_3 in build

pkg-fallout-builder at FreeBSD.org pkg-fallout-builder at FreeBSD.org
Wed Apr 16 22:36:30 UTC 2014


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 at gmail.com
Last committer: wg at FreeBSD.org
Ident:          $FreeBSD: branches/2014Q1/multimedia/zoneminder/Makefile 329850 2013-10-08 23:25:26Z wg $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-04-16_21h59m26s/logs/zoneminder-1.25.0_3.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-04-16_21h59m26s
Log:

====>> Building multimedia/zoneminder
build started at Wed Apr 16 22:35:56 UTC 2014
port directory: /usr/ports/multimedia/zoneminder
building for: FreeBSD 10i386-quarterly-job-14 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 i386
maintained by: pakhom706 at gmail.com
Makefile ident:      $FreeBSD: branches/2014Q1/multimedia/zoneminder/Makefile 329850 2013-10-08 23:25:26Z wg $
Poudriere version: 3.1-pre
Host OSVERSION: 1100013
Jail OSVERSION: 1000510

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p1
UNAME_r=10.0-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/build/10i386-quarterly/ref
PKG_EXT=txz
tpid=5943
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
OLDPWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/rdeps
PWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/pool
MASTERNAME=10i386-quarterly
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" ac_cv_path_PERL=/usr/local/bin/perl 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--

--PLIST_SUB--
PHP_EXT_DIR=20100525
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
PERL_VERSION=5.16.3
PERL_VER=5.16
PERL_ARCH=mach
PERL5_MAN3=lib/perl5/5.16/man/man3
SITE_PERL=lib/perl5/site_perl/5.16
DOCSDIR="share/doc/zoneminder"
EXAMPLESDIR="share/examples/zoneminder"
DATADIR="share/zoneminder"
WWWDIR="www/zoneminder"
ETCDIR="etc/zoneminder"
--End PLIST_SUB--

--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-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<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.7.txz
Installing pkg-1.2.7... 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.26...Installing php5-5.4.26...Installing libxml2-2.8.0_3... done
Installing pcre-8.34... done
 done
 done
Installing php5-dom-5.4.26... done
Installing php5-filter-5.4.26... done
Installing php5-hash-5.4.26... done
Installing php5-iconv-5.4.26...Installing libiconv-1.14_3... done
 done
Installing php5-json-5.4.26... done
Installing php5-pdo-5.4.26... done
Installing php5-pdo_sqlite-5.4.26...Installing sqlite3-3.8.4.1... done
 done
Installing php5-phar-5.4.26... done
Installing php5-posix-5.4.26... done
Installing php5-session-5.4.26... done
Installing php5-simplexml-5.4.26... done
Installing php5-sqlite3-5.4.26... done
Installing php5-tokenizer-5.4.26... done
Installing php5-xml-5.4.26... done
Installing php5-xmlreader-5.4.26... done
Installing php5-xmlwriter-5.4.26... done
 done
===>   Returning to build of zoneminder-1.25.0_3
===>   zoneminder-1.25.0_3 depends on package: p5-DBI>=0 - not found
pkg-static: No package(s) matching p5-DBI
===>    Verifying install for p5-DBI>=0 in /usr/ports/databases/p5-DBI
===>   Installing existing package /packages/All/p5-DBI-1.631.txz
Installing p5-DBI-1.631...Installing perl5-5.16.3_9... 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
pkg-static: No package(s) matching p5-DBD-mysql
===>    Verifying install for p5-DBD-mysql>=0 in /usr/ports/databases/p5-DBD-mysql
===>   Installing existing package /packages/All/p5-DBD-mysql-4.027.txz
Installing p5-DBD-mysql-4.027...Installing mysql55-client-5.5.37... 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
pkg-static: No package(s) matching p5-Date-Manip
===>    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
pkg-static: No package(s) matching p5-libwww
===>    Verifying install for p5-libwww>=0 in /usr/ports/www/p5-libwww
<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


More information about the freebsd-pkg-fallout mailing list