Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 20:22:46 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][sysutils/zbackup] Failed for zbackup-1.4.4_14 in build
Message-ID:  <202004292022.03TKMkp1057259@beefy18.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:     ports@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/sysutils/zbackup/Makefile 523788 2020-01-22 05:53:20Z sunpoet $
Log URL:        http://beefy18.nyi.freebsd.org/data/head-amd64-default/p533223_s360418/logs/zbackup-1.4.4_14.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p533223_s360418
Log:

=>> Building sysutils/zbackup
build started at Wed Apr 29 20:22:36 UTC 2020
port directory: /usr/ports/sysutils/zbackup
package name: zbackup-1.4.4_14
building for: FreeBSD head-amd64-default-job-02 13.0-CURRENT FreeBSD 13.0-CURRENT 1300093 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/sysutils/zbackup/Makefile 523788 2020-01-22 05:53:20Z sunpoet $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300076
Jail OSVERSION: 1300093
Job Id: 02




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300093
UNAME_v=FreeBSD 13.0-CURRENT 1300093
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
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-5-gc81843e5
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 zbackup-1.4.4_14:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/zbackup/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/zbackup/work  HOME=/wrkdirs/usr/ports/sysutils/zbackup/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/zbackup/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/zbackup/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/zbackup/work  HOME=/wrkdirs/usr/ports/sysutils/zbackup/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/zbackup/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 DESTDIR=/wrkdirs/usr/ports/sysutils/zbackup/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 "  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 44
 4"
--End MAKE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/zbackup DOCSDIR=/usr/local/share/doc/zbackup EXAMPLESDIR=/usr/local/share/examples/zbackup  WWWDIR=/usr/local/www/zbackup ETCDIR=/usr/local/etc/zbackup
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) 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 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) 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=1300093
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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   >============================
===>   NOTICE:

