[Bug 261226] sysutils/bareos-server: compiler error: undefined reference to json_object
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jan 2022 13:24:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261226 Bug ID: 261226 Summary: sysutils/bareos-server: compiler error: undefined reference to json_object Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org On FreeBSD 13/STABLE jail performing poudriere job, the port sysutils/bareos-server fails to compile due to a linker error, see below. Evironment: =>> Building sysutils/bareos-server build started at Sat Jan 15 11:42:23 UTC 2022 port directory: /usr/ports/sysutils/bareos-server package name: bareos-server-20.0.3 building for: FreeBSD hostname.gder 13.0-STABLE FreeBSD 13.0-STABLE 1300523 amd64 maintained by: acm@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 6710 Nov 26 00:06 /usr/ports/sysutils/bareos-server/Makefile Ports top last git commit: bee5c815503c Ports top unclean checkout: no Port dir last git commit: 04b9da414081 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20211130 Host OSVERSION: 1400047 Jail OSVERSION: 1300523 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300523 UNAME_v=FreeBSD 13.0-STABLE 1300523 UNAME_r=13.0-STABLE 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 POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.99.20211130 MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/ MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/pool/poudriere/data/.m/13-amd64-head-default/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=13-amd64-head-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.3.99.20211130 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 bareos-server-20.0.3: LMDB=on: Enable faster accurate backup support 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 ====> Storage backends CEPHFS=off: CEPHFS backend support GFAPI=off: GFAPI backend support RADOS=off: RADOS backend support ====> 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-- --without-gnutls --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work/.cache HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/bareos-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- [...] FAILED: core/src/stored/bls : && /usr/bin/c++ -O2 -pipe -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wsuggest-override -Wformat -Werror=format-security -fdebug-prefix-map=/wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-20.0.3/core=. -fmacro-prefix-map=/wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-20.0.3/core=. -Wno-unknown-pragmas -Wall -Wno-deprecated-register -O2 -pipe -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong core/src/stored/CMakeFiles/bls.dir/bls.cc.o -o core/src/stored/bls -Wl,-rpath,/wrkdirs/usr/ports/sysutils/bareos-server/work/.build/core/src/stored: -lintl -lbareos core/src/stored/libbareossd.so -lbareosfind /usr/lib/libpthread.so -lintl && : ld: error: core/src/stored/libbareossd.so: undefined reference to json_object [--no-allow-shlib-undefined] ld: error: core/src/stored/libbareossd.so: undefined reference to json_integer [--no-allow-shlib-undefined] ld: error: core/src/stored/libbareossd.so: undefined reference to json_object_set_new [--no-allow-shlib-undefined] ld: error: core/src/stored/libbareossd.so: undefined reference to json_string [--no-allow-shlib-undefined] ld: error: core/src/stored/libbareossd.so: undefined reference to json_dumps [--no-allow-shlib-undefined] ld: error: core/src/stored/libbareossd.so: undefined reference to json_delete [--no-allow-shlib-undefined] c++: error: linker command failed with exit code 1 (use -v to see invocation) -- You are receiving this mail because: You are the assignee for the bug.