[MacPorts] #70956: Togl-2.0: Failed to build with Xcode 16 (was: Failed to build Togl-2.0: command execution failed)
MacPorts
noreply at macports.org
Sat Sep 28 04:32:02 UTC 2024
#70956: Togl-2.0: Failed to build with Xcode 16
-----------------------+----------------------
Reporter: arai-kai | Owner: dstrubbe
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: Togl-2.0 |
-----------------------+----------------------
Changes (by jmroot):
* status: new => assigned
* owner: (none) => dstrubbe
* port: => Togl-2.0
Old 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!
New 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!
--
--
Ticket URL: <https://trac.macports.org/ticket/70956#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list