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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#54345: gmic does not build - missing cmake dependency
---------------------+-----------------
  Reporter:  sjmudd  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  mic     |
---------------------+-----------------
Changes (by Schamschula):

 * port:   => mic


--
Ticket URL: <https://trac.macports.org/ticket/54345#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#54345: gmic does not build - missing cmake dependency
---------------------+-----------------
  Reporter:  sjmudd  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  mic     |
---------------------+-----------------

Comment (by Schamschula):

 The problem is not a missing cmake dependency:

 {{{PortGroup cmake 1.0}}}

 handles this. The problem is using {{{depends_build}}}, rather than
 {{{depends_build-append}}} as it is overwriting {{{port:cmake}}}, which is
 declared by the PortGroup.

--
Ticket URL: <https://trac.macports.org/ticket/54345#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#54345: gmic does not build - missing cmake dependency
---------------------+-----------------
  Reporter:  sjmudd  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gmic    |
---------------------+-----------------
Changes (by Schamschula):

 * port:  mic => gmic


Comment:

 I love autocorrect...

--
Ticket URL: <https://trac.macports.org/ticket/54345#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#54345: gmic does not build - missing cmake dependency
---------------------+-------------------------
  Reporter:  sjmudd  |      Owner:  Schamschula
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  gmic    |
---------------------+-------------------------
Changes (by Schamschula):

 * status:  new => closed
 * owner:   => Schamschula
 * resolution:   => fixed


Comment:

 In [changeset:"78b7edcc6fd21ec91ee1079e7269a29fe481995c/macports-ports"
 78b7edcc6fd21ec91ee1079e7269a29fe481995c/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="78b7edcc6fd21ec91ee1079e7269a29fe481995c"
 gmic: update to version 2.0.0

 fix depends_build issue
 Closes: https://trac.macports.org/ticket/54345
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54345#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#54345: gmic does not build - missing cmake dependency
---------------------+-------------------------
  Reporter:  sjmudd  |      Owner:  Schamschula
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  gmic    |
---------------------+-------------------------

Comment (by sjmudd):

 Thanks for identifying the correct issue and resolving this.

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