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

Bug 113522

Summary: epatch fails to create a new file
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: EclassesAssignee: SpanKY <vapier>
Status: RESOLVED INVALID    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 090_all_xmmsm4.patch
flac-1.1.2-r4.ebuild
flac-patches-2.tar.bz2

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-24 16:25:33 UTC
The attached patch is currently on CVS for flac. It was created by quilt and 
adds a completely new file (m4/xmms.m4) and its directory. The patch applied 
fine if I do patch -p0, but using epatch from inside an ebuild it does not 
work. 
Creating the m4 directory does not help anyway.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-24 16:26:07 UTC
Created attachment 73538 [details, diff]
090_all_xmmsm4.patch
Comment 2 SpanKY gentoo-dev 2005-11-24 23:26:08 UTC
post a tarball of the ebuild dir that i would need to reproduce
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-25 10:36:39 UTC
Created attachment 73599 [details]
flac-1.1.2-r4.ebuild

This is the ebuild...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-25 10:38:34 UTC
Created attachment 73600 [details]
flac-patches-2.tar.bz2

Here is the patchset tarball...
Comment 5 SpanKY gentoo-dev 2005-11-25 11:29:20 UTC
that's your problem

you can either change the patch to use 'm4/xmms.m4' or you can patch the file by
hand and pass -p1 to the patch options