Fwd: [REL - 91amd64-default][databases/postgresql-repmgr] Failed for postgresql-repmgr-1.2.0 in run-depends

Alexander Pyhalov alp at rsu.ru
Thu Oct 17 05:00:28 UTC 2013


Hello.
I started receiving similar messages yesterday. I've checked that 
locally port builds and install without any errors.

What is wrong with port that it can't be built on the build machine? How 
can I debug it?
My /etc/make.conf is:

CFLAGS= -fno-omit-frame-pointer -O2 -pipe
STRIP=
WITH_CTF=1
WITH_PKGNG=yes
BDECFLAGS=      -W -Wall -ansi -pedantic -Wbad-function-cast 
-Wcast-align \
                 -Wcast-qual -Wchar-subscripts -Winline \
                 -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
                 -Wredundant-decls -Wshadow -Wstrict-prototypes 
-Wwrite-strings
COPTFLAGS= -O2 -pipe
MTREE_FOLLOWS_SYMLINKS= -L
WRKDIRPREFIX=/var/tmp


-------- Исходное сообщение --------
Тема: [REL - 91amd64-default][databases/postgresql-repmgr] Failed for 
postgresql-repmgr-1.2.0 in run-depends
Дата: 17.10.2013 08:32
От: pkg-fallout at FreeBSD.org
Кому: alp at sfedu.ru
Копия: pkg-fallout at FreeBSD.org

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:     alp at sfedu.ru
Last committer: bapt at FreeBSD.org
Ident:          $FreeBSD: head/databases/postgresql-repmgr/Makefile 
327717 2013-09-20 16:13:47Z bapt $
Log URL:        
http://beefy2.isc.freebsd.org/bulk/91amd64-default/2013-10-16_16h05m32s/logs/postgresql-repmgr-1.2.0.log
Build URL:      
http://beefy2.isc.freebsd.org/bulk/91amd64-default/2013-10-16_16h05m32s
Log:

====>> Building databases/postgresql-repmgr
build started at Thu Oct 17 04:32:19 UTC 2013
port directory: /usr/ports/databases/postgresql-repmgr
building for: FreeBSD 91amd64-default-job-17 9.1-RELEASE FreeBSD 
9.1-RELEASE amd64
maintained by: alp at sfedu.ru
Makefile ident:      $FreeBSD: head/databases/postgresql-repmgr/Makefile 
327717 2013-09-20 16:13:47Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=901000
UNAME_v=FreeBSD 9.1-RELEASE
UNAME_r=9.1-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/91amd64-default/ref
PKG_EXT=txz
tpid=13426
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=postgresql-repmgr-1.2.0
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=91amd64-default
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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
USE_PGXS=1 TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  
LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe 
-fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" 
CXXFLAGS="-O2 -pipe -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/postgresql-repmgr
DOCSDIR=/usr/local/share/doc/postgresql-repmgr
EXAMPLESDIR=/usr/local/share/examples/postgresql-repmgr
WWWDIR=/usr/local/www/postgresql-repmgr
ETCDIR=/usr/local/etc/postgresql-repmgr
--End SUB_LIST--

---Begin make.conf---
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 postgresql-repmgr-1.2.0
=======================<phase: check-config   
 >============================
===========================================================================
=======================<phase: pkg-depends    
 >============================
===>   postgresql-repmgr-1.2.0 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_8.txz
Installing pkg-1.1.4_8... done
If you are upgrading from the old package format, first run:

   # pkg2ng
===>   Returning to build of postgresql-repmgr-1.2.0
===========================================================================
=======================<phase: fetch-depends  
 >============================
===========================================================================
=======================<phase: fetch          
 >============================
===> Fetching all distfiles required by postgresql-repmgr-1.2.0 for 
building
===========================================================================
=======================<phase: checksum       
 >============================
===> Fetching all distfiles required by postgresql-repmgr-1.2.0 for 
building
=> SHA256 Checksum OK for repmgr-1.2.0.tar.gz.
===========================================================================
=======================<phase: 
extract-depends>============================
===========================================================================
=======================<phase: extract        
 >============================
===> Fetching all distfiles required by postgresql-repmgr-1.2.0 for 
building
===>  Extracting for postgresql-repmgr-1.2.0
=> SHA256 Checksum OK for repmgr-1.2.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  
 >============================
===========================================================================
=======================<phase: patch          
 >============================
===>  Patching for postgresql-repmgr-1.2.0
===>  Applying FreeBSD patches for postgresql-repmgr-1.2.0
===========================================================================
=======================<phase: build-depends  
 >============================
