[package - 130i386-quarterly][sysutils/bareos17-server] Failed for bareos17-server-17.2.9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 29 May 2021 07:36:41 UTC
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:     acm@FreeBSD.org
Log URL:        http://beefy13.nyi.freebsd.org/data/130i386-quarterly/50477f68e31b/logs/bareos17-server-17.2.9.log
Build URL:      http://beefy13.nyi.freebsd.org/build.html?mastername=130i386-quarterly&build=50477f68e31b
Log:

=>> Building sysutils/bareos17-server
build started at Sat May 29 07:36:16 UTC 2021
port directory: /usr/ports/sysutils/bareos17-server
package name: bareos17-server-17.2.9
building for: FreeBSD 130i386-quarterly-job-14 13.0-RELEASE-p1 FreeBSD 13.0-RELEASE-p1 i386
maintained by: acm@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 14

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p1
UNAME_r=13.0-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130i386-quarterly/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 bareos17-server-17.2.9:
     MTX=off: Install mtx for control of autochanger devices
     NDMP=off: Enable build of NDMP support
     NLS=on: Native Language Support
     PYTHON=off: Python bindings or support
     SCSICRYPTO=on: Build LTO AME crypto plugin
====> Cryptographic library: you have to select exactly one of them
     OPENSSL=on: SSL/TLS support via OpenSSL
     GNUTLS=off: SSL/TLS support via GnuTLS
====> Database support: you have to select exactly one of them
     SQLITE3=off: SQLite 3 database support
     MYSQL=off: MySQL database support
     PGSQL=on: PostgreSQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-tcp-wrappers=/usr/lib  --enable-libtool  --enable-smartalloc  --sysconfdir=/usr/local/etc  --with-working-dir=/var/db/bareos  --with-scriptdir=/usr/local/share/bareos  --with-logdir=/var/log/bareos  --with-readline=/usr/local  --disable-conio  --enable-batch-insert  --with-plugindir=/usr/local/lib/bareos/plugins  --with-scriptdir=/usr/local/lib/bareos/scripts  --with-dump-email=root@localhost  --with-job-email=root@localhost  --with-db-name=bareos  --with-sbin-perm=755  --with-db-user=bareos  --with-baseport=9101  --with-pid-dir=/var/run/bareos  --with-jansson=/usr/local --with-dir-user=bareos  --with-dir-group=bareos  --with-sd-user=bareos  --with-sd-group=operator --without-gnutls --enable-ndmp=no --enable-nls --with-openssl=/usr --with-postgresql=yes --with-python=no --enable-scsi-crypto=yes --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work  HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/bareos17-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
MAN8="bareos.8 bareos-dir.8 bareos-sd.8 bcopy.8 bextract.8 bls.8 bscan.8  btape.8 btraceback.8 bareos-dbcheck.8" MAN1="bsmtp.1 bregex.1 bwild.1 bareos-tray-monitor.1" OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work  HOME=/wrkdirs/usr/ports/sysutils/bareos17-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/bareos17-server/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/readline -I/usr/local/include -I/usr/local/include -I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="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--
LIB_VERSION=17.2.9 BAREOS_DIR=/var/db/bareos GNUTLS="@comment " NO_GNUTLS="" MTX="@comment " NO_MTX="" MYSQL="@comment " NO_MYSQL="" NDMP="@comment " NO_NDMP="" NLS="" NO_NLS="@comment " OPENSSL="" NO_OPENSSL="@comment " PGSQL="" NO_PGSQL="@comment " PYTHON="@comment " NO_PYTHON="" SCSICRYPTO="" NO_SCSICRYPTO="@comment " SQLITE3="@comment " NO_SQLITE3="" DBTYPE=postgresql OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bareos"  EXAMPLESDIR="share/examples/bareos"  DATADIR="share/bareos"  WWWDIR="www/bareos"  ETCDIR="etc/bareos"
--End PLIST_SUB--

