[MacPorts] #54345: gmic does not build - missing cmake dependency

MacPorts noreply at macports.org
Sun Jun 18 15:38:14 UTC 2017


#54345: gmic does not build - missing cmake dependency
--------------------+-----------------
 Reporter:  sjmudd  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+-----------------
 sudo port install gmic gives:

 Error: Failed to configure gmic: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gmic/gmic/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.

 The log file shows:

 :info:configure sh: /opt/local/bin/cmake: No such file or directory
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gmic/gmic/work/build"
 && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local'
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON
 -Wno-dev -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64"
 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DCMAKE_OSX_SYSROOT="/"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gmic/gmic/work/gmic-1.7.9
 :info:configure Exit code: 127

 So looks like there's an unfulfilled requirement on cmake

 MacPorts base version 2.4.1 installed,

 trying to build gmic @1.7.9.1 (science)

 sudo port install cmake seems to fix this, but it would be good for the
 build package to require cmake and ensure it's installed so that the build
 can complete.

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


More information about the macports-tickets mailing list