Opened 14 years ago

Last modified 14 years ago

#23617 closed defect

amarok: invalid conversion from 'void*' to 'SRefCon' — at Version 1

Reported by: jithin1987@… Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: amarok

Description (last modified by ryandesign (Ryan Carsten Schmidt))

/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.

Change History (2)

Changed 14 years ago by jithin1987@…

Attachment: amarok added

port -d install output

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

Description: modified (diff)
Owner: changed from macports-tickets@… to illogic-al@…
Port: amarok added
Summary: cannot compile amarok 2.2.2 with macports 1.8.2amarok: invalid conversion from 'void*' to 'SRefCon'

Thanks.

This was also reported here.

Note: See TracTickets for help on using tickets.