[MacPorts] #61721: Failed to compile wine and wine-devel on 10.6.8

MacPorts noreply at macports.org
Fri Jul 16 00:46:01 UTC 2021


#61721: Failed to compile wine and wine-devel on 10.6.8
------------------------------+------------------------
  Reporter:  lyssdod          |      Owner:  ryandesign
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  wine wine-devel  |
------------------------------+------------------------

Comment (by Gcenx):

 Replying to [comment:39 asvitkine]:
 > I was just trying to install wine on 10.6 today as well.
 >
 > Before wine build failed, the openal-soft build failed as well, but Ken
 suggested a workaround for that here which worked:
 > https://github.com/macports/macports-
 ports/pull/11603#issuecomment-881056474
 >
 > All the dependencies then succeeded but wine failed, with a similar
 error as the op:
 >
 > {{{
 > :info:build Undefined symbols for architecture x86_64:
 > :info:build   "_getsegmentdata", referenced from:
 > :info:build       _map_dll in loader.o
 > }}}

 For this you need to modify the Portfile and add the following as per
 @Kencu

 {{{
 # https://trac.macports.org/ticket/61721
 if {${os.major} < 11} {
     compiler.whitelist          macports-clang-5.0
     depends_build-append        port:libmacho
     configure.ldflags-append    -lmacho
     patchfiles-append           patch-wine-SnowLeopard.diff
 }
 }}}
 Make sure to grab the attached patch as it's required for winemac.drv,
 ws2_32 & x11 to compile from what was discussed in the ticket already.

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


More information about the macports-tickets mailing list