Summary: | [exp-run] devel/cmake: Update to 3.27.6 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jason E. Hale <jhale> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | jhale:
exp-run?
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://people.freebsd.org/~jhale/patches/0001-devel-cmake-Update-to-3.27.6.patch | ||||||
Attachments: |
|
Description
Jason E. Hale
![]() ![]() Some new failure logs: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/tiledb-2.17.1.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/qcoro-qt6-0.9.0.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/dolphin-emu-5.0.19870.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/cxxplot-0.4.2_1.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/py39-fastscapelib-0.1.3.53_1.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/libquotient-qt6-0.8.1_1.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/downzemall-3.0.6_1.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/libkml-1.3.0_26.log https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-10-08_20h10m54s/logs/errors/albert-0.20.5_2.log https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-10-09_09h08m02s/logs/errors/py39-fastscapelib-0.1.3.53_1.log https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-10-09_09h08m02s/logs/errors/libkml-1.3.0_26.log A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=baf3577af42838a9a09a98fd3ca03adc60a55853 commit baf3577af42838a9a09a98fd3ca03adc60a55853 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-11-08 05:30:32 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-11-08 05:36:35 +0000 science/libkml: Fix linking with CMake >= 3.27 Due to changes [1] in the FindEXPAT module, this was failing to link with newer versions of CMake. FAILED: bin/example_balloonwalker : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -DNDEBUG -lz -fstack-protector-strong examples/engine/CMakeFiles/example_balloonwalker.dir/balloonwalker.cc.o -o bin/example_balloonwalker -Wl,-rpath,/wrkdirs/usr/ports/science/libkml/work/.build/lib:/usr/local/lib lib/libkmlengine.so.1.3.1 lib/libkmldom.so.1.3.1 lib/libkmlbase.so.1.3.1 /usr/local/lib/libminizip.so /usr/local/lib/liburiparser.so && : ld: error: lib/libkmldom.so.1.3.1: undefined reference to XML_StopParser [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserCreateNS [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserCreate [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetUserData [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetElementHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetCharacterDataHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetEntityDeclHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetNamespaceDeclHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_StopParser [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserFree [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_Parse [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetBuffer [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParseBuffer [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetParsingStatus [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetErrorCode [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ErrorString [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetCurrentLineNumber [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetCurrentColumnNumber [--no-allow-shlib-undefined] c++: error: linker command failed with exit code 1 (use -v to see invocation) [1] https://github.com/Kitware/CMake/commit/13079f382b480c8fe6a68d98afc2cec716a75e59 PR: 274225 science/libkml/files/patch-src_kml_base_CMakeLists.txt (new) | 12 ++++++++++++ 1 file changed, 12 insertions(+) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=78447ad699f46b28cb98d0564563b8b29b0d40db commit 78447ad699f46b28cb98d0564563b8b29b0d40db Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-11-08 07:40:41 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-11-08 07:52:12 +0000 databases/tiledb: Fix configure with CMake >= 3.27 After [1], CMake trusts OPENSSL_ROOT_DIR implicitly, so if isn't set right, OpenSSL may not be found. This project uses OPENSSL_PATHS to set OPENSSL_ROOT_DIR, so CMake tries to find OpenSSL in TILEDB_EP_INSTALL_PREFIX which is problably not where we want to look. Pass ${OPENSSLBASE} to set OPENSSL_PATHS so we are looking in the right location. [1] https://github.com/Kitware/CMake/commit/5cc8a69867ac42333a656607d90059a6db823abd PR: 274225 Approved by: portmgr (blanket build fix) databases/tiledb/Makefile | 1 + .../files/patch-cmake_Modules_FindOpenSSL__EP.cmake (new) | 15 +++++++++++++++ 2 files changed, 16 insertions(+) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5244b8425c414f0bca521df362eb62bb334640b3 commit 5244b8425c414f0bca521df362eb62bb334640b3 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-11-09 22:32:11 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-11-09 22:40:34 +0000 devel/cmake*: Update to 3.27.7 [1] Add support for keywords like RUNTIME_DEPENDENCY_SET and RUNTIME_DEPENDENCIES in the install() command and GET_RUNTIME_DEPENDENCIES in the file() command. [2] https://cmake.org/cmake/help/v3.27/release/3.27.html PR: 274225 [1], 274275 [2] Reported by: yuri [2] Exp-run by: antoine [1] Mk/Uses/cmake.mk | 2 +- devel/cmake-core/Makefile | 8 +- devel/cmake-core/distinfo | 6 +- ...patch-Source_cmBinUtilsLinuxELFLinker.cxx (new) | 20 ++++ .../patch-Source_cmQtAutoGenInitializer.cxx (new) | 25 +++++ ...tch-Source_cmRuntimeDependencyArchive.cxx (new) | 33 +++++++ ...9495033da40f798db9ec064d9b16ea672fc.diff (gone) | 47 --------- devel/cmake-core/pkg-plist | 109 +++++++++++++++++++-- devel/cmake-doc/Makefile | 1 - devel/cmake-doc/pkg-plist | 98 +++++++++++++++--- devel/cmake-gui/Makefile | 23 +++-- 11 files changed, 289 insertions(+), 83 deletions(-) All build failures have been resolved. Thanks for the exp-run! |