jam in boost does not compile. See http://bugs.gentoo.org/show_bug.cgi?id=16684 for a fix.
Please get whoever maintains this.
Was a problem with my gcc installation, I had no program named cc on my system. You can close the bug.
closing