[MacPorts] #70956: 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]

MacPorts noreply at macports.org
Thu Nov 14 14:46:56 UTC 2024


#70956: 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]
-----------------------+----------------------
  Reporter:  arai-kai  |      Owner:  dstrubbe
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.1
Resolution:            |   Keywords:  sequoia
      Port:  Togl-2.0  |
-----------------------+----------------------

Comment (by yudedkov):

 I've also tried to install xcrysden with instructions provided in
 comment:4 and comment:5, but still it does not work

 (base) yudedkov at Yuriy-Dedkov-MacBook-Pro-M2 ~ % sudo port install xcrysden
 --->  Computing dependencies for xcrysden
 The following dependencies will be installed:  Togl-2.0
 Continue? [Y/n]: Y
 --->  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
 --->  Fetching distfiles for Togl-2.0
 --->  Verifying checksums for Togl-2.0
 --->  Extracting Togl-2.0
 --->  Configuring Togl-2.0
 Warning: Configuration logfiles contain indications of -Wimplicit-
 function-declaration; check that features were not accidentally disabled:
   stat64: found in Togl2.0/config.log
 --->  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 xcrysden failed
 (base) yudedkov at Yuriy-Dedkov-MacBook-Pro-M2 ~ % sudo port clean Togl-2.0
 --->  Cleaning Togl-2.0
 (base) yudedkov at Yuriy-Dedkov-MacBook-Pro-M2 ~ % sudo port patch Togl-2.0
 --->  Fetching distfiles for Togl-2.0
 --->  Verifying checksums for Togl-2.0
 --->  Extracting Togl-2.0
 (base) yudedkov at Yuriy-Dedkov-MacBook-Pro-M2 ~ % sudo port build Togl-2.0
 --->  Computing dependencies for Togl-2.0
 --->  Configuring Togl-2.0
 Warning: Configuration logfiles contain indications of -Wimplicit-
 function-declaration; check that features were not accidentally disabled:
   stat64: found in Togl2.0/config.log
 --->  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

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


More information about the macports-tickets mailing list