[MacPorts] #47523: orfeotoolbox @4.0.0: CMake Error: The source directory ... does not appear to contain CMakeLists.txt. (was: orfeotoolbox @4.0.0 +python27 Configure failure: command execution failed)

MacPorts noreply at macports.org
Mon Jun 1 05:31:19 PDT 2015


#47523: orfeotoolbox @4.0.0: CMake Error: The source directory ... does not appear
to contain CMakeLists.txt.
---------------------------+----------------------------
  Reporter:  dgaleazzo@…   |      Owner:  julien.malik@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:
      Port:  orfeotoolbox  |
---------------------------+----------------------------
Changes (by ryandesign@…):

 * cc: yultar@…, ryandesign@… (added)


Comment:

 Has duplicate #47914.

 The port was trying to do an out-of-source build, but doing so in a way
 that does not work, or at least does not work anymore. I changed the port
 in r136969 to use the out-of-source building functionality now in the
 cmake portgroup to get past this error.

 Unfortunately now we hit another error:

 {{{
 CMake Error at
 /opt/local/share/cmake-3.2/Modules/CMakeExportBuildSettings.cmake:17
 (message):
   The functionality of this module has been dropped as of CMake 2.8.  It
 was
   deemed harmful (confusing users by changing their compiler).  Please
 remove
   calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and stop including this
   module.  If this project generates any files for use by external
 projects,
   remove any use of the CMakeImportBuildSettings module from them.
 }}}

 Maybe [ticket:45918 updating orfeotoolbox to a newer version] would fix
 this.

-- 
Ticket URL: <https://trac.macports.org/ticket/47523#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list