[MacPorts] #23617: amarok: invalid conversion from 'void*' to 'SRefCon' (was: cannot compile amarok 2.2.2 with macports 1.8.2)
MacPorts
noreply at macports.org
Mon Feb 8 18:20:39 PST 2010
#23617: amarok: invalid conversion from 'void*' to 'SRefCon'
----------------------------------+-----------------------------------------
Reporter: jithin1987@… | Owner: illogic-al@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: amarok
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => illogic-al@…
* port: => amarok
Old description:
> {{{
> /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
>
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.
> }}}
>
> After installing 150 dependencies amarok is throwing this error.
>
> Attaching the full output with -d option
>
> I saw a similar bug https://trac.macports.org/ticket/22037
> But its 3 months old and I was not able to re open it. So reporting a
> fresh bug.
New description:
{{{
/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
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to
get complete output.
}}}
After installing 150 dependencies amarok is throwing this error.
Attaching the full output with -d option
I saw a similar bug #22037
But its 3 months old and I was not able to re open it. So reporting a
fresh bug.
--
Comment:
Thanks.
This was also reported [comment:ticket:23544:7 here].
--
Ticket URL: <http://trac.macports.org/ticket/23617#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list