Opened 7 months ago
Last modified 7 months ago
#72321 assigned defect
dconf @0.26.1: incompatible function pointer types
| Reported by: | davidwalter0 | Owned by: | dbevans (David B. Evans) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | sequoia arm64 | Cc: | |
| Port: | dconf |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When attempting to install gnome-terminal, the dconf dependency (version 0.26.1) fails to build on macOS 15 with Apple Silicon (arm64). The error occurs during compilation with an incompatible function pointer type error.
Steps to reproduce:
sudo port install gnome-terminal- Build fails on dconf dependency
Build error:
dconf-update.c:527:9: error: incompatible function pointer types assigning to 'GCompareFunc' (aka 'int (*)(const void *, const void *)') from 'int (const char *, const char *)' [-Wincompatible-function-pointer-types] :info:build 527 | _tmp4_ = g_strcmp0; :info:build | ^ ~~~~~~~~~
System information:
- macOS version: 15
- Architecture: arm64
- MacPorts version: [your version here]
- Xcode/Command Line Tools version: [your version here]
Additional notes:
The error appears to be due to a type mismatch where g_strcmp0 (which has a signature of int (const char *, const char *)) is being assigned to a GCompareFunc variable which expects int (*)(const void *, const void *).
Possible solutions:
- Update dconf to a newer version
- Apply a patch to fix the type casting
- Modify the Portfile to use appropriate compiler flags
Full build log: [attach the full build log from /opt/local/var/macports/logs/]
Attachments (1)
Change History (2)
Changed 7 months ago by davidwalter0
comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | sequoia arm64 added |
| Milestone: | MacPorts Future |
| Owner: | set to dbevans |
| Status: | new → assigned |
| Summary: | Summary: dconf 0.26.1 build failure on macOS 15 (arm64) - incompatible function pointer types → dconf @0.26.1: incompatible function pointer types |
Note: See
TracTickets for help on using
tickets.

build log