The zbackup port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zbackup-1.4.4_14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.3.txz
[head-amd64-default-job-02] Installing pkg-1.14.3...
[head-amd64-default-job-02] Extracting pkg-1.14.3: .......... done
===>   zbackup-1.4.4_14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of zbackup-1.4.4_14
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The zbackup port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zbackup-1.4.4_14 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The zbackup port currently does not have a maintainer. As a result, it is
<snip>

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zbackup-1.4.4_14 for building
===>  Extracting for zbackup-1.4.4_14
=> SHA256 Checksum OK for zbackup-zbackup-1.4.4_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zbackup-1.4.4_14
===>  Applying FreeBSD patches for zbackup-1.4.4_14
===========================================================================
=======================<phase: build-depends  >============================
===>   zbackup-1.4.4_14 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.17.1.txz
[head-amd64-default-job-02] Installing cmake-3.17.1...
[head-amd64-default-job-02] `-- Installing curl-7.69.1_1...
[head-amd64-default-job-02] |   `-- Installing ca_root_nss-3.51.1...
[head-amd64-default-job-02] |   `-- Extracting ca_root_nss-3.51.1: ........ done
[head-amd64-default-job-02] |   `-- Installing libnghttp2-1.40.0...
[head-amd64-default-job-02] |   `-- Extracting libnghttp2-1.40.0: .......... done
[head-amd64-default-job-02] `-- Extracting curl-7.69.1_1: .......... done
[head-amd64-default-job-02] `-- Installing expat-2.2.8...
[head-amd64-default-job-02] `-- Extracting expat-2.2.8: .......... done
[head-amd64-default-job-02] `-- Installing jsoncpp-1.9.2...
[head-amd64-default-job-02] `-- Extracting jsoncpp-1.9.2: .......... done
[head-amd64-default-job-02] `-- Installing libarchive-3.4.2,1...
[head-amd64-default-job-02] |   `-- Installing liblz4-1.9.2_1,1...
[head-amd64-default-job-02] |   `-- Extracting liblz4-1.9.2_1,1: .......... done
[head-amd64-default-job-02] |   `-- Installing lzo2-2.10_1...
[head-amd64-default-job-02] |   `-- Extracting lzo2-2.10_1: .......... done
[head-amd64-default-job-02] `-- Extracting libarchive-3.4.2,1: .......... done
[head-amd64-default-job-02] `-- Installing libuv-1.37.0...
[head-amd64-default-job-02] `-- Extracting libuv-1.37.0: .......... done
[head-amd64-default-job-02] `-- Installing rhash-1.3.9...
[head-amd64-default-job-02] |   `-- Installing gettext-runtime-0.20.2...
[head-amd64-default-job-02] |   | `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-02] |   `-- Extracting gettext-runtime-0.20.2: .......... done
[head-amd64-default-job-02] `-- Extracting rhash-1.3.9: .......... done
[head-amd64-default-job-02] Extracting cmake-3.17.1: .......... done
=====
Message from ca_root_nss-3.51.1:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   zbackup-1.4.4_14 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of zbackup-1.4.4_14
===>   zbackup-1.4.4_14 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.0,2.txz
[head-amd64-default-job-02] Installing ninja-1.10.0,2...
[head-amd64-default-job-02] `-- Installing python37-3.7.7...
[head-amd64-default-job-02] |   `-- Installing libffi-3.2.1_3...
[head-amd64-default-job-02] |   `-- Extracting libffi-3.2.1_3: .......... done
[head-amd64-default-job-02] |   `-- Installing readline-8.0.4...
[head-amd64-default-job-02] |   `-- Extracting readline-8.0.4: .......... done
[head-amd64-default-job-02] `-- Extracting python37-3.7.7: .......... done
[head-amd64-default-job-02] Extracting ninja-1.10.0,2: ........ done
=====
Message from python37-3.7.7:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
===>   zbackup-1.4.4_14 depends on executable: ninja - found
===>   Returning to build of zbackup-1.4.4_14
===========================================================================
=======================<phase: lib-depends    >============================
===>   zbackup-1.4.4_14 depends on shared library: libprotobuf.so - not found
===>   Installing existing package /packages/All/protobuf-3.11.4,1.txz
[head-amd64-default-job-02] Installing protobuf-3.11.4,1...
[head-amd64-default-job-02] Extracting protobuf-3.11.4,1: .......... done
===>   zbackup-1.4.4_14 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===>   Returning to build of zbackup-1.4.4_14
===>   zbackup-1.4.4_14 depends on shared library: liblzo2.so - found (/usr/local/lib/liblzo2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for zbackup-1.4.4_14
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4
-- The C compiler identification is Clang 10.0.0
-- The CXX compiler identification is Clang 10.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1g")  
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-pthread (found version "3.11.4") 
-- Found Threads: TRUE  
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - found
-- Found LibLZMA: /usr/include  
-- Looking for lzo1x_decompress_safe in /usr/local/lib/liblzo2.so
-- Looking for lzo1x_decompress_safe in /usr/local/lib/liblzo2.so - found
-- Looking for lzo1x_1_compress in /usr/local/lib/liblzo2.so
-- Looking for lzo1x_1_compress in /usr/local/lib/liblzo2.so - found
-- Found LibLZO: /usr/local/include  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4
===========================================================================
=======================<phase: build          >============================
===>  Building for zbackup-1.4.4_14
[1/34] cd /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4 && /usr/local/bin/protoc --cpp_out /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4 -I /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4 /wrkdirs/usr/ports/sysutils/zbackup/work/zbackup-1.4.4/zbackup.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: zbackup.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[2/34] /usr/bin/c++  -DHAVE_LIBLZO -I/usr/local/include -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MD -MT CMakeFiles/zbackup.dir/appendallocator.cc.o -MF CMakeFiles/zbackup.dir/appendallocator.cc.o.d -o CMakeFiles/zbackup.dir/appendallocator.cc.o -c appendallocator.cc
[3/34] /usr/bin/c++  -DHAVE_LIBLZO -I/usr/local/include -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MD -MT CMakeFiles/zbackup.dir/backup_exchanger.cc.o -MF CMakeFiles/zbackup.dir/backup_exchanger.cc.o.d -o CMakeFiles/zbackup.dir/backup_exchanger.cc.o -c backup_exchanger.cc
FAILED: CMakeFiles/zbackup.dir/backup_exchanger.cc.o 
/usr/bin/c++  -DHAVE_LIBLZO -I/usr/local/include -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MD -MT CMakeFiles/zbackup.dir/backup_exchanger.cc.o -MF CMakeFiles/zbackup.dir/backup_exchanger.cc.o.d -o CMakeFiles/zbackup.dir/backup_exchanger.cc.o -c backup_exchanger.cc
In file included from backup_exchanger.cc:4:
In file included from ./backup_exchanger.hh:9:
./sptr.hh:71:12: error: cannot initialize return object of type 'unsigned int' with an lvalue of type 'unsigned int *const'
  { return count; }
           ^~~~~
1 error generated.
[4/34] /usr/bin/c++  -DHAVE_LIBLZO -I/usr/local/include -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MD -MT CMakeFiles/zbackup.dir/backup_creator.cc.o -MF CMakeFiles/zbackup.dir/backup_creator.cc.o.d -o CMakeFiles/zbackup.dir/backup_creator.cc.o -c backup_creator.cc
FAILED: CMakeFiles/zbackup.dir/backup_creator.cc.o 
/usr/bin/c++  -DHAVE_LIBLZO -I/usr/local/include -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MD -MT CMakeFiles/zbackup.dir/backup_creator.cc.o -MF CMakeFiles/zbackup.dir/backup_creator.cc.o.d -o CMakeFiles/zbackup.dir/backup_creator.cc.o -c backup_creator.cc
In file included from backup_creator.cc:7:
In file included from ./backup_creator.hh:13:
In file included from ./chunk_index.hh:19:
In file included from ./bundle.hh:20:
./sptr.hh:71:12: error: cannot initialize return object of type 'unsigned int' with an lvalue of type 'unsigned int *const'
  { return count; }
           ^~~~~
In file included from backup_creator.cc:7:
In file included from ./backup_creator.hh:7:
In file included from /usr/local/include/google/protobuf/io/zero_copy_stream_impl_lite.h:53:
In file included from /usr/local/include/google/protobuf/stubs/common.h:42:
/usr/include/c++/v1/set:602:30: warning: the specified comparator type does not provide a viable const call operator [-Wuser-defined-warnings]
        static_assert(sizeof(__diagnose_non_const_comparator<_Key, _Compare>()), "");
                             ^
./objectcache.hh:40:3: note: in instantiation of member function 'std::__1::set<std::__1::__list_iterator<ObjectCache::Object, void *>, ObjectCache::ObjectsIteratorComp, std::__1::allocator<std::__1::__list_iterator<ObjectCache::Object, void *> > >::~set' requested here
  ~ObjectCache()
  ^
/usr/include/c++/v1/__tree:976:5: note: from 'diagnose_if' attribute on '__diagnose_non_const_comparator<std::__1::__list_iterator<ObjectCache::Object, void *>, ObjectCache::ObjectsIteratorComp>':
    _LIBCPP_DIAGNOSE_WARNING(!std::__invokable<_Compare const&, _Tp const&, _Tp const&>::value,
    ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__config:1297:21: note: expanded from macro '_LIBCPP_DIAGNOSE_WARNING'
     __attribute__((diagnose_if(__VA_ARGS__, "warning")))
                    ^           ~~~~~~~~~~~
1 warning and 1 error generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/zbackup



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