[MacPorts] #70874: icmake @9.03.01: Does not install /opt/local/libexec/icmake/icm-exec

MacPorts noreply at macports.org
Mon Sep 30 06:46:52 UTC 2024


#70874: icmake @9.03.01: Does not install /opt/local/libexec/icmake/icm-exec
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  larryv
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:  powerpc
      Port:  icmake        |
---------------------------+----------------------

Comment (by ryandesign):

 I see the log contains two attempts to build icmake. In the first attempt
 from June, this error occurred several times during the build phase:

 {{{
 error: ‘for’ loop initial declaration used outside C99 mode
 }}}

 presumably in the source code files that make up icmake and icmbuild but
 the build system has a defect where it does not exit when an error occurs.
 It proceeded on to the destroot phase which failed with these errors:

 {{{
 cp: tmp//opt/local/bin/icmake: No such file or directory
 cp: tmp//opt/local/bin/icmbuild: No such file or directory
 }}}

 You already [changeset:0ed9727d65cd17023ca3ce37b3e23ec370da7758/macports-
 ports fixed the C99 mode problem] but the build system defect remains.

 In the second attempt from September, this error occurred several times
 during the build phase:

 {{{
 error: ‘Variable’ has no member named ‘data’
 }}}

 presumably in the source code files that make up icm-exec. The destroot
 phase did not fail because the `icm_install` file [https://gitlab.com/fbb-
 git/icmake/-/blob/9.03.01/icmake/icm_install?ref_type=tags#L45-47 only
 tries to install icm-exec if it exists].

 Maybe there is a way to fix the code so that gcc-4.2 can compile it, or
 maybe the old compiler needs to be blacklisted.

 First, we should try [ticket:70969 updating the port]; maybe these issues
 are already fixed. If not, they should be reported to the developer.

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


More information about the macports-tickets mailing list