--SUB_LIST--
BAREOS_USER=bareos  BAREOS_GROUP=bareos  BAREOS_UID=997  BAREOS_GID=997  BAREOS_DIR=/var/db/bareos GNUTLS="@comment " NO_GNUTLS="" MTX="@comment " NO_MTX="" MYSQL="@comment " NO_MYSQL="" NDMP="@comment " NO_NDMP="" NLS="" NO_NLS="@comment " OPENSSL="" NO_OPENSSL="@comment " PGSQL="" NO_PGSQL="@comment " PYTHON="@comment " NO_PYTHON="" SCSICRYPTO="" NO_SCSICRYPTO="@comment " SQLITE3="@comment " NO_SQLITE3="" REQ_MYSQL="" REQ_PGSQL=postgresql PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/bareos DOCSDIR=/usr/local/share/doc/bareos EXAMPLESDIR=/usr/local/share/examples/bareos  WWWDIR=/usr/local/www/bareos ETCDIR=/usr/local/etc/bareos
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p1
OSREL=13.0
OSVERSION=1300139
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---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 AGPLv3 LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bareos17-server-17.2.9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130i386-quarterly-job-14] Installing pkg-1.16.3...
[130i386-quarterly-job-14] Extracting pkg-1.16.3: .......... done
===>   bareos17-server-17.2.9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bareos17-server-17.2.9
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License AGPLv3 LGPL3 accepted by the user
===> Fetching all distfiles required by bareos17-server-17.2.9 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License AGPLv3 LGPL3 accepted by the user
===> Fetching all distfiles required by bareos17-server-17.2.9 for building
=> SHA256 Checksum OK for bareos-bareos-Release-17.2.9_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License AGPLv3 LGPL3 accepted by the user
===> Fetching all distfiles required by bareos17-server-17.2.9 for building
===>  Extracting for bareos17-server-17.2.9
=> SHA256 Checksum OK for bareos-bareos-Release-17.2.9_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bareos17-server-17.2.9
===>  Applying FreeBSD patches for bareos17-server-17.2.9 from /usr/ports/sysutils/bareos17-server/files
/usr/bin/sed -i.bak -e '/docdir/d' /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/Makefile.in
<snip>
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 215: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 215: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: Fatal errors encountered -- cannot continue
make[2]: stopped in /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9

Configuration on Sat May 29 07:36:35 UTC 2021:

   Host:                         i386-portbld-freebsd13.0 -- freebsd 13.0-RELEASE-p1
   Bareos version:               Bareos 17.2.9 (09 April 2020)
   Distribution:                 freebsd
   Source code location:         .
   Modify package list:          
   Install binaries:             /usr/local/bin
   Install system binaries:      /usr/local/sbin
   Install libraries:            /usr/local/lib
   Install system config files:  /usr/local/etc
   Install Bareos config files:  /usr/local/etc/bareos
   Bareos config files:          /usr/local/etc/bareos
   Scripts directory:            /usr/local/lib/bareos/scripts
   Archive directory:            /tmp
   Working directory:            /var/db/bareos
   PID directory:                /var/run/bareos
   Subsys directory:             /var/run/subsys
   Man directory:                /usr/local/man
   Data directory:               /usr/local/share
   Backend directory:            /usr/local/lib
   Plugin directory:             /usr/local/lib/bareos/plugins
   C Compiler:                   cc version
   C++ Compiler:                 /usr/bin/c++ version
   Compiler flags:                -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
   Linker flags:                   -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -fstack-protector-strong 
   Libraries:                    -lpthread  -lintl
   Statically Linked Tools:      no
   Statically Linked FD:         no
   Statically Linked SD:         no
   Statically Linked DIR:        no
   Statically Linked CONS:       no
   Database backends:            PostgreSQL
   Database port:                 
   Database name:                bareos
   Database user:                bareos
   Database version:             2171

   Job Output Email:             root@localhost
   Traceback Email:              root@localhost
   SMTP Host Address:            localhost

   Director Port:                9101
   File daemon Port:             9102
   Storage daemon Port:          9103

   Director User:                bareos
   Director Group:               bareos
   Storage Daemon User:          bareos
   Storage DaemonGroup:          operator
   File Daemon User:             
   File Daemon Group:            

   Large file support:           yes
   Bareos conio support:         no -L/usr/local/lib -lreadline -lhistory -ltinfo
   readline support:             yes
   TCP Wrappers support:         yes -lwrap
   TLS support:                  yes
   Encryption support:           yes
   OpenSSL support:              yes
   GNUTLS support:               no
   ZLIB support:                 yes
   LZO support:                  yes
   FASTLZ support:               no
   JANSSON support:              yes
   LMDB support:                 no
   NDMP support:                 no
   enable-smartalloc:            yes
   enable-lockmgr:               no
   tray-monitor support:         no
   client-only:                  no
   build-dird:                   yes
   build-stored:                 yes
   Plugin support:               yes
   AFS support:                  no
   ACL support:                  yes
   XATTR support:                yes
   SCSI Crypto support:          yes
   GLUSTERFS support:            no
   DROPLET support:              no
   CEPH RADOS support:           no
   RADOS striping support:       no
   CEPHFS support:               no
   ELASTO support:               no
   Python support:               no 
   systemd support:              no 
   Batch insert enabled:         PostgreSQL
   cmocka support:               no
  
