Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2013 13:13:58 GMT
From:      carlopmart <carlopmart@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182061: sysutils/syslog-ng fails at configuration stage
Message-ID:  <201309131313.r8DDDw3Y095589@oldred.freebsd.org>
Resent-Message-ID: <201309131320.r8DDK0Vt085705@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182061
>Category:       ports
>Synopsis:       sysutils/syslog-ng fails at configuration stage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 13 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     carlopmart
>Release:        FreeBSD 8.4-RELEASE-p4
>Organization:
Home user
>Environment:
FreeBSD 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #0: Mon Sep  9 23:16:13 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Attempting to build sysutils/syslog-ng fails at the configure stage with the error " The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config."

====>> Building sysutils/syslog-ng
build started at Fri Sep 13 09:13:28 UTC 2013
port directory: /usr/ports/sysutils/syslog-ng
building for: FreeBSD fbsd84_amd64-default-job-01 8.4-RELEASE FreeBSD 8.4-RELEASE amd64
maintained by: cy@FreeBSD.org
Makefile ident:      $FreeBSD: sysutils/syslog-ng/Makefile 326129 2013-09-03 08:49:46Z bapt $
Poudriere version: 3.0.4

---Begin Environment---
OSVERSION=804000
UNAME_v=FreeBSD 8.4-RELEASE
UNAME_r=8.4-RELEASE
FTP_PASSIVE_MODE=YES
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/poudriere/data/build/fbsd84_amd64-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=31149
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=4
PKGNG=1
PKGNAME=syslog-ng-3.4.3
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=fbsd84_amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.4
SKIPSANITY=1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for syslog-ng-3.4.3:
     DOCS=on: Build and/or install documentation
     GEOIP=off: Build with GeoIP support
     IPV6=on: Build with IPV6 support
     JSON=on: Build with JSON-C support
     PCRE=on: Build with PCRE support
     SMTP=off: Build with SMTP support
     SPOOF=on: Build with spoof source support
     SQL=off: Build with database (libdbi) support
     TCP_WRAPPERS=on: Build with TCP Wrappers
====> SSL protocol support: you can only select none or one of them
     SYS_SSL=off: Build with OpenSSL support (from system)
     PORTS_SSL=on: Build with OpenSSL support (from ports)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--sysconfdir=/usr/local/etc --localstatedir=/var/db  --enable-dynamic-linking  --enable-debug --enable-ssl --enable-tcp-wrapper --enable-spoof-source --with-libnet=/usr/local/bin --enable-ipv6 --enable-pcre --disable-geoip --disable-smtp --disable-sql --enable-json --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" OPENSSL_CFLAGS=""  OPENSSL_LIBS="-Wl,-rpath=/usr/local/lib -lcrypto -lssl" TMPDIR="/tmp" PKG_CONFIG=pkgconf MAKE=gmake 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" OPENSSLLIB=/usr/local/lib OPENSSLINC=/usr/local/include  OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe `/usr/local/bin/libnet11-config --cflags` -I/usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib `/usr/local/bin/libnet11-config --libs`"  CXX="c++" CXXFLAGS="-O2 -pipe `/usr/local/bin/libnet11-config --cflags` -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--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/syslog-ng
