[MacPorts] #70059: Stellarium fails to configure (was: Stellarium fails to install)

MacPorts noreply at macports.org
Thu May 23 03:19:12 UTC 2024


#70059: Stellarium fails to configure
-------------------------+-----------------------
  Reporter:  Mikedafish  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:
      Port:  stellarium  |
-------------------------+-----------------------
Changes (by jmroot):

 * status:  new => assigned
 * keywords:  Stellarium QT6 =>
 * milestone:  MacPorts Future =>
 * owner:  (none) => michaelld
 * port:  Stellarium => stellarium


Old description:

> Running Macports 2.9.3 on Ventura 13.4.1 on MacBook M1 (2020)
>
> 1) In Configure phase, message :
> -- Could NOT find Qt6Charts (missing: Qt6Charts_DIR)
> :info:configure CMake Error at CMakeLists.txt:580 (FIND_PACKAGE):
> :info:configure   Found package configuration file:
> :info:configure     /opt/local/lib/cmake/Qt6/Qt6Config.cmake
> :info:configure   but it set Qt6_FOUND to FALSE so package "Qt6" is
> considered to be NOT
> :info:configure   FOUND.  Reason given by package:
> :info:configure   Failed to find required Qt component "Charts".
> :info:configure   Expected Config file at
> :info:configure
> "/opt/local/libexec/qt6/lib/cmake/Qt6Charts/Qt6ChartsConfig.cmake" does
> NOT
> :info:configure   exist
>
> workaround : install qt6-qtcharts
>
> 2) In Configure phase, message :
> CMake Error at po/CMakeLists.txt:40 (FIND_PACKAGE):
> :info:configure   By not providing "FindQt6LinguistTools.cmake" in
> CMAKE_MODULE_PATH this
> :info:configure   project has asked CMake to find a package configuration
> file provided by
> :info:configure   "Qt6LinguistTools", but CMake did not find one.
> :info:configure   Could not find a package configuration file provided by
> "Qt6LinguistTools"
> :info:configure   with any of the following names:
> :info:configure     Qt6LinguistToolsConfig.cmake
> :info:configure     qt6linguisttools-config.cmake
>
> Not sure how to workaround this so raising ticket

New description:

 Running Macports 2.9.3 on Ventura 13.4.1 on MacBook M1 (2020)

 1) In Configure phase, message :
 {{{
 -- Could NOT find Qt6Charts (missing: Qt6Charts_DIR)
 :info:configure CMake Error at CMakeLists.txt:580 (FIND_PACKAGE):
 :info:configure   Found package configuration file:
 :info:configure     /opt/local/lib/cmake/Qt6/Qt6Config.cmake
 :info:configure   but it set Qt6_FOUND to FALSE so package "Qt6" is
 considered to be NOT
 :info:configure   FOUND.  Reason given by package:
 :info:configure   Failed to find required Qt component "Charts".
 :info:configure   Expected Config file at
 :info:configure
 "/opt/local/libexec/qt6/lib/cmake/Qt6Charts/Qt6ChartsConfig.cmake" does
 NOT
 :info:configure   exist
 }}}
 workaround : install qt6-qtcharts

 2) In Configure phase, message :
 {{{
 CMake Error at po/CMakeLists.txt:40 (FIND_PACKAGE):
 :info:configure   By not providing "FindQt6LinguistTools.cmake" in
 CMAKE_MODULE_PATH this
 :info:configure   project has asked CMake to find a package configuration
 file provided by
 :info:configure   "Qt6LinguistTools", but CMake did not find one.
 :info:configure   Could not find a package configuration file provided by
 "Qt6LinguistTools"
 :info:configure   with any of the following names:
 :info:configure     Qt6LinguistToolsConfig.cmake
 :info:configure     qt6linguisttools-config.cmake
 }}}
 Not sure how to workaround this so raising ticket

--

Comment:

 Please attach the `main.log` and `CMakeError.log`. It's not clear why this
 port would be looking for Qt 6 components when it only depends on Qt 5
 ports.

-- 
Ticket URL: <https://trac.macports.org/ticket/70059#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list