On Sun, Aug 11, 2024 at 1:00 PM Dave Lawrence <[email protected]> wrote: > > Hello, per this: > > > ===> Script "configure" failed unexpectedly. > > Please report the problem to [email protected] [maintainer] and attach > > the "/usr/ports/devel/cmake-core/work/cmake-3.30.2/config.log" ... > > I would attach a config.log but there is none in that directory. > > Attached is the errors leading up to that, as came from "portmaster > devel/cmake-core". I've also attached the output of the pkg command > that the error requested. > > Thank you for looking at it. >
There will be no config.log and we do need to fix that error message for ports that use CMake to build and for CMake itself. If you could provide "/usr/ports/devel/cmake-core/work/cmake-3.30.2/Bootstrap.cmk/cmake_bootstrap.log", that would be extremely helpful. Could you please also provide the output of the following commands: make -C /usr/ports/devel/cmake-core -VCXX c++ -### All I can really tell for sure right now is the CMake bootstrap isn't finding a working c++ compiler/installation on your system. The first command is to determine the sanity of the CXX variable, because the bootstrap uses this via the ports framework to determine the c++ compiler to test and works even if that variable were to be empty or undefined (which it shouldn't be), but will fail if it is set to something like clang++17 and devel/llvm17 is not installed. The second is to see if the base c++ compiler can at least identify itself. Are you using ccache? That shouldn't matter too much and I didn't see it in your ports list, so I assume no, but it might help narrow things down. - Jason
