Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297827 - app-emulation/qemu-kvm-0.12.1 dies when paxctl isn't installed
Summary: app-emulation/qemu-kvm-0.12.1 dies when paxctl isn't installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 19:24 UTC by Harald van Dijk (RETIRED)
Modified: 2009-12-21 21:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2009-12-21 19:24:44 UTC
[[ -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'
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-12-21 21:05:12 UTC
The whole block was wrong and was already removed. emerge --sync