Date: Sun, 14 Apr 2019 19:19:30 GMT From: pkg-fallout@FreeBSD.org To: acm@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - head-amd64-default][sysutils/bareos-server] Failed for bareos-server-17.2.7_2 in build Message-ID: <201904141919.x3EJJUtY042077@beefy12.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: acm@FreeBSD.org Last committer: sunpoet@FreeBSD.org Ident: $FreeBSD: head/sysutils/bareos-server/Makefile 498476 2019-04-09 14:04:49Z sunpoet $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p498785_s346161/logs/bareos-server-17.2.7_2.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p498785_s346161 Log: =>> Building sysutils/bareos-server build started at Sun Apr 14 19:17:26 UTC 2019 port directory: /usr/ports/sysutils/bareos-server package name: bareos-server-17.2.7_2 building for: FreeBSD head-amd64-default-job-17 13.0-CURRENT FreeBSD 13.0-CURRENT 1300018 amd64 maintained by: acm@FreeBSD.org Makefile ident: $FreeBSD: head/sysutils/bareos-server/Makefile 498476 2019-04-09 14:04:49Z sunpoet $ Poudriere version: 3.2.8-3-g02cc9753 Host OSVERSION: 1300009 Jail OSVERSION: 1300018 Job Id: 17 !!! Jail is newer than host. (Jail: 1300018, Host: 1300009) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300018 UNAME_v=FreeBSD 13.0-CURRENT 1300018 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-3-g02cc9753 MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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 bareos-server-17.2.7_2: 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/bareos-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work 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 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --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/bareos-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/bareos-server/work 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 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 -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 " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protecto r -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.7 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 #### /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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-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" "-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 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300018 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=262144 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) 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 AGPLv3 LGPL3 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> bareos-server-17.2.7_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [head-amd64-default-job-17] Installing pkg-1.10.5_5... [head-amd64-default-job-17] Extracting pkg-1.10.5_5: .......... done ===> bareos-server-17.2.7_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bareos-server-17.2.7_2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License AGPLv3 LGPL3 accepted by the user ===> Fetching all distfiles required by bareos-server-17.2.7_2 for building =========================================================================== =======================<phase: checksum >============================ ===> License AGPLv3 LGPL3 accepted by the user ===> Fetching all distfiles required by bareos-server-17.2.7_2 for building => SHA256 Checksum OK for bareos-bareos-Release-17.2.7_GH0.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License AGPLv3 LGPL3 accepted by the user <snip> c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_query.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_restore.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_run.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_select.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_server.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_status.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_tree.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ua_update.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling vbackup.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling verify.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Linking bareos-dir ... /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector -L../lib -L../cats -L../findlib -o bareos-dir admin.o archive.o authenticate.o autoprune.o backup.o bsr.o catreq.o consolidate.o dir_plugins.o dird_conf.o dird.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o ndmp_dma_storage.o ndmp_dma_backup_common.o ndmp_dma_backup_NDMP_BAREOS.o ndmp_dma_backup_NDMP_NATIVE.o ndmp_dma_generic.o ndmp_dma_restore_common.o ndmp_dma_restore_NDMP_BAREOS.o ndmp_dma_restore_NDMP_NATIVE.o ndmp_fhdb_common.o ndmp_fhdb_helpers.o ndmp_fhdb_mem.o ndmp_fhdb_lmdb.o ndmp_ndmmedia_db_helpers.o newvol.o next_vol.o quota.o socket_server.o recycle.o restore.o run_conf.o sd_cmds.o scheduler.o stats.o storage.o ua_acl.o ua_audit.o ua_cmds.o ua_configure.o ua_db.o ua_dotcmds.o ua_input.o ua_impexp.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua _query.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lbareosfind -lbareossql -lbareoscats -lbareoscfg -lbareos -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ljansson Compiling dbcheck.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Linking bareos-dbcheck ... /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector -L../lib -L../findlib -L../cats -o bareos-dbcheck dbcheck.o dird_conf.o ua_acl.o ua_audit.o run_conf.o inc_conf.o -lbareoscats -lbareossql -lbareoscfg -lbareosfind -lbareos -lm -lpthread -lintl /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ljansson ==== Make of dird is good ==== ==>Entering directory /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored Compiling acquire.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ansi_label.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling askdir.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling autochanger.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling block.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling bsr.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling butil.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling crc32.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling dev.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ebcdic.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling label.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling lock.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling mount.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling read_record.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling record.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] record.c:217:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] stream &= STREAMMASK_TYPE; ^~~~~~~~~~~~~~~ ./include/streams.h:48:56: note: expanded from macro 'STREAMMASK_TYPE' #define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) ~~~~^ record.c:288:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] switch (stream & STREAMMASK_TYPE) { ^~~~~~~~~~~~~~~ ./include/streams.h:48:56: note: expanded from macro 'STREAMMASK_TYPE' #define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) ~~~~^ record.c:955:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] rec->maskedStream = rec->Stream & STREAMMASK_TYPE; ^~~~~~~~~~~~~~~ ./include/streams.h:48:56: note: expanded from macro 'STREAMMASK_TYPE' #define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) ~~~~^ record.c:958:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] rec->maskedStream = rec->Stream & STREAMMASK_TYPE; ^~~~~~~~~~~~~~~ ./include/streams.h:48:56: note: expanded from macro 'STREAMMASK_TYPE' #define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) ~~~~^ 4 warnings generated. Compiling reserve.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling scan.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling sd_backends.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling sd_plugins.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling sd_stats.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling spool.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] spool.c:269:11: warning: destination for this 'memset' call is a pointer to dynamic class 'DEVICE'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(rdev, 0, sizeof(DEVICE)); ~~~~~~ ^ spool.c:269:11: note: explicitly cast the pointer to silence this warning memset(rdev, 0, sizeof(DEVICE)); ^ (void*) 1 warning generated. Compiling stored_conf.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling vol_mgr.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling wait.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/unix_file_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/cephfs_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/chunked_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/droplet_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/elasto_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/generic_tape_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/gfapi_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/rados_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/unix_fifo_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling backends/unix_tape_device.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Making libbareossd.la ... /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector -L../lib -o libbareossd.la acquire.lo ansi_label.lo askdir.lo autochanger.lo block.lo bsr.lo butil.lo crc32.lo dev.lo device.lo ebcdic.lo label.lo lock.lo mount.lo read_record.lo record.lo reserve.lo scan.lo sd_backends.lo sd_plugins.lo sd_stats.lo spool.lo stored_conf.lo vol_mgr.lo wait.lo unix_file_device.lo cephfs_device.lo chunked_device.lo droplet_device.lo elasto_device.lo generic_tape_device.lo gfapi_device.lo rados_device.lo unix_fifo_device.lo unix_tape_device.lo -export-dynamic -rpath /usr/local/lib -release 17.2.7 -lbareos -lbareoscfg Compiling append.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] append.c:214:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dcr->rec->maskedStream = stream & STREAMMASK_TYPE; /* strip high bits */ ^~~~~~~~~~~~~~~ ./include/streams.h:48:56: note: expanded from macro 'STREAMMASK_TYPE' #define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) ~~~~^ 1 warning generated. Compiling askdir.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling authenticate.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling dir_cmd.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling fd_cmds.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling job.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling mac.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling ndmp_tape.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling read.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling sd_cmds.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling sd_stats.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling socket_server.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling status.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Compiling stored.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Linking bareos-sd ... /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector -L. -L../lib -o bareos-sd append.o askdir.o authenticate.o dir_cmd.o fd_cmds.o job.o mac.o ndmp_tape.o read.o sd_cmds.o sd_stats.o socket_server.o status.o stored.o -lbareossd -lbareoscfg -lbareos -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ljansson Compiling bls.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Linking bls ... /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector -L. -L../lib -L../findlib -o bls bls.o -lbareossd -lbareosfind -lbareoscfg -lbareos -lm -lpthread -lintl /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_delete ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_dumps ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_integer ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_object ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_object_set_new ld: error: /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.libs/libbareossd.so: undefined reference to json_string c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored ====== Error in /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored ====== *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7 *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/bareos-server
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904141919.x3EJJUtY042077>