DOCSDIR=/usr/local/share/doc/syslog-ng
EXAMPLESDIR=/usr/local/share/examples/syslog-ng
WWWDIR=/usr/local/www/syslog-ng
ETCDIR=/usr/local/etc/syslog-ng
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/fbsd84_amd64-make.conf ####
WITH_PKGNG=yes
WITHOUT_X11=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for syslog-ng-3.4.3
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   syslog-ng-3.4.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.1.4_2.txz
Installing pkg-1.1.4_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of syslog-ng-3.4.3
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
fbsd84_amd64-default-job-01: removed
=======================<phase: fetch          >============================
===>  Found saved configuration for syslog-ng-3.4.3
=> syslog-ng_3.4.3.tar.gz doesn't seem to exist in /distfiles/.
=> Attempting to fetch http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.3/source/syslog-ng_3.4.3.tar.gz
syslog-ng_3.4.3.tar.gz                                3002 kB 1359 kBps
===> Fetching all distfiles required by syslog-ng-3.4.3 for building
=========================================================================
=======================<phase: checksum       >============================
===>  Found saved configuration for syslog-ng-3.4.3
===> Fetching all distfiles required by syslog-ng-3.4.3 for building
=> SHA256 Checksum OK for syslog-ng_3.4.3.tar.gz.
fbsd84_amd64-default-job-01: removed
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===>  Found saved configuration for syslog-ng-3.4.3
===> Fetching all distfiles required by syslog-ng-3.4.3 for building
===>  Extracting for syslog-ng-3.4.3
=> SHA256 Checksum OK for syslog-ng_3.4.3.tar.gz.
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for syslog-ng-3.4.3
=========================================================================
=======================<phase: build-depends  >============================
===>   syslog-ng-3.4.3 depends on file: /usr/local/bin/libnet11-config - not found
===>    Verifying install for /usr/local/bin/libnet11-config in /usr/ports/net/libnet
===>   Installing existing package /packages/All/libnet-1.1.6_1,1.txz
Installing libnet-1.1.6_1,1... done
===>   Returning to build of syslog-ng-3.4.3
=========================================================================
=======================<phase: lib-depends    >============================
===>   syslog-ng-3.4.3 depends on shared library: evtlog.0 - not found
===>    Verifying install for evtlog.0 in /usr/ports/sysutils/eventlog
===>   Installing existing package /packages/All/eventlog-0.2.12.txz
Installing eventlog-0.2.12... done
===>   Returning to build of syslog-ng-3.4.3
===>   syslog-ng-3.4.3 depends on shared library: pcre - not found
===>    Verifying install for pcre in /usr/ports/devel/pcre
===>   Installing existing package /packages/All/pcre-8.33.txz
Installing pcre-8.33... done
===>   Returning to build of syslog-ng-3.4.3
===>   syslog-ng-3.4.3 depends on shared library: json.0 - not found
===>    Verifying install for json.0 in /usr/ports/devel/json-c
===>   Installing existing package /packages/All/json-c-0.9.txz
Installing json-c-0.9... done
===>   Returning to build of syslog-ng-3.4.3
===>   syslog-ng-3.4.3 depends on shared library: glib-2.0 - not found
===>    Verifying install for glib-2.0 in /usr/ports/devel/glib20
===>   Installing existing package /packages/All/glib-2.36.3.txz
Installing glib-2.36.3...Installing python27-2.7.5_3...Installing gettext-0.18.3...Installing libiconv-1.14_1... done
 done
 done
Installing python2-2... done
Installing python-2.7_1,2... done
Installing perl-5.14.4...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.14.4 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.
 done
Installing libffi-3.0.13... done
No schema files found: doing nothing.
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
===>   Returning to build of syslog-ng-3.4.3
===>   syslog-ng-3.4.3 depends on shared library: pcre - found
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for syslog-ng-3.4.3
configure: loading site script /usr/ports/Templates/config.site
checking whether gmake supports nested variables... gmake: not found
no
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... gmake: not found
no
checking how to create a ustar tar archive... (cached) /usr/bin/tar
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... gmake: not found
gmake: not found
none
checking dependency style of cc... gmake: not found
gmake: not found
gmake: not found
gmake: not found
none
checking for cc option to accept ISO C99... -std=gnu99
checking for bison... no
checking for byacc... byacc
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether gmake sets $(MAKE)... (cached) no
checking pkg-config is at least version 0.9.0... pkgconf: not found
no
checking build system type... amd64-portbld-freebsd8.4
checking host system type... amd64-portbld-freebsd8.4
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd8.4 file names to amd64-portbld-freebsd8.4 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd8.4 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
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 dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu99 static flag -static works... yes
checking if cc -std=gnu99 supports -c -o file.o... yes
checking if cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.4 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: WARNING: No proper bison found, you'll not be able to change lib/cfg-grammar.y
checking CFLAGS_NOWARN_POINTER_SIGN for gcc -Wno-pointer-sign... -Wno-pointer-sign
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to enable static linking for certain libraries... GNU or Solaris
checking for ANSI C header files... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for strings.h... (cached) yes
checking for getopt.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/strlog.h usability... no
checking sys/strlog.h presence... no
checking for sys/strlog.h... no
checking door.h usability... no
checking door.h presence... no
checking for door.h... no
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... no
checking utmpx.h presence... no
checking for utmpx.h... no
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for SO_ACCEPTCONN... no
checking for struct tm.tm_gmtoff... yes
checking for I_CONSLOG... no
checking for O_LARGEFILE... no
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for PR_SET_KEEPCAPS... no
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... no
checking for regexec in -lregex... no
checking for res_init in -lresolv... no
checking for cap_set_proc in -lcap... no
checking for strdup... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoimax... yes
checking for inet_aton... (cached) yes
checking for inet_ntoa... (cached) yes
checking for getopt_long... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking for getutent... no
checking for getutxent... no
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for strcasestr... yes
checking for memrchr... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for clock_gettime... (cached) yes
checking for EVTLOG... no
configure: error: in `/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-3.4.3':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables EVTLOG_CFLAGS
and EVTLOG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to cy@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-3.4.3/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop in /usr/ports/sysutils/syslog-ng.
===>  Cleaning for syslog-ng-3.4.3
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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