Error: Target $TARGET returned: shell command - What?!?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
blahman
Newbie
Newbie
Posts: 1
Joined: Thu Jun 11, 2009 10:11 am

Error: Target $TARGET returned: shell command - What?!?

Post by blahman »

Hey all,

I was trying to install wine on OS X.4.11 using MacPorts - it had been running for about forty-five minutes - when my battery died. Nevermind the stupidity of not noticing the cord unplugged.

Anyway, the install did not finish and now, when I try to "sudo port install wine" I get:

Blahman:~ Blahman$ sudo port install wine
---> Building wine
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-1.0.1" && make depend all " returned error 2
Command output: ../include/winbase.h:2342: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2344: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2350: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2352: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2356: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2358: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2380: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2392: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2410: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2414: 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


What sort of error is this? I've tried uninstalling, but since Wine didn't finish installing in the first place, it is not registered as "installed", and thus cannot be uninstalled. Perhaps I could force install?

Thank you for your time and assistance.

Best,
Aaron N.
James McKenzie

Error: Target $TARGET returned: shell command - What?!?

Post by James McKenzie »

blahman wrote:
Hey all,

I was trying to install wine on OS X.4.11 using MacPorts - it had been running for about forty-five minutes - when my battery died. Nevermind the stupidity of not noticing the cord unplugged.

Anyway, the install did not finish and now, when I try to "sudo port install wine" I get:

Blahman:~ Blahman$ sudo port install wine
You need to use the port command to uninstall wine. You could go
looking for the installed files and remove them one by one, but it
appears that your attempt to install Wine with MacPorts failed.

James McKenzie
Locked