if use amd64; then S="${WORKDIR}/${MY_P}-Linux-x86_64" elif use x86; then S="${WORKDIR}/${MY_P}-Linux-i686" fi Most likely belongs in src_unpack() (or pkg_setup() but that's just lazy, not correct).
Fixed through moving to src_unpack(). https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917c688b69ccd109023d8f2c22dd76aad7e14841