Created attachment 230003 [details] fix configure failure Fix configure error: ===> Configuring for marble-21.08.3_1 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/astro/marble/work/.build -- The C compiler identification is Clang 11.0.1 -- The CXX compiler identification is Clang 11.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) CMake Error at /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5Test" with any of the following names: Qt5TestConfig.cmake qt5test-config.cmake Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set "Qt5Test_DIR" to a directory containing one of the above files. If "Qt5Test" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:116 (find_package) -- Configuring incomplete, errors occurred!
Is this failure conditional on any particular OPTIONS or does it fail in the global / default scope?
Yes, seems I enabled DOCS option: eric /u/p/a/marble (main)> make -V OPTIONS_DEFAULT GPS WEBENGINE eric /u/p/a/marble (main)> make -V SELECTED_OPTIONS DOCS GPS WEBENGINE eric /u/p/a/marble (main)> I will verify is it depends on DOCS option.
It's not DOCS option related, maybe it only happened on my machine because I have set some OPTIONS. /u/p/a/marble (main)> make -V OPTIONS_SET AESNI SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX LTO VAAPI VDPAU OPENCL OSS PULSEAUDIO ALSA CUPS WAYLAND LZ4 ZSTD
I just removed QTTest as a link-time-dependency from quazip, which is a dependency of marble. That probably drops it from the implicit dependencies of marble, leading to this issue. Strange, I thought I had pou'ed this.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8328ee460a15f460233601c2254ed277791224df commit 8328ee460a15f460233601c2254ed277791224df Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-12-09 23:58:35 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-12-10 00:04:12 +0000 astro/marble: fix build Qt testlib was implicitly a dependency for the build (tests are mandatory), not listed in the port. Dropping testlib from quazip changed the dependency tree. Not bumping PORTREVISION, because the after the previous bump it couldn't have built. PR: 260298 Reported by: Eric Camachat astro/marble/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Protobuf is optional, for .. "Parsing of OSM PBF files." So that's a specialized Open Street Map function. It wasn't enabled / used before, and still isn't. The Qt testlib was the actual cause of the configure failure. (CMake is not super clear in cases like this, where one optional thing isn't found and it looks like that that is the cause).