Created attachment 248218 [details] Patch to update devel/ccache4 from 4.9 to 4.9.1 (via git am) Hi. New version was released recently with a few minor bugfixes for several corner cases. While here, pet portlint Poudriere tests passed. src built fine
Maintainer timeout?
Created attachment 249018 [details] Patch to update devel/ccache4 from 4.9 to 4.9.1 (via git am) v. 2 While here, add llvm18 to the list of compilers
Created attachment 249635 [details] Patch to update devel/ccache4 from 4.9 to 4.9.1 (via git am) v. 3 Chase llvm10 removal
Created attachment 251087 [details] Patch to update devel/ccache4 from 4.9 to 4.10 (via git am) 4.10 has been released. libfmt and xxHash are external now. poudriere checks passed.
(In reply to Oleg Sidorkin from comment #4) Looks like it breaks build with STATIC option: CMake Error at cmake/FindFmt.cmake:33 (message): Could not find Fmt>=8.0.0 because it's looking for libfmt.a and devel/libfmt has libfmt.so.
Created attachment 251102 [details] ccache4-4.10.diff I fixed building with STATIC option and attached the patch. Testing by poudriere with and without STATIC option.
(In reply to Denis Shaposhnikov from comment #6) Thanks. That's much easier than teaching libfmt to build both static and shared versions.
Up.
Created attachment 251808 [details] Patch to update devel/ccache4 from 4.9 to 4.10.1 (via git am) 4.10.1 was released. It has libfmt bundled again. Switch port to it, so now both static and non-static cases are handled correclty. Also update list of compilers we have in ports. Thanks.
Created attachment 251812 [details] Patch to update devel/ccache4 from 4.9 to 4.10.1 (via git am) v2 Truncate removed GCCs. Poudriere checks passed.
Created attachment 252228 [details] Patch to update devel/ccache4 from 4.9 to 4.10.2 (via git am) 4.10.2 was released. Update patch to it.
*** Bug 283910 has been marked as a duplicate of this bug. ***
Maintainer timeout 1 year.
Created attachment 257084 [details] v1 Based on patches from Oleg Sidorkin and Älven. Improve port: - Update required compiler version from 11 to 17. - Update CONFLICTS_INSTALL. - Update GNU_COMPILERS and CLANG_COMPILERS. - Update LIB_DEPENDS. - Update dependencies in STATIC and TEST options. - Fix warnings from portclippy - sort options. Please test it in runtime.
(In reply to Vladimir Druzenko from comment #15) Shouldn't libfmt dependency be added only for non-static build?
(In reply to Oleg Sidorkin from comment #16) Yes. But also archivers/zstd and devel/xxhash should be BUILD_DEPENDS with STATIC build instead of LIB_DEPENDS.
(In reply to Vladimir Druzenko from comment #17) xxhash provides static library file, so it should be ok to use port
Testing this change: -LIB_DEPENDS+= libzstd.so:archivers/zstd \ - libfmt.so:devel/libfmt \ - libxxhash.so:devel/xxhash +STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libzstd.a:archivers/zstd \ + ${LOCALBASE}/lib/libxxhash.a:devel/xxhash +STATIC_LIB_DEPENDS_OFF= libzstd.so:archivers/zstd \ + libfmt.so:devel/libfmt \ + libxxhash.so:devel/xxhash
(In reply to Vladimir Druzenko from comment #19) src builds with both static and dynamic version
Created attachment 257087 [details] v2 STATIC build don't use dynamic libraries - check poudriere log.
(In reply to Vladimir Druzenko from comment #21) looks good
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f3e54599328a5ca357f46863a17ccb669fd03cf commit 9f3e54599328a5ca357f46863a17ccb669fd03cf Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2025-01-29 16:18:49 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-01-29 16:32:04 +0000 devel/ccache4: Update 4.9 → 4.10.2 Based on patches from Oleg Sidorkin and Älven. Improve port: - update required compiler version from 11 to 17; - update CONFLICTS_INSTALL; - update GNU_COMPILERS and CLANG_COMPILERS; - update dependencies; - improve STATIC and TEST options; - fix warnings from portclippy - sort options and etc. Changelogs: https://ccache.dev/releasenotes.html#_ccache_4_10_2 PR: 276854 283910 Approved by: bdrewery (maintainer, timeout 1 year) Tested by: Oleg Sidorkin (osidorkin@gmail.com), Älven (alster@vinterdalen.se) devel/ccache4/Makefile | 59 ++++++++++++++++++++++++++++---------------------- devel/ccache4/distinfo | 6 ++--- 2 files changed, 36 insertions(+), 29 deletions(-)
Thanks 2 all!