Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2020 01:30:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][databases/postgresql-repmgr] Failed for postgresql-repmgr-5.1.0 in build
Message-ID:  <202008220130.07M1UwBZ014557@beefy8.nyi.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:     bofh@FreeBSD.org
Last committer: bofh@FreeBSD.org
Ident:          $FreeBSD: head/databases/postgresql-repmgr/Makefile 532600 2020-04-22 21:44:48Z bofh $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p545479_s364329/logs/postgresql-repmgr-5.1.0.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p545479_s364329
Log:

=>> Building databases/postgresql-repmgr
build started at Sat Aug 22 01:30:10 UTC 2020
port directory: /usr/ports/databases/postgresql-repmgr
package name: postgresql-repmgr-5.1.0
building for: FreeBSD head-armv6-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300109 arm
maintained by: bofh@FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/postgresql-repmgr/Makefile 532600 2020-04-22 21:44:48Z bofh $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300109
Job Id: 06




!!! Jail is newer than host. (Jail: 1300109, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300109
UNAME_v=FreeBSD 13.0-CURRENT 1300109
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for postgresql-repmgr-5.1.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work  HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-repmgr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
USE_PGXS=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work  HOME=/wrkdirs/usr/ports/databases/postgresql-repmgr/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-repmgr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/includ
 e"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd " LIBS="-L/usr/local/lib -lintl"  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/postgresql-repmgr"  EXAMPLESDIR="share/examples/postgresql-repmgr"  DATADIR="share/postgresql-repmgr"  WWWDIR="www/postgresql-repmgr"  ETCDIR="etc/postgresql-repmgr"
--End PLIST_SUB--

--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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300109
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   postgresql-repmgr-5.1.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.7.txz
[head-armv6-default-job-06] Installing pkg-1.14.7...
[head-armv6-default-job-06] Extracting pkg-1.14.7: .......... done
===>   postgresql-repmgr-5.1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql-repmgr-5.1.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by postgresql-repmgr-5.1.0 for building
===========================================================================
=======================<phase: checksum       >============================
<snip>
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 perform vacuum on all
databases nightly. Per default, it performs `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.

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

NB. If you're not using a checksumming filesystem like ZFS, you might
    wish to enable data checksumming. It can only be enabled during
    the initdb phase, by adding the "--data-checksums" flag to
    the postgres_initdb_flags rcvar.  Check the initdb(1) manpage
    for more info and make sure you understand the performance
    implications.

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

To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf
===>   postgresql-repmgr-5.1.0 depends on executable: postgres - found
===>   Returning to build of postgresql-repmgr-5.1.0
===>   postgresql-repmgr-5.1.0 depends on file: /usr/local/bin/as - not found
===>   Installing existing package /packages/All/binutils-2.33.1_3,1.txz
[head-armv6-default-job-06] Installing binutils-2.33.1_3,1...
[head-armv6-default-job-06] Extracting binutils-2.33.1_3,1: .......... done
===>   postgresql-repmgr-5.1.0 depends on file: /usr/local/bin/as - found
===>   Returning to build of postgresql-repmgr-5.1.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   postgresql-repmgr-5.1.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for postgresql-repmgr-5.1.0
configure: loading site script /usr/ports/Templates/config.site
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for pg_config... /usr/local/bin/pg_config
configure: building against PostgreSQL PostgreSQL 11.9
checking for gnused... no
checking for gsed... no
checking for sed... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.global
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for postgresql-repmgr-5.1.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/postgresql-repmgr/work/repmgr-5.1.0'
Building against PostgreSQL 11
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr.o repmgr.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -shared -o repmgr.so repmgr.o -L/usr/local/lib   -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong   -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'  -L/usr/local/lib -lpq 
sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2020-08-22"/' repmgr_version.h.in >repmgr_version.h; \
sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 110009/' repmgr_version.h
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-client.o repmgr-client.c
repmgr-client.c:371:12: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                                                                                        sizeof(runtime_options.node_name));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4075:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                   local_system_identifier,
                                   ^~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4077:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                   follow_target_identification.system_identifier);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4085:45: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                log_detail(_("system identifier is %lu"), local_system_identifier);
                                                   ~~~    ^~~~~~~~~~~~~~~~~~~~~~~
                                                   %llu
4 warnings generated.
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-primary.o repmgr-action-primary.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-standby.o repmgr-action-standby.c
repmgr-action-standby.c:5483:14: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                                                                   source_system_identifier,
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
repmgr-action-standby.c:5485:14: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                                                                   test_system_identifier);
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-witness.o repmgr-action-witness.c
repmgr-action-witness.c:176:9: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                           primary_system_identifier);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-cluster.o repmgr-action-cluster.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-node.o repmgr-action-node.c
repmgr-action-node.c:140:18: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                                                  "%lu", local_system_identifier);
                                                                   ~~~   ^~~~~~~~~~~~~~~~~~~~~~~
                                                                   %llu
1 warning generated.
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-service.o repmgr-action-service.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o repmgr-action-daemon.o repmgr-action-daemon.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o configfile.o configfile.c
configfile.c:576:10: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                                                                        sizeof(options->node_name));
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
configfile.c:599:10: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                                                                        sizeof(options->replication_user));
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
flex  -o'configfile-scan.c' configfile-scan.l
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o configfile-scan.o configfile-scan.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o log.o log.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o strutil.o strutil.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o controldata.o controldata.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o dirutil.o dirutil.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o compat.o compat.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o dbutils.o dbutils.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o sysutils.o sysutils.c
/nxb-bin/usr/bin/cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC repmgr-client.o repmgr-action-primary.o repmgr-action-standby.o repmgr-action-witness.o repmgr-action-cluster.o repmgr-action-node.o repmgr-action-service.o repmgr-action-daemon.o configfile.o configfile-scan.o log.o strutil.o controldata.o dirutil.o compat.o dbutils.o sysutils.o -L/usr/local/lib -lpgcommon -lpgport -L/usr/local/lib -lpq -L/usr/local/lib   -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong   -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'  -lpgcommon -lpgport -lintl -lssl -lcrypto -lz -lreadline -lcrypt -lm  -o repmgr
ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-primary.c
>>>            repmgr-action-primary.o:(.bss+0x0)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-standby.c
>>>            repmgr-action-standby.o:(.bss+0x40C)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-witness.c
>>>            repmgr-action-witness.o:(.bss+0x800)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-cluster.c
>>>            repmgr-action-cluster.o:(.bss+0x0)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-node.c
>>>            repmgr-action-node.o:(.bss+0x0)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-service.c
>>>            repmgr-action-service.o:(.bss+0x0)

ld: error: duplicate symbol: source_conninfo
>>> defined at repmgr-client.c
>>>            repmgr-client.o:(source_conninfo)
>>> defined at repmgr-action-daemon.c
>>>            repmgr-action-daemon.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:73: repmgr] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql-repmgr/work/repmgr-5.1.0'
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgresql-repmgr



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