Bug 298163 - www/faup: Fails to build with CMake 4
Summary: www/faup: Fails to build with CMake 4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks: 295319
  Show dependency tree / graph
 
Reported: 2026-09-04 09:23 UTC by Gleb Popov
Modified: 2026-09-04 10:07 UTC (History)
0 users

See Also:
arrowd: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Popov freebsd_committer freebsd_triage 2026-09-04 09:23:59 UTC
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

The CMake WIP branch is here: https://github.com/arrowd/freebsd-ports/tree/cmake-wip

Maybe we should deprecate this port instead of fixing it.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2026-09-04 09:46:28 UTC
You can add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 and deprecate it, with expiration end of december 2026
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-09-04 10:05:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1fb7480952fde21c4c20e6515638d1d526aa1ed2

commit 1fb7480952fde21c4c20e6515638d1d526aa1ed2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-04 10:03:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-04 10:03:48 +0000

    www/faup: Fix building with CMake 4 and deprecate

    PR:             298163
    Approved by:    antoine (maintainer)

 www/faup/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-09-04 10:06:52 UTC
A commit in branch 2026Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90f07e8c77ce0014c395ed6479e7a2b863679f5e

commit 90f07e8c77ce0014c395ed6479e7a2b863679f5e
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-04 10:03:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-04 10:05:23 +0000

    www/faup: Fix building with CMake 4 and deprecate

    PR:             298163
    Approved by:    antoine (maintainer)

    (cherry picked from commit 1fb7480952fde21c4c20e6515638d1d526aa1ed2)

 www/faup/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)