Changes between Initial Version and Version 1 of Ticket #72321


Ignore:
Timestamp:
Apr 10, 2025, 9:43:09 PM (13 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #72321

    • Property Status changed from new to assigned
    • Property Summary changed from Summary: dconf 0.26.1 build failure on macOS 15 (arm64) - incompatible function pointer types to dconf @0.26.1: incompatible function pointer types
    • Property Keywords sequoia arm64 added
    • Property Milestone changed from MacPorts Future to
    • Property Owner set to dbevans
  • Ticket #72321 – Description

    initial v1  
    1 Summary: dconf 0.26.1 build failure on macOS 15 (arm64) - incompatible function pointer types
    2 
    3 Description:
    41When 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.
    52
     
    96
    107Build error:
     8{{{
    119dconf-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]
    1210:info:build   527 |         _tmp4_ = g_strcmp0;
    1311:info:build       |                ^ ~~~~~~~~~
     12}}}
    1413
    1514System information:
     
    1918- Xcode/Command Line Tools version: [your version here]
    2019
    21 Additional notes:
     20Additional notes: \\
    2221The 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 *).
    2322
    24 Possible solutions:
     23Possible solutions: \\
    25241. Update dconf to a newer version
    26252. Apply a patch to fix the type casting