There are two problems with the netpbm include files: 1.) There is a typo in the ebuild which mistakenly uses "shopt" instead of "shhopt". As a result, "shhopt.h" is never installed. 2.) The netpbm package expects to be installed in the root "/usr/include" directory, rather than in a subdirectory. Look in "pbmplus.h", and jump to the "shhopt" include. The <> include either needs to be changed to "", the netpbm includes file need to be placed in "/usr/include" (as opposed to "/usr/include/pbm"), or the <> needs to be changed to <pbm/shhopt.h>. On other systems, I've seen netpbm installed in "/usr/include". This might be the best option: avoids breaking applications that might want to include netpbm.