Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29734 - lintool-0.2.4-r1 fails on patch
Summary: lintool-0.2.4-r1 fails on patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-27 02:47 UTC by Jason Wever (RETIRED)
Modified: 2003-09-27 03:08 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 Jason Wever (RETIRED) gentoo-dev 2003-09-27 02:47:15 UTC
lintool-0.2.4-r1 currentl fails on fixyear.diff because it's trying to change a file in the regular filesystem as opposed to the work dir of lintool

>>> emerge (1 of 1) app-portage/lintool-0.2.4-r1 to /
>>> md5 src_uri ;-) lintool-0.2.4.tar.bz2
>>> Unpacking source...
>>> Unpacking lintool-0.2.4.tar.bz2 to /var/tmp/portage/lintool-0.2.4-r1/work
 * Applying lintool-0.2.4-fixyear.diff...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: lintool-0.2.4-fixyear.diff!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/lintool-0.2.4-r1/temp/lintool-0.2.4-fixyear.diff-19376.out


!!! ERROR: app-portage/lintool-0.2.4-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: lintool-0.2.4-fixyear.diff!

enterprise root # less /var/tmp/portage/lintool-0.2.4-r1/temp/lintool-0.2.4-fixyear.diff-19376.out
***** lintool-0.2.4-fixyear.diff *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/app-portage/lintool/files/lintool-0.2.
4-fixyear.diff

======================================
patching file /usr/lib/python2.2/site-packages/lintool/ebuild.py
======================================

ACTUALLY APPLYING lintool-0.2.4-fixyear.diff...

======================================
patching file /usr/lib/python2.2/site-packages/lintool/ebuild.py
patch: **** Can't rename file /var/tmp/portage/lintool-0.2.4-r1/temp/po4fKnO3 to
 /usr/lib/python2.2/site-packages/lintool/ebuild.py : Permission denied
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-27 03:08:28 UTC
*boots self for not commiting the final version of the fixed patch*
I had to hack up the patch manually because it got damaged by keyword expansion
originally.

It's fixed now, changed the patch header lines.