New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13106 (closed defect: invalid)

Opened 4 years ago

Last modified 3 years ago

wine 0.9.48_0 won't build

Reported by: type11@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Mac OS X WINE Install Cc: ryandesign@…
Port:

Description

I'm having trouble compiling WINE-0.9.48 on Mac OS 10.4.10. I did 'sudo port install wine' and here is how far it gets:

--->  Building wine with target depend all
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/work/wine-0.9.48" && make depend all " returned error 2
Command output: ../include/winbase.h:2320: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2322: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2328: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2330: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2334: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2336: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2358: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2370: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2388: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2392: warning: '__force_align_arg_pointer__' attribute directive ignored
In file included from object.h:29,
                 from file.h:24,
                 from mach.c:37:
../include/wine/server_protocol.h:259: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:265: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:342: warning: '__force_align_arg_pointer__' attribute directive ignored
mach.c: In function 'get_thread_context':
mach.c:166: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:166: error: (Each undeclared identifier is reported only once
mach.c:166: error: for each function it appears in.)
mach.c:166: error: parse error before 'state'
mach.c:167: error: 'state' undeclared (first use in this function)
mach.c:182: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
mach.c: In function 'set_thread_context':
mach.c:210: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:210: error: parse error before 'state'
mach.c:211: error: 'state' undeclared (first use in this function)
mach.c:245: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
make[1]: *** [mach.o] Error 1
make: *** [server] Error 2

Error: Status 1 encountered during processing.

Change History

  Changed 4 years ago by nox@…

  • cc ryandesign@… added
  • milestone set to Port Bugs

  Changed 4 years ago by ryandesign@…

  • owner changed from macports-dev@… to ryandesign@…

What version of MacPorts, Mac OS X, and Xcode do you have? What Mac do you have?

  Changed 4 years ago by ryandesign@…

  • summary changed from problem compiling WINE on Mac OS 10.4.10 to wine 0.9.48_0 won't build

Sorry, I see you have 10.4.10. Please update to 10.4.11 for good measure. Also, note that wine has been updated to 0.9.50. Please try that and report back if you still see the problem.

  Changed 4 years ago by type11@…

Okay the problem appears to be the same with a couple different line numbers:

$ sudo port install wine
Portfile changed since last build; discarding previous state.
--->  Fetching wine
--->  Attempting to fetch wine-0.9.50.tar.bz2 from http://downloads.sourceforge.net/wine
--->  Verifying checksum(s) for wine
--->  Extracting wine
--->  Configuring wine
--->  Building wine with target depend all
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/work/wine-0.9.50" && make depend all " returned error 2
Command output: ../include/winbase.h:2319: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2321: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2327: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2329: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2333: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2335: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2357: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2369: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2387: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2391: warning: '__force_align_arg_pointer__' attribute directive ignored
In file included from object.h:29,
                 from file.h:24,
                 from mach.c:37:
../include/wine/server_protocol.h:261: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:267: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:344: warning: '__force_align_arg_pointer__' attribute directive ignored
mach.c: In function 'get_thread_context':
mach.c:166: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:166: error: (Each undeclared identifier is reported only once
mach.c:166: error: for each function it appears in.)
mach.c:166: error: parse error before 'state'
mach.c:167: error: 'state' undeclared (first use in this function)
mach.c:182: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
mach.c: In function 'set_thread_context':
mach.c:210: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:210: error: parse error before 'state'
mach.c:211: error: 'state' undeclared (first use in this function)
mach.c:245: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
make[1]: *** [mach.o] Error 1
make: *** [server] Error 2

Error: Status 1 encountered during processing.

follow-up: ↓ 6   Changed 4 years ago by ryandesign@…

I updated wine to 0.9.52, and I can build and install it with no problems on Mac OS X 10.4.11 on Intel Core2 Duo with Xcode 2.4.1, and on Mac OS X 10.5.1 on Intel Core2 Duo with Xcode 3.0. Would you please test wine 0.9.52 and let me know if you still see the error? If you do, please also let me know if you have an Intel Mac or a PowerPC Mac. Thanks.

in reply to: ↑ 5   Changed 4 years ago by type11@…

Tried again and received the same error. I'm on a MacBook Pro, 2.16 GHz Intel Core Duo, OS 10.4.11, Xcode 2.2.1.

  Changed 4 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to invalid

Xcode 2.2.1 is definitely too old, and is known to cause problems. Please update to Xcode 2.4.1 or 2.5. Please reopen this ticket if that does not solve the problem.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.