Opened 7 days ago

Closed 7 days ago

#71309 closed defect (duplicate)

Togl-2.0 @2.0: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Wincompatible-function-pointer-types]

Reported by: yudedkov Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: sequoia Cc:
Port: Togl-2.0

Description (last modified by ryandesign (Ryan Carsten Schmidt))

(base) yudedkov@Yuriy-Dedkov-MacBook-Pro-M2 ~ % sudo port install Togl-2.0

--->  Computing dependencies for Togl-2.0
--->  Fetching archive for Togl-2.0
--->  Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://packages.macports.org/Togl-2.0
--->  Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://vie.at.packages.macports.org/Togl-2.0
--->  Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://fra.de.packages.macports.org/Togl-2.0
--->  Building Togl-2.0
Error: Failed to build Togl-2.0: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port Togl-2.0 failed

Attachments (1)

main.log (92.1 KB) - added by yudedkov 7 days ago.

Download all attachments as: .zip

Change History (2)

Changed 7 days ago by yudedkov

Attachment: main.log added

comment:1 Changed 7 days ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added
Resolution: duplicate
Status: newclosed
Summary: cannot install Togl-2.0Togl-2.0 @2.0: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Wincompatible-function-pointer-types]
Version: 2.10.4

From the log, the problem is:

:info:build togl.c:928:26: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Wincompatible-function-pointer-types]
:info:build   928 |         SetClassProcsPtr = tkStubsPtr->tk_SetClassProcs;
:info:build       |                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.

Duplicate of #70956.

Note: See TracTickets for help on using tickets.