Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74452 - ivman-3.0-r1 fails to patch if don't have USE="usb"
Summary: ivman-3.0-r1 fails to patch if don't have USE="usb"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 00:34 UTC by Ian Ellis
Modified: 2004-12-15 06:07 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 Ian Ellis 2004-12-15 00:34:41 UTC
I saw the earlier bug about "Updated ebuild - ivman-0.3-r1, includes USB patch" and I think this is related to that.  It seems that the ebuild only instructs portage to download the patch if the USB USE flag is set, but still attempts to patch with it if the USB USE flag is not set.  Therefor it results in the following error if the USE flag is not set:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   ../ivman_20041211.usb.diff


Reproducible: Always
Steps to Reproduce:
1.make sure USB isn't in USE flags and patch isn't downloaded
2.attempt to emerge ivman-0.3-r1
3.

Actual Results:  
I get this error:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   ../ivman_20041211.usb.diff



Expected Results:  
Portage should have skipped the patch altogether.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-15 06:07:45 UTC
Thank you, should be fixed now. If not, please reopen.

Code change I made: 
    useq usb && epatch ../ivman_20041211.usb.diff