Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 17:39:10 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181760: sysutils/rsyslog7 fails at configuration stage
Message-ID:  <201309021739.r82HdAUW037845@oldred.freebsd.org>
Resent-Message-ID: <201309021740.r82He0Ab095477@freefall.freebsd.org>

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

>Number:         181760
>Category:       ports
>Synopsis:       sysutils/rsyslog7 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:   Mon Sep 02 17:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
Dream Industries
>Environment:
FreeBSD 10.0-CURRENT #13 r255142: Mon Sep  2 14:51:17 MSK 2013 amd64
>Description:
Attempting to build sysutils/rsyslog7 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 rsyslog-7.4.3 in directory /usr/local/tinderbox/9.1-FreeBSD
build started at Mon Sep  2 16:32:08 UTC 2013
port directory: /usr/ports/sysutils/rsyslog7
building for:  9.1-RELEASE amd64
maintained by: brd@FreeBSD.org
Makefile ident: $FreeBSD: head/sysutils/rsyslog7/Makefile 325076 2013-08-20 21:53:49Z brd $
prefixes: LOCALBASE=usr/local PREFIX=/usr/local
Begin Configuration:
---Begin Environment---
INDEXFILE=INDEX-9
WITH_PGSQL_VER=91
PORT_DBDIR=/var/db/ports
ARCH=amd64
PORTOBJFORMAT=elf
PORTBUILD_USE_IPV6=
MD_SIZE=0
X_WINDOW_SYSTEM=xorg
RUBY_DEFAULT_VERSION=1.9
DISTFILE_URI=
MAKELEVEL=1
TIMEOUT=7200
FTP_PASSIVE_MODE=yes
CCACHE_ENABLED=0
MAIL=/var/mail/root
OPTIONS_ENABLED=1
PERL_VER=5.16
MD_FSTYPE=
RUBY_VER=1.9
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
pb=/usr/local/tinderbox
HTTP_TIMEOUT=900
RUBY_VERSION=1.9
PACKAGES=/tmp/packages
HAVE_MOTIF=1
LOG_DIRECTORY=
RUBY_DEFAULT_VER=1.9
PKGSUFFIX=.txz
BATCH=1
OSREL=9.1
__DSVERSION__=4.0.0
CCACHE_DIR=
LOG_COMPRESSLOGS=0
defaultUpdateType=SVN
OLDPWD=/
.MAKE.LEVEL.ENV=MAKELEVEL
USA_RESIDENT=YES
DISTFILE_CACHE=
WRKDIRPREFIX=/work
BRANCH=RELEASE
defaultUpdateHost=svn.FreeBSD.org
PWD=/usr/ports/sysutils/rsyslog7
HOST_WORKDIR=
WITH_PKGNG=yes
OPTIONS_DIR=/options
PKGZIPCMD=bzip2
USER=root
DISTDIR=/tmp/distfiles
HOME=/root
CCACHE_JAIL=0
LOG_DOCOPY=0
CCACHE_MAX_SIZE=1G
UNAME_m=amd64
UNAME_n=tinderbox.host
CCACHE_NOLINK=1
TINDERD_SLEEPTIME=120
FTP_TIMEOUT=900
PARALLEL_PACKAGE_BUILD=1
TINDERD_LOGFILE=/dev/null
UNAME_p=amd64
CCACHE_LOGFILE=
UNAME_r=9.1-RELEASE
LOCALBASE=/usr/local
UNAME_s=FreeBSD
PACKAGE_BUILDING=1
PERL_VERSION=5.16
TINDERBOX_BUILDING=1
OSVERSION=901000
UNAME_v=FreeBSD 9.1-RELEASE #0: Mon Sep  2 20:31:51 MSK 2013    root@tinderbox.host:/usr/src/sys/magic/kernel/path
BLOCKSIZE=K
PORTBUILD_USE_IPV4=YES
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for rsyslog-7.4.3:
     DBI=off: LibDBI output module for rsyslog
     DOCS=off: Build and/or install documentation
     GNUTLS=off: GNUTLS module for rsyslog
     GSSAPI=off: GSS API input/output module for rsyslog
     MYSQL=off: MySQL output module for rsyslog
     PGSQL=off: PostgreSQL output module for rsyslog
     RELP=off: RELP input/output module for rsyslog
     RFC3195=off: RFC3195 input support for rsyslog
     SNMP=off: SNMP trap sender for rsyslog
