[MacPorts] #57030: at-spi2-core @2.28.0 does not build on PPC Tiger (ld: -rpath can only be used when targeting Mac OS X 10.5 or later) (was: at-spi2-core @2.28.0 does not build on PPC Tiger because of invalid GTK-Doc comment blocks)

MacPorts noreply at macports.org
Sun Jul 7 06:45:01 UTC 2019


#57030: at-spi2-core @2.28.0 does not build on PPC Tiger (ld: -rpath can only be
used when targeting Mac OS X 10.5 or later)
---------------------------+----------------------
  Reporter:  ballapete     |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.3
Resolution:                |   Keywords:  tiger
      Port:  at-spi2-core  |
---------------------------+----------------------
Changes (by dbevans):

 * owner:  dbevans => kencu


Comment:

 The  "Skipping invalid GTK-Doc comment block" errors are really warnings
 emitted by g-ir-scanner not gtk-doc in this instance.  They are not fatal
 and only indicate that the scanner is skipping these improperly formatted
 generic comments which are erroneously using markers reserved for gtk-doc
 only.  I see these same warnings in the log of a successful build on
 Mojave.

 The  log file lines that are relevant to this build failure seem to be
 these
 {{{
 246     :info:build [49/53] Linking target registryd/at-spi2-registryd.
 247     :info:build FAILED: registryd/at-spi2-registryd
 248     :info:build /opt/local/bin/gcc-apple-4.2  -o registryd/at-
 spi2-registryd 'registryd/registryd@@at-spi2-registryd at exe/de-
 marshaller.c.o' 'registryd/registryd@@at-spi2-registryd at exe/registry-
 main.c.o' 'registryd/registryd@@at-spi2-registryd at exe/registry.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/introspection.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/deviceeventcontroller.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/reentrant-list.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/deviceeventcontroller-x11.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/display.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/event-source.c.o'
 'registryd/registryd@@at-spi2-registryd at exe/ucs2keysym.c.o'
 -L/opt/local/lib -Wl,-dead_strip_dylibs -pipe -Os -arch ppc
 -Wl,-headerpad_max_install_names -arch ppc atspi/libatspi.0.dylib
 /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 -Wl,-framework -Wl,CoreFoundation /opt/local/lib/libdbus-1.dylib
 -Wl,-framework -Wl,CoreFoundation -ldl /opt/local/lib/libX11.dylib
 /opt/local/lib/libXtst.dylib /opt/local/lib/libXi.dylib
 '-Wl,-rpath,$ORIGIN/../atspi'
 249     :info:build ld: -rpath can only be used when targeting Mac OS X
 10.5 or later
 250     :info:build collect2: ld returned 1 exit status
 }}}

 As you can see, the -rpath option is not supported by the version of ld
 supplied by Tiger. The solution is probably to use a newer version of ld
 if one is available or to modify this linker invocation to avoid the use
 of -rpath.  Since I don't have a Tiger machine available to play with I'm
 afraid I can't be much further help.  Reassigning this ticket to @kencu
 since this is really his area of expertise.

 BTW, there's an upstream patch that quiets the gtk-doc error messages.
 I'll gp ahead and apply that to hopefully reduce the noise level in this
 case.

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


More information about the macports-tickets mailing list