Opened 12 years ago

Closed 6 years ago

#31512 closed defect (worksforme)

wine, wine-devel: joystick_osx.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gIOHIDManagerRef'

Reported by: adsysingle@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jyrkiwahlstedt
Port: wine, wine-devel

Description

This could be an issue with Wine and I have filed a bug report with them also. I followed the directions at http://davidbaumgold.com/tutorials/wine-mac/#part-1 and got an error. I contacted the author and sent him the log file and here is his reply:

"Looks like there's a problem with how a file is being compiled: it can't find the symbols it needs to compile properly. This could be a problem with Wine itself, or with the way Macports installs it. I checked Google, and I don't see anyone else with this problem, which is odd."

"I suggest you create a bug report on either trac.macports.org or http://bugs.winehq.org (or both!) and attach that log file to that bug report. Hopefully, someone more knowledgable than me will be able to help you out. -David"

I have attached the log file to this ticket.

Attachments (2)

main.log (530.5 KB) - added by adsysingle@… 12 years ago.
main.2.log (1.5 MB) - added by adsysingle@… 12 years ago.
Wine-Devel log

Change History (17)

Changed 12 years ago by adsysingle@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: wine added
Summary: Failed to install wine: Error: Target org.macports.build returned: shell command failedwine: joystick_osx.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gIOHIDManagerRef'

I haven't seen this problem before either.

It might help if you attach a complete log (one that does not contain the text "Skipping completed"); to generate this, clean and try again.

You should also try wine-devel instead of wine; this will get you the newer development version of wine; if this works, then the developers of wine have already fixed the problem.

Changed 12 years ago by adsysingle@…

Attachment: main.2.log added

Wine-Devel log

comment:2 Changed 12 years ago by adsysingle@…

I tried the wine-devel and had no luck, here is the log for that build (a complete one). I'm not sure if it's the same error or not. I'm not sure how to clean the wine build so I can get a complete log.

comment:3 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: wine-devel added
Summary: wine: joystick_osx.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gIOHIDManagerRef'wine, wine-devel: joystick_osx.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gIOHIDManagerRef'

Replying to adsysingle@…:

I tried the wine-devel and had no luck, here is the log for that build (a complete one). I'm not sure if it's the same error or not.

Looks like it is.

I'm not sure how to clean the wine build so I can get a complete log.

"sudo port clean wine" would do so, but the above wine-devel log should be sufficient.

comment:4 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to adsysingle@…:

This could be an issue with Wine and I have filed a bug report with them also.

By the way what is the URL of the upstream bug report?

comment:5 Changed 12 years ago by adsysingle@…

I'm sorry, I don't understand your question, what is an upstream bug report?

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

The bug report you filed with the wine project.

comment:7 in reply to:  6 Changed 12 years ago by adsysingle@…

Replying to ryandesign@…:

The bug report you filed with the wine project.

Ahh, sorry, here it is http://bugs.winehq.org/show_bug.cgi?id=28593

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, the last comment there was that you should try a newer development version of wine. Since you've already done that and attached the log to this MacPorts ticket, I referred them here.

I've also compared your log with mine. Based an the configure phase output there are a few differences in our systems but I haven't yet figured out which if any of them accounts for the problem:

  • I'm using ccache (in macports.conf); you're not
  • I have the grep, librsvg, ImageMagick and gst-plugins-base ports installed; you don't

comment:9 in reply to:  8 ; Changed 12 years ago by adsysingle@…

Replying to ryandesign@…:

Ok, the last comment there was that you should try a newer development version of wine. Since you've already done that and attached the log to this MacPorts ticket, I referred them here.

I've also compared your log with mine. Based an the configure phase output there are a few differences in our systems but I haven't yet figured out which if any of them accounts for the problem:

  • I'm using ccache (in macports.conf); you're not
  • I have the grep, librsvg, ImageMagick and gst-plugins-base ports installed; you don't

Would you suggest I install these things? if so could you advise me on how to do that or where to get them please.

comment:10 in reply to:  9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to adsysingle@…:

Would you suggest I install these things?

I don't have any ideas at the moment so it's certainly something you can try.

if so could you advise me on how to do that or where to get them please.

They are all in MacPorts under the names stated. Please try one at a time, for example to install grep do this:

sudo port clean wine-devel
sudo port install grep
sudo port install wine-devel

If you still get the same error in the log about joystick_osx.c, repeat the above with the next port I listed. If you find one of these lets the installation proceed, let me know which one.

comment:11 Changed 12 years ago by adsysingle@…

I have installed each of those things, following your directions cleaning wine between each installation but it hasn't solved the problem. I am still getting an error when building.

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

Is this still a problem with wine 1.4?

comment:13 Changed 12 years ago by jmroot (Joshua Root)

Cc: jwa@… added

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

Is this still a problem with wine 1.4.1 or wine-devel 1.5.11?

comment:15 Changed 6 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response; closing.

Note: See TracTickets for help on using tickets.