[MacPorts] #72616: gobject-introspection: symbol not found in flat namespace (_gi_source_scanner_get_comments) (was: gobject-introspection failed to extract with trace mode on arm64)

MacPorts noreply at macports.org
Wed Jun 18 09:48:18 UTC 2025


#72616: gobject-introspection: symbol not found in flat namespace
(_gi_source_scanner_get_comments)
------------------------------------+----------------------
  Reporter:  colin-morpho           |      Owner:  (none)
      Type:  defect                 |     Status:  reopened
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.10.7
Resolution:                         |   Keywords:
      Port:  gobject-introspection  |
------------------------------------+----------------------

Comment (by ryandesign):

 Ok, so now you've changed what this ticket is about. It was about an
 extract failure. Now it is about a build failure.

 Usually, tickets should be limited to one issue. If you have another
 issue, file another ticket.

 Replying to [comment:4 colin-morpho]:
 > {{{
 > DEBUG: MACOSX_DEPLOYMENT_TARGET='12.0'
 > }}}

 Are you using macOS 12? #66358 only affects macOS 13 or later.

 > {{{
 > Traceback (most recent call last):
 >   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-
 introspection/work/build/tools/g-ir-scanner", line 103, in <module>
 >     from giscanner.scannermain import scanner_main
 >   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-
 introspection/work/build/giscanner/scannermain.py", line 35, in <module>
 >     from giscanner.ast import Include, Namespace
 >   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-
 introspection/work/build/giscanner/ast.py", line 29, in <module>
 >     from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
 >   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-
 introspection/work/build/giscanner/sourcescanner.py", line 34, in <module>
 >     from giscanner._giscanner import SourceScanner as CSourceScanner
 > ImportError:
 dlopen(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-
 introspection/work/build/giscanner/_giscanner.cpython-313-darwin.so,
 0x0002): symbol not found in flat namespace
 (_gi_source_scanner_get_comments)
 > }}}

 I don't think I've seen this before. Please attach (don't paste) the
 complete main.log file so that we can see everything that happened.

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


More information about the macports-tickets mailing list