[MacPorts] #70956: Failed to build Togl-2.0: command execution failed
MacPorts
noreply at macports.org
Sat Sep 28 00:18:26 UTC 2024
#70956: Failed to build Togl-2.0: command execution failed
----------------------+--------------------
Reporter: arai-kai | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port:
----------------------+--------------------
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!
--
Ticket URL: <https://trac.macports.org/ticket/70956>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list