Summary: | app-editors/leo (4.2) fails to build when PORTAGE_TMPDIR is set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin Ellwood <kellwood> |
Component: | New packages | Assignee: | Rob Cakebread (RETIRED) <pythonhead> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Thanks, Kevin. Fixed in CVS. |
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