[[ -x /sbin/paxctl ]] && sed || die means if [[ -x /sbin/paxctl ]] then sed || die else die fi Please don't try to use && and || in the same line; it'll always almost do the wrong thing. * ERROR: app-emulation/qemu-kvm-0.12.1 failed: * (no error message) * * Call stack: * ebuild.sh, line 55: Called src_prepare * environment, line 3874: Called die * The specific snippet of code: * [[ -x /sbin/paxctl ]] && sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' Makefile.target || die; * * If you need support, post the output of 'emerge --info =app-emulation/qemu-kvm-0.12.1', * the complete build log and the output of 'emerge -pqv =app-emulation/qemu-kvm-0.12.1'. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.12.1/temp/environment'. * S: '/var/tmp/portage/app-emulation/qemu-kvm-0.12.1/work/qemu-kvm-0.12.1'
The whole block was wrong and was already removed. emerge --sync