Opened 8 weeks ago
Last modified 7 days ago
#70956 assigned defect
Failed to build Togl-2.0: command execution failed — at Initial Version
Reported by: | arai-kai | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | sequoia | Cc: | |
Port: | Togl-2.0 |
Description
Dear MacPorts support team,
I installed MacPorts and then attempted installing xcrysden. I resolved the Command Line issue form the Hotlist. I was able to install all dependencies of xcrysden except for Togl-2.0. I tried "sudo port clean Togl-2.0" followed by "sudo port install Togl-2.0" and it still fails. When I used -v in the install, I get the following error message:
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]
928 | SetClassProcsPtr = tkStubsPtr->tk_SetClassProcs;
|
1 error generated. make: * [togl.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/work/Togl2.0' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/work/Togl2.0" && /usr/bin/make -j12 -w all Exit code: 2 Error: Failed to build Togl-2.0: command execution failed
I am unsure whether it has something to do with Togl vs Togl-2.0 versions. Please provide instructions on how to resolve the issue.
I am using MacPorts-2.10.1-15-Sonoma, Xcode 16.0.
Thank you!