Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83404 - app-editors/leo (4.2) fails to build when PORTAGE_TMPDIR is set
Summary: app-editors/leo (4.2) fails to build when PORTAGE_TMPDIR is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Rob Cakebread (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-26 13:07 UTC by Kevin Ellwood
Modified: 2005-02-28 18:06 UTC (History)
0 users

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 Kevin Ellwood 2005-02-26 13:07:05 UTC
app-editors/leo (4.2) fails to build when PORTAGE_TMPDIR is changed from its default value.  The failure occurs when the source is patched.  For some reason, the locations of the files to be patched are hard coded to the default value for PORTAGE_TMPDIR.

Good luck
Kevin


Below is the relevant output with PORTAGE_TMPDIR=/home/portage

delos root # emerge leo
Calculating dependencies ...done!
>>> emerge (1 of 1) app-editors/leo-4.2 to /
>>> md5 src_uri ;-) leo-4.2-final.zip
>>> Unpacking source...
>>> Unpacking leo-4.2-final.zip to /home/portage/portage/leo-4.2/work
 * Applying leoConfig.py.patch ...

 * Failed Patch: leoConfig.py.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /home/portage/portage/leo-4.2/temp/leoConfig.py.patch-1987.out

delos root # cat /home/portage/portage/leo-4.2/temp/leoConfig.py.patch-1987.out
***** leoConfig.py.patch *****

==============================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/app-editors/leo/files/leoConfig.py.patch

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/leo-4.2/work/leo-4.2-final/src/leoConfig.py       2004-07-20 08:11:58.000000000 -0700
|+++ /var/tmp/abeni/leoConfig.py        2004-11-08 22:49:31.055019376 -0800
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==============================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/app-editors/leo/files/leoConfig.py.patch

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/leo-4.2/work/leo-4.2-final/src/leoConfig.py       2004-07-20 08:11:58.000000000 -0700
|+++ /var/tmp/abeni/leoConfig.py        2004-11-08 22:49:31.055019376 -0800
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==============================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/app-editors/leo/files/leoConfig.py.patch

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/leo-4.2/work/leo-4.2-final/src/leoConfig.py       2004-07-20 08:11:58.000000000 -0700
|+++ /var/tmp/abeni/leoConfig.py        2004-11-08 22:49:31.055019376 -0800
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==============================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/app-editors/leo/files/leoConfig.py.patch

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/leo-4.2/work/leo-4.2-final/src/leoConfig.py       2004-07-20 08:11:58.000000000 -0700
|+++ /var/tmp/abeni/leoConfig.py        2004-11-08 22:49:31.055019376 -0800
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==============================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/app-editors/leo/files/leoConfig.py.patch

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/leo-4.2/work/leo-4.2-final/src/leoConfig.py       2004-07-20 08:11:58.000000000 -0700
|+++ /var/tmp/abeni/leoConfig.py        2004-11-08 22:49:31.055019376 -0800
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
d
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-02-28 18:06:13 UTC
Thanks, Kevin. Fixed in CVS.