Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481082 - games-puzzle/einstein-2.0 patch einstein-2.0-gcc43.patch relative paths
Summary: games-puzzle/einstein-2.0 patch einstein-2.0-gcc43.patch relative paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Lowest trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 18:54 UTC by Oscar Linderoth
Modified: 2013-08-14 20:08 UTC (History)
0 users

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


Attachments
fixed patch (einstein-2.0-gcc43.patch,535 bytes, patch)
2013-08-14 18:54 UTC, Oscar Linderoth
Details | Diff
emerge --info '=games-puzzle/einstein-2.0' (file_481082.txt,1.19 KB, text/plain)
2013-08-14 18:55 UTC, Oscar Linderoth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar Linderoth 2013-08-14 18:54:12 UTC
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'
Comment 1 Oscar Linderoth 2013-08-14 18:55:58 UTC
Created attachment 356022 [details]
emerge --info '=games-puzzle/einstein-2.0'
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2013-08-14 20:08:26 UTC
in portage.  thanks for the bug report and patch.