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

Bug 557042

Summary: sys-libs/musl calls epatch_user before source is unpacked
Product: Gentoo Linux Reporter: Felix Janda <felix.janda>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: blueness
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    

Description Felix Janda 2015-08-08 15:32:14 UTC
sys-libs/musl calls epatch_user in pkg_setup. However pkg_setup is
called before src_unpack, therefore there will be no files the user
patches could be applied to and patching will fail.

epatch_user should be instead called at the end of src_prepare.


Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2015-08-08 19:52:07 UTC
(In reply to Felix Janda from comment #0)
> sys-libs/musl calls epatch_user in pkg_setup. However pkg_setup is
> called before src_unpack, therefore there will be no files the user
> patches could be applied to and patching will fail.
> 
> epatch_user should be instead called at the end of src_prepare.
> 
> 
> Reproducible: Always

I have no idea how I messed that one up or didn't notice till now!

cvs is down as we cut over to git.  I'll push the change as soon as the migration is done.  No need for a rev bump.
Comment 2 Anthony Basile gentoo-dev 2015-08-09 09:25:10 UTC
done