===> Use 'make config' to modify these settings
---End OPTIONS List---

End Configuration.
PKG_DEPENDS=pkg-1.1.4_1.txz
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=libgpg-error-1.12.txz gettext-0.18.3.txz libiconv-1.14_1.txz libgcrypt-1.5.3.txz libestr-0.1.5.txz libee-0.4.1.txz json-c-0.9.txz e2fsprogs-libuuid-1.42.8.txz
RUN_DEPENDS=libestr-0.1.5.txz libee-0.4.1.txz json-c-0.9.txz e2fsprogs-libuuid-1.42.8.txz
TEST_DEPENDS=
add_pkg pkg-1.1.4_1.txz
adding dependencies
pkg_add pkg-1.1.4_1.txz
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
add_pkg
================================================================
====================<phase 1: make checksum>====================
===>  Found saved configuration for rsyslog-7.2.7
===>   rsyslog-7.4.3 depends on file: /usr/local/sbin/pkg - found
=> rsyslog-7.4.3.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.3.tar.gz
rsyslog-7.4.3.tar.gz                                  2840 kB 1835 kBps
===> Fetching all distfiles required by rsyslog-7.4.3 for building
=> SHA256 Checksum OK for rsyslog-7.4.3.tar.gz.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Found saved configuration for rsyslog-7.2.7
===>   rsyslog-7.4.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rsyslog-7.4.3 for building
===>  Extracting for rsyslog-7.4.3
=> SHA256 Checksum OK for rsyslog-7.4.3.tar.gz.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for rsyslog-7.4.3
================================================================
====================<phase 4: make build>====================
add_pkg libgpg-error-1.12.txz gettext-0.18.3.txz libiconv-1.14_1.txz libgcrypt-1.5.3.txz libestr-0.1.5.txz libee-0.4.1.txz json-c-0.9.txz e2fsprogs-libuuid-1.42.8.txz
adding dependencies
pkg_add libgpg-error-1.12.txz
Installing libgpg-error-1.12...Installing gettext-0.18.3...Installing libiconv-1.14_1... done
 done
 done
pkg_add gettext-0.18.3.txz
skipping gettext-0.18.3, already added
pkg_add libiconv-1.14_1.txz
skipping libiconv-1.14_1, already added
pkg_add libgcrypt-1.5.3.txz
Installing libgcrypt-1.5.3... done
pkg_add libestr-0.1.5.txz
Installing libestr-0.1.5... done
pkg_add libee-0.4.1.txz
Installing libee-0.4.1... done
pkg_add json-c-0.9.txz
Installing json-c-0.9... done
pkg_add e2fsprogs-libuuid-1.42.8.txz
Installing e2fsprogs-libuuid-1.42.8... done
===>   rsyslog-7.4.3 depends on executable: libgcrypt-config - found
===>   rsyslog-7.4.3 depends on shared library: ee - found
===>   rsyslog-7.4.3 depends on shared library: estr - found
===>   rsyslog-7.4.3 depends on shared library: json.0 - found
===>   rsyslog-7.4.3 depends on shared library: uuid - found
===>  Configuring for rsyslog-7.4.3
configure: loading site script /usr/ports/Templates/config.site
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 make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
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 dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for valgrind... no
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... byacc
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking whether cc understands -c and -o together... yes
checking build system type... amd64-portbld-freebsd9.1
checking host system type... amd64-portbld-freebsd9.1
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /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-freebsd9.1 file names to amd64-portbld-freebsd9.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.1 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 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.1 ld.so
checking how to hardcode library paths into programs... immediate
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
checking for pkg-config... no
checking for LIBESTR... yes
checking for JSON_C... no
configure: error: in `/work/a/ports/sysutils/rsyslog7/work/rsyslog-7.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 JSON_C_CFLAGS
and JSON_C_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 brd@FreeBSD.org [maintainer] and attach the
"/work/a/ports/sysutils/rsyslog7/work/rsyslog-7.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).
*** [do-configure] Error code 1

Stop in /a/ports/sysutils/rsyslog7.
================================================================
build of /usr/ports/sysutils/rsyslog7 ended at Mon Sep  2 16:32:15 UTC 2013
>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?201309021739.r82HdAUW037845>