[OE-core] [PATCH] openssl: Fix documentation DEPENDS

Joshua Watt jpewhacker at gmail.com
Tue Aug 27 13:08:47 UTC 2019


On 8/27/19 7:56 AM, Alexander Kanavin wrote:
> On Tue, 27 Aug 2019 at 14:46, Joshua Watt <jpewhacker at gmail.com 
> <mailto:jpewhacker at gmail.com>> wrote:
>
>     perl is required to generate the OpenSSL documentation, and therefore
>     should be present at do_compile. If not, OpenSSL will skip the
>     documentation generation, which isn't reproducible
>
>
> I'm not sure I follow you. If perl is present, documentation is 
> generated. If perl is not present, documentation is not generated. 
> Where is the non-reproducibility in this?

RSS doesn't clear out the sysroots if it goes back and executes previous 
tasks as part of a rebuild. As such, if perl gets added by a later task, 
then bitbake goes back and re-executes the task (I don't remember 
exactly which one... do_configure maybe?), perl may be present when it 
wasn't before.

This is generally true of all RSS dependencies, and until it gets 
resolved the best we can say for reproducible builds is that two builds 
from stratch without sstate can be binary identical. It will have to be 
resolved eventually, but my current plan is to do the reproducible build 
test as two clean builds for now so if there is a lot of push back we 
can drop it.


>
> Alex


More information about the Openembedded-core mailing list