[MacPorts] #66593: qt6 references file in /opt/local/bin, which do not exist

MacPorts noreply at macports.org
Sat Dec 31 14:00:47 UTC 2022


#66593: qt6 references file in /opt/local/bin, which do not exist
----------------------+--------------------
 Reporter:  kgarrels  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 Hi,

 got this error now building cmake projects, works if I uninstall all of
 qt6 and use qt5 instead.

 Any suggestions?

 Happy New Year,
 kai



 {{{
 CMake Error at
 /opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsTargets.cmake:154 (message):
   The imported target "Qt6::moc" references the file

      "/opt/local/bin/moc"

   but this file does not exist.  Possible reasons include:

   * The file was deleted, renamed, or moved to another location.

   * An install or uninstall procedure did not complete successfully.

   * The installation package was faulty and contained

      "/opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsTargets.cmake"

   but not all the files it references.

 Call Stack (most recent call first):
   /opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfig.cmake:37 (include)
   /opt/local/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:76 (find_package)
   /opt/local/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:40 (include)
   /opt/local/lib/cmake/Qt6/Qt6Config.cmake:209 (find_package)
   CMakeLists.txt:124 (find_package)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66593>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list