[MacPorts] #69748: glib2, glib2-devel @2.80.0 conflicts with gobject-introspection

MacPorts noreply at macports.org
Wed Apr 17 13:34:11 UTC 2024


#69748: glib2, glib2-devel @2.80.0 conflicts with gobject-introspection
-------------------------------------------------+-------------------------
  Reporter:  barracuda156                        |      Owner:  mascguy
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.9.3
Resolution:                                      |   Keywords:
      Port:  glib2, glib2-devel, gobject-        |
  introspection                                  |
-------------------------------------------------+-------------------------

Comment (by christophecvr):

 Replying to [comment:23 mrdomino]:
 > Ah, however, now while trying to update poppler I get:
 >
 > {{{
 > :info:build Couldn't find include 'GObject-2.0.gir' (search path:
 '['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-24.04.0/glib',
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/.home/.local/share/gir-1.0',
 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0',
 '/opt/local/share/gir-1.0', '/opt/local/share/gir-1.0',
 '/usr/share/gir-1.0']')
 > }}}

 Yes this was at first by me also. You need to do it like I just explained
 change you're portfile and create a variant introspection. There are maybe
 outher ways but that is the only I found.

 add to port file : the -Dintrospection=disabled

 {{{
 configure.args-append \
                             -Ddefault_library=both \
                             -Dlibelf=enabled \
                             -Dlibmount=disabled \
                             -Dwarning_level=0 \
                             -Dintrospection=disabled
 }}}
 then create variant in port file


 {{{
 variant introspection {
     configure.args-replace \
         -Dintrospection=disabled \
         -Dintrospection=enabled
 }

 and use it as explained.
 }}}

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


More information about the macports-tickets mailing list