Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114466 - ext2resize-1.1.17-linux26.patch contains absolute path /var/tmp/portage and fails apply when different PORTAGE_TMPDIR used
Summary: ext2resize-1.1.17-linux26.patch contains absolute path /var/tmp/portage and f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 11:22 UTC by Robert Wolf
Modified: 2005-12-04 11:41 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 Robert Wolf 2005-12-04 11:22:50 UTC
Hi.

A patch ext2resize-1.1.17-linux26.patch of ext2resize package for version 1.1.17
contains absolute path for patched file ext2.h =
/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src/. There is 

--- /var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src/ext2.h    
2001-03-15 20:35:09.000000000 +0000

on the first line of the patch, but should be

--- ext2resize-1.1.17/src/ext2.h     2001-03-15 20:35:09.000000000 +0000

If users (like me) have defined other PORTAGE_TMPDIR variable in /etc/make.conf,
this patch fails to apply with epatch command.

Solution: Use relative paths to "work" or SRC directory in patch files everytime.
Comment 1 SpanKY gentoo-dev 2005-12-04 11:41:03 UTC
done, thanks