Opened 15 years ago

Closed 14 years ago

#23617 closed defect (duplicate)

amarok: invalid conversion from 'void*' to 'SRefCon'

Reported by: jithin1987@… Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: oliver@…
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.

Attachments (1)

amarok (159.4 KB) - added by jithin1987@… 15 years ago.
port -d install output

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by jithin1987@…

Attachment: amarok added

port -d install output

comment:1 Changed 15 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.

comment:2 Changed 15 years ago by oliver@…

Cc: oliver@… added

Cc Me!

comment:3 Changed 14 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: newclosed

BTW> Tracking this issue now in ticket #25489, so I'm closing this one as duplicate.

Note: See TracTickets for help on using tickets.