Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 11:58:41 GMT
From:      pkg-fallout@FreeBSD.org
To:        berend@pobox.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-default-ssp][security/pam-pgsql] Failed for pam-pgsql-0.7.3.1_2 in build
Message-ID:  <201407261158.s6QBwfJT028075@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:     berend@pobox.com
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/security/pam-pgsql/Makefile 360871 2014-07-06 10:18:36Z tijl $
Log URL:        http://beefy4.isc.freebsd.org/data/10amd64-default-ssp/2014-07-25_21h51m15s/logs/pam-pgsql-0.7.3.1_2.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=10amd64-default-ssp&build=2014-07-25_21h51m15s
Log:

====>> Building security/pam-pgsql
build started at Sat Jul 26 11:58:34 UTC 2014
port directory: /usr/ports/security/pam-pgsql
building for: FreeBSD pkg.FreeBSD.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 amd64
maintained by: berend@pobox.com
Makefile ident:      $FreeBSD: head/security/pam-pgsql/Makefile 360871 2014-07-06 10:18:36Z 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=pam-pgsql-0.7.3.1_2
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 pam-pgsql-0.7.3.1_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/pam-pgsql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pam-pgsql/work  HOME=/wrkdirs/usr/ports/security/pam-pgsql/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/security/pam-pgsql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pam-pgsql/work  HOME=/wrkdirs/usr/ports/security/pam-pgsql/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 -L/usr/local/lib" 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/pam-pgsql"
EXAMPLESDIR="share/examples/pam-pgsql"
DATADIR="share/pam-pgsql"
WWWDIR="www/pam-pgsql"
ETCDIR="etc/pam-pgsql"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/pam-pgsql
DOCSDIR=/usr/local/share/doc/pam-pgsql
EXAMPLESDIR=/usr/local/share/examples/pam-pgsql
WWWDIR=/usr/local/www/pam-pgsql
ETCDIR=/usr/local/etc/pam-pgsql
--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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pam-pgsql-0.7.3.1_2 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 pam-pgsql-0.7.3.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pam-pgsql-0.7.3.1_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pam-pgsql-0.7.3.1_2 for building
=> SHA256 Checksum OK for pam-pgsql-0.7.3.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pam-pgsql-0.7.3.1_2 for building
===>  Extracting for pam-pgsql-0.7.3.1_2
=> SHA256 Checksum OK for pam-pgsql-0.7.3.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pam-pgsql-0.7.3.1_2
===========================================================================
=======================<phase: build-depends  >============================
===>   pam-pgsql-0.7.3.1_2 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 pam-pgsql-0.7.3.1_2
===========================================================================
=======================<phase: lib-depends    >============================
===>   pam-pgsql-0.7.3.1_2 depends on shared library: libmhash.so - not found
===>    Verifying for libmhash.so in /usr/ports/security/mhash
===>   Installing existing package /packages/All/mhash-0.9.9.9_2.txz
Installing mhash-0.9.9.9_2... done
===>   Returning to build of pam-pgsql-0.7.3.1_2
===>   pam-pgsql-0.7.3.1_2 depends on shared library: libgcrypt.so - not found
===>    Verifying for libgcrypt.so in /usr/ports/security/libgcrypt
===>   Installing existing package /packages/All/libgcrypt-1.5.3_3.txz
Installing libgcrypt-1.5.3_3...Installing indexinfo-0.2... done
Installing libgpg-error-1.13_1...Installing gettext-0.18.3.1_1... done
 done
 done