===========================================================================
=======================<phase: build          >============================
===>  Building for bareos17-server-17.2.9
scripts/git-info.sh build/
skipped: git not available
/bin/cp -p config.out build/
==>Entering directory /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src
==>Entering directory /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/scripts
==>Entering directory /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/cats
Compiling cats_backends.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Making libbareoscats.la ...
/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -fstack-protector-strong -L../lib -o libbareoscats.la cats_backends.lo -export-dynamic -rpath /usr/local/lib -release 17.2.9 -lbareos
Compiling bvfs.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling cats.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_create.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_delete.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_find.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_get.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_list.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_pooling.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Compiling sql_query.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
sql_query.c:53:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
   va_start(arg_ptr, predefined_query);
                     ^
sql_query.c:49:44: note: parameter of type 'B_DB::SQL_QUERY_ENUM' is declared here
void B_DB::fill_query(B_DB::SQL_QUERY_ENUM predefined_query, ...)
                                           ^
sql_query.c:62:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
   va_start(arg_ptr, predefined_query);
                     ^
sql_query.c:58:61: note: parameter of type 'B_DB::SQL_QUERY_ENUM' is declared here
void B_DB::fill_query(POOL_MEM &query, B_DB::SQL_QUERY_ENUM predefined_query, ...)
                                                            ^
sql_query.c:71:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
   va_start(arg_ptr, predefined_query);
                     ^
sql_query.c:67:61: note: parameter of type 'B_DB::SQL_QUERY_ENUM' is declared here
void B_DB::fill_query(POOLMEM *&query, B_DB::SQL_QUERY_ENUM predefined_query, ...)
                                                            ^
sql_query.c:112:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
   va_start(arg_ptr, predefined_query);
                     ^
sql_query.c:107:43: note: parameter of type 'B_DB::SQL_QUERY_ENUM' is declared here
bool B_DB::sql_query(B_DB::SQL_QUERY_ENUM predefined_query, ...)
                                          ^
4 warnings generated.
Compiling sql_update.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Making libbareossql.la ...
/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -fstack-protector-strong -L../lib -o libbareossql.la bvfs.lo cats.lo sql.lo sql_create.lo sql_delete.lo sql_find.lo sql_get.lo sql_list.lo sql_pooling.lo sql_query.lo sql_update.lo -export-dynamic -rpath /usr/local/lib -release 17.2.9  -lbareos -lbareoscats
Compiling postgresql.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Making libbareoscats-postgresql.la ...
/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -fstack-protector-strong -L../lib -o libbareoscats-postgresql.la postgresql.lo -export-dynamic -rpath /usr/local/lib -release 17.2.9  -soname libbareoscats-17.2.9.so -R /usr/local/lib -L/usr/local/lib -lpq -lcrypt
==== Make of sqllibs is good ====
 
==>Entering directory /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 203: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 203: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 203: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 215: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 215: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 215: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 226: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareosfind.la"
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareoscfg.la  ../cats/libbareossql.la  ../cats/libbareoscats.la  "
make[2]: "/wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird/Makefile" line 238: Unclosed variable "LOCALBAS/usr/local/lib/libbareos.la  "
make[2]: Fatal errors encountered -- cannot continue
make[2]: stopped in /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird


  ====== Error in /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9/src/dird ======


*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/bareos17-server/work/bareos-Release-17.2.9
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/bareos17-server