The rpm_unpack function doesn't take multiple arguments, so the line rpm_unpack intel-*.i386.rpm should be changed to something like for x in intel-*.i386.rpm; do rpm_unpack ${x} || die "Failed to unpack rpms."; done As it stands, this ebuild will not unpack and install the Intel debugger (idb).
Fixed. Also fixed the ICC ebuild. Thanks.