| Summary: | sysutils/bareos-client: build error: /usr/bin/c++ - broken | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
| Component: | Individual Port(s) | Assignee: | Jose Alonso Cardenas Marquez <acm> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(acm) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Currently, bareos*-client ports are compiling without problems on FreeBSD 14.x. I'll close this PR root@ifrit:~ # uname -a FreeBSD ifrit 14.0-BETA2 FreeBSD 14.0-BETA2 #0 releng/14.0-n265096-dfd44f2f0143: Fri Sep 15 05:46:35 UTC 2023 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@ifrit:~ # pkg search bareos bareos-client-22.0.3 Backup archiving recovery open sourced (client) bareos-server-22.0.3 Backup archiving recovery open sourced (server) bareos-traymonitor-22.0.3 Backup archiving recovery open sourced (traymonitor) bareos-webui-22.0.3 PHP-Frontend to manage Bareos over the web bareos19-client-19.2.13 Backup archiving recovery open sourced (client) bareos19-server-19.2.13 Backup archiving recovery open sourced (server) bareos19-traymonitor-19.2.13 Backup archiving recovery open sourced (traymonitor) bareos19-webui-19.2.13 PHP-Frontend to manage Bareos over the web bareos20-client-20.0.8 Backup archiving recovery open sourced (client) bareos20-server-20.0.8 Backup archiving recovery open sourced (server) bareos20-traymonitor-20.0.8 Backup archiving recovery open sourced (traymonitor) bareos20-webui-20.0.8 PHP-Frontend to manage Bareos over the web bareos21-client-21.1.7 Backup archiving recovery open sourced (client) bareos21-server-21.1.7 Backup archiving recovery open sourced (server) bareos21-traymonitor-21.1.7 Backup archiving recovery open sourced (traymonitor) bareos21-webui-21.1.7 PHP-Frontend to manage Bareos over the web py39-python-bareos-22.0.3 client library and tools for Bareos console access |
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)