[MacPorts] #68930: gobject-introspection fails to compile on Sonoma 14.1.2, Macbook Air M1

MacPorts noreply at macports.org
Sun Dec 17 19:29:20 UTC 2023


#68930: gobject-introspection fails to compile on Sonoma 14.1.2, Macbook Air M1
------------------------------------+--------------------
  Reporter:  michalsvanda           |      Owner:  (none)
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.8.1
Resolution:                         |   Keywords:
      Port:  gobject-introspection  |
------------------------------------+--------------------
Description changed by michalsvanda:

Old 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.

New 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 during 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.

--

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


More information about the macports-tickets mailing list