It's known bug and already fixed in upstream: http://sourceforge.net/p/hugin/hugin/ci/aae44c4b0570e2cfc609e84d6e74d38a31453b73/ For recent versions of perl, encoding must be specified in pod pages, or it'll fail.
Created attachment 358280 [details, diff] hugin-2012.0.0-perl.patch Patch to fix issue.
Created attachment 358282 [details] build.log.gz Gziped build.log.
Forgot to mention, I'm currently using perl 5.16.
+*hugin-9999 (24 Nov 2013) +*hugin-2012.0.0-r1 (24 Nov 2013) + + 24 Nov 2013; Justin Lecher <jlec@gentoo.org> +hugin-2012.0.0-r1.ebuild, + hugin-2013.0.0.ebuild, +hugin-9999.ebuild, +files/hugin-2012.0.0-boost.patch, + +files/hugin-2012.0.0-perl.patch, +files/hugin-2013.0.0-boost.patch, + metadata.xml: + Backport fix for building with newer boost; Use system cmake modules to + detect lapack; backport patch to use perl 5.16; fixes bugs + #296510,300127,373387,374337,388149,404227,484238 +