Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#24657 closed defect (invalid)

wine-devel build failure with iPhone OS 4 Beta SDK

Reported by: tc.corlett@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: jyrkiwahlstedt
Port: wine-devel

Description (last modified by jmroot (Joshua Root))

$ sudo port install wine-devel -d
Password:
--->  Computing dependencies for wine-devel
--->  Building wine-devel
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine-devel/work/wine-1.1.43" && /usr/bin/make -j2 depend all " returned error 2
Command output:       _DSOUND_PrimaryDestroy in primary.o
      _DSOUND_PrimaryDestroy in primary.o
      _PrimaryBufferImpl_Release in primary.o
      _DSOUND_PrimaryOpen in primary.o
      _PrimaryBufferImpl_SetFormat in primary.o
      _DSPROPERTY_descWtoA in propset.o
      _DSPROPERTY_descWtoA in propset.o
      _IKsPrivatePropertySetImpl_Release in propset.o
      _DSPROPERTY_enumWtoA in propset.o
      _DSPROPERTY_enumWtoA in propset.o
      _DSPROPERTY_DescriptionW in propset.o
      _DSPROPERTY_DescriptionW in propset.o
      _DSPROPERTY_EnumerateW in propset.o
      _DSPROPERTY_EnumerateW in propset.o
      _DSPROPERTY_EnumerateW in propset.o
      _DSPROPERTY_EnumerateW in propset.o
      _IKsPrivatePropertySetImpl_Get in propset.o
      _IKsPrivatePropertySetImpl_Get in propset.o
      _IKsPrivatePropertySetImpl_Get in propset.o
      _IDirectSound3DBufferImpl_Release in sound3d.o
      _IDirectSound3DListenerImpl_Release in sound3d.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
winegcc: /usr/bin/gcc-4.2 failed
make[1]: *** [dsound.dll.so] Error 2
make: *** [dlls/dsound] Error 2
make: *** Waiting for unfinished jobs....
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -foversion.res version.rc
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../..  -shared ./dwmapi.spec dwmapi_main.o    version.res    -o dwmapi.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -L/opt/local/lib -framework CoreServices -lz 
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../..  -shared ./dwmapi.spec dwmapi_main.o    version.res    -o dwmapi.dll.fake  -lkernel32  ../../libs/port/libwine_port.a  -L/opt/local/lib -framework CoreServices -lz 

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Attachments (1)

wine-devel.txt.bz2 (47.2 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
Tom's debug log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by tc.corlett@…

Cc: tc.corlett@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… added; tc.corlett@… removed
Description: modified (diff)
Keywords: ld: symbol(s) not found collect2 removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: wine-devel added
Summary: ld: symbol(s) not found collect2: ld returned 1 exit statuswine-devel build failure

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainers. Note that you do not need to be in cc when you are the reporter.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I need to see the full debug log. To get that, you need to use the -d flag, in the right place, which is between the word port and the word install. Please clean and try again.

sudo port clean wine-devel
sudo port -d install wine-devel 2>&1 | tee ~/Desktop/wine-devel.txt
bzip2 ~/Desktop/wine-devel.txt

Assuming it fails again, attach wine-devel.txt.bz2 from your desktop to this ticket.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Tom emailed me the debug log as an OpenOffice.org document, which I re-saved as a text file and compressed.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: wine-devel.txt.bz2 added

Tom's debug log

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Are you using the iPhone OS 4.0 Beta 1 SDK? That has been reported as causing errors like this.

http://comments.gmane.org/gmane.comp.emulators.wine.devel/77201

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Via email, Tom replied:

I am using XCode 3.2.2 with iphone_os_4_beta_2__ipod_touch__3rd_generation__8a248c.dmg

Tom, please go back to a released version Xcode / iPhone SDK. This is apparently a known problem in this prerelease version of Xcode / iPhone SDK which should be reported to Apple.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: wine-devel build failurewine-devel build failure with iPhone OS 4 Beta SDK
Note: See TracTickets for help on using tickets.