Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2023 04:07:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273064] sysutils/bareos-client: "/usr/bin/c++" is not able to compile a simple test program.
Message-ID:  <bug-273064-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273064

            Bug ID: 273064
           Summary: sysutils/bareos-client: "/usr/bin/c++" is not able to
                    compile a simple test program.
           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

Host is recent CURRENT, the jail is CURRENT, too. Environment is poudriere,=
 see
below.

[...]
=3D=3D=3D>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/sysutils/bareos-client/work/.build
Entering /wrkdirs/usr/ports/sysutils/bareos-client/work/bareos-Release-22.0=
.3
-- Could NOT find Git (missing: GIT_EXECUTABLE)=20
-- Using version information from
/wrkdirs/usr/ports/sysutils/bareos-client/work/bareos-Release-22.0.3/cmake/=
BareosVersion.cmake
BAREOS_NUMERIC_VERSION is 22.0.3
BAREOS_FULL_VERSION is 22.0.3
Entering
/wrkdirs/usr/ports/sysutils/bareos-client/work/bareos-Release-22.0.3/third-=
party
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60
(message):
  The C++ compiler

    "/usr/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir:
/wrkdirs/usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScrat=
ch/TryCompile-VMoUHp

    Run Build Command(s):/usr/local/bin/ninja -v cmTC_1d2a6 && [1/2]
/usr/bin/c++   -O2 -pipe -DMDB_DSYNC=3DO_SYNC -DMDB_USE_POSIX_SEM=3D1
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include -o CMakeFiles/cmTC_1d2a6.dir/testCXXCompiler.cx=
x.o
-c
/wrkdirs/usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScrat=
ch/TryCompile-VMoUHp/testCXXCompiler.cxx
    FAILED: CMakeFiles/cmTC_1d2a6.dir/testCXXCompiler.cxx.o=20
    /usr/bin/c++   -O2 -pipe -DMDB_DSYNC=3DO_SYNC -DMDB_USE_POSIX_SEM=3D1
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include -o CMakeFiles/cmTC_1d2a6.dir/testCXXCompiler.cx=
x.o
-c
/wrkdirs/usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScrat=
ch/TryCompile-VMoUHp/testCXXCompiler.cxx
    error: environment variable 'SOURCE_DATE_EPOCH' ('') must be a non-nega=
tive
decimal integer <=3D 253402300799
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  third-party/CLI11/CMakeLists.txt:25 (project)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/bareos-client
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for bareos-client-22.0.3
build of sysutils/bareos-client | bareos-client-22.0.3 ended at Thu Aug 10
17:28:47 UTC 2023
build time: 00:00:22
!!! build failure encountered !!!

[...]

=3D>> Building sysutils/bareos-client
build started at Thu Aug 10 17:28:29 UTC 2023
port directory: /usr/ports/sysutils/bareos-client
package name: bareos-client-22.0.3
building for: FreeBSD pulverfass.dr-intern 14.0-CURRENT FreeBSD 14.0-CURRENT
1400094 amd64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 452 Apr 13 15:49
/usr/ports/sysutils/bareos-client/Makefile
Ports top last git commit: 40e2e9a9f8
Ports top unclean checkout: no
Port dir last git commit: e106c20f31
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400094
Jail OSVERSION: 1400094
Job Id: 01

---Begin Environment---
SHELL=3D/bin/sh
OSVERSION=3D1400094
UNAME_v=3DFreeBSD 14.0-CURRENT 1400094
UNAME_r=3D14.0-CURRENT
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20220831
MAKEOBJDIRPREFIX=3D/pool/sources/CURRENT/obj/
MASTERMNT=3D/pool/poudriere/data/.m/headamd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/headamd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3Dheadamd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/headamd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
bareos-client-22.0.3:
     NLS=3Don: Native Language Support
     PYTHON=3Doff: Python bindings or support
     SCSICRYPTO=3Don: Build LTO AME crypto plugin
=3D=3D=3D=3D> Build and/or install plugins
     GFAPI=3Doff: GFAPI fd plugin support
=3D=3D=3D=3D> Cryptographic library: you have to select exactly one of them
     OPENSSL=3Don: SSL/TLS support via OpenSSL
     GNUTLS=3Doff: SSL/TLS support via GnuTLS
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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