[MacPorts] #22037: Amarok fails to build on Snow Leopard on app_mac.cpp
MacPorts
noreply at macports.org
Thu Oct 15 15:24:55 PDT 2009
#22037: Amarok fails to build on Snow Leopard on app_mac.cpp
-------------------------------+--------------------------------------------
Reporter: ewal@… | Owner: illogic-al@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: fixed | Keywords: snowleopard
Port: amarok |
-------------------------------+--------------------------------------------
Comment(by raul.moratalla@…):
Hi, it seems that the patch file doesn't solve the problem. I did a
selfupdate and "clean amarok". On Leopard I get the following error:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0/src/app_mac.cpp:
In function 'void setupEventHandler_mac(long int)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0/src/app_mac.cpp:94:
error: invalid conversion from 'void*' to 'SRefCon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0/src/app_mac.cpp:94:
error: initializing argument 4 of 'OSErr
AEInstallEventHandler(AEEventClass, AEEventID, OSErr (*)(const
AppleEvent*, AppleEvent*, SRefCon), SRefCon, Boolean)'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0/src/app_mac.cpp:96:
error: invalid conversion from 'void*' to 'SRefCon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0/src/app_mac.cpp:96:
error: initializing argument 4 of 'OSErr
AEInstallEventHandler(AEEventClass, AEEventID, OSErr (*)(const
AppleEvent*, AppleEvent*, SRefCon), SRefCon, Boolean)'
make[2]: *** [src/CMakeFiles/amaroklib.dir/app_mac.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2
make: *** [all] Error 2
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for amarok):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
--
Ticket URL: <http://trac.macports.org/ticket/22037#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list