[OE-core] [PATCH] openssl: fix occasionally install fail for parallel build

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 24 06:04:42 UTC 2018


On Wed, 2018-10-24 at 11:30 +0800, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
> 
> when do parallel build, like run "make install -j 48", openssl will
> do_install
> failed with below error:
> mv: cannot stat 'openssl/1.1.1-
> r0/image/usr/lib/libcrypto.so.1.1.new': No such file or directory
> Makefile:318: recipe for target 'install_dev' failed
> 
> problem caused by target install_dev and target install_runtime, both
> installed
> libcrypto.so.1.1, result in log:
> *** Installing development files
> ...
> install libcrypto.so.1.1 -> /var/tmp/foo/lib/libcrypto.so.1.1
> link /var/tmp/foo/lib/libcrypto.so ->
> /var/tmp/foo/lib/libcrypto.so.1.1
> ...
> *** Installing runtime files
> install libcrypto.so.1.1 -> /var/tmp/foo/lib/libcrypto.so.1.1
> 
> command in install_dev and install_runtime will have parallel
> competition.
> 
> have create an issue to upstream:
> https://github.com/openssl/openssl/issues/7466#issuecomment-432148137
> 
> but upstream won't support this condition, so use this fix as a
> workaround to fix the problem.

This means that:

a) Upstream don't support parallel make install
b) Reject patches fixing any bugs in parallel make install

This means the Upstream-Status should be rejected with the link above,
not pending. It also means we may need to think about not using
parallel install although since its working, its tempting to carry
patches and keep using it if it works.

It may be worth pointing out to upstream that it is mostly working for
us? I am a little worried they know something we don't about problems
this could run into.

Cheers,

Richard




More information about the Openembedded-core mailing list