Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 475848

Summary: dev-python/python-gflags-2.0 Cannot find $EPATCH_SOURCE
Product: Gentoo Linux Reporter: josef.95 <josef64>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: tobias.pal
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: python-gflags-2.0.ebuild.patch

Description josef.95 2013-07-05 15:25:29 UTC
* Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   {FILESDIR}/python-gflags-2.0-skip-test-as-root.patch
 *   ( python-gflags-2.0-skip-test-as-root.patch )

 * ERROR: dev-python/python-gflags-2.0 failed (prepare phase):

I think is missing "$"
"{FILESDIR}"/${P}-skip-test-as-root.patch"
vs
"${FILESDIR}"/${P}-skip-test-as-root.patch

Reproducible: Always

Steps to Reproduce:
1.ebuild /usr/portage/dev-python/python-gflags/python-gflags-2.0.ebuild prepare
2.
3.
Actual Results:  
Cannot find $EPATCH_SOURCE!
{FILESDIR}/python-gflags-2.0-skip-test-as-root.patch

Expected Results:  
Should find the skip-test-as-root.patch
Comment 1 josef.95 2013-07-05 15:29:34 UTC
Created attachment 352678 [details, diff]
python-gflags-2.0.ebuild.patch
Comment 2 Paul Tobias 2013-07-07 08:29:58 UTC
Same error here, the patch from comment 1 fixes it for me.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2013-07-08 07:44:21 UTC
yes, missed

 08 Jul 2013; Ian Delaney <idella4@gentoo.org> python-gflags-2.0.ebuild:
  Add missing $ to {FILESDIR}, fixes Bug #475848