See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 247604 [details]
+ 01 Jul 2012; Justin Lecher <firstname.lastname@example.org> libtrain-0.9b.ebuild,
+ +files/libtrain-0.9b-impl-dec.patch, metadata.xml:
+ Fix some implicit declarations, respect LDFLAGS #337649; bump to EAPI=4,
+ handle debug configure option