===>   Returning to build of pam-pgsql-0.7.3.1_2
===>   pam-pgsql-0.7.3.1_2 depends on shared library: libpq.so.5 - not found
===>    Verifying for libpq.so.5 in /usr/ports/databases/postgresql92-client
===>   Installing existing package /packages/All/postgresql92-client-9.2.8_1.txz
Installing postgresql92-client-9.2.8_1...Installing libxml2-2.9.1_1... done
 done
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk 
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-PyGreSQL
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
===>   Returning to build of pam-pgsql-0.7.3.1_2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pam-pgsql-0.7.3.1_2
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pam-pgsql/work/pam-pgsql-0.7.3.1/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pam-pgsql/work/pam-pgsql-0.7.3.1/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pam-pgsql/work/pam-pgsql-0.7.3.1/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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
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 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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
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... no
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 for cc way to treat warnings as errors... -Werror
checking if cc supports __attribute__(( visibility("default") ))... yes
checking if cc supports -fvisibility=hidden... yes
checking for library containing crypt... -lcrypt
checking for security/pam_modules.h... yes
checking for security/openpam.h... no
checking for security/pam_misc.h... no
checking for pam_get_user in -lpam... yes
checking where to install the PAM module... configure: WARNING: Unknown PAM implementation, defaulting to something safe
$(libdir)
checking for openpam_ttyconv... no
checking for misc_conv in -lpam_misc... no
configure: WARNING: Unable to find a compatible PAM conversation, not building tests
checking for pg_config... /usr/local/bin/pg_config
checking for PostgreSQL libraries... yes
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.0... yes (1.5.3)
checking LIBGCRYPT API version... okay
checking where to look for the pam_pgsql.conf file... /etc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for pam-pgsql-0.7.3.1_2
/usr/bin/make  all-am
  CC     src/pam_pgsql_la-pam_pgsql.lo
  CC     src/pam_pgsql_la-pam_pgsql_options.lo
src/pam_pgsql_options.c:304:13: warning: unused function 'free_mod_options' [-Wunused-function]
static void free_mod_options(modopt_t *options) {
            ^
1 warning generated.
  CC     src/pam_pgsql_la-backend_pgsql.lo
In file included from src/backend_pgsql.c:27:
/usr/local/include/gcrypt.h:1353:2: warning: 'gcry_ac_data_read_cb_t' is deprecated [-Wdeprecated-declarations]
        gcry_ac_data_read_cb_t cb;
        ^
/usr/local/include/gcrypt.h:1318:23: note: 'gcry_ac_data_read_cb_t' declared here
typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
                      ^
/usr/local/include/gcrypt.h:1367:2: warning: 'gcry_ac_data_write_cb_t' is deprecated [-Wdeprecated-declarations]
        gcry_ac_data_write_cb_t cb;
        ^
/usr/local/include/gcrypt.h:1323:23: note: 'gcry_ac_data_write_cb_t' declared here
typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
                      ^
/usr/local/include/gcrypt.h:1402:3: warning: 'gcry_md_algo_t' is deprecated [-Wdeprecated-declarations]
  gcry_md_algo_t md;
  ^
/usr/local/include/gcrypt.h:1396:28: note: 'gcry_md_algo_t' declared here
typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
                           ^
/usr/local/include/gcrypt.h:1410:3: warning: 'gcry_md_algo_t' is deprecated [-Wdeprecated-declarations]
  gcry_md_algo_t md;
  ^
/usr/local/include/gcrypt.h:1396:28: note: 'gcry_md_algo_t' declared here
typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
                           ^
4 warnings generated.
  CC     src/pam_pgsql_la-pam_get_service.lo
src/pam_get_service.c:18:5: warning: implicit declaration of function 'pam_get_item' is invalid in C99 [-Wimplicit-function-declaration]
        if(pam_get_item(pamh, PAM_SERVICE, (void *) &service) != PAM_SUCCESS)
           ^
1 warning generated.
  CC     src/pam_pgsql_la-pam_get_pass.lo
src/pam_get_pass.c:60:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    msg.msg = prompt;
            ^ ~~~~~~
src/pam_get_pass.c:135:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                msgs[0].msg = prompt1;
                            ^ ~~~~~~~
src/pam_get_pass.c:136:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                msgs[1].msg = prompt2;
                            ^ ~~~~~~~
3 warnings generated.
  CCLD   pam_pgsql.la
/usr/bin/ld: src/.libs/pam_pgsql_la-pam_pgsql.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
src/.libs/pam_pgsql_la-pam_pgsql.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[2]: stopped in /wrkdirs/usr/ports/security/pam-pgsql/work/pam-pgsql-0.7.3.1
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/pam-pgsql/work/pam-pgsql-0.7.3.1
*** Error code 1

Stop.
make: stopped in /usr/ports/security/pam-pgsql



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