Bug 284879 - astro/stellarium 24.4 fails to build with poudriere: Phase configure
Summary: astro/stellarium 24.4 fails to build with poudriere: Phase configure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 15:02 UTC by Frank Reisert
Modified: 2025-02-23 19:56 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments
poudriere error log astro/stellarium (45.02 KB, text/plain)
2025-02-18 15:02 UTC, Frank Reisert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Reisert 2025-02-18 15:02:32 UTC
Created attachment 257620 [details]
poudriere error log astro/stellarium

building on 14.2-RELEASE-p1 with poudriere-3.4.2 stellarium-24.4 fails in phase configure

snippet from poudriere error log (for complete log please see attachment):

---8<---
CMake Warning at /usr/local/share/cmake/Modules/FetchContent.cmake:2111 (message):
  FETCHCONTENT_FULLY_DISCONNECTED is set to true, which requires the source
  directory for dependency FastFloat to already be populated.  This generally
  means it must not be set to true the first time CMake is run in a build
  directory.  The following source directory should already be populated, but
  it doesn't exist:

    /wrkdirs/usr/ports/astro/stellarium/work/.build/_deps/fastfloat-src

  Policy CMP0170 controls enforcement of this requirement.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
  cmake/modules/CPM.cmake:1114 (FetchContent_MakeAvailable)
  cmake/modules/CPM.cmake:895 (cpm_fetch_package)
  cmake/modules/CPM.cmake:306 (CPMAddPackage)
  CMakeLists.txt:1067 (CPMFindPackage)


CMake Error at CMakeLists.txt:1071 (GET_TARGET_PROPERTY):
  get_target_property() called with non-existent target
  "FastFloat::fast_float".
--->8---
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-23 19:52:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a1d833e2325cde9d02a382d89013fd7c1422090

commit 9a1d833e2325cde9d02a382d89013fd7c1422090
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-02-23 19:51:16 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-02-23 19:51:16 +0000

    astro/stellarium: unbreak the port's build (after commit d7c13b0bf44f)

    Requesting specific version of `math/fast_float' port, even the major
    one, is not reliable because it bumps too frequently; stop asking for
    any version and assume that whatever we have in the ports should work.

    PR:             284879
    Submitted by:   Frank Reisert
    Reported by:    pkg-fallout

 astro/stellarium/files/patch-CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)