There is a small bug in the makefiles of current SVN regarding the install of codesnippets.zip and scriptedwizard.zip. The Makefiles ignore the $(DESTDIR) variable and always try to install to /usr/share/codeblocks. This leads to a sandbox violation on Gentoo.