Opened 13 months ago
Closed 8 months ago
#68505 closed defect (fixed)
gFTL-shared @1.6.1: Could not find a package configuration file provided by "gFTL"
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gFTL-shared |
Description
CMake Error at CMakeLists.txt:38 (find_package): By not providing "FindgFTL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "gFTL", but CMake did not find one. Could not find a package configuration file provided by "gFTL" with any of the following names: gFTLConfig.cmake gftl-config.cmake Add the installation prefix of "gFTL" to CMAKE_PREFIX_PATH or set "gFTL_DIR" to a directory containing one of the above files. If "gFTL" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred!
Change History (6)
comment:1 Changed 13 months ago by barracuda156
comment:2 Changed 13 months ago by barracuda156
Replying to ryandesign:
Just tried building on Sonoma, and it installs with no issues:
svacchanda@Sergeys-MacBook-Air ~ % port -v installed |grep gFTL gFTL @1.10.0_1+gfortran (active) requested_variants='' platform='darwin 23' archs='arm64' date='2023-10-19T20:00:30+0800' gFTL-shared @1.6.1_0+gfortran (active) requested_variants='' platform='darwin 23' archs='arm64' date='2023-10-19T20:00:58+0800'
Unmodified portfiles.
comment:3 Changed 13 months ago by barracuda156
Ah, maybe it is again case-sensitive OS issue? Installation has names capitalized in paths, like GFTL
, GFTL_SHARED
.
Opened an issue: https://github.com/Goddard-Fortran-Ecosystem/gFTL/issues/202
comment:4 follow-up: 5 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Still fails.
Are you sure it's an upstream issue and not caused by the extensive patches you're making to their CMakeLists.txt? For example, the developer said:
the correct find command is
find_package(GFTL)
.
but your patch uses find_package(gFTL REQUIRED)
.
comment:5 Changed 8 months ago by barracuda156
Replying to ryandesign:
Still fails.
Are you sure it's an upstream issue and not caused by the extensive patches you're making to their CMakeLists.txt? For example, the developer said:
the correct find command is
find_package(GFTL)
.but your patch uses
find_package(gFTL REQUIRED)
.
I tried that and it failed for me.
Will review the issue again when get time for it.
comment:6 Changed 8 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hmm, wonder why it passed all CI then. Anyway, I will look into this and hopefully fix it today.