Created attachment 356020 [details, diff] fixed patch This package has a patch with relative paths. I've attached a fixed version. Works for me on two amd64 machines. Build log: * Package: games-puzzle/einstein-2.0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox >>> Unpacking source... >>> Unpacking einstein-2.0-src.tar.gz to /var/tmp/portage/games-puzzle/einstein-2.0/work >>> Unpacking einstein.png to /var/tmp/portage/games-puzzle/einstein-2.0/work unpack einstein.png: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/games-puzzle/einstein-2.0/work >>> Preparing source in /var/tmp/portage/games-puzzle/einstein-2.0/work/einstein-2.0 ... * Applying einstein-2.0-64bit.patch ... [ ok ] * Applying einstein-2.0-as-needed.patch ... [ ok ] * Applying einstein-2.0-gcc43.patch ... * Rejected Patch: einstein-2.0-gcc43.patch ! * ( /usr/portage/games-puzzle/einstein/files/einstein-2.0-gcc43.patch ) * * Your patch uses relative paths '../': * 1:--- ../orig/einstein-2.0.dfsg.2/convert.h 2005-08-14 04:40:58.000000000 +0200 * 12:--- ../orig/einstein-2.0.dfsg.2/unicode.cpp 2005-08-14 04:40:58.000000000 +0200 * ERROR: games-puzzle/einstein-2.0 failed (prepare phase): * you need to fix the relative paths in patch * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2561: Called epatch '/usr/portage/games-puzzle/einstein/files/einstein-2.0-64bit.patch' '/usr/portage/games-puzzle/einstein/files/einstein-2.0-as-needed.patch' '/usr/portage/games-puzzle/einstein/files/einstein-2.0-gcc43.patch' * environment, line 1039: Called epatch '/usr/portage/games-puzzle/einstein/files/einstein-2.0-gcc43.patch' * environment, line 1166: Called die * The specific snippet of code: * die "you need to fix the relative paths in patch"; * * If you need support, post the output of `emerge --info '=games-puzzle/einstein-2.0'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/einstein-2.0'`. * The complete build log is located at '/var/log/portage/elog/games-puzzle:einstein-2.0:20130814-162345.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/einstein-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/einstein-2.0/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/einstein-2.0/work/einstein-2.0' * S: '/var/tmp/portage/games-puzzle/einstein-2.0/work/einstein-2.0'
Created attachment 356022 [details] emerge --info '=games-puzzle/einstein-2.0'
in portage. thanks for the bug report and patch.