[MacPorts] #56729: poppler @0.65.0 does not build on PPC Tiger, Mac OS X 10.4.11 due to -rpath issue in gobject-introspection

MacPorts noreply at macports.org
Sat Jul 21 19:43:44 UTC 2018


#56729: poppler @0.65.0 does not build on PPC Tiger, Mac OS X 10.4.11 due to -rpath
issue in gobject-introspection
------------------------+----------------------
  Reporter:  ballapete  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.2
Resolution:             |   Keywords:  tiger
      Port:  poppler    |
------------------------+----------------------

Comment (by ballapete):

 Replying to [comment:6 kencu]:
 > It didn't build for me on 10.4 PPC.
 >
 > The problem is in a file called
 > {{{
 > ${prefix}/lib/gobject-introspection/giscanner/ccompiler.py
 > }}}

 I commented

 {{{
     127             if not libtool:
     128                 #
 https://bugzilla.gnome.org/show_bug.cgi?id=625195
     129                 args.append('-Wl,-rpath,.')
     130
     131                 # Ensure libraries are always linked as we are
 going to use ldd to work
     132                 # out their names later
     133                 if sys.platform != 'darwin':
     134                     args.append('-Wl,--no-as-needed')
 }}}

 and

 {{{
     153             else:
     154                 args.append('-L' + library_path)
     155                 if os.path.isabs(library_path):
     156                     if libtool:
     157                         args.append('-rpath')
     158                         args.append(library_path)
     159                     else:
     160                         args.append('-Wl,-rpath,' + library_path)
 }}}

 in order to build `poppler`. Presumingly the first block could consist
 just out of line #129.

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


More information about the macports-tickets mailing list