Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40905 closed defect (fixed)

wine-crossover: error: 'CGDirectPaletteRef' undeclared

Reported by: francisco.amorim@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: wine-crossover

Description

Hello,

This is my first ticket. I'm having trouble when building wine-crossover under Mavericks, OSX 10.9, Xcode 5.0.1. I could install the standard wine successfully via MacPorts though, but later I uninstalled because I have an old license (10.x) of CrossOver. I discovered that older CrossOver frontends work well with newer crossover-wine backends (Snow Leopard). Now I'm trying to do the same under Mavericks. I send my error log file as attachment. Here are the latest error log lines:

:info:build ./tools/makedep  -C. -S. -T.                    
:info:build warning: unknown warning option '-Wunused-but-set-parameter'; did you mean '-Wunused-parameter'? [-Wunknown-warning-option]
:info:build error: unable to open output file 'config.o': 'Error opening output file 'config.o''
:info:build 1 warning and 1 error generated.
:info:build make[1]: *** [config.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_x11_wine-crossover/wine-crossover/work/sources/wine/libs/wine'
:info:build make: *** [libs/wine] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_x11_wine-crossover/wine-crossover/work/sources/wine'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_x11_wine-crossover/wine-crossover/work/sources/wine" && /usr/bin/make -j2 -w depend all 
:info:build Exit code: 2
:error:build org.macports.build for port wine-crossover returned: command execution failed
:debug:build Error code: CHILDSTATUS 17348 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for wine-crossover: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port wine-crossover for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_x11_wine-crossover/wine-crossover/main.log

Attachments (1)

main.log (478.2 KB) - added by francisco.amorim@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by francisco.amorim@…

Attachment: main.log added

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

Cc: ryandesign@… added
Keywords: wine crossover wine-crossover 10.9 Xcode 5 removed
Owner: changed from macports-tickets@… to jeremyhu@…
Priority: HighNormal

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

Cc: jeremyhu@… added; ryandesign@… removed
Owner: changed from jeremyhu@… to ryandesign@…
Status: newassigned
Summary: wine-crossover, Mavericks 10.9wine-crossover: error: 'CGDirectPaletteRef' undeclared

I can reproduce the problem. The error is:

gdi.c: In function 'device_init':
gdi.c:96: error: 'CGDirectPaletteRef' undeclared (first use in this function)
gdi.c:96: error: (Each undeclared identifier is reported only once
gdi.c:96: error: for each function it appears in.)
gdi.c:96: error: expected ';' before 'palette'
gdi.c:142: error: 'palette' undeclared (first use in this function)
gdi.c:142: warning: implicit declaration of function 'CGPaletteCreateWithDisplay'
gdi.c:145: warning: implicit declaration of function 'CGPaletteGetNumberOfSamples'
gdi.c:146: warning: implicit declaration of function 'CGPaletteRelease'
make[1]: *** [gdi.o] Error 1

This is the same error I previously fixed for wine so I can fix it here as well.

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

Resolution: fixed
Status: assignedclosed

comment:4 in reply to:  1 Changed 11 years ago by francisco.amorim@…

Replying to ryandesign@…:

Please clean and try again.

No luck... should I do a new sync?

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

Yes, now that I've fixed the problem, you should "sudo port selfupdate" and try again.

comment:6 in reply to:  5 Changed 11 years ago by francisco.amorim@…

Replying to ryandesign@…:

Yes, now that I've fixed the problem, you should "sudo port selfupdate" and try again.

As I don't have rsync access permissions, I did a sudo port sync. Now wine-crossover installed flawlessly. Thank you!

Note: See TracTickets for help on using tickets.