[MacPorts] #71135: ucblogo @6.2.4: error: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] (was: ucblogo: port fails to build on Sequoia)

MacPorts noreply at macports.org
Mon Oct 21 06:55:09 UTC 2024


#71135: ucblogo @6.2.4: error: incompatible function pointer types passing 'void
(void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-
pointer-types]
----------------------+---------------------
  Reporter:  frink0   |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  sequoia
      Port:  ucblogo  |
----------------------+---------------------
Changes (by ryandesign):

 * keywords:   => sequoia


Comment:

 Replying to [ticket:71135 frink0]:
 > Hi. This doesn't build,

 We also see a build failure on our buildbot; presumably this is the same
 error you saw:

 https://build.macports.org/builders/ports-
 15_x86_64-builder/builds/17977/steps/install-port/logs/stdio

 {{{
 main.c:106:19: error: incompatible function pointer types passing 'void
 (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-
 pointer-types]
   106 |           signal(SIGINT, logo_stop);
       |                          ^~~~~~~~~
 }}}

 > but the current version on github (still tagged as 6.2.4) builds without
 issue.

 I'm not sure what you mean. [https://github.com/jrincayc/ucblogo-
 code/releases/latest The latest released version] is 6.2.4. It was
 released March 27, 2023 (not July 2, 2024,
 [https://people.eecs.berkeley.edu/~bh/logo.html as claimed on the web
 site]). It has the problem you experienced.

 Maybe you mean the latest code in their GitHub repository which has not
 yet been tagged as a stable version builds for you. In that case, we would
 want to identify which specific change fixes the problem and backport that
 patch to 6.2.4. It may be one or more of the changes mentioned
 [https://github.com/jrincayc/ucblogo-code/issues/176 in this bug report].

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


More information about the macports-tickets mailing list