!!! ERROR: net-misc/asterisk-1.2.9_p1 failed. Call stack: misc-functions.sh, line 409: Called install_qa_check misc-functions.sh, line 208: Called die !!! File /var/tmp/portage/asterisk-1.2.9_p1/image///usr/lib/asterisk/modules/res_indications.so matches a file type that is not allowed in /usr/lib !!! If you need support, post the topmost build error, and the call stack if relevant. !!! install_qa_check failed; exiting. This is even after making the changes to the ebuild.... adding inherit multilib, and changing all references of /usr/lib/ to /usr/$(get_libdir)/ Another thing I notice is that it uses make. Shouldn't it be using emake instead?
amd64 issue; look in the asterisk trunk and you'll see a new build system that works with multilib-strict. Then again, it's not the 1.2 branch you're looking at... maybe they're getting ready for a new release soon?
fixed it for 1.2.11