Created attachment 310331 [details] unpacker.eclass.patch unpacker.eclass has two issues with handling bzip2 files when PORTAGE_BZIP2_COMMAND is not set: 1) It falls back to "$(type -P pbzip2 || bzip2)", which should have another "type -P" in it - otherwise it hangs indefinitely with bzip2 waiting for input. 2) If PORTAGE_BUNZIP2_COMMAND is also unset, the definition of bzuncmd then ignores the fallback that was performed on the previous line and uses ${PORTAGE_BZIP2_COMMAND} directly, so when the latter isn't set it tries to use "-d" on its own as the decompression command. The attached patch should fix both.
merged; thanks! http://sources.gentoo.org/eclass/unpacker.eclass?r1=1.7&r2=1.8