[MacPorts] #53433: Wine 2.0 build failure in Snow Leopard

MacPorts noreply at macports.org
Sun Jan 29 07:18:52 UTC 2017


#53433: Wine 2.0 build failure in Snow Leopard
--------------------+-------------------
 Reporter:  Umo022  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.4.0
 Keywords:          |       Port:  wine
--------------------+-------------------
 Latest update of MacPorts to 2.4.0 breaks the build of Wine 2.0 in Snow
 Leopard (MacOS 10.6.8).  Looking at the log, there is an undefined symbol
 "_strnlen" from "_fx10_get_string" in file "effect.o".

 Given that strnlen() is rather standard, maybe something broke in
 dependencies, or there is an incomplete LIB_PATH?

 The relevant section of the log file is below:


 {{{
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine/wine/work/wine-2.0/dlls/d3d10'
 :info:build ../../tools/winegcc/winegcc -o d3d10.dll.so
 -B../../tools/winebuild -m32 -shared d3d10.spec d3d10_main.o \:info:build
 effect.o shader.o stateblock.o utils.o version.res ../../dlls/dxgu
 id/libdxguid.a \
 :info:build   ../../dlls/uuid/libuuid.a -ld3d10core -ld3dcompiler -ldxgi
 ../../l
 ibs/port/libwine_port.a \
 :info:build   -L/opt/local/lib -Wl,-headerpad_max_install_names -framework
 CoreS
 ervices -lz -arch i386
 :info:build Undefined symbols:
 :info:build   "_strnlen", referenced from:
 :info:build       _fx10_get_string in effect.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build winegcc: /usr/bin/gcc-4.2 failed
 :info:build make[1]: *** [d3d10.dll.so] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine/wine/work/wine-2.0/dlls/d3d10'
 :info:build make: *** [dlls/d3d10] Error 2
 :info:build make: *** Waiting for unfinished jobs....:info:build make:
 Leaving directory `/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine/wine/work/
 wine-2.0'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_ma
 cports_sources_rsync.macports.org_release_tarballs_ports_x11_wine/wine/work/wine
 -2.0" && /usr/bin/make -j2 -w depend all
 :info:build Exit code: 2

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53433>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list