[MacPorts] #69877: grace @5.1.25: error: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int (was: Error: Processing of port grace failed mac OS 14.4.1)

MacPorts noreply at macports.org
Tue Apr 30 23:59:45 UTC 2024


#69877: grace @5.1.25: error: parameter 'y' was not declared, defaults to 'int';
ISO C99 and later do not support implicit int
------------------------------+--------------------
  Reporter:  roxannetutchton  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:  sonoma
      Port:  grace            |
------------------------------+--------------------
Changes (by ryandesign):

 * keywords:  grace sonoma failed => sonoma


Old description:

> Tried in install port "grace" several times (cleaned and reinstalled) and
> get error:
> Error: Failed to build grace: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there
> is a bug.
> Error: Processing of port grace failed
>
> Info from main.log shows:
>
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25/Xbae/Xbae'
> :info:build make: *** [subdirs] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25"
> && /usr/bin/make -j12 -w all
> :info:build Exit code: 2
> :error:build Failed to build grace: command execution failed
> :debug:build Error code: CHILDSTATUS 42656 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 10)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"

New description:

 Tried in install port "grace" several times (cleaned and reinstalled) and
 get error:
 {{{
 Error: Failed to build grace: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port grace failed
 }}}

 Info from main.log shows:

 {{{
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25/Xbae/Xbae'
 :info:build make: *** [subdirs] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_x11_grace/grace/work/grace-5.1.25"
 && /usr/bin/make -j12 -w all
 :info:build Exit code: 2
 :error:build Failed to build grace: command execution failed
 :debug:build Error code: CHILDSTATUS 42656 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}

--

Comment:

 The errors in the log are:

 {{{
 Draw.c:237:40: error: parameter 'y' was not declared, defaults to 'int';
 ISO C99 and later do not support implicit int [-Wimplicit-int]
 xbaeDrawCellString(mw, row, column, x, y, string, bg, fg)
                                        ^
 Draw.c:237:37: error: parameter 'x' was not declared, defaults to 'int';
 ISO C99 and later do not support implicit int [-Wimplicit-int]
 xbaeDrawCellString(mw, row, column, x, y, string, bg, fg)
                                     ^
 }}}

 This bug in grace should be [https://plasma-
 gate.weizmann.ac.il/Grace/phpbb/viewforum.php?f=8 reported to its
 developers] so they can fix it and release a new version, to which
 MacPorts can then update.

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


More information about the macports-tickets mailing list