compiles fine here
it is dev-libs/rasqal-0.9.16
Have you tried to emerge with all USE flags ON? Also, have you used it to be sure that it's ok for sparc? And please, upload your "emerge --info" in attachment. I resolve with NEEDINFO. Reopen when you have submitted "emerge --info" output.
Reopen after discussion with the user and the sparc team.
~sparc added, thanks for the report