[Bug 272815] sysutils/bareos-client: build error: /usr/bin/c++ - broken
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jul 2023 09:43:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272815 Bug ID: 272815 Summary: sysutils/bareos-client: build error: /usr/bin/c++ - broken 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 recent CURRENT ( FreeBSD 14.0-CURRENT amd64 1400093 #49 main-n264425-38f5cb1bfbe1: Sun Jul 30 09:15:36 CEST 2023 amd64) with uptodate ports tree, port sysutils/bareos-client fails to update/build with error shown below. It seems the build environment is not picking up the llvm/clang from ports? [...] ===> Configuring for bareos-client-22.0.3 ===> Performing out-of-source build /bin/mkdir -p /usr/ports/sysutils/bareos-client/work/.build Entering /usr/ports/sysutils/bareos-client/work/bareos-Release-22.0.3 -- Found Git: /usr/local/bin/git (found version "2.41.0") -- Using version information from /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 /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: /usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScratch/TryCompile-P6xmIg Run Build Command(s):/usr/local/bin/ninja -v cmTC_13dc8 && [1/2] /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 -o CMakeFiles/cmTC_13dc8.dir/testCXXCompiler.cxx.o -c /usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScratch/TryCompile-P6xmIg/testCXXCompiler.cxx FAILED: CMakeFiles/cmTC_13dc8.dir/testCXXCompiler.cxx.o /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 -o CMakeFiles/cmTC_13dc8.dir/testCXXCompiler.cxx.o -c /usr/ports/sysutils/bareos-client/work/.build/CMakeFiles/CMakeScratch/TryCompile-P6xmIg/testCXXCompiler.cxx error: environment variable 'SOURCE_DATE_EPOCH' ('') must be a non-negative decimal integer <= 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) -- You are receiving this mail because: You are the assignee for the bug.