Opened 9 months ago

Last modified 9 months ago

#68930 closed defect

gobject-introspection fails to compile on Sonoma 14.1.2, Macbook Air M1 — at Initial Version

Reported by: michalsvanda Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gobject-introspection

Description

Hi,

gobject-introspection fails to compile on Sonoma 14.1.2 using either clang or gcc compilers. The build fails on

:info:build ../../../../../../../include/glib-2.0/glib/gurifuncs.h:68:
:info:build ../../../../../../../include/glib-2.0/glib/guri.h:390: Fatal: GLib: Namespace conflict for 'uri_unescape_string'
:info:build ../../../../../../../include/glib-2.0/glib/guri.h:390: Fatal: GLib: Namespace conflict for 'uri_unescape_string'
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/ninja -j8 -v
:info:build Exit code: 1
:error:build Failed to build gobject-introspection: command execution failed
:debug:build Error code: CHILDSTATUS 60524 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/main.log for details.

This happened after migration of the machine to Sonoma following the instructions on https://trac.macports.org/wiki/Migration. I tried several time to reinstall glib2 (version 2.78.0) with no effect. Clang and gcc compilers (by using configure.compiler directive) both stop at the same point (port --dist cleaning was performed always before each attempt). Xcode 15.1.

Change History (1)

Changed 9 months ago by michalsvanda

Attachment: main.log added

build log

Note: See TracTickets for help on using tickets.