[MacPorts] #71993: gtk-osx-application-common-gtk2: redefinition of typedef error

MacPorts noreply at macports.org
Fri Feb 14 11:19:42 UTC 2025


#71993: gtk-osx-application-common-gtk2: redefinition of typedef error
----------------------------------------------+-------------------------
  Reporter:  rmottola                         |      Owner:  mascguy
      Type:  defect                           |     Status:  assigned
  Priority:  Normal                           |  Milestone:
 Component:  ports                            |    Version:
Resolution:                                   |   Keywords:  leopard gcc
      Port:  gtk-osx-application-common-gtk2  |
----------------------------------------------+-------------------------

Comment (by rmottola):

 since I got the same issue on 10.5 i386, there I tried:
 apple default (4.2) -> fail

 gcc 4.8 -> fails with different errors:


 {{{
 /opt/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is
 deprecated (declared at /opt/local/include/glib-2.0/glib/gtypes.h:580):
 Use 'GDateTime' instead [-Wdeprecated-declarations]
    GTimeVal last_popdown;
    ^
 <stdin>:301:17: error: non-local symbol required in directive
         .no_dead_strip L_OBJC_ClassRefs_0
                        ^
 <stdin>:306:17: error: non-local symbol required in directive
         .no_dead_strip L_OBJC_Module
                        ^
 <stdin>:322:17: error: non-local symbol required in directive
         .no_dead_strip L_OBJC_SelRef_removeObserver$
 }}}


 gcc 6.0 -> worked.... I propose thus to blacklist old apple agd gcc 4.8
 ... for me this is a jump to 6.0, if others have something intermediate,
 they will test

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


More information about the macports-tickets mailing list