Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 12:29:18 GMT
From:      pkg-fallout@FreeBSD.org
To:        koobs@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-default-ssp][net-mgmt/bsnmp-regex] Failed for bsnmp-regex-0.6_1 in build
Message-ID:  <201407261229.s6QCTIpX030660@beefy4.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:     koobs@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/bsnmp-regex/Makefile 361355 2014-07-09 11:52:40Z tijl $
Log URL:        http://beefy4.isc.freebsd.org/data/10amd64-default-ssp/2014-07-25_21h51m15s/logs/bsnmp-regex-0.6_1.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=10amd64-default-ssp&build=2014-07-25_21h51m15s
Log:

====>> Building net-mgmt/bsnmp-regex
build started at Sat Jul 26 12:29:12 UTC 2014
port directory: /usr/ports/net-mgmt/bsnmp-regex
building for: FreeBSD pkg.FreeBSD.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 amd64
maintained by: koobs@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/bsnmp-regex/Makefile 361355 2014-07-09 11:52:40Z tijl $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p3
UNAME_r=10.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=bsnmp-regex-0.6_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref/.p/pool
MASTERNAME=10amd64-default-ssp
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/.p/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for bsnmp-regex-0.6_1:
     DEBUG=off: Build with debugging support
     PCRE=off: Use PCRE instead of the default regex library
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" 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/net-mgmt/bsnmp-regex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work  HOME=/wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""-I/usr/local/include""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing"  MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" 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--
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/bsnmp-regex"
EXAMPLESDIR="share/examples/bsnmp-regex"
DATADIR="share/bsnmp-regex"
WWWDIR="www/bsnmp-regex"
ETCDIR="etc/bsnmp-regex"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
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
#### /usr/local/etc/poudriere.d/ssp-make.conf ####
WITH_SSP_PORTS=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License BSD accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bsnmp-regex-0.6_1 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_4.txz
Installing pkg-1.2.7_4... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of bsnmp-regex-0.6_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD accepted by the user
===> Fetching all distfiles required by bsnmp-regex-0.6_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD accepted by the user
===> Fetching all distfiles required by bsnmp-regex-0.6_1 for building
=> SHA256 Checksum OK for bsnmp-regex-0.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD accepted by the user
===> Fetching all distfiles required by bsnmp-regex-0.6_1 for building
===>  Extracting for bsnmp-regex-0.6_1
=> SHA256 Checksum OK for bsnmp-regex-0.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bsnmp-regex-0.6_1
===========================================================================
=======================<phase: build-depends  >============================
===>   bsnmp-regex-0.6_1 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_8.txz
Installing ccache-3.1.9_8...Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
 done
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.
===>   Returning to build of bsnmp-regex-0.6_1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bsnmp-regex-0.6_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work/bsnmp-regex-0.6/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work/bsnmp-regex-0.6/configure
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 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 make... GNU
checking dependency style of cc... gcc3
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
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... /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-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.0 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 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 supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... no
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... freebsd10.0 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... yes
checking for gensnmptree... gensnmptree
checking for ANSI C header files... (cached) yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/limits.h usability... yes
checking sys/limits.h presence... yes
checking for sys/limits.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/un.h... (cached) yes
checking bsnmp/snmpmod.h usability... yes
checking bsnmp/snmpmod.h presence... yes
checking for bsnmp/snmpmod.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for working memcmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating module/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for bsnmp-regex-0.6_1
/usr/bin/make  all-recursive
Making all in module
/bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\"   -I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT regex_tree.lo -MD -MP -MF .deps/regex_tree.Tpo -c -o regex_tree.lo regex_tree.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\" -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT regex_tree.lo -MD -MP -MF .deps/regex_tree.Tpo -c regex_tree.c  -o .libs/regex_tree.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\" -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT regex_tree.lo -MD -MP -MF .deps/regex_tree.Tpo -c regex_tree.c -o regex_tree.o >/dev/null 2>&1
mv -f .deps/regex_tree.Tpo .deps/regex_tree.Plo
/bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\"   -I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT bsnmp-regex.lo -MD -MP -MF .deps/bsnmp-regex.Tpo -c -o bsnmp-regex.lo bsnmp-regex.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\" -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT bsnmp-regex.lo -MD -MP -MF .deps/bsnmp-regex.Tpo -c bsnmp-regex.c  -o .libs/bsnmp-regex.o
bsnmp-regex.c:573:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (stat (regex_sock, &sb) == 0) {
              ^~~~~~~~~~
/usr/include/sys/stat.h:340:33: note: passing argument to parameter here
int     stat(const char * __restrict, struct stat * __restrict);
                                    ^
bsnmp-regex.c:581:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        unlink (regex_sock);
                ^~~~~~~~~~
/usr/include/unistd.h:369:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
bsnmp-regex.c:597:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strlcpy (addr.sun_path, regex_sock, sizeof (addr.sun_path));
                            ^~~~~~~~~~
/usr/include/string.h:93:59: note: passing argument to parameter here
size_t   strlcpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
bsnmp-regex.c:809:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    f = fopen (regex_config, "r");
               ^~~~~~~~~~~~
/usr/include/stdio.h:242:36: note: passing argument to parameter here
FILE    *fopen(const char * __restrict, const char * __restrict);
                                      ^
bsnmp-regex.c:1084:36: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return (string_get (value, data->descr, -1));
                                   ^~~~~~~~~~~
/usr/include/bsnmp/snmpmod.h:604:51: note: passing argument to parameter here
int string_get(struct snmp_value *, const u_char *, ssize_t);
                                                  ^
bsnmp-regex.c:1098:36: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return (string_get (value, (data->value_str && !expired) ?
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/bsnmp/snmpmod.h:604:51: note: passing argument to parameter here
int string_get(struct snmp_value *, const u_char *, ssize_t);
                                                  ^
bsnmp-regex.c:1129:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    regex_config = strdup (DEFAULT_CONFIG);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~
bsnmp-regex.c:1133:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    regex_sock = strdup (DEFAULT_SOCKET);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~
8 warnings generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DCONF_PREFIX=\"/usr/local/etc\" -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT bsnmp-regex.lo -MD -MP -MF .deps/bsnmp-regex.Tpo -c bsnmp-regex.c -o bsnmp-regex.o >/dev/null 2>&1
mv -f .deps/bsnmp-regex.Tpo .deps/bsnmp-regex.Plo
/bin/sh ../libtool --tag=CC    --mode=link cc  -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include  -module -fstack-protector -L/usr/local/lib -o snmp_regex.la -rpath /usr/local/lib regex_tree.lo bsnmp-regex.lo  
libtool: link: cc -shared   .libs/regex_tree.o .libs/bsnmp-regex.o    -L/usr/local/lib  -O2   -Wl,-soname -Wl,snmp_regex.so.0 -o .libs/snmp_regex.so.0.0.0
/usr/bin/ld: .libs/bsnmp-regex.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
.libs/bsnmp-regex.o: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work/bsnmp-regex-0.6/module
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work/bsnmp-regex-0.6
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/bsnmp-regex/work/bsnmp-regex-0.6
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/bsnmp-regex



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