[MacPorts] #52612: build error in 'wine' (Snow Leopard)
#52612: build error in 'wine' (Snow Leopard) ------------------------+-------------------------------- Reporter: alandir2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: wine ------------------------+-------------------------------- When building wine under MacOS 10.6 (Snow Leopard), the following happens: {{{ $ sudo port upgrade wine ---> Computing dependencies for wine ---> Fetching archive for wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from https://packages.macports.org/wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from http://sea.us.packages.macports.org/macports/packages/wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/wine ---> Fetching distfiles for wine ---> Verifying checksums for wine ---> Extracting wine ---> Applying patches to wine ---> Configuring wine ---> Building wine Error: org.macports.build for port wine returned: command execution failed Please see the log file for port wine for details: }}} When I look at the log file, I've found that there is an undefined symbol as follows: {{{ :info:build ../../tools/winegcc/winegcc -o aclui.dll.fake -B../../tools/winebuil d -m32 -shared aclui.spec aclui_main.o \ :info:build -lwine ../../libs/port/libwine_port.a -L/opt/local/lib -Wl,-headerpad_max_install_names -framework CoreServices -lz -arch i386 :info:build Undefined symbols: :info:build "_DisableThreadLibraryCalls", referenced from: :info:build _DllMain in aclui_main.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 }}} I have already tried "sudo port selfupdate" with no effect. Presumably, this is because I'm on Snow Leopard (MacOS 10.6.8) -- Ticket URL: <https://trac.macports.org/ticket/52612> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52612: build error in 'wine' (Snow Leopard) -------------------------+-------------------------------- Reporter: alandir2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: wine | -------------------------+-------------------------------- Comment (by ryandesign@…): Which version of Xcode do you have? We [https://build.macports.org/builders/ports-10.6_x86_64_legacy- builder/builds/7107 encountered the same error on the Snow Leopard buildbot machine] which uses Xcode 3.2.6, which is the recommended version to use with MacPorts on Snow Leopard. I already [https://bugs.winehq.org/show_bug.cgi?id=41463 reported it to the developers], but they thought it indicated a problem with "the build tools", presumably meaning Xcode or its command line tools. I did not yet have a chance to try reinstalling Xcode on the Snow Leopard buildbot machine. Maybe you can try that on your machine? Please let me know what happens so I can pass your findings on to the developers of wine, or you can add your reply to that wine ticket yourself. -- Ticket URL: <https://trac.macports.org/ticket/52612#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52612: build error in 'wine' (Snow Leopard) -------------------------+-------------------------- Reporter: alandir2@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: wine | -------------------------+-------------------------- Changes (by ryandesign@…): * cc: alandir2@… (removed) * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/52612#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52612: build error in 'wine' (Snow Leopard) -------------------------+-------------------------- Reporter: alandir2@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: wine | -------------------------+-------------------------- Comment (by alandir2@…): Replying to [comment:2 ryandesign@…]:
Which version of Xcode do you have? We [https://build.macports.org/builders/ports-10.6_x86_64_legacy- builder/builds/7107 encountered the same error on the Snow Leopard buildbot machine] which uses Xcode 3.2.6, which is the recommended version to use with MacPorts on Snow Leopard
I have the same. My Xcode reports itself as: {{{ Xcode Version 3.2.6 (1761) 64-bit Component Versions: Xcode IDE: 1761.0 Xcode Core: 1809.0 ToolSupport: 1806.0 }}} -- Ticket URL: <https://trac.macports.org/ticket/52612#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52612: build error in 'wine' (Snow Leopard) -------------------------+------------------------ Reporter: alandir2@… | Owner: ryandesign Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: wine | -------------------------+------------------------ Comment (by Umo022): As requested by the wine developers, I've been able to run "otool -lV" on the aclui_main.o file preceding the error. The file is attached below. I haven't had time to modify the build scripts to handle the other half of their request, but hopefully, the "otool" output should be able to tell them ''something''... -- Ticket URL: <https://trac.macports.org/ticket/52612#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52612: build error in 'wine' (Snow Leopard) -------------------------+------------------------ Reporter: alandir2@… | Owner: ryandesign Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: wine | -------------------------+------------------------ Changes (by Umo022): * Attachment "aclui_main.otool.out.txt" added. Output from "otool" -- Ticket URL: <https://trac.macports.org/ticket/52612> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts