[MacPorts] #59194: py37-pyobjc 5.2.0: build failed

MacPorts noreply at macports.org
Fri Oct 18 20:43:35 UTC 2019


#59194: py37-pyobjc 5.2.0: build failed
------------------------+----------------------
  Reporter:  teh-maxh   |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.1
Resolution:             |   Keywords:  catalina
      Port:  py-pyobjc  |
------------------------+----------------------

Comment (by mamoll):

 Modify lines 341-350 of _osx_support.py as follows:
 {{{
         for index in reversed(indices):
             try:
                 if compiler_so[index] == '-isysroot':
                     # Strip this argument and the next one:
                     del compiler_so[index:index+2]
                 else:
                     # It's '-isysroot/some/path' in one arg
                     del compiler_so[index:index+1]
             except ValueError:
                 break
 }}}
 The {{{reversed}}} call is the critical bit. This makes sure that the
 right thing happens when you have more than one {{{-isysroot}}} compiler
 flag.

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


More information about the macports-tickets mailing list