===>   postgresql-repmgr-1.2.0 depends on package: 
postgresql-server>=9.0 - not found
===>    Verifying install for postgresql-server>=9.0 in 
/usr/ports/databases/postgresql90-server
===>   Installing existing package 
/packages/All/postgresql90-server-9.0.14.txz
Installing postgresql90-server-9.0.14...Installing 
libxml2-2.8.0_2...Installing pkgconf-0.9.3... done
Installing libiconv-1.14_1... done
  done
Installing gettext-0.18.3.1... done
Installing postgresql90-client-9.0.14... done

   =========== BACKUP YOUR DATA! =============
   As always, backup your data before
   upgrading. If the upgrade leads to a higher
   minor revision (e.g. 8.3.x -> 8.4), a dump
   and restore of all databases is
   required. This is *NOT* done by the port!

   Press ctrl-C *now* if you need to pg_dump.
   ===========================================
===> Creating users and/or groups.
Creating group 'pgsql' with gid '70'.
Creating user 'pgsql' with uid '70'.
  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...
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.

If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.

The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.

To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
   options         SYSVSHM
   options         SYSVSEM
   options         SYSVMSG
   options         SHMMAXPGS=65536
   options         SEMMNI=40
   options         SEMMNS=240
   options         SEMUME=40
   options         SEMMNU=120

If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.

Please note that if you use the rc script,
/usr/local/etc/rc.d/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default.  Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.

To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
	:lang=en_US.UTF-8:\
	:setenv=LC_COLLATE=C:\
	:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.

======================================================================

To initialize the database, run

   /usr/local/etc/rc.d/postgresql initdb

You can then start PostgreSQL by running:

   /usr/local/etc/rc.d/postgresql start

For postmaster settings, see ~pgsql/data/postgresql.conf

NB. FreeBSD's PostgreSQL port logs to syslog by default
     See ~pgsql/data/postgresql.conf for more info

======================================================================

To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf
===>   Returning to build of postgresql-repmgr-1.2.0
===>   postgresql-repmgr-1.2.0 depends on executable: gmake - not found
===>    Verifying install for gmake in /usr/ports/devel/gmake
===>   Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1... done
===>   Returning to build of postgresql-repmgr-1.2.0
===========================================================================
=======================<phase: lib-depends    
 >============================
===========================================================================
=======================<phase: configure      
 >============================
===>  Configuring for postgresql-repmgr-1.2.0
===========================================================================
=======================<phase: build          
 >============================
===>  Building for postgresql-repmgr-1.2.0
Makefile:34: warning: overriding recipe for target `install'
/usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk:99: warning: 
ignoring old recipe for target `install'
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
dbutils.o dbutils.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
config.o config.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
repmgrd.o repmgrd.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
log.o log.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
strutil.o strutil.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv dbutils.o config.o repmgrd.o log.o 
strutil.o -L/usr/local/lib -lpgport -L/usr/local/lib -lpq 
-L/usr/local/lib -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib 
-L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -Wl,--as-needed 
-Wl,-R'/usr/local/lib'  -lpgport -lintl -lxml2 -lssl -lcrypto -lz 
-lreadline -lcrypt -lm  -o repmgrd
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
check_dir.o check_dir.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. 
-I/usr/local/include/postgresql/server 
-I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o 
repmgr.o repmgr.c
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv dbutils.o check_dir.o config.o repmgr.o 
log.o strutil.o -L/usr/local/lib -lpgport -L/usr/local/lib -lpq 
-L/usr/local/lib -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib 
-L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -Wl,--as-needed 
-Wl,-R'/usr/local/lib'  -lpgport -lintl -lxml2 -lssl -lcrypto -lz 
-lreadline -lcrypt -lm  -o repmgr
===========================================================================
=======================<phase: run-depends    
 >============================
===>   postgresql-repmgr-1.2.0 depends on package: 
postgresql-server>=9.0 - not found
===>    Verifying install for postgresql-server>=9.0 in 
/usr/ports/databases/postgresql90-server
===>   Installing existing package 
/packages/All/postgresql90-server-9.0.14.txz
Installing postgresql90-server-9.0.14...postgresql90-server-9.0.14 
already installed

Failed to install the following 1 package(s): 
/packages/All/postgresql90-server-9.0.14.txz
*** [run-depends] Error code 70

Stop in /usr/ports/databases/postgresql-repmgr.
===>  Cleaning for postgresql-repmgr-1.2.0




---
System Administrator of Southern Federal University Computer Center



More information about the freebsd-ports mailing list